error[E0277]: `QueryBuilder<'static, Postgres>` is not a query `queryweave-sql` can write conditions into
--> tests/ui/features/sqlx.rs:5:33
|
5 | const _: () = requires_target::<sqlx::QueryBuilder<'static, sqlx::Postgres>>();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a `ConditionsTarget`
|
= help: the trait `ConditionsTarget` is not implemented for `QueryBuilder<'static, Postgres>`
= note: enable the `queryweave-sql` feature of your query builder: `sqlx` (on by default) for sqlx's `QueryBuilder`, `sea-query` for sea-query's (and SeaORM's) statements
note: required by a bound in `requires_target`
--> tests/ui/features/sqlx.rs:3:29
|
3 | const fn requires_target<Q: queryweave_sql::ConditionsTarget>() {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `requires_target`