(clj-type data)(def-marshal-write java-type write-method)(def-unmarshal-read java-type read-method)(marshal-db-entry data & [db-entry-arg])A general way to get a database entry from data. If data is a DatabaseEntry instance, just return it. If it is a supported type, convert it into a new DatabaseEntry object. If the optional db-entry-arg is passed in, reuse it as the target DatabaseEntry.
A general way to get a database entry from data. If data is a DatabaseEntry instance, just return it. If it is a supported type, convert it into a new DatabaseEntry object. If the optional db-entry-arg is passed in, reuse it as the target DatabaseEntry.
(marshal-db-entry* map-arg key-arg)A helper function for making optionally-empty DatabaseEntry objects from keyword argument maps.
A helper function for making optionally-empty DatabaseEntry objects from keyword argument maps.
(unmarshal-db-entry db-entry)(unmarshal-db-entry* result key-entry data-entry)A helper function which returns a [key data] pair given the result of a retrieval operation and the corresponding DatabaseEntry objects.
A helper function which returns a [key data] pair given the result of a retrieval operation and the corresponding DatabaseEntry objects.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |