Liking cljdoc? Tell your friends :D

toucan2.types

Toucan 2 query type hierarchy.

Toucan 2 query type hierarchy.
raw docstring

base-query-typeclj

(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.*
```
sourceraw docstring

parent-query-typeclj

(parent-query-type query-type)
source

query-type?clj

(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.
sourceraw docstring

similar-query-type-returningclj

(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
```
sourceraw docstring

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

× close