You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With example below I get an error: Query Error: error returned from database: operator does not exist: uuid = uuid[]
let ids_unique: Vec<Uuid> // assume it set
let users: Vec<JsonValue> = JsonValue::find_by_statement(Statement::from_sql_and_values(
DbBackend::Postgres,
r#"SELECT "id" FROM "user" WHERE "id" IN ($1)"#,
[ids_unique.clone().into()],
))
.all(connection)
.await?;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How to filter by vector of uuids?
With example below I get an error:
Query Error: error returned from database: operator does not exist: uuid = uuid[]
Beta Was this translation helpful? Give feedback.
All reactions