ArangoXEcto.Adapter (ArangoX Ecto v0.7.0) View Source

Ecto adapter for ArangoDB using ArangoX

This implements methods for Ecto.Adapter. These functions should not be accessed directly and should only be used by Ecto. Direct interaction functions are in the ArangoXEcto module.

Link to this section Summary

Functions

Checks out a connection for the duration of the given function.

Returns the dumpers for a given type.

Ensure all applications necessary to run the adapter are started

Initialise adapter with config

Returns the loaders of a given type.

Starts the Agent with an empty list

Link to this section Functions

Link to this function

autogenerate(field_type)

View Source

Callback implementation for Ecto.Adapter.Schema.autogenerate/1.

Link to this function

checkout(meta, opts, fun)

View Source

Checks out a connection for the duration of the given function.

Link to this function

delete(adapter_meta, schema_meta, filters, options)

View Source

Callback implementation for Ecto.Adapter.Schema.delete/4.

Returns the dumpers for a given type.

Link to this function

ensure_all_started(config, type)

View Source

Ensure all applications necessary to run the adapter are started

Link to this function

execute(adapter_meta, query_meta, query_cache, params, options)

View Source

Callback implementation for Ecto.Adapter.Queryable.execute/5.

Link to this function

in_transaction?(adapter_meta)

View Source

Callback implementation for Ecto.Adapter.Transaction.in_transaction?/1.

Initialise adapter with config

Link to this function

insert(adapter_meta, schema_meta, fields, on_conflict, returning, options)

View Source

Callback implementation for Ecto.Adapter.Schema.insert/6.

Link to this function

insert_all(adapter_meta, schema_meta, header, list, on_conflict, returning, options)

View Source

Callback implementation for Ecto.Adapter.Schema.insert_all/7.

Returns the loaders of a given type.

Callback implementation for Ecto.Adapter.Queryable.prepare/2.

Link to this function

rollback(adapter_meta, value)

View Source

Callback implementation for Ecto.Adapter.Transaction.rollback/2.

Starts the Agent with an empty list

Callback implementation for Ecto.Adapter.Storage.storage_down/1.

Callback implementation for Ecto.Adapter.Storage.storage_status/1.

Callback implementation for Ecto.Adapter.Storage.storage_up/1.

Link to this function

stream(adapter_meta, query_meta, query_cache, params, options)

View Source

Callback implementation for Ecto.Adapter.Queryable.stream/5.

Link to this function

transaction(adapter_meta, options, function)

View Source

Callback implementation for Ecto.Adapter.Transaction.transaction/3.

Link to this function

update(adapter_meta, schema_meta, fields, filters, returning, options)

View Source

Callback implementation for Ecto.Adapter.Schema.update/6.