Skip to content

Commit

Permalink
Update sea-query dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Nov 29, 2021
1 parent 500273d commit a517e9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ log = { version = "^0.4", optional = true }
rust_decimal = { version = "^1", optional = true }
sea-orm-macros = { version = "^0.4.0", path = "sea-orm-macros", optional = true }
sea-orm-types = { version = "^0.4.0", path = "sea-orm-types", optional = true }
sea-query = { version = "^0.19.0", features = ["thread-safe"] }
sea-query = { version = "^0.19.0", git = "https://github.com/SeaQL/sea-query.git", branch = "table-ref-db-prefix", features = ["thread-safe"] }
sea-strum = { version = "^0.21", features = ["derive", "sea-orm"] }
serde = { version = "^1.0", features = ["derive"] }
serde_json = { version = "^1", optional = true }
Expand Down
2 changes: 2 additions & 0 deletions src/query/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,10 @@ pub(crate) fn unpack_table_ref(table_ref: &TableRef) -> DynIden {
match table_ref {
TableRef::Table(tbl) => SeaRc::clone(tbl),
TableRef::SchemaTable(_, tbl) => SeaRc::clone(tbl),
TableRef::DatabaseTable(_, tbl) => SeaRc::clone(tbl),
TableRef::TableAlias(tbl, _) => SeaRc::clone(tbl),
TableRef::SchemaTableAlias(_, tbl, _) => SeaRc::clone(tbl),
TableRef::DatabaseTableAlias(_, tbl, _) => SeaRc::clone(tbl),
TableRef::SubQuery(_, tbl) => SeaRc::clone(tbl),
}
}

0 comments on commit a517e9d

Please sign in to comment.