Show:

Exposes API's to get group concat that returns a string which is the concatenation of all non-NULL values of X. If parameter Y is present then it is used as the separator between instances of X. A comma (",") is used as the separator if Y is omitted. The order of the concatenated elements is arbitrary.

Methods

and

(
  • column
)
IGroupConcatClause

Used to specify AND condition between where clause.

Parameters:

  • column String

    Name of column on which condition need to be specified.

Returns:

IGroupConcatClause:

IGroupConcatClause Interface.

column

(
  • column
)
IGroupConcat

Used to provide name of column for which average will be calculated.

Parameters:

  • column String

    Name of column.

Returns:

IGroupConcat:

IGroupConcat Interface.

delimiter

(
  • delimiter
)
IGroupConcat

Used to specify separator if Y is omitted.

Parameters:

Returns:

IGroupConcat:

IGroupConcat Interface.

execute

() Object

Used to get group concat, this method should be called in last to calculate group concat.

Returns:

Object:

Return group concat.

executeAsync

(
  • callback
)

Used to get group concat asynchronous, this method should be called in last to calculate group concat.

Parameters:

  • callback Callback

    Request Callback

groupBy

(
  • columns
)
IGroupConcat

Used to specify GROUP BY statement in conjunction with the aggregate functions to group the result-set by one or more columns.

Parameters:

  • columns Array

    Name of columns.

Returns:

IGroupConcat:

IGroupConcat Interface.

having

(
  • column
)
IGroupConcatClause

Used to specify HAVING clause to SQL because the WHERE keyword could not be used with aggregate functions.

Parameters:

  • column String

    Name of column on which condition need to be applied.

Returns:

IGroupConcatClause:

IGroupConcatClause Interface.

havingClause

(
  • havingClause
)
IGroupConcat

Used to provide manually created Where clause, instead of using API's.

Parameters:

  • havingClause String

    Where clause.

Returns:

IGroupConcat:

IGroupConcat Interface.

or

(
  • column
)
IGroupConcatClause

Used to specify OR condition between where clause.

Parameters:

  • column String

    Name of column on which condition need to be specified.

Returns:

IGroupConcatClause:

IGroupConcatClause Interface.

where

(
  • column
)
IGroupConcatClause

Column name of which condition will be specified.

Parameters:

  • column String

    Name of column.

Returns:

IGroupConcatClause:

IGroupConcatClause Interface.

whereClause

(
  • whereClause
)
IGroupConcat

Used to provide manually created Where clause, instead of using API's.

Parameters:

  • whereClause String

    Manually created where clause.

Returns:

IGroupConcat:

IGroupConcat Interface.