Skip to content

Commit

Permalink
Merge pull request #2252 from strapi/innerdvations-patch-4
Browse files Browse the repository at this point in the history
Add Knex Config function support
  • Loading branch information
meganelacheny authored Oct 31, 2024
2 parents 076b133 + 6611550 commit 204df56
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 204df56

Please sign in to comment.