From b2f26c731122cf528ec1a2b4867e024c6aeae199 Mon Sep 17 00:00:00 2001 From: handongxun Date: Mon, 12 Apr 2021 17:44:04 +0800 Subject: [PATCH] =?UTF-8?q?update:=20unicloud-db=E7=BB=84=E4=BB=B6=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=B1=9E=E6=80=A7=20exceptForeignKey?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-cli-shared/components/unicloud-db.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/uni-cli-shared/components/unicloud-db.vue b/packages/uni-cli-shared/components/unicloud-db.vue index 5b4487a26..83d6a99a6 100644 --- a/packages/uni-cli-shared/components/unicloud-db.vue +++ b/packages/uni-cli-shared/components/unicloud-db.vue @@ -126,6 +126,10 @@ export default { type: [Boolean, String], default: false }, + exceptForeignKey: { + type: String, + default: '' + }, loadtime: { type: String, default: 'auto' @@ -478,6 +482,9 @@ export default { if (this.field) { db = db.field(this.field) } + if (this.exceptForeignKey) { + db = db.exceptForeignKey(this.exceptForeignKey) + } if (this.groupby) { db = db.groupBy(this.groupby) } -- GitLab