Skip to content

Commit ba929b2

Browse files
committed
Updated getRowCountWithCondition()
1 parent 4057523 commit ba929b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/SQLiteAdapter/SQLiteAdapter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ open class SQLite {
294294
return Int(count)
295295
}
296296

297-
public func getRowCountWithCondition(sql: String, valuesToBind: SQLValues) throws -> Int {
297+
public func getRowCountWithCondition(sql: String, valuesToBind: SQLValues? = nil) throws -> Int {
298298
let sqlStatement = try prepareStatement(sql: sql)
299299
defer {
300300
sqlite3_finalize(sqlStatement)

0 commit comments

Comments
 (0)