Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DCS evaluateWhereExpressions: Difference between revisions

From Catglobe Wiki
Nguyenduyan (talk | contribs)
No edit summary
Line 4: Line 4:
= DCS_evaluateWhereExpressions =
= DCS_evaluateWhereExpressions =


 
This function is an alias to EvalWhere in [[DataCacheSpecification class]].


== Syntax ==
== Syntax ==

Revision as of 08:58, 5 December 2018


DCS_evaluateWhereExpressions

This function is an alias to EvalWhere in DataCacheSpecification class.

Syntax

DCS_evaluateWhereExpressions(expression, DCSRId[, weight[, filter]]);

Arguments

Dictionary expression

number DCSRId

string weight

string filter

Return type

Dictionay

Example

number DCSRId = 15596823;
Dictionary expression = {
	"totalFemail": "count() where true",
	"userIdFemail": "selectColumn (UserId) where true"
	};
string filter = "Q1==2";
DCS_evaluateWhereExpressions(expression, DCSRId, "", filter);
//{"totalFemail": 92, "userIdFemail": {160206350,160206358,160206372,...}}