barrel_ex_http v0.2.1 BarrelEx.Database

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)
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)
create!(String.t()) :: map()
create!(map()) :: map()

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

Link to this function delete(db)
delete(String.t()) :: {atom(), map()}

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

Link to this function delete!(db)
delete!(String.t()) :: map()

Delete a database named db, returns the database info.

Get list of available databases and the response status.

Link to this function get(db)
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.