Skip to content

Commit

Permalink
Add Knex Config function support
Browse files Browse the repository at this point in the history
  • Loading branch information
innerdvations authored Oct 3, 2024
1 parent 5dd0567 commit 6611550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/dev-docs/configurations/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The `/config/database.js|ts` file accepts 2 main configuration objects:
| Parameter | Description | Type | Default |
|----------------------------------------------------------|-------------------------------------------------------------------------------------------------------|-----------|---------|
| `client` | Database client to create the connection.<br/>Accepts the following values:<ul><li>`sqlite` for SQLite databases</li><li>`postgres` for PostgreSQL databases</li><li>`mysql` for MySQL databases</li></ul> | `String` | - |
| `connection` | Database [connection information](#connection-parameters) | `Object` | - |
| `connection` | Database [connection information](#connection-parameters) | `Knex.Config object<br />Knex.Config Function (experimental)` | - |
| `debug` | Show database exchanges and errors. | `Boolean` | `false` |
| `useNullAsDefault`<br/><br />_Optional, only for SQLite_ | Use `NULL` as a default value | `Boolean` | `true` |
| `pool`<br /><br />_Optional_ | [Database pooling options](#database-pooling-options) | `Object` | - |
Expand Down

0 comments on commit 6611550

Please sign in to comment.