Toucan 2 query type hierarchy.
Toucan 2 query type hierarchy.
(base-query-type query-type)
E.g. something like :toucan.query-type/insert.*
. The immediate descendant of :toucan.query-type/*
.
(base-query-type :toucan.query-type/insert.instances)
=>
:toucan.query-type/insert.*
E.g. something like `:toucan.query-type/insert.*`. The immediate descendant of `:toucan.query-type/*`. ```clj (base-query-type :toucan.query-type/insert.instances) => :toucan.query-type/insert.* ```
(query-type? query-type)
True if query-type
derives from one of the various abstract query keywords such as :toucan.result-type/*
or
:toucan.query-type/*
. This does not guarantee that the query type is a 'concrete', just that it is something with
some sort of query type information.
True if `query-type` derives from one of the various abstract query keywords such as `:toucan.result-type/*` or `:toucan.query-type/*`. This does not guarantee that the query type is a 'concrete', just that it is something with some sort of query type information.
(similar-query-type-returning query-type result-type)
(similar-query-type-returning :toucan.query-type/insert.instances :toucan.result-type/pks)
=>
:toucan.query-type/insert.pks
```clj (similar-query-type-returning :toucan.query-type/insert.instances :toucan.result-type/pks) => :toucan.query-type/insert.pks ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close