We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06f5564 commit 63f3212Copy full SHA for 63f3212
README.md
@@ -113,6 +113,19 @@ const users = await sql`
113
114
```
115
116
+Arrays will be handled by replacement parameters too, so `where in` queries are also simple.
117
+
118
+```js
119
120
+const users = await sql`
121
+ select
122
+ *
123
+ from users
124
+ where age in (${ [68, 75, 23] })
125
+`
126
127
+```
128
129
## Stream ```sql` `.stream(fn) -> Promise```
130
131
If you want to handle rows returned by a query one by one, you can use `.stream` which returns a promise that resolves once there are no more rows.
0 commit comments