error[E0277]: this query is not complete yet: `DeleteInitial` cannot run
--> tests/ui/mutation_scope_sqlite/fail/missing_where.rs:21:29
|
21 | let _ = db.delete(user).execute();
| ^^^^^^^ the query is still missing a clause
|
= help: the trait `ExecutableState` is not implemented for `DeleteInitial`
= note: a DELETE or UPDATE must say which rows it changes with `.r#where(...)`; write `.r#where(true)` to change every row on purpose
= note: a SELECT needs `.from(...)`, an INSERT needs `.values(...)`, and an UPDATE needs `.set(...)`
= help: the following other types implement trait `ExecutableState`:
BuilderInit
CTEInit
DeleteReturningSet
DeleteWhereSet
InsertDoUpdateSet
InsertOnConflictSet
InsertReturningSet
InsertValuesSet
and $N others
note: required by a bound in `drizzle::builder::sqlite::rusqlite::<impl drizzle::builder::sqlite::common::DrizzleBuilder<'_, drizzle::builder::sqlite::common::Drizzle<Connection, S>, S, drizzle::sqlite::builder::QueryBuilder<'_, Schema, State, Table, Mk, Rw, Grouped>, State>>::execute`
--> src/builder/sqlite/rusqlite/mod.rs
|
| pub fn execute(self) -> drizzle_core::error::Result<usize>
| ------- required by a bound in this associated function
| where
| State: builder::ExecutableState,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `drizzle::builder::sqlite::rusqlite::<impl DrizzleBuilder<'_, Drizzle<Connection, S>, S, QueryBuilder<'_, Schema, State, Table, Mk, Rw, Grouped>, State>>::execute`
error[E0277]: this query is not complete yet: `UpdateSetClauseSet` cannot run
--> tests/ui/mutation_scope_sqlite/fail/missing_where.rs:25:10
|
25 | .execute();
| ^^^^^^^ the query is still missing a clause
|
= help: the trait `ExecutableState` is not implemented for `UpdateSetClauseSet`
= note: a DELETE or UPDATE must say which rows it changes with `.r#where(...)`; write `.r#where(true)` to change every row on purpose
= note: a SELECT needs `.from(...)`, an INSERT needs `.values(...)`, and an UPDATE needs `.set(...)`
= help: the following other types implement trait `ExecutableState`:
BuilderInit
CTEInit
DeleteReturningSet
DeleteWhereSet
InsertDoUpdateSet
InsertOnConflictSet
InsertReturningSet
InsertValuesSet
and $N others
note: required by a bound in `drizzle::builder::sqlite::rusqlite::<impl drizzle::builder::sqlite::common::DrizzleBuilder<'_, drizzle::builder::sqlite::common::Drizzle<Connection, S>, S, drizzle::sqlite::builder::QueryBuilder<'_, Schema, State, Table, Mk, Rw, Grouped>, State>>::execute`
--> src/builder/sqlite/rusqlite/mod.rs
|
| pub fn execute(self) -> drizzle_core::error::Result<usize>
| ------- required by a bound in this associated function
| where
| State: builder::ExecutableState,
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `drizzle::builder::sqlite::rusqlite::<impl DrizzleBuilder<'_, Drizzle<Connection, S>, S, QueryBuilder<'_, Schema, State, Table, Mk, Rw, Grouped>, State>>::execute`