asami

lilactown 2022-01-26T16:55:25.053800Z

what makes :tg/entity true or not?

lilactown 2022-01-26T16:55:39.054100Z

whether it :tg/owns something else?

quoll 2022-01-26T19:53:06.722409Z

no. It’s for top level entities

quoll 2022-01-26T19:54:25.668279Z

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
lilactown 2022-01-26T20:02:50.477399Z

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

quoll 2022-01-26T20:05:34.312759Z

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

quoll 2022-01-26T20:07:04.688579Z

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