DatabaseUtilsCompat

Added in 1.1.0
Deprecated in 1.1.0

public final class DatabaseUtilsCompat


Helper for accessing features in android.database.DatabaseUtils.

Summary

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 methods

appendSelectionArgs

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

Added in 1.1.0
Deprecated in 1.1.0
public static String concatenateWhere(String a, String b)

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