User Tools

Site Tools


15_cheatsheet:operators

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
15_cheatsheet:operators [2026/01/05 15:05] – [XL operators] barley196515_cheatsheet:operators [2026/01/05 15:09] (current) – [Selection Operators] barley1965
Line 24: Line 24:
 | first((*//query//*) ) | get the first element found with the query | first((*F*) ) | | first((*//query//*) ) | get the first element found with the query | first((*F*) ) |
 | last((*//query//*) ) | get the last element found with the query | last((*F*) ) | | last((*//query//*) ) | get the last element found with the query | last((*F*) ) |
-| slice((*//query//*),//s//,//e//) | return the subset(form s to e) of the result | slice((*F*),2,4), slice((*F*)[length],2,4)  |+| slice((*//query//*),//s//,//e//) | return the subset(from s to e) of the result | slice((*F*),2,4), slice((*F*)[length],2,4)  |
 |selectWhere((*//query//*),//condition//)| Select a node of the query that fits the condition | selectWhere((*f:F*),f[length]==1) | |selectWhere((*//query//*),//condition//)| Select a node of the query that fits the condition | selectWhere((*f:F*),f[length]==1) |
 |selectWhereMin((*//query//*),//parameter//)| Select a node of the query where the parameter is the smallest | selectWhereMin((*f:F*),f[length])  | |selectWhereMin((*//query//*),//parameter//)| Select a node of the query where the parameter is the smallest | selectWhereMin((*f:F*),f[length])  |
15_cheatsheet/operators.1767621932.txt.gz · Last modified: 2026/01/05 15:05 by barley1965