Liking cljdoc? Tell your friends :D

asami.storage

Storage protocols

Storage protocols
raw docstring

Connectionclj/sprotocol

dbclj/s

(db this)

Retrieves the latest database from this connection

Retrieves the latest database from this connection

delete-databaseclj/s

(delete-database this)

Removes all resources for a given connection

Removes all resources for a given connection

get-nameclj/s

(get-name this)

Retrieves the name of the database

Retrieves the name of the database

next-txclj/s

(next-tx this)

Returns the next transaction ID that this connection will use

Returns the next transaction ID that this connection will use

releaseclj/s

(release this)

Releases the resources associated with this connection

Releases the resources associated with this connection

transact-dataclj/s

(transact-data this asserts retracts)

Updates the database with provided data

Updates the database with provided data

transact-updateclj/s

(transact-update this update-fn)

Updates a graph in the database with the provided function. Function args are connection and transaction-id

Updates a graph in the database with the provided function.
Function args are connection and transaction-id
source

ConnectionTypeclj/s

source

Databaseclj/sprotocol

as-ofclj/s

(as-of this t)

Retrieves a database as of a given moment, inclusive

Retrieves a database as of a given moment, inclusive

as-of-tclj/s

(as-of-t this)

Returns the t point for a database

Returns the t point for a database

entityclj/s

(entity this id)
(entity this id nested?)

Returns an entity for an identifier

Returns an entity for an identifier

graphclj/s

(graph this)

Returns the internal graph for the database

Returns the internal graph for the database

sinceclj/s

(since this t)

Retrieves a database since a given moment, exclusive

Retrieves a database since a given moment, exclusive

since-tclj/s

(since-t this)

Returns the since point for a database

Returns the since point for a database
source

DatabaseTypeclj/s

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close