View Source ArangoXEcto.Query (ArangoX Ecto v1.2.1)

Converts Ecto.Query structs into AQL syntax.

This module is copied from https://github.com/ArangoDB-Community/arangodb_ecto/blob/master/lib/arangodb_ecto/query.ex. All credit goes to mpoeter, the original author. Please go check out the original of this file.

This is an updated version for Ecto V3

Link to this section Summary

Functions

Creates an AQL query to fetch all entries from the data store matching the given query.

Creates an AQL query to delete all entries from the data store matching the given query.

Creates an AQL query to update all entries from the data store matching the given query.

Link to this section Functions

@spec all(Ecto.Query.t()) :: binary()

Creates an AQL query to fetch all entries from the data store matching the given query.

@spec delete_all(Ecto.Query.t()) :: binary()

Creates an AQL query to delete all entries from the data store matching the given query.

@spec update_all(Ecto.Query.t()) :: binary()

Creates an AQL query to update all entries from the data store matching the given query.