jylis_ex v0.1.0 Jylis

Jylis database adapter.

Link to this section Summary

Functions

Make a query to the database

Start a connection to Jylis

Link to this section Functions

Link to this function query(connection, command)

Make a query to the database.

command - A List of command parameters. The command follows the format specified for a function in the Jylis data types documentation.

Returns {:ok, result} on success.

Link to this function start_link(server_uri)

Start a connection to Jylis.

server_uri - A URI in the format jylis://host:port. The schema must be jylis. The host can be a valid hostname, IP address, or domain name. The port is optional and defaults to 6379.

Returns {:ok, pid} on success, or {:error, error} on failure.