Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DMSNote ¶
type DMSNote struct {
PK string `theorydb:"pk,attr:PK" json:"PK"`
SK string `theorydb:"sk,attr:SK" json:"SK"`
Title string `theorydb:"attr:title,omitempty,index:gsi-title,pk" json:"title,omitempty"`
Count int64 `theorydb:"attr:count" json:"count"`
Tags []string `theorydb:"attr:tags,omitempty,set" json:"tags,omitempty"`
Payload map[string]any `theorydb:"attr:payload,json" json:"payload"`
Blob []byte `theorydb:"attr:blob,binary" json:"blob"`
Secret string `theorydb:"attr:secret,omitempty,encrypted" json:"secret,omitempty"`
CreatedAt time.Time `theorydb:"created_at,attr:createdAt,index:gsi-title,sk" json:"createdAt"`
Version int64 `theorydb:"version,attr:version" json:"version"`
TTL int64 `theorydb:"ttl,attr:ttl,omitempty" json:"ttl,omitempty"`
}
func (DMSNote) TableTheoryIndexProjections ¶
func (DMSNote) WritePolicy ¶
func (DMSNote) WritePolicy() model.WritePolicy
Click to show internal directories.
Click to hide internal directories.