SuiteQL.query
Property Description |
The string representation of the SuiteQL query. This string can contain the following types of elements:
This string can also contain field formatting metadata, such as |
Type |
string (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2020.1 |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/query Module Script Samples.
// Add additional code
...
// myQuery is an existing query.Query object
var mySuiteQLQuery = myQuery.toSuiteQL();
var theQuery = mySuiteQLQuery.query;
...
// Add additional code