AddFieldFromExpressionAsync Method
Overloads
AddFieldFromExpressionAsync(String, String) |
Adds a field on the fly. |
|
AddFieldFromExpressionAsync(AsyncHandle, String, String) |
Adds a field on the fly. |
|
AddFieldFromExpressionAsync<T>(AsyncHandle, Func<Response, T>, String, String) |
Adds a field on the fly. |
AddFieldFromExpressionAsync(String, String)
Adds a field on the fly.
Declaration
public Task<bool> AddFieldFromExpressionAsync([QixName("qName")] string name, [QixName("qExpr")] string expr)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Name of the field. |
System.String | expr |
Expression value.
It is not possible to use all aggregation functions. For example, you cannot add a field on the fly with an expression that uses the |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Implements
Remarks
The expression of a field on the fly is persisted but not its values.
AddFieldFromExpressionAsync(AsyncHandle, String, String)
Adds a field on the fly.
Declaration
public Task<bool> AddFieldFromExpressionAsync(AsyncHandle asyncHandle, [QixName("qName")] string name, [QixName("qExpr")] string expr)
Parameters
Type | Name | Description |
---|---|---|
AsyncHandle | asyncHandle |
Handle to asynchronous method request |
System.String | name |
Name of the field. |
System.String | expr |
Expression value.
It is not possible to use all aggregation functions. For example, you cannot add a field on the fly with an expression that uses the |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
Implements
Remarks
The expression of a field on the fly is persisted but not its values.
AddFieldFromExpressionAsync<T>(AsyncHandle, Func<Response, T>, String, String)
Adds a field on the fly.
Declaration
public Task<T> AddFieldFromExpressionAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qName")] string name, [QixName("qExpr")] string expr)
Parameters
Type | Name | Description |
---|---|---|
AsyncHandle | asyncHandle |
Handle to asynchronous method request |
System.Func<Response, T> | onResult |
Continuation function |
System.String | name |
Name of the field. |
System.String | expr |
Expression value.
It is not possible to use all aggregation functions. For example, you cannot add a field on the fly with an expression that uses the |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<T> |
Type Parameters
Name | Description |
---|---|
T |
Implements
Remarks
The expression of a field on the fly is persisted but not its values.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!