DatabaseUtilsCompat

public final class DatabaseUtilsCompat


Helper for accessing features in android.database.DatabaseUtils.

Summary

Public constructors

Public methods

static String[]
appendSelectionArgs(String[] originalValues, String[] newValues)

This method is deprecated.

Use appendSelectionArgs directly.

static String

This method is deprecated.

Use concatenateWhere directly.

Public constructors

DatabaseUtilsCompat

public final DatabaseUtilsCompat()

Public methods

appendSelectionArgs

public static String[] appendSelectionArgs(String[] originalValues, String[] newValues)

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

concatenateWhere

public static String concatenateWhere(String a, String b)

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