SuiteQL.type

Note:

The content in this help topic pertains to SuiteScript 2.0.

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

N/query Module

Parent Object

query.SuiteQL

Sibling Object Members

SuiteQL 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 

          

Related Topics

query.SuiteQL
N/query Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices