@[implicit_reducible]
Equations
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
Equations
Instances For
The total number of rows this range can produce (if limit is known).
Equations
- r.maxRows = r.rangeLimit
Instances For
Whether this range is unbounded (no limit).
Equations
- r.isUnbounded = r.rangeLimit.isNone
Instances For
The default range: offset 0, no limit.
Equations
Instances For
A read plan represents a SELECT query with possible embedded sub-queries. $$\text{ReadPlan} = \{ \text{select} : [\text{SelectField}],\; \text{from} : \text{QI},\; \text{where} : [\text{Filter}],\; \text{order} : [\text{OrderTerm}],\; \text{range} : \text{NonnegRange},\; \text{embeds} : [(\text{Rel}, \text{ReadPlan})],\; \text{isInner} : \text{Bool} \}$$
rpSelect: columns and expressions to selectrpFrom: the source table or viewrpWhere: filter conditionsrpOrder: ordering specificationrpRange: pagination (offset/limit)rpRelationships: embedded reads via lateral joinsrpIsInner: whether the embed uses INNER (true) or LEFT (false) joinrpAlias: optional alias for this read in the query
- rpSelect : Array CoercibleSelectField
- rpWhere : Array CoercibleFilter
- rpOrder : Array CoercibleOrderTerm
- rpRange : NonnegRange
- rpRelationships : Array (SchemaCache.Relationship × ReadPlan)
- rpIsInner : Bool
Instances For
@[implicit_reducible]
Equations
Whether this read plan has any embedded sub-queries.
Equations
- rp.hasEmbeds = !rp.rpRelationships.isEmpty
Instances For
Whether this read plan applies any filters.
Equations
- rp.hasFilters = !rp.rpWhere.isEmpty
Instances For
Whether this read plan specifies an ordering.
Equations
- rp.hasOrdering = !rp.rpOrder.isEmpty