mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Documentation
This commit is contained in:
1 parent
be249bc697
commit
026e5b288f
1 file changed
+2
-1
@@ -95,7 +95,7 @@ class StatementArgumentsSink {
|
||||
private(set) var arguments: StatementArguments
|
||||
private let rawSQL: Bool
|
||||
|
||||
/// A sink which does not accept any arguments
|
||||
/// A sink which does not accept any arguments.
|
||||
static let forRawSQL = StatementArgumentsSink(rawSQL: true)
|
||||
|
||||
private init(rawSQL: Bool) {
|
||||
@@ -108,6 +108,7 @@ class StatementArgumentsSink {
|
||||
self.init(rawSQL: false)
|
||||
}
|
||||
|
||||
/// Returns whether arguments could be appended.
|
||||
func append(arguments: StatementArguments) -> Bool {
|
||||
if arguments.isEmpty {
|
||||
return true
|
||||
|
||||
Reference in new issue
Block a user