Liking cljdoc? Tell your friends :D

ventas.database


attributesclj

(attributes)

Gets all attributes. This is a superset of the schema.

Gets all attributes. This is a superset of the schema.
sourceraw docstring

basis-tclj

(basis-t)

Gets the last t

Gets the last t
sourceraw docstring

connclj

source

connected?clj

(connected?)
source

createclj

(create)

Wrapper for d/create-database

Wrapper for d/create-database
sourceraw docstring

datom->mapclj

(datom->map datom)
source

datomsclj

(datoms & args)

datoms wrapper

datoms wrapper
sourceraw docstring

dbclj

(db)
source

db-symbol->keywordclj

(db-symbol->keyword db-symbol)
source

deleteclj

(delete)

Wrapper for d/delete-database

Wrapper for d/delete-database
sourceraw docstring

ensure-conformsclj

(ensure-conforms id migration)

conformity/ensure-conforms wrapper

conformity/ensure-conforms wrapper
sourceraw docstring

entityclj

(entity & args)

entity wrapper

entity wrapper
sourceraw docstring

EntityMaps->eidsclj

(EntityMaps->eids m)

EntityMap -> eid

EntityMap -> eid
sourceraw docstring

enum-valuesclj

(enum-values enum & {:keys [eids?]})

Gets the values of a database enum Usage: (enum-values "schema.type")

Gets the values of a database enum
Usage: (enum-values "schema.type")
sourceraw docstring

explain-txclj

(explain-tx tx)
source

explain-txsclj

(explain-txs txs)
source

historyclj

(history & args)

history wrapper

history wrapper
sourceraw docstring

identclj

(ident & args)

ident wrapper

ident wrapper
sourceraw docstring

index-rangeclj

(index-range attrid start end)

index-range wrapper

index-range wrapper
sourceraw docstring

keyword->db-symbolclj

(keyword->db-symbol keyword)
source

logclj

(log)

log wrapper

log wrapper
sourceraw docstring

lookup-ref?clj

(lookup-ref? v)
source

map->queryclj

(map->query m)
source

nice-queryclj

(nice-query {:keys [find in where]} & [explicit-db])

Automates the :in argument and returns maps instead of vectors

Automates the :in argument and returns maps instead of vectors
sourceraw docstring

nice-query-attrclj

(nice-query-attr {:keys [find in where] :as args})

Returns the only attribute of the only row

Returns the only attribute of the only row
sourceraw docstring

nice-query-oneclj

(nice-query-one {:keys [find in where] :as args})

(first (nice-query))

(first (nice-query))
sourceraw docstring

normalize-refclj

(normalize-ref ref)

Normalizes a database reference. {:db/id 17592186045466} -> 123 :schema.type/product -> 17592186045466 [:product/keyword :test-product] -> 17592186045940

Normalizes a database reference.
{:db/id 17592186045466} -> 123
:schema.type/product -> 17592186045466
[:product/keyword :test-product] -> 17592186045940
sourceraw docstring

partitionsclj

(partitions)

Gets the partitions of the database

Gets the partitions of the database
sourceraw docstring

pullclj

(pull & args)

pull wrapper

pull wrapper
sourceraw docstring

qclj

(q query)
(q query sources)

q wrapper

q wrapper
sourceraw docstring

read-changesclj

(read-changes {:keys [db-after tx-data] :as report} query)

Given a report from tx-report-queue and a query, gets the changes

Given a report from tx-report-queue and a query, gets the changes
sourceraw docstring

recreateclj

(recreate)

Recreates the database

Recreates the database
sourceraw docstring

rename-ident!clj

(rename-ident! old new)
source

resolve-tempidclj

(resolve-tempid & args)

resolve-tempid wrapper

resolve-tempid wrapper
sourceraw docstring

retract-entityclj

(retract-entity eid)

Retract an entity by eid

Retract an entity by eid
sourceraw docstring

rollbackclj

(rollback)
(rollback t)

Reassert retracted datoms and retract asserted datoms in a transaction, effectively 'undoing' the transaction.

Reassert retracted datoms and retract asserted datoms in a transaction,
effectively 'undoing' the transaction.
sourceraw docstring

schemaclj

(schema)

Gets the current database schema

Gets the current database schema
sourceraw docstring

start-db!clj

(start-db!)
source

stop-db!clj

(stop-db! _)
source

tempidclj

(tempid)

tempid wrapper

tempid wrapper
sourceraw docstring

touch-eidclj

(touch-eid eid)

Touches an entity by eid

Touches an entity by eid
sourceraw docstring

transactclj

(transact & args)

transact wrapper

transact wrapper
sourceraw docstring

transactionclj

(transaction t)

Gets a transaction by t

Gets a transaction by t
sourceraw docstring

transaction->mapclj

(transaction->map tx)
source

transaction-logclj

(transaction-log)

Gets the list of all transactions

Gets the list of all transactions
sourceraw docstring

tx-report-queueclj

(tx-report-queue & args)

tx-report-queue wrapper

tx-report-queue wrapper
sourceraw docstring

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

× close