Tunamelt 0.2.0

Released under the Apache 2 License

Schemaless persistence layer for hand-made objects.

Installation

To install, add the following dependency to your project or build file:

[com.hyperphor/tunamelt "0.2.0"]

Namespaces

hyperphor.tunamelt.core

Public API (ClojureScript): as on the JVM, but every function returns a Promise. The default store is the IndexedDB database “tunamelt”.

hyperphor.tunamelt.idb

IndexedDB backend (browsers, extension service workers). Objects are JSON text, as in the SQLite backend. Top-level attribute values are indexed in an attrs store (narrows find :attrs, drives referrers); text values are tokenized into a multiEntry index for prefix search.

Public variables and functions:

hyperphor.tunamelt.store

Storage backend protocol. Keys are {:realm :type :id} maps. In cljs every method returns a Promise of the documented value.

Public variables and functions:

hyperphor.tunamelt.uri

Object naming: hyperphor:////.

Public variables and functions: