JetBrains / Exposed

Kotlin SQL Framework
http://jetbrains.github.io/Exposed/
Apache License 2.0
8.1k stars 677 forks source link

feat: EXPOSED-290 Support ANY and ALL operators using array column expressions #1988

Closed bog-walk closed 5 months ago

bog-walk commented 5 months ago

Support using ANY and ALL operators with new array column from PR #1986 , as well as any expression that returns a new array value, so the following is possible:

Table
    .selectAll()
    .where { Table.number eq anyFrom(Table.numbers) }

Table
    .selectAll()
    .where { Table.number less allFrom(Table.numbers.slice(1, 5)) }

Next step: