fetchCursor/All/One(_:rawSQL:arguments:adapter:)

This commit is contained in:
Gwendal Roué committed 2019-02-17 13:28:40 +01:00
1 parent 59162d93de
commit c546c578ce
131 files changed
+1263 -1229

No files matched your search

@@ -50,7 +50,7 @@ public struct SQLExpressionLiteral : SQLExpression {
/// SQLExpressionLiteral("? + ?", arguments: [1, 2])
/// SQLExpressionLiteral(":one + :two", arguments: ["one": 1, "two": 2])
public init(_ sql: String, arguments: StatementArguments = StatementArguments()) {
// TODO: force sql parameter name: fetchCursor(db, sql:...)
// TODO: force sql parameter name: fetchCursor(db, rawSQL: sql:...)
self.init(literal: SQLLiteral(sql: sql, arguments: arguments))
}