mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Make SelectStatement conform to CustomStringConvertible
This commit is contained in:
1 parent
31e2b01c10
commit
5dfab017e5
1 file changed
+6
@@ -985,3 +985,9 @@ extension StatementArguments {
|
||||
return "[" + (namedValuesDescriptions + valuesDescriptions).joined(separator: ", ") + "]"
|
||||
}
|
||||
}
|
||||
|
||||
extension SelectStatement: CustomStringConvertible {
|
||||
public var description: String {
|
||||
"SQL: \(sql), Arguments: \(arguments)"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user