-
Notifications
You must be signed in to change notification settings - Fork 0
Query Language
Benedict Albrecht edited this page May 20, 2026
·
2 revisions
Crodox provides a query language for filtering and selecting elements based on conditions and relationships.
| Operator | Description |
|---|---|
=== |
Equals |
!== |
Not equal |
&& |
Multiple conditions (AND) |
() |
Bracing for conditions |
| Operator | Description |
|---|---|
{} |
Has any matching this condition |
!{} |
As long as no one matches this condition |
| Selector | Description |
|---|---|
[parent_…] |
Applies condition to parent element. Number of _ defines number of grandparents |
[dependencies] |
Applies condition to all elements that depend on this element |
[descendent] |
Applies condition to all descendants of the element |
[selection] |
Applies condition to all elements that are selected |
[rely] |
Applies condition to all elements that rely on this element |
[all] |
Applies condition to all elements |
[...].variable.index
Defines the variable used. Index must be included as each variable is a list of values.
| Selector | Description |
|---|---|
[parent_…] |
Get chain parent element (number of _ defines grandparents) |
[up] |
Get direct parent |
[dependencies] |
Applies to all elements that depend on this element |
| Syntax | Description |
|---|---|
<~[...].variable.index~> |
Variable access in output |
<~(...).variable.index~> |
Text condition in output |
<~[] or ()~cutoffA~cutoffB~> |
Cuts off matching end (cuts off longest matching) |
<§Input§§...<~...~>...§> |
Input template |
<§Output§§...<~...~>...§> |
Output template |
See also: Variables · Dependency Structure
- Getting Started
- Sign-Up
- Home Screen
- Creating Your First Template
- Template Editor
- Application Navigation
- Syntax Overview
- Workflow: End-to-End
- Workflow: Test with simpleDemo
- Workflow: Build Template from angularTemp
- Demo Repositories
- Template
- Workbench
- GitHub Integration
- GitHub App Installation
- GitHub Repository Setup
- GitHub Re-linking
- Settings
- Overview
- Declarations
- Types
- Scoping