Query.runPaged.promise()
You must specify a sorting order in the query definition when using this method to avoid duplicate or missing results. The query definition must provide a unique and unambiguous sorting order with a specified precedence.
Method Description |
Executes the query asynchronously and returns a set of paged results.
Note:
The parameters and errors thrown for this method are the same as those for Query.runPaged(). For more information about promises, see Promise Object. |
Returns |
|
Synchronous Version |
|
Supported Script Types |
Client and server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
10 units |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2018.1 |