codegenfixture

package
v2.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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) TableName

func (DMSNote) TableName() string

func (DMSNote) TableTheoryIndexProjections

func (DMSNote) TableTheoryIndexProjections() map[string]struct {
	Type   string
	Fields []string
}

func (DMSNote) WritePolicy

func (DMSNote) WritePolicy() model.WritePolicy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL