DatabaseUtilsCompat

class DatabaseUtilsCompat
kotlin.Any
   ↳ androidx.core.database.DatabaseUtilsCompat

Helper for accessing features in android.database.DatabaseUtils.

Summary

Public methods
static String!

Concatenates two SQL WHERE clauses, handling empty or null values.

static Array<String!>!
appendSelectionArgs(originalValues: Array<String!>!, newValues: Array<String!>!)

Appends one set of selection args to another.

Public methods

concatenateWhere

static fun concatenateWhere(a: String!, b: String!): String!

Concatenates two SQL WHERE clauses, handling empty or null values.

appendSelectionArgs

static fun appendSelectionArgs(originalValues: Array<String!>!, newValues: Array<String!>!): Array<String!>!

Appends one set of selection args to another. This is useful when adding a selection argument to a user provided set.