View Source ArangoXEcto.Adapter (ArangoX Ecto v1.3.1)

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

Returns true if a connection has been checked out

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

checked_out?(adapter_meta)

View Source

Returns true if a connection has been checked out

Link to this function

checkout(meta, opts, fun)

View Source

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

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

Initialise adapter with config

Returns the loaders of a given type.

Starts the Agent with an empty list