Dela via


ContentResolver.QueryArgSqlGroupBy Field

Definition

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

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

Field Value

Attributes

Remarks

Key for an SQL style GROUP BY 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_GROUP_BY.

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