Liking cljdoc? Tell your friends :D

naga.storage.datomic.schema

Functions for generating a user schema for Datomic.

Functions for generating a user schema for Datomic.
raw docstring

auto-schemaclj

(auto-schema json-data)

Determine a Datomic schema for a provided JSON structure.

Determine a Datomic schema for a provided JSON structure.
sourceraw docstring

Dataschemacljprotocol

schema-fromclj

(schema-from data xfr)

Generate a schema out of data, and add to the xfr transactor

Generate a schema out of data, and add to the xfr transactor

typenameclj

(typename data)

Returns the name of a JSON type

Returns the name of a JSON type
source

extract-typesclj

(extract-types json-data)

Return a sequence of property/type pairs identified in JSON. JSON must be a sequence of entity maps.

Return a sequence of property/type pairs identified in JSON.
JSON must be a sequence of entity maps.
sourceraw docstring

pair-file-to-attributesclj

(pair-file-to-attributes file-text)

Generates data for new attribute definitions, based on a file of attribute/type pairs.

Generates data for new attribute definitions, based on a file of attribute/type pairs.
sourceraw docstring

special-casesclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close