Liking cljdoc? Tell your friends :D

postgres.typed.typed-analyze


*infer-cache*clj


*report-cache*clj


*visiting*clj


+pg-operations+clj

Maps pg DSL operations to their return-type descriptors

Maps pg DSL operations to their return-type descriptors
raw docstring

analyze-control-flowclj

(analyze-control-flow form ctx)

analyze-exprclj

(analyze-expr expr ctx)

Analyzes an expression and returns type information. CRITIQUE FIX #4: For JSONB merge (||), delegates to shape/merge-shapes.

Analyzes an expression and returns type information.
CRITIQUE FIX #4: For JSONB merge (||), delegates to shape/merge-shapes.
raw docstring

analyze-jsonb-accessclj

(analyze-jsonb-access accessor args ctx)

Analyzes :-> (jsonb) and :->> (text) operators.

Analyzes :-> (jsonb) and :->> (text) operators.
raw docstring

analyze-jsonb-accessor-exprclj

(analyze-jsonb-accessor-expr expr ctx)

analyze-jsonb-mergeclj

(analyze-jsonb-merge args ctx)

CRITIQUE FIX #4: Uses shape/merge-shapes - no local merge logic.

CRITIQUE FIX #4: Uses shape/merge-shapes - no local merge logic.
raw docstring

analyze-letclj

(analyze-let bindings body ctx)

analyze-symbol-setclj

(analyze-symbol-set expr ctx)

Infers a keyed JSON object from a set of symbols. Each symbol becomes a property key via the existing symbol-to-field rule.

Infers a keyed JSON object from a set of symbols.
Each symbol becomes a property key via the existing symbol-to-field rule.
raw docstring

analyze-table-opclj

(analyze-table-op op-sym args ctx)

analyzed->field-infoclj

(analyzed->field-info value)

analyzed->shapeclj

(analyzed->shape value)

cached-inferclj

(cached-infer fn-def)

detect-operationsclj

(detect-operations fn-def)

Returns a JSON-friendly vector of postgres operations detected in a FnDef body.

Returns a JSON-friendly vector of postgres operations detected in a FnDef body.
raw docstring

infer-reportclj

(infer-report fn-def)

Returns a JSON-friendly analysis report for a parsed FnDef.

Returns a JSON-friendly analysis report for a parsed FnDef.
raw docstring

infer-return-typeclj

(infer-return-type fn-def)

Infers the return type of a function definition.

Infers the return type of a function definition.
raw docstring

inferred->reportclj

(inferred->report inferred)

json-safeclj

(json-safe x)

Converts infer output to JSON-safe plain data.

Converts infer output to JSON-safe plain data.
raw docstring

literal-map-keyclj

(literal-map-key k)

merge-analyzed-shapesclj

(merge-analyzed-shapes analyzed)

merge-array-element-typesclj

(merge-array-element-types left right)

normalize-table-nameclj

(normalize-table-name table-expr)

projected-js-select-shapeclj

(projected-js-select-shape ctx source-expr keys-expr)

register-call-analyzer!clj

(register-call-analyzer! sym f)

report-jsonclj

(report-json report)
(report-json report pretty?)

Serializes an infer report to JSON.

Serializes an infer report to JSON.
raw docstring

reset-cache!clj

(reset-cache!)

resolve-called-fnclj

(resolve-called-fn op aliases)

resolve-tableclj

(resolve-table table-expr)

value->field-infoclj

(value->field-info value)

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