QueryEventHandler
| ๐ Overview: 6 Properties | 1 Constructor | 1 Functions | 2 Getters |
๐ Description
Creates query event handler from 4D query event object for custom query processing
๐ Last updated: 2025-12-10T11:45:24.050Z
๐ Table of Contents
- ๐ Properties (6)
- ๐๏ธ Constructor (1 param)
- โ๏ธ Functions
- Regular Functions
- setResult (2 params)
- Computed Attributes (Getters/Setters/Query/OrderBy)
- booleanResult ๐ โ
Variant - valueType ๐ โ
Integer
- booleanResult ๐ โ
- Regular Functions
Properties
| Property | Type | Default | Description |
|---|---|---|---|
value | Variant | - | Value being compared in the query |
operator | Text | - | Comparison operator (==, !=, <, >, etc.) |
eventKind | Text | - | Type of query event |
attributeName | Text | - | Name of the attribute being queried |
dataClassName | Text | - | Name of the dataclass being queried |
QueryEventObject | Object | - | Original query event object from 4D |
Constructor
constructor
[๐๏ธ constructor]
Class constructor($QueryEventObject : Object)
Creates query event handler from 4D query event object for custom query processing
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$QueryEventObject | Object | - | - |
Functions
Regular Functions
setResult
Function setResult($QueryText : Text; $QueryParameters : Collection)
Sets the query result with custom query text and parameters
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$QueryText | Text | - | - |
$QueryParameters | Collection | - | - |
Computed Attributes (Getters/Setters/Query/OrderBy)
booleanResult
[๐ get only]
Function get booleanResult -> Variant
Returns the boolean result for equality/inequality operators, Null if not boolean comparison
Returns: Variant
valueType
[๐ get only]
Function get valueType -> Integer
Returns the 4D value type of the query comparison value
Returns: Integer
Generated from QueryEventHandler.4dm