# new OsduQueryExpression(statement)
Constructor for free-form query expressions
- Often used for base expressions such as
data.ResourceID:\"...\"
Parameters:
Name | Type | Description |
---|---|---|
statement |
string | A string statement representing a single boolean query statement |
Methods
# static FromOperator(boolean_operator, left_expression, right_expression) → {OsduQueryExpression}
Builder method to simplify the concatenation of multiple query expressions while providing clear scoping boundaries
Parameters:
Name | Type | Description |
---|---|---|
boolean_operator |
string | The concatenating operator. Accepts |
left_expression |
OsduQueryExpression | The query expression on the left hand side of the boolean operator |
right_expression |
OsduQueryExpression | the query expression on the right hand side of the boolean operator |
The resulting compound query expression generated by concatenating the provided query expressions
# toString() → {string}
Stringification method used to convert the expression to a string when formulating the API query statement
The string representation of the query statement