SqlBuilder.selectSetLimit

void selectSetLimit(gda.types.SqlBuilderId limitCountExprId, gda.types.SqlBuilderId limitOffsetExprId)

If limit_count_expr_id is not 0, defines the maximum number of rows in the #GdaDataModel resulting from the execution of the built statement. In this case, the offset from which the rows must be collected can be defined by the limit_offset_expr_id expression if not 0 (note that this feature may not be supported by all the database providers).

If limit_count_expr_id is 0, then removes any LIMIT which may have been imposed by a previous call to this method.

Parameters

limitCountExprIdthe ID of the LIMIT expression, or 0
limitOffsetExprIdthe ID of the OFFSET expression, or 0