notInList

Checks if this expression is not equal to any element from list.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.SelectTests.testInListWithSingleExpression01

Checks if expressions from this Pair are not equal to elements from list. This syntax is unsupported by SQL Server.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.SelectTests.testNotInListWithPairExpressionsAndEmptyList

Checks if expressions from this Triple are not equal to elements from list. This syntax is unsupported by SQL Server.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.SelectTests.testInListWithTripleExpressions
open infix fun List<Column<*>>.notInList(list: Iterable<List<*>>): InListOrNotInListBaseOp<List<*>>

Checks if all columns in this List are not equal to any of the lists of values from list.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.SelectTests.testInListWithMultipleColumns
@JvmName(name = "notInListCompositeIDs")
open infix fun List<Column<*>>.notInList(list: Iterable<CompositeID>): InListOrNotInListBaseOp<List<*>>

Checks if all columns in this List are not equal to any of the CompositeIDs from list.

Samples

org.jetbrains.exposed.sql.tests.shared.entities.CompositeIdTableEntityTest.testInListWithCompositeIdEntities
@JvmName(name = "notInListIds")
open infix fun <T : Comparable<T>, ID : EntityID<T>?> Column<ID>.notInList(list: Iterable<T>): InListOrNotInListBaseOp<EntityID<T>?>

Checks if this EntityID column is not equal to any element from list.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.SelectTests.testInListWithEntityIDColumns
@JvmName(name = "notInListCompositeEntityIds")
open infix fun <ID : EntityID<CompositeID>> Column<ID>.notInList(list: Iterable<CompositeID>): InListOrNotInListBaseOp<List<*>>

Checks if this EntityID column is not equal to any element from list.

Samples

org.jetbrains.exposed.sql.tests.shared.entities.CompositeIdTableEntityTest.testInListWithCompositeIdEntities