From 040cbff1167ac86730b4e5262f26895a96321317 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Tue, 10 Nov 2020 00:42:07 +0800 Subject: [PATCH] Update hellodb.md --- docs/uniCloud/hellodb.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/uniCloud/hellodb.md b/docs/uniCloud/hellodb.md index f3886d6bfe..3fdd61723d 100644 --- a/docs/uniCloud/hellodb.md +++ b/docs/uniCloud/hellodb.md @@ -92,9 +92,10 @@ uniCloud同时支持阿里云和腾讯云,它们的数据库大体相同,有 不管云函数还是前端,获取数据库连接都是如下写法。前端写法需2.9.5起支持。 ```js -const db = uniCloud.database(); +const db = uniCloud.database(); //代码块为cdb ``` +js中敲下代码块`cdb`,即可快速输入上述代码。 **DBOptions参数说明** -- GitLab