Make SelectStatement conform to CustomStringConvertible

This commit is contained in:
Peter Steinberger committed 2021-04-22 14:12:10 +02:00
1 parent 31e2b01c10
commit 5dfab017e5
1 file changed
+6
+6
View File
@@ -985,3 +985,9 @@ extension StatementArguments {
return "[" + (namedValuesDescriptions + valuesDescriptions).joined(separator: ", ") + "]"
}
}
extension SelectStatement: CustomStringConvertible {
public var description: String {
"SQL: \(sql), Arguments: \(arguments)"
}
}