<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.catglobe.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Phamminhlap</id>
	<title>Catglobe Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.catglobe.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Phamminhlap"/>
	<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/Special:Contributions/Phamminhlap"/>
	<updated>2026-04-11T00:58:44Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:Fullrow.PNG&amp;diff=25346</id>
		<title>File:Fullrow.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:Fullrow.PNG&amp;diff=25346"/>
		<updated>2016-02-03T06:51:21Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:Fullcolumn2.PNG&amp;diff=25345</id>
		<title>File:Fullcolumn2.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:Fullcolumn2.PNG&amp;diff=25345"/>
		<updated>2016-02-03T06:47:44Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=File:Fullcolumn.PNG&amp;diff=25344</id>
		<title>File:Fullcolumn.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=File:Fullcolumn.PNG&amp;diff=25344"/>
		<updated>2016-02-03T06:43:48Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=QcsCustomColumn_class&amp;diff=25315</id>
		<title>QcsCustomColumn class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=QcsCustomColumn_class&amp;diff=25315"/>
		<updated>2015-12-23T07:08:58Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: Created page with &amp;quot;{{CGscriptClass_Template |Name=QcsCustomColumn |Description=Represents a data cache specification column with data calculated from script. |Constructors= {{CGscriptConstructor...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=QcsCustomColumn&lt;br /&gt;
|Description=Represents a data cache specification column with data calculated from script.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=name|Description=Set column name.|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=dataType|Description=Set the data type the script will return (notice this is CgScript type, not DCS type)|Comma=,}}{{CGscriptParameters_Template|Type=bool|Name=isFullColumn|Description=Does the script evaluate the whole column at a time or not|Comma=,}}{{CGscriptParameters_Template|Type=DataCacheSpecification|Name=dcs|Description=Dcs the column should belong to}}&lt;br /&gt;
|Description=Create a new boolean column true if the user for a row belongs to the given group.}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Delete|Description=Remove column from the dcs}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Add a new column to the dcs. Naming conflicts are automatically resolved. Notice the dcs itself also needs to be saved}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=CgScript|HasGetter=1|HasSetter=1|Description=Get/set the cgscript for the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ColumnType|HasGetter=1|Description=Get the source type of the column data}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=DataType|HasGetter=1|Description=Get the data type of the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=IsFullColumn|HasGetter=1|Description=Does the script evaluate the whole column at a time or not}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Get/set the name of the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=PresentAsText|HasGetter=1|HasSetter=1|Description=Get/set if Show the data column as the option text}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=QcsQuestionColumn_class&amp;diff=25314</id>
		<title>QcsQuestionColumn class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=QcsQuestionColumn_class&amp;diff=25314"/>
		<updated>2015-12-18T10:49:24Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=QcsQuestionColumn&lt;br /&gt;
|Description=Represents a data cache specification column with data from collected questions.&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Delete|Description=Remove column from the dcs}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Add a new column to the dcs. Naming conflicts are automatically resolved. Notice the dcs itself also needs to be saved}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=AnswerOptionIndex|HasGetter=1|Description=Get which answer option is used for this column. -1 if not from answer option.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=CgScript|HasGetter=1|HasSetter=1|Description=Get/set the cgscript for the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ColumnType|HasGetter=1|Description=Get the source type of the column data}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=DataType|HasGetter=1|Description=Get the data type of the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Get/set the name of the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=OpenPart|HasGetter=1|Description=Get if this column is the open part of the question.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=PresentAsText|HasGetter=1|HasSetter=1|Description=Get/set if Show the data column as the option text}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=QuestionLabel|HasGetter=1|Description=Get the questionlabel used for getting data for this column.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=QuestionnaireResourceId|HasGetter=1|Description=Get the questionnaire used for getting data for this column.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=SubQuestionIndex|HasGetter=1|Description=Get which sub question is used for this column. -1 if not from subquestion.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Examples&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ex1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15517146);&lt;br /&gt;
&lt;br /&gt;
array aQcsQuestionColumns = dcs.CreateAllColumnsForQuestion(&amp;quot;Q1&amp;quot;,0); //Create new column(s) for a question and use primary questionnaire &lt;br /&gt;
&lt;br /&gt;
for(number i= 0; i &amp;lt; aQcsQuestionColumns.Count; i++){&lt;br /&gt;
	aQcsQuestionColumns[i].Save();&lt;br /&gt;
}&lt;br /&gt;
dcs.Save(); //Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
print(dcs.ColumnNames);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=QcsQuestionColumn_class&amp;diff=25313</id>
		<title>QcsQuestionColumn class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=QcsQuestionColumn_class&amp;diff=25313"/>
		<updated>2015-12-18T10:47:30Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=QcsQuestionColumn&lt;br /&gt;
