Skip to content

Instantly share code, notes, and snippets.

@janryWang
Created April 18, 2021 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janryWang/e24a42f7a55f81c7e0e943752b961dd4 to your computer and use it in GitHub Desktop.
Save janryWang/e24a42f7a55f81c7e0e943752b961dd4 to your computer and use it in GitHub Desktop.
field.query('.aa').value() //Directly read the value of the aa field at the same level
field.query('..aa').value() //Read parent aa field value
field.query('..[+].aa') //Read cross-level adjacent aa field value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment