Liking cljdoc? Tell your friends :D

org.purefn.sqlium.dsl

Convenience functions for interacting with sqlium's SQL entity DSL. See the two DSL namespaces for more extensive documentation about the contents of specs and the return values of the various operations

Convenience functions for interacting with sqlium's SQL entity DSL.
See the two DSL namespaces for more extensive documentation about
the contents of specs and the return values of the various
operations 
raw docstring

compile-specclj

(compile-spec dsl-spec)

Takes a DSL spec, returns map with the parsed spec in :spec key, and grouped spec in :grouped key.

Takes a DSL spec, returns map with the parsed spec in :spec key,
and grouped spec in :grouped key.
raw docstring

group-specclj

(group-spec spec)

Takes a (parsed) spec, returns structure with the relationships grouped.

Takes a (parsed) spec, returns structure with the relationships
grouped.
raw docstring

group-tablesclj

(group-tables spec)

Returns a collection all the tables in group for an (analyzed) table spec, ie. the table itself and all the single relationships.

Returns a collection all the tables in group for an (analyzed)
table spec, ie. the table itself and all the single relationships.
raw docstring

id-columnclj

(id-column spec)

Returns the id column for a spec as a keyword :table/column.

Returns the id column for a spec as a keyword :table/column.
raw docstring

parse-specclj

(parse-spec dsl-spec)

Takes a DSL expression of a spec, returns parsed spec.

Takes a DSL expression of a spec, returns parsed spec.
raw docstring

relationship?clj

(relationship? ent)

True if spec entry is a relationship.

True if spec entry is a relationship.
raw docstring

single-relationshipsclj

(single-relationships spec)

Returns the single relationships for an (analyzed) table spec.

Returns the single relationships for an (analyzed) table spec.
raw docstring

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

× close