提交 2c7b8563 编写于 作者: d-u-a's avatar d-u-a

update: unicloud-db 组件 新增 foreignKey 属性

上级 ede07a8c
......@@ -126,7 +126,7 @@ export default {
type: [Boolean, String],
default: false
},
exceptForeignKey: {
foreignKey: {
type: String,
default: ''
},
......@@ -482,8 +482,8 @@ export default {
if (this.field) {
db = db.field(this.field)
}
if (this.exceptForeignKey) {
db = db.exceptForeignKey(this.exceptForeignKey)
if (this.foreignKey) {
db = db.foreignKey(this.foreignKey)
}
if (this.groupby) {
db = db.groupBy(this.groupby)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册