|Description=Represents a data cache specification column with data from collected questions.&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Delete|Description=Remove column from the dcs}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Add a new column to the dcs. Naming conflicts are automatically resolved. Notice the dcs itself also needs to be saved}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=AnswerOptionIndex|HasGetter=1|Description=Get which answer option is used for this column. -1 if not from answer option.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=CgScript|HasGetter=1|HasSetter=1|Description=Get/set the cgscript for the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ColumnType|HasGetter=1|Description=Get the source type of the column data}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=DataType|HasGetter=1|Description=Get the data type of the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Get/set the name of the column}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=OpenPart|HasGetter=1|Description=Get if this column is the open part of the question.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=PresentAsText|HasGetter=1|HasSetter=1|Description=Get/set if Show the data column as the option text}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=QuestionLabel|HasGetter=1|Description=Get the questionlabel used for getting data for this column.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=QuestionnaireResourceId|HasGetter=1|Description=Get the questionnaire used for getting data for this column.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=SubQuestionIndex|HasGetter=1|Description=Get which sub question is used for this column. -1 if not from subquestion.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Examples&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ex1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15517146);&lt;br /&gt;
&lt;br /&gt;
array questionColumns = dcs.CreateAllColumnsForQuestion(&amp;quot;Q1&amp;quot;,0); //Create new column(s) for a question and use primary questionnaire &lt;br /&gt;
&lt;br /&gt;
for(number i= 0; i &amp;lt; questionColumns.Count; i++){&lt;br /&gt;
 questionColumns[i].Save();&lt;br /&gt;
}&lt;br /&gt;
dcs.Save(); //Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
print(dcs.ColumnNames);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=DataCacheSpecification_class&amp;diff=25311</id>
		<title>DataCacheSpecification class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=DataCacheSpecification_class&amp;diff=25311"/>
		<updated>2015-12-18T10:37:54Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=DataCacheSpecification&lt;br /&gt;
