Fork me on GitHub
#asami
<
2022-01-26
>
lilactown16:01:25

what makes :tg/entity true or not?

lilactown16:01:39

whether it :tg/owns something else?

quoll19:01:06

no. It’s for top level entities

quoll19:01:25

Which means that if you transact a sequence of maps, each map becomes :tg/entity true. Embedded entities don’t get this property. The reason for it is for exporting graphs to JSON

1
lilactown20:01:50

ok. and if I wanted to extend a protocol to all asami dbs, I'm guessing ill need to extend it to each storage type

quoll20:01:34

Do you mean graphs or databases? I’m going to guess you mean databases?

quoll20:01:04

There are 2: asami.memory.MemoryDatabase and asami.durable.DurableDatabase