Skip to content

Commit

Permalink
Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Aug 30, 2023
1 parent 2d0d7d6 commit 795d29d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

* Fixed bytea literal syntax for Postgres https://github.com/SeaQL/sea-query/pull/666
* Fixed issues with semantics of parenthesis removal https://github.com/SeaQL/sea-query/pull/675
* Fixed behaviour in `FunctionCall` when calling `arg` multiple times https://github.com/SeaQL/sea-query/pull/687

### Breaking changes

* As part of https://github.com/SeaQL/sea-query/pull/687, calling `FunctionCall::arg` multiple times will append the arguments instead of replacing old values

## 0.30.0 - 2023-07-20

Expand Down
2 changes: 2 additions & 0 deletions src/func.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ impl FunctionCall {
}
}

/// Append an argument to the function call
pub fn arg<T>(mut self, arg: T) -> Self
where
T: Into<SimpleExpr>,
Expand All @@ -52,6 +53,7 @@ impl FunctionCall {
self
}

/// Replace the arguments of the function call
pub fn args<I>(mut self, args: I) -> Self
where
I: IntoIterator<Item = SimpleExpr>,
Expand Down

0 comments on commit 795d29d

Please sign in to comment.