Query.run.promise()

Method Description

Executes the query asynchronously and returns the query result set.

Note:

The parameters and errors thrown for this method are the same as those for Query.run(). For more information about promises, see Promise Object.

Returns

Promise Object

Synchronous Version

Query.run()

Supported Script Types

Client and server scripts

For more information, see SuiteScript 2.x Script Types.

Governance

10 units

Module

N/query Module

Parent Object

query.Query

Sibling Object Members

Query Object Members

Since

2018.1

Related Topics

General Notices