From 0aba8a244568fc225334b3b6253e41574570215a Mon Sep 17 00:00:00 2001 From: tejovanthWork <49153303+tejovanthWork@users.noreply.github.com> Date: Fri, 27 Mar 2020 18:34:52 +0530 Subject: [PATCH] docs: fixed `sql` to `query` in the last example (#5753) there was no `sql` tag in the example, and `query` made the most sense. --- docs/logging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/logging.md b/docs/logging.md index 97e70da3a..6c48fad29 100644 --- a/docs/logging.md +++ b/docs/logging.md @@ -162,6 +162,6 @@ postRepository.save(post, { data: { request: request } }); // in logger you can access it this way: logQuery(query: string, parameters?: any[], queryRunner?: QueryRunner) { const requestUrl = queryRunner && queryRunner.data["request"] ? "(" + queryRunner.data["request"].url + ") " : ""; - console.log(requestUrl + "executing query: " + sql); + console.log(requestUrl + "executing query: " + query); } ```