DatabaseUtilsCompat

Added in 1.1.0
Deprecated in 1.1.0

class DatabaseUtilsCompat


Helper for accessing features in android.database.DatabaseUtils.

Summary

Public functions

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

This function is deprecated.

Use appendSelectionArgs directly.

java-static String!

This function is deprecated.

Use concatenateWhere directly.

Public functions

appendSelectionArgs

Added in 1.1.0
Deprecated in 1.1.0
java-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.

concatenateWhere

Added in 1.1.0
Deprecated in 1.1.0
java-static fun concatenateWhere(a: String!, b: String!): String!

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