requestData

Requests data from object store or index.

Official doc

Note: this function uses an input class, and constructing this class manually may lead to incompatibilities if the class's constructor arguments change in the future. For maximum compatibility, it is advised to use the overload of this function that directly takes the mandatory parameters as arguments, and the optional ones from a configuration lambda.


inline suspend fun requestData(databaseName: String, objectStoreName: String, indexName: String, skipCount: Int, pageSize: Int, optionalArgs: RequestDataRequest.Builder.() -> Unit = {}): RequestDataResponse

Requests data from object store or index.

Official doc

Parameters

databaseName

Database name.

objectStoreName

Object store name.

indexName

Index name, empty string for object store data requests.

skipCount

Number of records to skip.

pageSize

Number of records to fetch.