SOQLBuilder

Helper class to build a SOQL statement.

Author

bhariharan

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun build(): String

Builds the query.

Link copied to clipboard

Builds and encodes the query.

Link copied to clipboard

Builds and encodes with path.

Link copied to clipboard

Builds with path.

Link copied to clipboard
fun from(from: String?): SOQLBuilder

Adds the 'from' clause.

Link copied to clipboard
fun groupBy(groupBy: String?): SOQLBuilder

Adds the 'groupBy' clause.

Link copied to clipboard
fun having(having: String?): SOQLBuilder

Adds the 'having' clause.

Link copied to clipboard
fun limit(limit: Int?): SOQLBuilder

Adds the 'limit' clause.

Link copied to clipboard
fun offset(offset: Int?): SOQLBuilder

Adds the 'offset' clause.

Link copied to clipboard
fun orderBy(orderBy: String?): SOQLBuilder

Adds the 'orderBy' clause.

Link copied to clipboard
fun where(where: String?): SOQLBuilder

Adds the 'where' clause.

Link copied to clipboard
fun with(with: String?): SOQLBuilder

Adds the 'with' clause.