tauri-apps / tauri-apps/plugins-workspace

[sql] allow bind array of values for `IN` queries

Open
#1,904 1 comment 2 reactions 0 assignees View on GitHub
plugin: sql type: feature request
Dominant language
Rust
Stars
1.8k
Forks
602
Avg merge
4d 14h
Merged PRs (30d)
9

Description

This does not work, it should be possible to pass array of values:

```js
const params = [1,2,3];
await db.select("select * from users where id in ($1)", [params]);
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.