Skip to content

Commit

Permalink
chore: use bare table names to avoid unnecessarily complex queries
Browse files Browse the repository at this point in the history
  • Loading branch information
enmand committed Jun 19, 2024
1 parent 6a7403f commit 376738c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions crates/dwn-rs-stores/src/surrealdb/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ where
{
self.from = table.into();

let what = Function::Normal(
"type::table".into(),
vec![format!("{}", Table::from(self.from.clone())).into()],
)
.into();
let what = Table::from(self.from.clone()).into();

let mut values = Values::default();
values.0.push(what);
Expand Down

0 comments on commit 376738c

Please sign in to comment.