Unit Reference QueryNode - RealityStop/Bolt.Addons.Community GitHub Wiki
The QueryNode provides LINQ-style operations on collections within a Bolt graph. It allows you to filter, select, count, sum, and order items in collections dynamically.
Input Ports
- enter : Triggers the node to perform the query operation.
-
collection : The collection to query (e.g.,
IEnumerableorIEnumerable<float>depending on the operation). -
condition : A boolean condition used for operations like
Where,First,Single, etc. -
key : Key used for
OrderByorOrderByDescending. -
value : Value used for
Select,Skip, orTake.
Output Ports
- exit : Triggered when the query operation completes.
- body : Flow output for operations that iterate over each item.
- item : The current item being processed during iteration.
-
result : The result of the query operation, which can be a boolean, single object, collection, or sum depending on the selected
QueryOperation.