diff --git a/Cargo.toml b/Cargo.toml index 8751e6604..e5cfb4b0d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,8 +34,8 @@ 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 = { git = "https://github.com/SeaQL/sea-query", branch = "master", version = "^0.27", features = ["thread-safe"] } -sea-query-binder = { git = "https://github.com/SeaQL/sea-query", branch = "master", version = "^0.1", optional = true } +sea-query = { version = "^0.27", features = ["thread-safe"] } +sea-query-binder = { version = "^0.1", optional = true } sea-strum = { version = "^0.23", features = ["derive", "sea-orm"] } serde = { version = "^1.0", features = ["derive"] } serde_json = { version = "^1.0", optional = true } @@ -45,6 +45,10 @@ ouroboros = "0.15" url = "^2.2" once_cell = "1.8" +[patch.crates-io] +sea-query = { git = "https://github.com/SeaQL/sea-query" } +sea-query-binder = { git = "https://github.com/SeaQL/sea-query" } + [dev-dependencies] smol = { version = "^1.2" } smol-potat = { version = "^1.1" } diff --git a/src/executor/cursor.rs b/src/executor/cursor.rs index 264b7dc62..7f59480e2 100644 --- a/src/executor/cursor.rs +++ b/src/executor/cursor.rs @@ -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"#, ]