Storage protocols
Storage protocols
(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
(next-tx this)
Returns the next transaction ID that this connection will use
Returns the next transaction ID that this connection will use
(get-name this)
Retrieves the name of the database
Retrieves the name of the database
(get-url this)
Retrieves the url of the database. Based on the name.
Retrieves the url of the database. Based on the name.
(db this)
Retrieves the latest database from this connection
Retrieves the latest database from this connection
(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
(release this)
Releases the resources associated with this connection
Releases the resources associated with this connection
(transact-data this updates! generator-fn)
(transact-data this updates! asserts retracts)
Updates the database with provided data
Updates the database with provided data
(open? this)
Returns true when the database is open and available
Returns true when the database is open and available
(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
(as-of-time this)
Returns the timestamp associated with a database
Returns the timestamp associated with a database
(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