/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.utils/ProviderUtils
ProviderUtils
\ object ProviderUtils
Author
Daniel Grech
Functions
Name | Summary |
---|---|
doBulkInsert | fun doBulkInsert(context: Context, providerUri: Uri, valuesArray: Array<ContentValues>): Int |
doDelete | fun doDelete(context: Context, providerUri: Uri, where: String?): Int |
doInsert | fun doInsert(context: Context, providerUri: Uri, values: ContentValues): Uri? |
doUpdate | fun doUpdate(context: Context, providerUri: Uri, values: ContentValues, sel: String?, selArgs: Array<String>?): Boolean |
upsert | fun upsert(db: SQLiteDatabase, table: DatabaseTable, values: ContentValues, fieldToMatch: DatabaseField?): Long fun upsert(db: SQLiteDatabase, table: DatabaseTable?, values: ContentValues?, fieldsToMatch: Array<DatabaseField?>?): Long |