docs/api/exposed-json/org.jetbrains.exposed.v1.json/-contains/index.html
class Contains(val target: Expression<*>, val candidate: Expression<*>, val path: String?, val jsonType: IColumnType<*>) : Op<Boolean> , ComplexExpression
Represents an SQL operator that checks whether a candidate expression is contained within a JSON target.
Members
Link copied to clipboard
constructor(target: Expression<*>, candidate: Expression<*>, path: String?, jsonType: IColumnType<*>)
Link copied to clipboard
val candidate: Expression<*>
The expression being searched for in target.
Link copied to clipboard
val jsonType: IColumnType<*>
The column type of target to check, if casting to JSONB is required.
Link copied to clipboard
An optional String representing JSON path/keys that match specific fields to search for candidate.
Link copied to clipboard
val target: Expression<*>
The JSON expression being searched.
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
Generated by Dokka © 2026 Copyright