mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
🎨 Add Relation and Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9888
This commit is contained in:
parent
c916cd0c23
commit
46c82acf6c
5 changed files with 72 additions and 24 deletions
|
|
@ -651,9 +651,11 @@ type TableColumn struct {
|
|||
|
||||
// 以下是某些列类型的特有属性
|
||||
|
||||
Options []*KeySelectOption `json:"options,omitempty"` // 选项列表
|
||||
NumberFormat NumberFormat `json:"numberFormat"` // 列数字格式化
|
||||
Template string `json:"template"` // 模板内容
|
||||
Options []*KeySelectOption `json:"options,omitempty"` // 选项列表
|
||||
NumberFormat NumberFormat `json:"numberFormat"` // 列数字格式化
|
||||
Template string `json:"template"` // 模板内容
|
||||
Relation *Relation `json:"relation,omitempty"` // 关联列
|
||||
Rollup *Rollup `json:"rollup,omitempty"` // 汇总列
|
||||
}
|
||||
|
||||
type TableCell struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue