mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
fetchCursor/All/One(_:rawSQL:arguments:adapter:)
This commit is contained in:
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))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user