Skip to content

Commit 5fcadca

Browse files
committed
Update README.md
1 parent 4a9a758 commit 5fcadca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ func checkIfIndexExists(in table: SQLTable, indexName: String) throws -> Bool
158158
func dropIndex(in table: SQLTable, forColumn columnName: String) throws
159159
func beginTransaction() throws
160160
func endTransaction() throws
161-
func insertRow(sql: String, params: [Any]?) throws -> (Int, Int)
161+
func insertRow(sql: String, params: [Any]?) throws -> (changes: Int, lastInsertID: Int)
162162
func updateRow(sql: String, params: [Any]?) throws -> Int
163163
func deleteRow(sql: String, params: [Any]?) throws -> Int
164164
func deleteByID(in table: SQLTable, id: Int) throws -> Int

0 commit comments

Comments
 (0)