Skip to content

Commit

Permalink
Upgrade SeaORM root's SeaQuery to v0.27
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Aug 24, 2022
1 parent 87f7891 commit af0bc7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ log = { version = "^0.4" }
tracing = { version = "^0.1", features = ["log"] }
rust_decimal = { version = "^1", optional = true }
sea-orm-macros = { version = "^0.10.0", path = "sea-orm-macros", optional = true }
sea-query = { version = "^0.26.3", features = ["thread-safe"] }
sea-query = { version = "^0.27", features = ["thread-safe"] }
sea-strum = { version = "^0.23", features = ["derive", "sea-orm"] }
serde = { version = "^1.0", features = ["derive"] }
serde_json = { version = "^1.0", optional = true }
Expand All @@ -43,6 +43,9 @@ ouroboros = "0.15"
url = "^2.2"
once_cell = "1.8"

[patch.crates-io]
sea-query = { git = "https://github.com/SeaQL/sea-query" }

[dev-dependencies]
smol = { version = "^1.2" }
smol-potat = { version = "^1.1" }
Expand Down
4 changes: 2 additions & 2 deletions src/executor/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ mod tests {
r#"FROM "cake_filling""#,
r#"WHERE "cake_filling"."cake_id" > $1"#,
r#"AND "cake_filling"."filling_id" > $2"#,
r#"AND ("cake_filling"."cake_id" < $3"#,
r#"AND "cake_filling"."filling_id" < $4)"#,
r#"AND "cake_filling"."cake_id" < $3"#,
r#"AND "cake_filling"."filling_id" < $4"#,
r#"ORDER BY "cake_filling"."cake_id" ASC, "cake_filling"."filling_id" ASC"#,
r#"LIMIT $5"#,
]
Expand Down

0 comments on commit af0bc7a

Please sign in to comment.