Show:

Exposes API's to returns the minimum non-NULL value of all values in the group. The minimum value is the first non-NULL value that would appear in an ORDER BY of the column. Aggregate min() returns NULL if and only if there are no non-NULL values in the group.

Methods

and

(
  • column
)
IMinClause

Used to specify AND condition between where clause.

Parameters:

  • column String

    Name of column on which condition need to be specified.

Returns:

IMinClause:

IMinClause Interface.

column

(
  • column
)
IMin

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

Parameters:

  • column String

    Name of column.

Returns:

IMin:

IMin Interface.

execute

() Object

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

Returns:

Object:

Return minimum.

executeAsync

(
  • callback
)

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

Parameters:

  • callback Callback

    Request Callback

groupBy

(
  • columns
)
IMin

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:

IMin:

IMin Interface.

having

(
  • column
)
IMinClause

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:

IMinClause:

IMinClause Interface.

havingClause

(
  • havingClause
)
IMin

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

Parameters:

  • havingClause String

    Where clause.

Returns:

IMin:

IMin Interface.

or

(
  • column
)
IMinClause

Used to specify OR condition between where clause.

Parameters:

  • column String

    Name of column on which condition need to be specified.

Returns:

IMinClause:

IMinClause Interface.

where

(
  • column
)
IMinClause

Column name of which condition will be specified.

Parameters:

  • column String

    Name of column.

Returns:

IMinClause:

IMinClause Interface.

whereClause

(
  • whereClause
)
IMin

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

Parameters:

  • whereClause String

    Manually created where clause.

Returns:

IMin:

IMin Interface.