Fork me on GitHub
#datascript
<
2015-08-03
>
damien15:08:48

<!channel> does datascript support something similar to the (with tx-data) function?

aengelberg16:08:35

I believe it does, with the d/with function. Note that because Datascript uses immutable databases, the "with" function is simply an immutable version of d/transact!, while Datomic will return some Database view without modifying the data store.

damien16:08:49

@aengelberg: got it, thanks 👍

aengelberg20:08:54

Can anyone tell me what the "tx-meta" field is for? It seems to be passed around in datascript but not used anywhere. It also doesn't appear to mimick anything in Datomic.