EctoNeo4j v0.6.3 Ecto.Adapters.Neo4j.Storage View Source
Link to this section Summary
Link to this section Functions
Link to this function
storage_down(data) View Source
Drops the storage given by options.
Returns :ok
if it was dropped successfully.
Returns {:error, :already_down}
if the storage has already been dropped or
{:error, term}
in case anything else goes wrong.
Examples
storage_down(username: postgres,
database: 'ecto_test',
hostname: 'localhost')
Callback implementation for Ecto.Adapter.Storage.storage_down/1
.
Link to this function
storage_up(_) View Source
Creates the storage given by options.
Returns :ok
if it was created successfully.
Returns {:error, :already_up}
if the storage has already been created or
{:error, term}
in case anything else goes wrong.
Examples
storage_up(username: postgres,
database: 'ecto_test',
hostname: 'localhost')
Callback implementation for Ecto.Adapter.Storage.storage_up/1
.