ArangoXEcto.Query (ArangoX Ecto v1.0.0) View Source
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
Specs
all(%Ecto.Query{ aliases: term(), assocs: term(), combinations: term(), distinct: term(), from: term(), group_bys: term(), havings: term(), joins: term(), limit: term(), lock: term(), offset: term(), order_bys: term(), prefix: term(), preloads: term(), select: term(), sources: term(), updates: term(), wheres: term(), windows: term(), with_ctes: term() }) :: binary()
Creates an AQL query to fetch all entries from the data store matching the given query.
Specs
delete_all(%Ecto.Query{ aliases: term(), assocs: term(), combinations: term(), distinct: term(), from: term(), group_bys: term(), havings: term(), joins: term(), limit: term(), lock: term(), offset: term(), order_bys: term(), prefix: term(), preloads: term(), select: term(), sources: term(), updates: term(), wheres: term(), windows: term(), with_ctes: term() }) :: binary()
Creates an AQL query to delete all entries from the data store matching the given query.
Specs
update_all(%Ecto.Query{ aliases: term(), assocs: term(), combinations: term(), distinct: term(), from: term(), group_bys: term(), havings: term(), joins: term(), limit: term(), lock: term(), offset: term(), order_bys: term(), prefix: term(), preloads: term(), select: term(), sources: term(), updates: term(), wheres: term(), windows: term(), with_ctes: term() }) :: binary()
Creates an AQL query to update all entries from the data store matching the given query.