We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4057523 commit ba929b2Copy full SHA for ba929b2
1 file changed
Sources/SQLiteAdapter/SQLiteAdapter.swift
@@ -294,7 +294,7 @@ open class SQLite {
294
return Int(count)
295
}
296
297
- public func getRowCountWithCondition(sql: String, valuesToBind: SQLValues) throws -> Int {
+ public func getRowCountWithCondition(sql: String, valuesToBind: SQLValues? = nil) throws -> Int {
298
let sqlStatement = try prepareStatement(sql: sql)
299
defer {
300
sqlite3_finalize(sqlStatement)
0 commit comments