Prostore::Schema::Call
A named query declaration (ADR-0006).
Captures the name and the chain of DSL calls observed in the lambda
body (e.g., where, order_by, limit). The Query::Analyzer
consumes this to classify field accesses (filtered/sorted) and drive
index planning plus the eager-vs-lazy override.
Constructors
Instance methods
arity
clone
Sourcecopy_with(name _name = @name, arity _arity = @arity, named_arg_keys _named_arg_keys = @named_arg_keys, positional_symbols _positional_symbols = @positional_symbols)
Sourcename
named_arg_keys
positional_symbols
Positional SymbolLiteral arguments — e.g., the :score in
order_by(:score, desc: true). Captured at macro time so the
analyzer can recognize positional sort fields without forcing the
named-arg form on users.