create Download Query
See createDownloadQuery(String, DataQuery, Boolean).
Parameters
Name parameter.
Query parameter.
Create a persistent query to specify criteria for downloading entities for an entity set. This query is persisted across application restarts. Multiple download queries can be defined for the same entity set (e.g. with different filters).
- See Also:
-
{@link com.sap.cloud.mobile.kotlin.odata.DataQuery#entitySet DataQuery.entitySet}, {@link com.sap.cloud.mobile.kotlin.odata.OfflineDataService#deleteDownloadQuery(kotlin.String) OfflineDataService.deleteDownloadQuery}, {@link com.sap.cloud.mobile.kotlin.odata.OfflineDataService#getDownloadQuery(kotlin.String) OfflineDataService.getDownloadQuery}, {@link com.sap.cloud.mobile.kotlin.odata.OfflineDataService#getDownloadQueries(com.sap.cloud.mobile.kotlin.odata.EntitySet?) OfflineDataService.getDownloadQueries}.
Parameters
Query name. Must be unique.
Data query. Use {@link com.sap.cloud.mobile.kotlin.odata.DataQuery#from(com.sap.cloud.mobile.kotlin.odata.EntitySet) DataQuery.from} to specify the query's entity set.
If true, then enable downloading of associated streams.