We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f632a36 commit 909873eCopy full SHA for 909873e
README.md
@@ -242,8 +242,7 @@ Using an `sql` file for a query. The contents will be cached in memory so that t
242
```js
243
244
sql.file(path.join(__dirname, 'query.sql'), [], {
245
- simple: true, // Default true — allows multiple statements, but no arguments
246
- cache: true // Default true - disable for single queries or memory reasons
+ cache: true // Default true - disable for single shot queries or memory reasons
247
})
248
249
```
@@ -372,7 +371,7 @@ prexit(async () => {
372
371
373
374
375
-## sql.unsafe(query, [args], [options]) -> promise
+## Unsafe queries `sql.unsafe(query, [args], [options]) -> promise`
376
377
If you know what you're doing, you can use `unsafe` to pass any string you'd like to postgres.
378
0 commit comments