dijit.Tree.query

dojo.require("dijit.Tree");
defined in dijit/Tree.js

Specifies datastore query to return the root item for the tree. Deprecated functionality: if the query returns multiple items, the tree is given a fake root node (not corresponding to any item in the data store), whose children are the items that match this query. The root node is shown or hidden based on whether a label is specified. Having a query return multiple items is deprecated. If your store doesn't have a root item, wrap the store with dijit.tree.ForestStoreModel, and specify model=myModel