Skip to content

Commit 909873e

Browse files
committed
Improve readme
1 parent f632a36 commit 909873e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,7 @@ Using an `sql` file for a query. The contents will be cached in memory so that t
242242
```js
243243

244244
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
247246
})
248247

249248
```
@@ -372,7 +371,7 @@ prexit(async () => {
372371
```
373372

374373

375-
## sql.unsafe(query, [args], [options]) -> promise
374+
## Unsafe queries `sql.unsafe(query, [args], [options]) -> promise`
376375

377376
If you know what you're doing, you can use `unsafe` to pass any string you'd like to postgres.
378377

0 commit comments

Comments
 (0)