QueryParams

class QueryParams(projection: Array<String>, whereClause: WhereClause?, groupBy: String?, having: String?, orderBy: String?, limit: Int)

Query Parameters for a fetching data.

Author

Umang Chamaria

Constructors

QueryParams
Link copied to clipboard
fun QueryParams(projection: Array<String>, whereClause: WhereClause?, groupBy: String? = null, having: String? = null, orderBy: String? = null, limit: Int = -1)

Properties

groupBy
Link copied to clipboard
val groupBy: String? = null
Groups rows that have the same values.
having
Link copied to clipboard
val having: String? = null
Conditions that filter which group results appear in the results
limit
Link copied to clipboard
val limit: Int
Limit the number of rows returned by the query.
orderBy
Link copied to clipboard
val orderBy: String? = null
Sort data in specific order, based on one or more columns.
projection
Link copied to clipboard
val projection: Array<String>
Columns to be fetched for the request
whereClause
Link copied to clipboard
val whereClause: WhereClause?
Filter condition for the query.