From ad6c06a94f4837778b0bcecad938a6f7f7479dfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B8=B2=E6=9F=93?= <33628985+TanLingtao@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:23:49 +0800 Subject: [PATCH] chore: typo fix on mysql example (#5270) --- site/docs/tutorials/mysql.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/tutorials/mysql.zh-CN.md b/site/docs/tutorials/mysql.zh-CN.md index 32325b9c2c..9f8f363ad0 100644 --- a/site/docs/tutorials/mysql.zh-CN.md +++ b/site/docs/tutorials/mysql.zh-CN.md @@ -387,7 +387,7 @@ const first = 'James'; const last = 'Bond'; await this.app.mysql.insert(table, { id: 123, - fullname: new Literal(`CONCAT("${first}", "${last}"`), + fullname: new Literal(`CONCAT("${first}", "${last}")`), }); => INSERT INTO `$table`(`id`, `fullname`) VALUES(123, CONCAT("James", "Bond"))