mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
✨ Database grouping by field https://github.com/siyuan-note/siyuan/issues/10964
This commit is contained in:
parent
b357047290
commit
17c59cb2ca
11 changed files with 64 additions and 69 deletions
|
|
@ -24,13 +24,6 @@ import (
|
|||
"github.com/siyuan-note/siyuan/kernel/util"
|
||||
)
|
||||
|
||||
// Filterable 接口定义了可过滤的视图类型。
|
||||
type Filterable interface {
|
||||
|
||||
// Filter 根据视图中设置的过滤器进行过滤。
|
||||
Filter(attrView *AttributeView)
|
||||
}
|
||||
|
||||
// ViewFilter 描述了视图过滤器的结构。
|
||||
type ViewFilter struct {
|
||||
Column string `json:"column"` // 列(字段)ID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue