Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgbutler committed Apr 23, 2024
1 parent efc4727 commit 053f6af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ types - which is a rare usage. Please let us know if this causes an undo hardshi
as rendering empty lists). This change should be transparent to users unless they have implemented custom conditions.
4. Added a configuration setting to allow empty list conditions to render. This could generate invalid SQL, but might be
a good safety measure in some cases.
5. Added Array based functions for the "in" and "not in" conditions in the Kotlin DSL. These functions allow a more
natural use of an Array as an input for an "in" condition. They also allow easy reuse of a vararg argument in a
function.

## Release 1.5.0 - April 21, 2023

Expand Down
13 changes: 7 additions & 6 deletions src/site/markdown/docs/kotlinWhereClauses.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,10 @@ where clauses with and/or/not phrases. See the following example of a complex wh
select(foo) {
from(bar)
where {
id isEqualTo 3
and { id isEqualTo 4 }
id isEqualTo 3
or { id isEqualTo 4 }
and { not { id isEqualTo 6 } }
}
or { id isEqualTo 4 }
and { not { id isEqualTo 6 } }
}
```

Expand Down Expand Up @@ -215,8 +214,10 @@ These criteria should be updated by moving the column and condition into a lambd
```kotlin
select(foo) {
from(bar)
where { id isEqualTo 3 }
or { id isEqualTo 4 }
where {
id isEqualTo 3
or { id isEqualTo 4 }
}
}
```

Expand Down

0 comments on commit 053f6af

Please sign in to comment.