Storage protocols
Storage protocols
(db this)
Retrieves the latest database from this connection
Retrieves the latest database from this connection
(delete-database this)
Removes all resources for a given connection
Removes all resources for a given connection
(get-lock this)
Returns a lock that ensures that this Connection can only be updated by a single thread at a time
Returns a lock that ensures that this Connection can only be updated by a single thread at a time
(get-name this)
Retrieves the name of the database
Retrieves the name of the database
(next-tx this)
Returns the next transaction ID that this connection will use
Returns the next transaction ID that this connection will use
(release this)
Releases the resources associated with this connection
Releases the resources associated with this connection
(transact-data this generator-fn)
(transact-data this asserts retracts)
Updates the database with provided data
Updates the database with provided data
(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
(as-of this t)
Retrieves a database as of a given moment, inclusive
Retrieves a database as of a given moment, inclusive
(as-of-t this)
Returns the t point for a database
Returns the t point for a database
(entity this id)
(entity this id nested?)
Returns an entity for an identifier
Returns an entity for an identifier
(graph this)
Returns the internal graph for the database
Returns the internal graph for the database
(since this t)
Retrieves a database since a given moment, exclusive
Retrieves a database since a given moment, exclusive
(since-t this)
Returns the since point for a database
Returns the since point for a database
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close