A component and helper functions to expose access to a specific schema accessible by FDB's record layer.
This is agnostic to the schema which will need to
be supplied to the component using the rough DDL
exposed in exoscale.vinyl.schema
A component and helper functions to expose access to a specific schema accessible by FDB's record layer. This is agnostic to the schema which will need to be supplied to the component using the rough DDL exposed in `exoscale.vinyl.schema`
(get-metadata this)
Return this context's record metadata
Return this context's record metadata
(run-async this f)
Run an asynchronous function against an FDBRecordStore. Protocolized so it can be called against the database or the store
Run an asynchronous function against an FDBRecordStore. Protocolized so it can be called against the database or the store
(run-in-context this f)
Run a function against an FDBRecordStore. Protocolized so it can be called against the database or the store
Run a function against an FDBRecordStore. Protocolized so it can be called against the database or the store
(db-from-instance)
(db-from-instance cluster-file)
Build a valid FDB database from configuration. Use the standard cluster-file location or a specific one if instructed to do so.
Build a valid FDB database from configuration. Use the standard cluster-file location or a specific one if instructed to do so.
(delete-by-key-component txn-context record-type items)
In cases where composite keys are used, this can be used to clear all records for a specific composite key prefix
In cases where composite keys are used, this can be used to clear all records for a specific composite key prefix
(delete-by-prefix-scan txn-context record-type items)
Delete all records surfaced by a prefix scan
Delete all records surfaced by a prefix scan
(delete-by-query txn-context query)
Delete all records surfaced by a query
Delete all records surfaced by a query
(execute-query txn-context query)
(execute-query txn-context query opts)
(execute-query txn-context query opts values)
(initialize schema-name descriptor schema)
(initialize schema-name descriptor schema opts)
(list-query txn-context query)
(list-query txn-context query opts)
(list-query txn-context query opts values)
(record-store-builder)
Yield a new record store builder
Yield a new record store builder
(store-query-fn query
{:exoscale.vinyl.store/keys [values intercept-plan-fn log-plan?]
:as opts})
This builds a directory structure of /$environment/$schema
This builds a directory structure of /$environment/$schema
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close