Concord.Turso (Concord v2.3.1)

Copy Markdown View Source

Explicit Turso-backed Concord API.

This API uses a local Turso database through ex_turso. It is durable and node-local: it does not submit writes to the Raft cluster and it does not replicate data to Concord cluster peers.

Summary

Functions

delete(key, opts \\ [])

delete_if(key, opts)

delete_many(keys, opts \\ [])

get(key, opts \\ [])

get_all(opts \\ [])

get_all_with_ttl(opts \\ [])

get_many(keys, opts \\ [])

get_with_ttl(key, opts \\ [])

list(opts)

members(opts \\ [])

prefix_scan(prefix, opts \\ [])

put(key, value, opts \\ [])

put_if(key, value, opts)

put_many(operations, opts \\ [])

put_many_with_ttl(operations, ttl_seconds, opts \\ [])

put_with_ttl(key, value, ttl_seconds, opts \\ [])

revision(opts \\ [])

status(opts \\ [])

sync(opts \\ [])

Synchronizes the local Turso database with a configured remote database.

touch(key, additional_ttl_seconds, opts \\ [])

touch_many(operations, opts \\ [])

ttl(key, opts \\ [])

txn(spec, opts \\ [])