Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

[tx] Allow [:db/tx :db/txInstant INSTANT] in transaction input #225

@ncalexan

Description

@ncalexan

Datomic (and the Clojure implementation of Mentat) allow to specify the :db/txInstant that the transaction will be applied with by including a datom like

[[:db/add :db/tx :db/txInstant INSTANT]]

(Note that the :db/tx is a Mentat addition, although I think Datomic added an equivalent thing recently.) This requires INSTANT to be strictly after the last transaction timestamp and strictly before the current transactor timestamp.

Adding this allows to import data with meaningful timestamps, for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions