Skip to main content

Module builtins

Module builtins 

Source
Expand description

The native predicate/function set for query call clauses.

This is resolution step (1) from docs/design/query-engine.md; names outside it fall through to the sandboxed cljrs resolution seam (step 2, the crate::ExternCall hook wired by corium-cljrs). tuple and untuple are deliberately absent until tuple value types land (deferred by ADR-0009).

Enums§

CallResult
Result of evaluating a native call.

Functions§

call
Evaluates a native call over fully bound arguments.
compare
Total comparison across the value types queries can meet, with numeric coercion between longs, doubles, instants, and entity ids.
is_native
Whether name is in the native call set (excluding the db-context builtins get-else, missing?, and ground, which the executor handles itself).
loose_eq
Loose equality used by =/!=: numeric coercion, no error on cross-type operands (they are simply unequal).
value_to_display
Renders a value the way str concatenation sees it.