Returns the value of the database as of some point t, inclusive.
Returns the value of the database as of some point t, inclusive.
a transactor number, transaction id, or date.
the value of the database as of some point t, inclusive.
the asOf point
the t of the most recent transaction reachable via this db value
Raw access to the index data, by index.
Raw access to the index data, by index.
Raw access to the index data, by index. The index must be supplied, and, optionally, one or more leading components of the index can be supplied to narrow the result.
(Copied from Datomic docs)
the index to use.
optional leading components of the index to match.
an iterable collection of Datom.
Returns the entity id associated with a symbolic keyword
Returns the entity id associated with a symbolic keyword
a keyword.
the entity id.
DatomiscaException
if no entity is found.
Returns the entity id passed.
Returns the entity id passed.
an entity id.
the entity id passed.
Returns a fabricated entity id in the supplied partition whose T component is at or after the supplied t.
Returns a fabricated entity id in the supplied partition whose T component is at or after the supplied t.
Returns a fabricated entity id in the supplied partition whose T component is at or after the supplied t. Entity ids sort by partition, then T component, such T components interleaving with transaction numbers. Thus this method can be used to fabricate a time-based entity id component for use in e.g. seekDatoms.
(Copied from Datomic docs)
a partition name.
a transaction number, transaction id, or date.
a fabricated entity id at or after some point t.
Returns the entity for the given keyword.
Returns the entity for the given keyword.
This will return an empty Entity, if there are no facts about the given entity ident. The :db/id of the entity will null.
a keyword.
an entity.
Returns the entity for the given entity id.
Returns the entity for the given entity id.
This will return an empty Entity, if there are no facts about the given entity id. The :db/id of the entity will be the given id.
an entity id.
an entity.
Returns the value of the database containing only Datoms satisfying the predicate.
Returns the value of the database containing only Datoms satisfying the predicate.
The predicate will be passed the unfiltered db and a Datom. Chained calls compose the predicate with 'and'.
a predicate
the value of the database satisfying the predicate
Returns a special database containing all assertions and retractions across time.
Returns a special database containing all assertions and retractions across time.
This special database can be used for datoms()
and
indexRange()
calls and queries, but not for entity()
or with()
calls. asOf()
and since()
bounds are also
supported. Note that queries will get all of the
additions and retractions, which can be distinguished
by the fifth datom field 'added'
(true for add/assert) [e a v tx added]
the database id
Returns the symbolic keyword
Returns the symbolic keyword
a keyword
a keyword
Returns the symbolic keyword associated with an id
Returns the symbolic keyword associated with an id
an entity id
a keyword
DatomiscaException
if no keyword is found
Raw access to the index data for an indexed attribute.
Raw access to the index data for an indexed attribute.
Returns a range of datoms in index specified by attrid, starting at start, or from beginning if start is null, and ending before end, or through end of attr index if end is null
(Copied from Datomic docs)
attribute keyword (attribute must be indexed or unique).
some start value or none if beginning.
some end value (non-inclusive), or None if through end.
an iterable collection of Datom.
Look up the database function of the entity id
, and invoke the function with args
.
Look up the database function of the entity id
, and invoke the function with args
.
The function value is stored as the value of the :db/fn
attribute of the resolved entity.
Note that no casts or conversions are applied to the arguments or the return value.
the entity id.
the raw arguments to pass to the function.
the result of the function invocation.
Look up the database function of the ident entity ident
, and invoke the function with args
.
Look up the database function of the ident entity ident
, and invoke the function with args
.
The function value is stored as the value of the :db/fn
attribute of the resolved entity.
Note that no casts or conversions are applied to the arguments or the return value.
the entity ident.
the raw arguments to pass to the function.
the result of the function invocation.
true if db has had a filter set with filter(filterFn)
true if this is a special history db
the t one beyond the highest reachable via this db value
Raw access to the index data, by index.
Raw access to the index data, by index.
Raw access to the index data, by index. The index must be supplied, and, optionally, one or more leading components of the index can be supplied for the initial search. Note that, unlike the datoms method, there need not be an exact match on the supplied components. The iteration will begin at or after the point in the index where the components would reside. Further, the iteration is not bound by the supplied components, and will only terminate at the end of the index. Thus you will have to supply your own termination logic, as you rarely want the entire index. As such, seekDatoms is for more advanced applications, and datoms should be preferred wherever it is adequate.
(Copied from Datomic docs)
the index to use.
optional leading components of the index to search for.
an iterable collection of Datom.
entidAt
Returns the value of the database since some point t, exclusive.
Returns the value of the database since some point t, exclusive.
a transactor number, or transaction id.
the value of the database since some point t, exclusive.
the since point
Combines entity()
and entity.touch()
Combines entity()
and entity.touch()
an entity id
a touched entity
Applies transaction data to the database
Applies transaction data to the database
It is as if the data was applied in a transaction, but the source of the database is unaffected.
a sequence of tranaction data
a transaction report