Liking cljdoc? Tell your friends :D

datahike.pg.sql.derived

Prove and rewrite restrictions through inert derived-table projections.

Only typed current databases, ordinary base relations, identity-preserving scalar column projections and built-in integral equality are admitted. An unproved shape keeps the normal materializer. The returned expression owns its nodes; the shared parser AST is read-only.

Prove and rewrite restrictions through inert derived-table projections.

Only typed current databases, ordinary base relations, identity-preserving
scalar column projections and built-in integral equality are admitted. An unproved shape keeps the normal materializer.
The returned expression owns its nodes; the shared parser AST is read-only.
raw docstring

additional-whereclj

(additional-where outer item schema db {:keys [cte-names] :or {cte-names #{}}})

Return an owned restriction for an eligible explicit derived FROM item.

The parent WHERE remains in place. Existing child WHERE/ON and every projected item must be inert; only proven integral comparisons are duplicated. No rows, bound values, shared AST nodes or new parameter indices enter this rewrite.

Return an owned restriction for an eligible explicit derived FROM item.

The parent WHERE remains in place. Existing child WHERE/ON and every projected
item must be inert; only proven integral comparisons are duplicated. No rows,
bound values, shared AST nodes or new parameter indices enter this rewrite.
sourceraw docstring

plain-shape?clj

(plain-shape? select)
(plain-shape? select outer-with-limit?)

A plain SELECT without sorting, grouping, locking or other modifiers. The recursive consumer validates its own WITH and LIMIT in the second arity.

A plain SELECT without sorting, grouping, locking or other modifiers. The
recursive consumer validates its own WITH and LIMIT in the second arity.
sourceraw docstring

select-boundary?clj

(select-boundary? select)
source

(sublink-key-probes select outers negated? env)

Inspect the enclosing SELECT wrapper as well as the body for barriers.

Inspect the enclosing SELECT wrapper as well as the body for barriers.
sourceraw docstring

unmodified-join?clj

(unmodified-join? join)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close