class method SpahQL.QueryRunner.select
SpahQL.QueryRunner.select(query, rootData[,scopeData][, scopePath]) → Array
-
rootData
(Object
) – The root data context against which to run the query -
scopeData
(Object
) – An optional additional data context which will be the local scope for this query. If not set, will be set internally torootData
. -
scopePath
(String
) – An optional path indicating the scope to which this query has been restricted.
Executes a selection query against the given dataset. Returns an array of result instances.