Documentation
¶
Index ¶
- func Query(db *datastore.Datastore) datastore.Query
- type Copy
- func (a *Copy) Defaults()
- func (m Copy) Fork() *Copy
- func (m Copy) GetCopySearchFieldAndIds() (string, []string)
- func (m Copy) GetParentCopyId() string
- func (a *Copy) Init(db *datastore.Datastore)
- func (a Copy) Kind() string
- func (m *Copy) Load(ps []datastore.Property) (err error)
- func (m *Copy) Save() (ps []datastore.Property, err error)
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Copy ¶
type Copy struct {
mixin.Model
AdIntegration
Type Type `json:"type"`
Text string `json:"text" datastore:",noindex"`
ParentCopyId string `json:"parentCopyId"`
// Only for filters and searches, don't rely on this after you get it out
// of the db. Always check m.ParentCopyId != "".
IsParent bool `json:"isParent"`
}
func (Copy) GetCopySearchFieldAndIds ¶
func (Copy) GetParentCopyId ¶
Click to show internal directories.
Click to hide internal directories.