instance method SpahQL.Token.Set#evaluate
SpahQL.Token.Set#evaluate(rootData[, scopeData][, scopePath]) → Array
-
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. -
scopePath
(String
) – The string path at which the scopeData is located in the overall rootData construct.
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.