Riptide.query

You're seeing just the function query, go back to Riptide module for more information.
Link to this function

query(query, state \\ %{internal: true})

View Source

Pass in a query and get the results.

Read more about query structure here. State parameter is optional and is passed to interceptors.

Options

  • :min - Starting range of query, optional
  • :max - End range of query, optional
  • :limit - Max number of results, optional

Examples

iex> Riptide.query(%{ "todo:info" => %{} })
%{
  "todo:info" => %{
    "todo1" => %{
      "text" => "Document riptide"
    }
  }
}