AshScylla Repo for ash_scylla.
Manages the Xandra connection to ScyllaDB.
Summary
Functions
Returns the full repo config.
Returns the connection struct.
Creates the keyspace if it doesn't exist.
Returns whether atomic actions are disabled for this repo.
Returns whether LWT operations are disabled for this repo.
Drops the keyspace if it doesn't exist.
Returns installed ScyllaDB extensions for this repo.
Returns the configured keyspace.
Returns the configured nodes.
Prepares a CQL statement.
Prepares a CQL statement, raising on error.
Executes a CQL query.
Executes a CQL query, raising on error.
Functions
@spec config() :: keyword()
Returns the full repo config.
@spec connection() :: AshScylla.Connection.t() | nil
Returns the connection struct.
Creates the keyspace if it doesn't exist.
@spec disable_atomic_actions?() :: boolean()
Returns whether atomic actions are disabled for this repo.
@spec disable_lwt?() :: boolean()
Returns whether LWT operations are disabled for this repo.
Drops the keyspace if it doesn't exist.
@spec installed_extensions() :: [atom()]
Returns installed ScyllaDB extensions for this repo.
@spec keyspace() :: String.t() | nil
Returns the configured keyspace.
@spec nodes() :: [String.t()]
Returns the configured nodes.
@spec prepare( String.t(), keyword() ) :: {:ok, Xandra.Prepared.t()} | {:error, term()}
Prepares a CQL statement.
@spec prepare!( String.t(), keyword() ) :: Xandra.Prepared.t() | no_return()
Prepares a CQL statement, raising on error.
Executes a CQL query.
Executes a CQL query, raising on error.