Skip to content

Commit 6a7b743

Browse files
committed
chore: update opts.client order docs
1 parent ad38a53 commit 6a7b743

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ exports.exists = function (dep) {
4545
}
4646
}
4747

48-
// TODO: mysql, mysql2, sqlite, better-sqlite3
48+
// TODO: sqlite
4949
exports.detect = function () {
5050
return ['postgres', 'pg', 'mysql', 'mysql2', 'better-sqlite3'].find(exports.exists);
5151
}

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ The **name** of your desired client driver; for example, `pg`.<br>
239239
When unspecified, `ley` searches for all supported client drivers in this order:
240240
241241
```js
242-
['postgres', 'pg']; // TODO: more
242+
['postgres', 'pg', 'mysql', 'mysql2', 'better-sqlite3']
243243
```
244244
245245
#### opts.config

0 commit comments

Comments
 (0)