|Description=Represents a DataCache specification.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Description=Instanciate a new instance using the current context datacache}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=ResourceId|Description=Resource Id of the DataCache}}&lt;br /&gt;
|Description=Instanciate a new instance using the resource id of a datacache}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=ResourceName|Description=Resource name of the new DataCache|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=Questionnaire Rids|Description=List of Questionnaires to use in the creation. Must all belong to same template}}&lt;br /&gt;
|Description=Create a new datacache using quick setup}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=AddFilter|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=filterQuestionLabel|Description=Question to apply filter to. If empty, then clear current filters|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=filterValue|Description=Value of the filter}}&lt;br /&gt;
|Description=Add a filter to the DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=AnyType|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=whereExpression|Description=The expression to execute. It must contain &#039;where&#039; and NOT start with a equal sign, and have 1 and only one semicolon in it}}&lt;br /&gt;
|Description=Evaluate a single where expression up against the current DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=whereExpressions|Description=The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it}}&lt;br /&gt;
|Description=Evaluate a number of where expressions up against the current DataCache. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=whereExpressions|Description=The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=weight|Description=Column name of the weight to use in filter}}&lt;br /&gt;
|Description=Evaluate a number of where expressions up against the current DataCache using a weight. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=whereExpressions|Description=The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=weight|Description=Column name of the weight to use in filter|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=filters|Description=Extra filters that apply to all where expressions}}&lt;br /&gt;
|Description=Evaluate a number of where expressions up against the current DataCache using a weight. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=MakeContext|Description=Make the current DataCache the context DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Save the DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CreateAllColumnsForQuestion|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=question|Description=QuestionLabel for the question you want all the dcs columns for|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=questionnaireResourceId|Description=Set the associated questionnaire. Set to 0 to use primary questionnaire}}&lt;br /&gt;
|Description=Find and create all column for a given question. They still need to be saved individually to be added.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CreateAllColumnsForAllQuestions|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=questionnaireResourceId|Description=Set the associated questionnaire. Set to 0 to use primary questionnaire}}&lt;br /&gt;
|Description=Find and create all column for all questions. They still need to be saved individually to be added.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=AutoUpdate|HasGetter=1|HasSetter=1|Description=Get/Set Auto Update}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=BuildWithWeight|HasGetter=1|HasSetter=1|Description=Get/Set if the DataCache should be built using weights}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=CachedRecords|HasGetter=1|Description=How many records does the DataCache currently hold}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=array|Name=ColumnNames|HasGetter=1|Description=List of Column names}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Completed|HasGetter=1|HasSetter=1|Description=Get/Set include completed}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Deleted|HasGetter=1|HasSetter=1|Description=Get/Set include deleted}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Description|HasGetter=1|HasSetter=1|Description=Get/Set description of the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Disabled|HasGetter=1|HasSetter=1|Description=Get/Set include disabled}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=InterviewFailed|HasGetter=1|HasSetter=1|Description=Get/Set include marked as interview failed}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=InterviewSucceeded|HasGetter=1|HasSetter=1|Description=Get/Set include marked as interview succeeded}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=IsOutOfDate|HasGetter=1|Description=Does the DataCache need to be rebuilt to have the correct content}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Language|HasGetter=1|HasSetter=1|Description=Get/Set the iso code used in building the items that depend on a specific language}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=DateTime|Name=LastUpdated|HasGetter=1|Description=Time of the last rebuild}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Name of the DataCache resource}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Normal|HasGetter=1|HasSetter=1|Description=Get/Set include normal}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=NotStarted|HasGetter=1|HasSetter=1|Description=Get/Set include those not yet started}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=OutsideTarget|HasGetter=1|HasSetter=1|Description=Get/Set include those marked outside target}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Partly|HasGetter=1|HasSetter=1|Description=Get/Set include partly completed}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=ProfilingResult|Name=ProfileFromLastEval|HasGetter=1|Description=Get the profile result from the last run of EvalWhere.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=array|Name=QuestionnaireIds|HasGetter=1|Description=List of the questionnaires used in the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=QuestionnaireTemplateId|HasGetter=1|Description=The resource id of the questionnaire template used in the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=QuotaFull|HasGetter=1|HasSetter=1|Description=Get/Set include those with full quota}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Test|HasGetter=1|HasSetter=1|Description=Get/Set include those marked as test}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=UpdateFrequence|HasGetter=1|HasSetter=1|Description=Get/Set Update Frequence in minutes}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=Array of objects|Name=Weights|HasGetter=1|Description=Get list of existing weights.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Examples&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ex1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DCS_use(37244952); // set DCS context&lt;br /&gt;
string e1 = &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;;&lt;br /&gt;
Dictionary d =&lt;br /&gt;
{&lt;br /&gt;
 &amp;quot;exp1&amp;quot;: &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;,&lt;br /&gt;
 &amp;quot;exp2&amp;quot;: &amp;quot;count() where S_Age == [2] &amp;amp;&amp;amp; M_Travel == [1];&amp;quot;&lt;br /&gt;
};&lt;br /&gt;
print(DCS_evaluateWhereExpression(e1)); // 68&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(); // Represent a DCS which is used as current DCS context&lt;br /&gt;
print(dcs.EvalWhere(e1)); // 68&lt;br /&gt;
print(dcs.EvalWhere(d)); // {&amp;quot;exp1&amp;quot;: 68, &amp;quot;exp2&amp;quot;: 46}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&#039;&#039;&#039;Ex2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string e1 = &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;;&lt;br /&gt;
Dictionary d =&lt;br /&gt;
{&lt;br /&gt;
 &amp;quot;exp1&amp;quot;: &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;,&lt;br /&gt;
 &amp;quot;exp2&amp;quot;: &amp;quot;count() where S_Age == [2] &amp;amp;&amp;amp; M_Travel == [1];&amp;quot;&lt;br /&gt;
};&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(37244952); // Represents a DCS which has Resource Id: 37244952&lt;br /&gt;
print(dcs.EvalWhere(e1)); // 68&lt;br /&gt;
print(dcs.EvalWhere(d)); // {&amp;quot;exp1&amp;quot;: 68, &amp;quot;exp2&amp;quot;: 46}&lt;br /&gt;
dcs.MakeContext(); // or you can use DCS_use(RID) instead&lt;br /&gt;
print(DCS_evaluateWhereExpression(e1)); // without the previous statement (dcs.MakeContext();), you will get error at this line because there is no DCS context is set, so you can not use DCS_evaluateWhereExpression(e1)&lt;br /&gt;
dcs.Partly = false; // Not include the partly completed QASs&lt;br /&gt;
dcs.NotStarted = false; // Not include the not started QASs&lt;br /&gt;
dcs.Save(); // Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&#039;&#039;&#039;Ex 3:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
ProfilingResult pr;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(12006923); &lt;br /&gt;
pr = dcs.ProfileFromLastEval;&lt;br /&gt;
pr.EnableProfiling = true;&lt;br /&gt;
dcs.EvalWhere({&lt;br /&gt;
 &amp;quot;ex1&amp;quot;: &amp;quot;count() where true&amp;quot;&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
print(pr.CompileTime); // 0.1694&lt;br /&gt;
print(pr.CountResult); // {&amp;quot;5&amp;quot;: {&amp;quot;2&amp;quot;: 1}, &amp;quot;9&amp;quot;: {&amp;quot;4&amp;quot;: 1}} &lt;br /&gt;
print(pr.DependencyGraphTime); // 0&lt;br /&gt;
print(pr.TimeResult); // {&amp;quot;10&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0158, &amp;quot;4&amp;quot;: 0.0158}, &amp;quot;11&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0021, &amp;quot;4&amp;quot;: 0.0021}, &amp;quot;5&amp;quot;: {&amp;quot;-1&amp;quot;: 1.1024, &amp;quot;2&amp;quot;: 1.1024}, &amp;quot;9&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0063, &amp;quot;4&amp;quot;: 0.0063}}&lt;br /&gt;
print(pr.WhereExpTime); // 0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&#039;&#039;&#039;Ex 4:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15517146);&lt;br /&gt;
&lt;br /&gt;
array questionColumns = dcs.CreateAllColumnsForQuestion(&amp;quot;Q1&amp;quot;,0); //Create new column(s) for a question and use primary questionnaire &lt;br /&gt;
&lt;br /&gt;
for(number i= 0; i &amp;lt; questionColumns.Count; i++){&lt;br /&gt;
 questionColumns[i].Save(); //or method .Delete() in case removing column from dcs&lt;br /&gt;
}&lt;br /&gt;
dcs.Save(); //Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
print(dcs.ColumnNames);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&#039;&#039;&#039;Ex 5:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(15517146);&lt;br /&gt;
&lt;br /&gt;
array questionColumns = dcs.CreateAllColumnsForAllQuestions(15517148); //Create ALL columns for ALL questions.Set to 0 to use primary questionnaire&lt;br /&gt;
&lt;br /&gt;
for(number i= 0; i &amp;lt; questionColumns.Count; i++){&lt;br /&gt;
 questionColumns[i].Save();&lt;br /&gt;
}&lt;br /&gt;
dcs.Save(); //Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
print(dcs.ColumnNames);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=DataCacheSpecification_class&amp;diff=25310</id>
		<title>DataCacheSpecification class</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=DataCacheSpecification_class&amp;diff=25310"/>
		<updated>2015-12-17T07:35:42Z</updated>

		<summary type="html">&lt;p&gt;Phamminhlap: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{CGscriptClass_Template&lt;br /&gt;
|Name=DataCacheSpecification&lt;br /&gt;
|Description=Represents a DataCache specification.&lt;br /&gt;
|Constructors=&lt;br /&gt;
{{CGscriptConstructors_Template|Description=Instanciate a new instance using the current context datacache}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=ResourceId|Description=Resource Id of the DataCache}}&lt;br /&gt;
|Description=Instanciate a new instance using the resource id of a datacache}}&lt;br /&gt;
{{CGscriptConstructors_Template|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=ResourceName|Description=Resource name of the new DataCache|Comma=,}}{{CGscriptParameters_Template|Type=array|Name=Questionnaire Rids|Description=List of Questionnaires to use in the creation. Must all belong to same template}}&lt;br /&gt;
|Description=Create a new datacache using quick setup}}&lt;br /&gt;
|Methods=&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=AddFilter|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=filterQuestionLabel|Description=Question to apply filter to. If empty, then clear current filters|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=filterValue|Description=Value of the filter}}&lt;br /&gt;
|Description=Add a filter to the DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=AnyType|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=whereExpression|Description=The expression to execute. It must contain &#039;where&#039; and NOT start with a equal sign, and have 1 and only one semicolon in it}}&lt;br /&gt;
|Description=Evaluate a single where expression up against the current DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=whereExpressions|Description=The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it}}&lt;br /&gt;
|Description=Evaluate a number of where expressions up against the current DataCache. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=whereExpressions|Description=The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=weight|Description=Column name of the weight to use in filter}}&lt;br /&gt;
|Description=Evaluate a number of where expressions up against the current DataCache using a weight. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Dictionary|Name=EvalWhere|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=Dictionary|Name=whereExpressions|Description=The expressions to execute. They must contain &#039;where&#039; and MAY start with a equal sign, and have 1 and only one semicolon in it|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=weight|Description=Column name of the weight to use in filter|Comma=,}}{{CGscriptParameters_Template|Type=string|Name=filters|Description=Extra filters that apply to all where expressions}}&lt;br /&gt;
|Description=Evaluate a number of where expressions up against the current DataCache using a weight. If there are 2 or more expressions, the result is cached. Context weight and filters are ignored.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=MakeContext|Description=Make the current DataCache the context DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=Empty|Name=Save|Description=Save the DataCache}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=string|Name=ToString|Description=The string representation of the object.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CreateAllColumnsForQuestion|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=string|Name=question|Description=QuestionLabel for the question you want all the dcs columns for|Comma=,}}{{CGscriptParameters_Template|Type=number|Name=questionnaireResourceId|Description=Set the associated questionnaire. Set to 0 to use primary questionnaire}}&lt;br /&gt;
|Description=Find and create all column for a given question. They still need to be saved individually to be added.}}&lt;br /&gt;
{{CGscriptMethods_Template|ReturnType=array|Name=CreateAllColumnsForAllQuestions|Parameters=&lt;br /&gt;
{{CGscriptParameters_Template|Type=number|Name=questionnaireResourceId|Description=Set the associated questionnaire. Set to 0 to use primary questionnaire}}&lt;br /&gt;
|Description=Find and create all column for all questions. They still need to be saved individually to be added.}}&lt;br /&gt;
|Properties=&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=AutoUpdate|HasGetter=1|HasSetter=1|Description=Get/Set Auto Update}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=BuildWithWeight|HasGetter=1|HasSetter=1|Description=Get/Set if the DataCache should be built using weights}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=CachedRecords|HasGetter=1|Description=How many records does the DataCache currently hold}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=array|Name=ColumnNames|HasGetter=1|Description=List of Column names}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Completed|HasGetter=1|HasSetter=1|Description=Get/Set include completed}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Deleted|HasGetter=1|HasSetter=1|Description=Get/Set include deleted}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Description|HasGetter=1|HasSetter=1|Description=Get/Set description of the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Disabled|HasGetter=1|HasSetter=1|Description=Get/Set include disabled}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=InterviewFailed|HasGetter=1|HasSetter=1|Description=Get/Set include marked as interview failed}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=InterviewSucceeded|HasGetter=1|HasSetter=1|Description=Get/Set include marked as interview succeeded}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=IsOutOfDate|HasGetter=1|Description=Does the DataCache need to be rebuilt to have the correct content}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Language|HasGetter=1|HasSetter=1|Description=Get/Set the iso code used in building the items that depend on a specific language}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=DateTime|Name=LastUpdated|HasGetter=1|Description=Time of the last rebuild}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=Name|HasGetter=1|HasSetter=1|Description=Name of the DataCache resource}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Normal|HasGetter=1|HasSetter=1|Description=Get/Set include normal}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=NotStarted|HasGetter=1|HasSetter=1|Description=Get/Set include those not yet started}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=string|Name=ObjectTypeName|HasGetter=1|Description=The name of the type of object.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=OutsideTarget|HasGetter=1|HasSetter=1|Description=Get/Set include those marked outside target}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Partly|HasGetter=1|HasSetter=1|Description=Get/Set include partly completed}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=ProfilingResult|Name=ProfileFromLastEval|HasGetter=1|Description=Get the profile result from the last run of EvalWhere.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=array|Name=QuestionnaireIds|HasGetter=1|Description=List of the questionnaires used in the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=QuestionnaireTemplateId|HasGetter=1|Description=The resource id of the questionnaire template used in the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=QuotaFull|HasGetter=1|HasSetter=1|Description=Get/Set include those with full quota}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=ResourceId|HasGetter=1|Description=The Id of the DataCache}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=bool|Name=Test|HasGetter=1|HasSetter=1|Description=Get/Set include those marked as test}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=TypeInformation|Name=TypeInformation|HasGetter=1|Description=Get information about this class.}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=number|Name=UpdateFrequence|HasGetter=1|HasSetter=1|Description=Get/Set Update Frequence in minutes}}&lt;br /&gt;
{{CGscriptProperties_Template|ReturnType=Array of objects|Name=Weights|HasGetter=1|Description=Get list of existing weights.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;Examples&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Ex1:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
DCS_use(37244952); // set DCS context&lt;br /&gt;
string e1 = &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;;&lt;br /&gt;
Dictionary d =&lt;br /&gt;
{&lt;br /&gt;
 &amp;quot;exp1&amp;quot;: &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;,&lt;br /&gt;
 &amp;quot;exp2&amp;quot;: &amp;quot;count() where S_Age == [2] &amp;amp;&amp;amp; M_Travel == [1];&amp;quot;&lt;br /&gt;
};&lt;br /&gt;
print(DCS_evaluateWhereExpression(e1)); // 68&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(); // Represent a DCS which is used as current DCS context&lt;br /&gt;
print(dcs.EvalWhere(e1)); // 68&lt;br /&gt;
print(dcs.EvalWhere(d)); // {&amp;quot;exp1&amp;quot;: 68, &amp;quot;exp2&amp;quot;: 46}&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&#039;&#039;&#039;Ex2:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
string e1 = &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;;&lt;br /&gt;
Dictionary d =&lt;br /&gt;
{&lt;br /&gt;
 &amp;quot;exp1&amp;quot;: &amp;quot;count() where S_Age == [1] &amp;amp;&amp;amp; M_Travel == [1,2];&amp;quot;,&lt;br /&gt;
 &amp;quot;exp2&amp;quot;: &amp;quot;count() where S_Age == [2] &amp;amp;&amp;amp; M_Travel == [1];&amp;quot;&lt;br /&gt;
};&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(37244952); // Represents a DCS which has Resource Id: 37244952&lt;br /&gt;
print(dcs.EvalWhere(e1)); // 68&lt;br /&gt;
print(dcs.EvalWhere(d)); // {&amp;quot;exp1&amp;quot;: 68, &amp;quot;exp2&amp;quot;: 46}&lt;br /&gt;
dcs.MakeContext(); // or you can use DCS_use(RID) instead&lt;br /&gt;
print(DCS_evaluateWhereExpression(e1)); // without the previous statement (dcs.MakeContext();), you will get error at this line because there is no DCS context is set, so you can not use DCS_evaluateWhereExpression(e1)&lt;br /&gt;
dcs.Partly = false; // Not include the partly completed QASs&lt;br /&gt;
dcs.NotStarted = false; // Not include the not started QASs&lt;br /&gt;
dcs.Save(); // Must save to make the above statements applied on DCS, but this statement does not REBUILD the DCS&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&#039;&#039;&#039;Ex 3:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;javascript&amp;quot;&amp;gt;&lt;br /&gt;
ProfilingResult pr;&lt;br /&gt;
DataCacheSpecification dcs = new DataCacheSpecification(12006923); &lt;br /&gt;
pr = dcs.ProfileFromLastEval;&lt;br /&gt;
pr.EnableProfiling = true;&lt;br /&gt;
dcs.EvalWhere({&lt;br /&gt;
 &amp;quot;ex1&amp;quot;: &amp;quot;count() where true&amp;quot;&lt;br /&gt;
});&lt;br /&gt;
&lt;br /&gt;
print(pr.CompileTime); // 0.1694&lt;br /&gt;
print(pr.CountResult); // {&amp;quot;5&amp;quot;: {&amp;quot;2&amp;quot;: 1}, &amp;quot;9&amp;quot;: {&amp;quot;4&amp;quot;: 1}} &lt;br /&gt;
print(pr.DependencyGraphTime); // 0&lt;br /&gt;
print(pr.TimeResult); // {&amp;quot;10&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0158, &amp;quot;4&amp;quot;: 0.0158}, &amp;quot;11&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0021, &amp;quot;4&amp;quot;: 0.0021}, &amp;quot;5&amp;quot;: {&amp;quot;-1&amp;quot;: 1.1024, &amp;quot;2&amp;quot;: 1.1024}, &amp;quot;9&amp;quot;: {&amp;quot;-1&amp;quot;: 0.0063, &amp;quot;4&amp;quot;: 0.0063}}&lt;br /&gt;
print(pr.WhereExpTime); // 0&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Phamminhlap</name></author>
	</entry>
</feed>