SuiteQL.type
Property Description |
The type of the query. This property uses values from the query.Type enum. When you use Query.toSuiteQL() to convert an existing query.Query object to SuiteQL, this property contains the same type that was specified for the original query. |
Type |
string (read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2020.1 |
Syntax
Important:
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 theType = mySuiteQLQuery.type;
...
// Add additional code