barrel_ex_http v0.3.0 BarrelEx.Database View Source

API for interacting with a BarrelDB database.

Link to this section Summary

Functions

Create a new database with the database configuration db. Returns database info and response status

Create a new database with the database configuration db. Returns database info and response status

Delete a database named db, returns status and database info

Delete a database named db, returns the database info

Get list of available databases and the response status

Get information about the database db and the response status

Get list of available databases

Get information about the database db

Link to this section Functions

Link to this function create(db_id) View Source
create(String.t()) :: {atom(), map()}
create(map()) :: {atom(), map()}

Create a new database with the database configuration db. Returns database info and response status.

Link to this function create!(db_id) View Source
create!(String.t()) :: map()
create!(map()) :: map()

Create a new database with the database configuration db. Returns database info and response status.

Delete a database named db, returns status and database info.

Delete a database named db, returns the database info.

Get list of available databases and the response status.

Link to this function get(db) View Source
get(none()) :: {atom(), map()}
get(none()) :: map()
get(String.t()) :: {atom(), map()}
get(String.t()) :: map()

Get information about the database db and the response status.

Get list of available databases.

Get information about the database db.