Column.groupBy
Property Description |
Whether the query results are grouped by this query result column. This property is set during the of Query.createColumn(options) or Component.createColumn(options). |
Type |
(read-only) |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2018.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
...
var myCustomerQuery = query.create({
type: query.Type.CUSTOMER
});
var myGroupByColumn = myCustomerQuery.createColumn({
fieldId: 'currency',
groupBy: true
});
var theGroupBy = myGroupByColumn.groupBy;
...
// Add additional code