🎨 The database rollup field supports using the template field https://github.com/siyuan-note/siyuan/issues/12384

This commit is contained in:
Daniel 2025-08-06 11:15:00 +08:00
parent f6694810e2
commit d67a041633
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 22 additions and 6 deletions

View file

@ -188,6 +188,9 @@ type Collection interface {
// GetField 返回指定 ID 的字段。
GetField(id string) (ret Field, fieldIndex int)
// GetValue 返回指定项目 ID 和键 ID 的字段值。
GetValue(itemID, keyID string) (ret *Value)
// GetSorts 返回集合的排序规则。
GetSorts() []*ViewSort