tutorials:basic-to-advanced-xl-queries
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:basic-to-advanced-xl-queries [2024/12/05 10:52] – tim2 | tutorials:basic-to-advanced-xl-queries [2025/01/10 11:14] (current) – gaetan | ||
---|---|---|---|
Line 250: | Line 250: | ||
__Why:__ | __Why:__ | ||
+ | This follows the same concepts as before only with more than two nodes, if you want you can add as many as you want in a row like this. | ||
</ | </ | ||
Line 274: | Line 274: | ||
</ | </ | ||
+ | __Why:__ | ||
+ | |||
+ | If you don't care about the type of nodes but only the edges you can just skip the nodes in between. Only the first and the last place have to be a Node. | ||
</ | </ | ||
Line 293: | Line 296: | ||
Model.B[id=33] | Model.B[id=33] | ||
</ | </ | ||
+ | |||
+ | __Why:__ | ||
+ | |||
+ | - If you want to combine several conditions in a query you can concatenate them using the comma. | ||
+ | - The '/>' | ||
+ | - The differences in the two queries are only to highlight the different possibilities. | ||
</ | </ | ||
Line 315: | Line 324: | ||
Model.A[id=40] | Model.A[id=40] | ||
</ | </ | ||
+ | |||
+ | Besides the pattern of edges and nodes, it is also possible to add concatenate boolean conditions, if they are added in brackets (). In this case the boolean condition is actually the [[: | ||
+ | |||
+ | |||
</ | </ | ||
+ | |||
+ | |||
+ | **12. Get all the first B's after the A's** | ||
+ | |||
+ | <hidden answer> | ||
+ | |||
+ | __In a Context:__ | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | ===== OOP Queries ===== | ||
+ | |||
tutorials/basic-to-advanced-xl-queries.1733392369.txt.gz · Last modified: 2024/12/05 10:52 by tim2