Skip to content

Commit 5d7f5f1

Browse files
committed
Changelog
1 parent a7b2571 commit 5d7f5f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ pub struct TableName(pub Option<SchemaName>, pub DynIden);
5656
assert_eq!(std::mem::size_of::<Value>(), 32);
5757
```
5858
* `impl From<Expr> for Condition`. Now you can use `Expr` instead of `ConditionExpression`, which has been removed from the public API https://github.com/SeaQL/sea-query/pull/915
59+
```rust
60+
Cond::all().add(ConditionExpression::Expr(Expr::new(..))) // old
61+
Cond::all().add(Expr::new(..)) // new
62+
```
5963
* Replaced `serial` with `GENERATED BY DEFAULT AS IDENTITY` (Postgres) https://github.com/SeaQL/sea-query/pull/918
6064
```rust
6165
let table = Table::create()

0 commit comments

Comments
 (0)