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

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

上级 9c689a53
......@@ -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)
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册