Exists

class Exists(val expression: Expression<*>, val path: String, val optional: String?, val jsonType: IColumnType<*>) : Op<Boolean> , ComplexExpression

Represents an SQL operator that checks whether data exists within a JSON expression at the specified path.

Constructors

Link copied to clipboard
constructor(expression: Expression<*>, vararg path: String, optional: String?, jsonType: IColumnType<*>)

Properties

Link copied to clipboard

The JSON expression being checked.

Link copied to clipboard

The column type of expression to check, if casting to JSONB is required.

Link copied to clipboard

An optional String representing any vendor-specific clause or argument.

Link copied to clipboard
val path: Array<out String>

The array of Strings representing JSON path/keys that match fields to check for existing data.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toQueryBuilder(queryBuilder: QueryBuilder)
Link copied to clipboard
open override fun toString(): String