File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -242,8 +242,7 @@ Using an `sql` file for a query. The contents will be cached in memory so that t
242
242
``` js
243
243
244
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
245
+ cache: true // Default true - disable for single shot queries or memory reasons
247
246
})
248
247
249
248
```
@@ -372,7 +371,7 @@ prexit(async () => {
372
371
```
373
372
374
373
375
- ## sql.unsafe(query, [ args] , [ options] ) -> promise
374
+ ## Unsafe queries ` sql.unsafe(query, [args], [options]) -> promise `
376
375
377
376
If you know what you're doing, you can use ` unsafe ` to pass any string you'd like to postgres.
378
377
You can’t perform that action at this time.
0 commit comments