UNPKG

synopsys

Version:

Synopsys is proof of concept datastore service. It stores facts in terms of entity attribute value triples and allows clients to subscribe to _(datomic inspired)_ queries pushing updates to them when new transactions affect results.

7 lines (6 loc) 181 B
/** * @template {import('datalogia').Entity} Entity * @param {Entity} entity * @returns {import('datalogia').ByteView<Entity>} */ export const toBytes = (entity) => entity['/']