tripkit-android / com.skedgo.tripkit.ui.utils / ProviderUtils
ProviderUtils
open class ProviderUtils
Author Daniel Grech
Constructors
Name | Summary |
---|---|
<init> | ProviderUtils() |
Functions
Name | Summary |
---|---|
doBulkInsert | Insert multiple rowsopen static fun doBulkInsert(c: Context!, providerUri: Uri!, valuesArray: Array <ContentValues!>!): Int |
doDelete | open static fun doDelete(c: Context!, providerUri: Uri!, where: String !): Int |
doInsert | open static fun doInsert(c: Context!, providerUri: Uri!, values: ContentValues!): Uri! |
doUpdate | open static fun doUpdate(c: Context!, providerUri: Uri!, values: ContentValues!, sel: String !, selArgs: Array < String !>!): Boolean |
upsert | open static fun upsert(db: SQLiteDatabase!, table: DatabaseTable!, values: ContentValues!, fieldToMatch: DatabaseField?): Long open static fun upsert(db: SQLiteDatabase!, table: DatabaseTable!, values: ContentValues!, fieldsToMatch: Array <DatabaseField!>?): Long |