slackline/api/apps/datastore_query

This module is generated by gleam run -m slackline_codegen/generate. Do not edit it by hand.

Setters for the optional arguments of apps.datastore.query. Each setter takes the call that apps.datastore_query returns and sets one argument:

apps.datastore_query(datastore: "datastore")
|> datastore_query.expression("#artist = :artist_name")

Values

pub fn app_id(
  call: slackline.Call(apps.DatastoreQuery, r),
  app_id: String,
) -> slackline.Call(apps.DatastoreQuery, r)

Required if calling with user token

pub fn cursor(
  call: slackline.Call(apps.DatastoreQuery, r),
  cursor: String,
) -> slackline.Call(apps.DatastoreQuery, r)

Set cursor to next_cursor returned by the previous call to list items in the next page

pub fn expression(
  call: slackline.Call(apps.DatastoreQuery, r),
  expression: String,
) -> slackline.Call(apps.DatastoreQuery, r)

A query filter expression

pub fn expression_attributes(
  call: slackline.Call(apps.DatastoreQuery, r),
  expression_attributes: dict.Dict(String, String),
) -> slackline.Call(apps.DatastoreQuery, r)

A map of attributes referenced in expression.

pub fn expression_values(
  call: slackline.Call(apps.DatastoreQuery, r),
  expression_values: dict.Dict(String, value.Value),
) -> slackline.Call(apps.DatastoreQuery, r)

A map of values referenced in expression.

pub fn limit(
  call: slackline.Call(apps.DatastoreQuery, r),
  limit: Int,
) -> slackline.Call(apps.DatastoreQuery, r)

The maximum number of items to evaluate for a given request (not necessarily the number of matching items). If the given request dataset size exceeds 1 MB before reaching the limit, the returned item count will likely be less than the limit. In any case where there are more items available beyond an imposed limit, a next_cursor value will be provided for use in subsequent requests. Defaults to 100.

✨ Search Document