I’ve postedherea first cut Sqlite backed
object store for haXe/Node.js, fully asynchronous and Promise based.
Classes or typedefs are stored as serialized objects and there’s
no class annotation required.
No spod as it’s not
async. The design is based on initial work i did with pstore,
an experimental Redis object store.
There is a concept of
“buckets”. A bucket contains an object of a given type.Usage.
The bucket provides
indexing by supporting “indexers”, functions that are run on
your object to produce an index key before the object is
serialized on an insert or update. Indexer values are indexed
ultimately by sqlite indexes. Indexers are the query mechanism
too. If your indexer returns null, the object will be ignored in
searches on that index.
You may link objects
between buckets, thereby producing relations.
Future directions will be more drivers as
required probably Redis to start, command line backup/dump to
Simplicity is the ultimate sophistication. ~ Leonardo da Vinci