Sdílet prostřednictvím


ContentResolver.QueryArgSqlLimit Field

Definition

Key for an SQL style LIMIT string that may be present in the query Bundle argument passed to ContentProvider#query(Uri, String[], Bundle, CancellationSignal).

[Android.Runtime.Register("QUERY_ARG_SQL_LIMIT", ApiSince=30)]
public const string QueryArgSqlLimit;
[<Android.Runtime.Register("QUERY_ARG_SQL_LIMIT", ApiSince=30)>]
val mutable QueryArgSqlLimit : string

Field Value

Attributes

Remarks

Key for an SQL style LIMIT string that may be present in the query Bundle argument passed to ContentProvider#query(Uri, String[], Bundle, CancellationSignal).

<b>Apps targeting android.os.Build.VERSION_CODES#O or higher are strongly encourage to use structured query arguments in lieu of opaque SQL query clauses.</b>

Java documentation for android.content.ContentResolver.QUERY_ARG_SQL_LIMIT.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to