gsdsdk / com.gsd.software.sdk.netconnector.sync.dfobject.dbwrapper / SqlDb

SqlDb

interface SqlDb

Created by Maksim Shumko on 2/19/2020.

Functions

Name Summary
delete abstract fun delete(tableName:String, columnName:String, value:Any?):Unit
getRowCursor abstract fun getRowCursor(tableName:String):SqlCursor
abstract fun getRowCursor(tableName:String, columnName:String, value:String):SqlCursor
insert abstract fun insert(tableName:String, contentValues:ContentValues):Unit
runInTransaction abstract fun runInTransaction(body: (SqlDb) ->Unit):Unit
runRowCursorInBlock abstract fun runRowCursorInBlock(tableName:String, block: (SqlCursor) ->Unit):Unit
abstract fun runRowCursorInBlock(tableName:String, columnName:String, value:String, block: (SqlCursor) ->Unit):Unit
update abstract fun update(tableName:String, contentValues:ContentValues, clause:String, arg:Any):Unit
upsert abstract fun upsert(tableName:String, contentValues:ContentValues, columnName:String, value:String?):Unit

Inheritors

Name Summary
DbWrapper class DbWrapper :SqlDb
Created by Maksim Shumko on 2/19/2020.