instance method SpahQL.Token.Simple#evaluate
SpahQL.Token.Simple#evaluate(queryToken, rootData[, scopeData]) → Array of result objects
-
rootData
(Object
) – A root data context for any selection queries that appear in the literal -
scopeData
(Object
) – A scoped data context for the scope at which selection queries in the set will be evaluated.
Evaluates a set literal, for use when a set is used in a selection query and must be returned as a set of results. If the set is a range, it will be flattened into a set of values.