Document how to use where operator with parent context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
YAQL |
In Progress
|
Undecided
|
Sylvan Le Deunff |
Bug Description
Documentation gives example on how to use "where" operator with constants filters (like "1" and "John", in example below)
$.customers.
In real life applications, users will most likely need to use variables defined from context.
(See: https:/
I couldn't find how to do this in the documentation, only by reading the code.
I suggest adding the following example in Quickstart (https:/
let(target_age => $.target_
And maybe somewhere else adding a brief description of operation "context pass" (->) which is barely mentioned in the doc and not explained at all.
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in yaql: | |
assignee: | nobody → Sylvan Le Deunff (sylvanld) |
Fix proposed to branch: master /review. opendev. org/c/openstack /yaql/+ /886338
Review: https:/