Liking cljdoc? Tell your friends :D

donut.datapotato.spec-gen


assoc-relationclj/sdeprecated

(assoc-relation gen-data relation-attr relation-val constraints)

Look up related ent's attr value and assoc with parent ent attr. :coll relations will add value to a vector.

Look up related ent's attr value and assoc with parent ent
attr. `:coll` relations will add value to a vector.
raw docstring

ent-db-spec-genclj/s

(ent-db-spec-gen db query)

Convenience function to build a new db using the spec-gen mapper and the default attr-key

Convenience function to build a new db using the spec-gen mapper
and the default attr-key
raw docstring

ent-db-spec-gen-attrclj/s

(ent-db-spec-gen-attr db query)

Convenience function to return a map of {ent-name gen-data} using the db returned by ent-db-spec-gen

Convenience function to return a map of `{ent-name gen-data}` using
the db returned by `ent-db-spec-gen`
raw docstring

omit-relation?clj/sdeprecated

(omit-relation? db ent-name reference-key)

reset-relationsclj/sdeprecated

(reset-relations db ent-name ent-data)

The generated data will generate values agnostic of any constraints that may be present. This function updates values in the generated data to match up with constraints. First, it will remove any dummy ID's for a :coll relation. Next, it will remove any dummy ID's generated for an :omit relation. The updated ent-data map will be returned.

The generated data will generate values agnostic of any constraints that may
be present. This function updates values in the generated data to match up
with constraints. First, it will remove any dummy ID's for a `:coll` relation.
Next, it will remove any dummy ID's generated for an `:omit` relation. The
updated ent-data map will be returned.
raw docstring

spec-genclj/s


spec-gen-assoc-relationsclj/sdeprecated

(spec-gen-assoc-relations db {:keys [ent-name visit-key visit-val]})

Next, look up referenced attributes and assign them

Next, look up referenced attributes and assign them
raw docstring

spec-gen-generate-ent-clj/sdeprecated

(spec-gen-generate-ent- db {:keys [ent-name]})

First pass function, uses spec to generate a val for every entity

First pass function, uses spec to generate a val for every entity
raw docstring

spec-gen-generate-ent-valclj/sdeprecated

(spec-gen-generate-ent-val db {:keys [ent-name]})

First pass function, uses spec to generate a val for every entity

First pass function, uses spec to generate a val for every entity
raw docstring

spec-gen-merge-overwritesclj/sdeprecated

(spec-gen-merge-overwrites _db {:keys [visit-val visit-query-opts schema-opts]})

Merge any overwrites specified in the schema or query

Merge any overwrites specified in the schema or query
raw docstring

spec-gen-visit-keyclj/s

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

× close