SubqueryRef
Defined in: packages/contracts/src/predicate.ts:63
The inner half of an IN test: the set of project values over table’s rows matching where.
where may itself contain subquery leaves. Single column only — the engine has no composite
(a, b) IN (…). Subqueries must stay uncorrelated: the inner where references the inner
table’s columns only, never the outer row’s.
Type Parameters
Section titled “Type Parameters”TValue
Section titled “TValue”TValue extends PredicateValue = PredicateValue
Properties
Section titled “Properties”__value?
Section titled “__value?”
readonlyoptional__value?:TValue
Defined in: packages/contracts/src/predicate.ts:72
Phantom: the projected column’s value type, carried so p.in can require the OUTER column to be comparable with what the subquery actually projects. Never serialized — it is a type-level marker only, which is why it is optional and never read.
project
Section titled “project”project:
string
Defined in: packages/contracts/src/predicate.ts:65
table:
string
Defined in: packages/contracts/src/predicate.ts:64
where?
Section titled “where?”
optionalwhere?:Predicate
Defined in: packages/contracts/src/predicate.ts:66