From 838837aa1367ae93a7366f2103bf884a2b175151 Mon Sep 17 00:00:00 2001 From: Jan Piotrowski Date: Tue, 7 Nov 2023 13:05:08 +0100 Subject: [PATCH] fix: mark function as code --- src/guide/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/index.md b/src/guide/index.md index 222674d0..0e8b7a5d 100644 --- a/src/guide/index.md +++ b/src/guide/index.md @@ -372,7 +372,7 @@ const knex = require('knex')({ }); ``` -If you ever need to explicitly teardown the connection pool, you may use `knex.destroy([callback])`. You may use `knex.destroy` by passing a callback, or by chaining as a promise, just not both. To manually initialize a destroyed connection pool, you may use knex.initialize(\[config\]), if no config is passed, it will use the first knex configuration used. +If you ever need to explicitly teardown the connection pool, you may use `knex.destroy([callback])`. You may use `knex.destroy` by passing a callback, or by chaining as a promise, just not both. To manually initialize a destroyed connection pool, you may use `knex.initialize([config])`, if no config is passed, it will use the first knex configuration used. ### afterCreate