IzumiSy/elm-firestore/12.0.0

NOTE: the latest version is 13.0.0

Firestore.Options.List

An option type for list operation.

type Options

An option type for List operation

Constructs options for list operation

queryParameters : Options -> List QueryParameter

Converts options into query parameters

Pagination

= PageToken PageToken

The next page token.

This token is required in fetching the next result offset by pageSize in list operation. The internal implementation is intetentionally encapsulated in order not to make invalid one by hand. It can be obtained only from Documents record.

Sets the page token obtained the previous List operation, if any.

Sets the maximum number of documents to return

OrderBy

type OrderBy
= Desc String
| Asc String

OrderBy direction and column

Sets order to sort results by