db as a value stored in datomic component