diff --git a/jOOQ-kotlin/src/main/kotlin/org/jooq/kotlin/Extensions.kt b/jOOQ-kotlin/src/main/kotlin/org/jooq/kotlin/Extensions.kt index 3efb81bbdd..4ba49e5311 100644 --- a/jOOQ-kotlin/src/main/kotlin/org/jooq/kotlin/Extensions.kt +++ b/jOOQ-kotlin/src/main/kotlin/org/jooq/kotlin/Extensions.kt @@ -406,75 +406,75 @@ fun .and(other: Condition): Condition = condition(this as Boolean?).and(other) +fun Field.and(other: Condition): Condition = condition(this as Field).and(other) @Support -fun Field.and(other: Field): Condition = condition(this as Boolean?).and(other) +fun Field.and(other: Field): Condition = condition(this as Field).and(other) @Support @PlainSQL -fun Field.and(sql: SQL): Condition = condition(this as Boolean?).and(sql) +fun Field.and(sql: SQL): Condition = condition(this as Field).and(sql) @Support @PlainSQL -fun Field.and(sql: String): Condition = condition(this as Boolean?).and(sql) +fun Field.and(sql: String): Condition = condition(this as Field).and(sql) @Support @PlainSQL -fun Field.and(sql: String, vararg bindings: Any): Condition = condition(this as Boolean?).and(sql, bindings) +fun Field.and(sql: String, vararg bindings: Any): Condition = condition(this as Field).and(sql, bindings) @Support @PlainSQL -fun Field.and(sql: String, vararg parts: QueryPart): Condition = condition(this as Boolean?).and(sql, parts) +fun Field.and(sql: String, vararg parts: QueryPart): Condition = condition(this as Field).and(sql, parts) @Support -fun Field.andNot(other: Condition): Condition = condition(this as Boolean?).andNot(other) +fun Field.andNot(other: Condition): Condition = condition(this as Field).andNot(other) @Support -fun Field.andNot(other: Field): Condition = condition(this as Boolean?).andNot(other) +fun Field.andNot(other: Field): Condition = condition(this as Field).andNot(other) @Support -fun Field.andExists(select: Select<*>): Condition = condition(this as Boolean?).andExists(select) +fun Field.andExists(select: Select<*>): Condition = condition(this as Field).andExists(select) @Support -fun Field.andNotExists(select: Select<*>): Condition = condition(this as Boolean?).andNotExists(select) +fun Field.andNotExists(select: Select<*>): Condition = condition(this as Field).andNotExists(select) @Support -fun Field.or(other: Condition): Condition = condition(this as Boolean?).or(other) +fun Field.or(other: Condition): Condition = condition(this as Field).or(other) @Support -fun Field.or(other: Field): Condition = condition(this as Boolean?).or(other) +fun Field.or(other: Field): Condition = condition(this as Field).or(other) @Support @PlainSQL -fun Field.or(sql: SQL): Condition = condition(this as Boolean?).or(sql) +fun Field.or(sql: SQL): Condition = condition(this as Field).or(sql) @Support @PlainSQL -fun Field.or(sql: String): Condition = condition(this as Boolean?).or(sql) +fun Field.or(sql: String): Condition = condition(this as Field).or(sql) @Support @PlainSQL -fun Field.or(sql: String, vararg bindings: Any): Condition = condition(this as Boolean?).or(sql) +fun Field.or(sql: String, vararg bindings: Any): Condition = condition(this as Field).or(sql) @Support @PlainSQL -fun Field.or(sql: String, vararg parts: QueryPart): Condition = condition(this as Boolean?).or(sql, parts) +fun Field.or(sql: String, vararg parts: QueryPart): Condition = condition(this as Field).or(sql, parts) @Support -fun Field.orNot(other: Condition): Condition = condition(this as Boolean?).orNot(other) +fun Field.orNot(other: Condition): Condition = condition(this as Field).orNot(other) @Support -fun Field.orNot(other: Field): Condition = condition(this as Boolean?).orNot(other) +fun Field.orNot(other: Field): Condition = condition(this as Field).orNot(other) @Support -fun Field.orExists(select: Select<*>): Condition = condition(this as Boolean?).orExists(select) +fun Field.orExists(select: Select<*>): Condition = condition(this as Field).orExists(select) @Support -fun Field.orNotExists(select: Select<*>): Condition = condition(this as Boolean?).orNotExists(select) +fun Field.orNotExists(select: Select<*>): Condition = condition(this as Field).orNotExists(select) @Support -fun Field.not(): Condition = condition(this as Boolean?).not() +fun Field.not(): Condition = condition(this as Field).not() // ----------------------------------------------------------------------------