Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/store/util/QueryResults.js

  • Provides:

    • dojo.store.util.QueryResults
  • dojo.store.util.QueryResults

    • parameters:
      • results
    • summary
      A function that wraps the results of a store query with additional
      methods.
    • description
      QueryResults is a basic wrapper that allows for array-like iteration
      over any kind of returned data from a query.  While the simplest store
      will return a plain array of data, other stores may return deferreds or
      promises; this wrapper makes sure that *all* results can be treated
      the same.
      
      Additional methods include `forEach`, `filter` and `map`.
    • return_summary
      Object
      An array-like object that can be used for iterating over.
    • example
      Query a store and iterate over the results.
      
      	store.query({ prime: true }).forEach(function(item){
      		//	do something
      	});
    • type
      Function
  • dojo.store.util

    • type
      Object
  • dojo.store

    • type
      Object
  • dojo

    • type
      Object