Skip to content

Commit afbeb7f

Browse files
committed
Patch examples
1 parent db31acf commit afbeb7f

19 files changed

Lines changed: 71 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,4 +233,5 @@ with-uuid = ["uuid", "sea-query/with-uuid", "sea-query-sqlx?/with-uuid"]
233233
# sea-query = { path = "../sea-query" }
234234
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
235235
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
236+
sea-query-rusqlite = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
236237
# sea-query = { git = "https://github.com/SeaQL/sea-query", branch = "master" }

examples/actix_example/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ members = [".", "api", "entity", "migration"]
1111

1212
[dependencies]
1313
actix-example-api = { path = "api" }
14+
15+
[patch.crates-io]
16+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
17+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/axum_example/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ members = [".", "api", "entity", "migration"]
1111

1212
[dependencies]
1313
axum-example-api = { path = "api" }
14+
15+
[patch.crates-io]
16+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
17+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/basic/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ sea-orm = { path = "../../", features = [
1616
] }
1717
serde_json = { version = "1" }
1818
tokio = { version = "1", features = ["full"] }
19+
20+
[patch.crates-io]
21+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
22+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/graphql_example/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ members = [".", "api", "entity", "migration"]
1212

1313
[dependencies]
1414
graphql-example-api = { path = "api" }
15+
16+
[patch.crates-io]
17+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
18+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/jsonrpsee_example/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ members = [".", "api", "entity", "migration"]
1111

1212
[dependencies]
1313
jsonrpsee-example-api = { path = "api" }
14+
15+
[patch.crates-io]
16+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
17+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/parquet_example/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,7 @@ features = [
2424
"with-rust_decimal",
2525
]
2626
path = "../../"
27+
28+
[patch.crates-io]
29+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
30+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/poem_example/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ members = [".", "api", "entity", "migration"]
1010

1111
[dependencies]
1212
poem-example-api = { path = "api" }
13+
14+
[patch.crates-io]
15+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
16+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/proxy_cloudflare_worker_example/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ sea-orm = { path = "../../", default-features = false, features = [
5151
[patch.crates-io]
5252
# https://github.com/cloudflare/workers-rs/pull/591
5353
worker = { git = "https://github.com/cloudflare/workers-rs.git", rev = "ff2e6a0fd58b7e7b4b7651aba46e04067597eb03" }
54+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
55+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

examples/proxy_gluesql_example/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ sqlparser = "0.40"
3131
[dev-dependencies]
3232
smol = { version = "1.2" }
3333
smol-potat = { version = "1.1" }
34+
35+
[patch.crates-io]
36+
sea-query = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }
37+
sea-query-sqlx = { git = "https://github.com/Huliiiiii/sea-query", branch = "enum" }

0 commit comments

Comments
 (0)