This commit is contained in:
Gwendal Roué committed 2020-04-30 09:04:17 +02:00
1 parent 1e92b98165
commit cb7a7633b1
2 files changed
+3 -1

No files matched your search

@@ -430,7 +430,8 @@ extension QueryInterfaceRequest: SQLSpecificExpressible {
/// :nodoc
public var sqlExpression: SQLExpression {
Expression(generator: SQLQueryGenerator(
#warning("TODO: is forSingleResult: true necessary? See what SQLite does when several rows are fetched")
return Expression(generator: SQLQueryGenerator(
query: query,
forSingleResult: true,
requiresSingleColumn: true))