buildSqlQueryWithLimit

open override fun buildSqlQueryWithLimit(sqlQuery: String, limit: Int = 1): String

Constructs a SQL query with a limit clause.

Return

A new SQL query with the limit clause added.

Parameters

sqlQuery

The original SQL query.

limit

The maximum number of rows to retrieve from the query. Default is 1.