Documentation ¶
Index ¶
- type ReportConfig
- func (o *ReportConfig) FK() []*orm.FKConfig
- func (o *ReportConfig) GetID(dbflex.IConnection) ([]string, []interface{})
- func (o ReportConfig) Indexes() []dbflex.DbIndex
- func (o *ReportConfig) PostSave(dbflex.IConnection) error
- func (o *ReportConfig) PreSave(dbflex.IConnection) error
- func (o *ReportConfig) ReverseFK() []*orm.ReverseFKConfig
- func (o *ReportConfig) SetID(keys ...interface{})
- func (o *ReportConfig) TableName() string
- type ReportField
- type ReportResult
- type SearchType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ReportConfig ¶
type ReportConfig struct { orm.DataModelBase `bson:"-" json:"-"` ID string `bson:"_id" json:"_id" key:"1" form_read_only_edit:"1" form_section:"General" form_section_auto_col:"2"` Name string `form_required:"1" form_section:"General"` SearchType SearchType GetMethod string GetUrl string ViewSetups []ReportField Created time.Time `form_kind:"datetime" form_read_only:"1" grid:"hide" form_section:"Time Info" form_section_auto_col:"2"` LastUpdate time.Time `form_kind:"datetime" form_read_only:"1" grid:"hide" form_section:"Time Info"` }
func (*ReportConfig) FK ¶
func (o *ReportConfig) FK() []*orm.FKConfig
func (*ReportConfig) GetID ¶
func (o *ReportConfig) GetID(dbflex.IConnection) ([]string, []interface{})
func (ReportConfig) Indexes ¶
func (o ReportConfig) Indexes() []dbflex.DbIndex
func (*ReportConfig) PostSave ¶
func (o *ReportConfig) PostSave(dbflex.IConnection) error
func (*ReportConfig) PreSave ¶
func (o *ReportConfig) PreSave(dbflex.IConnection) error
func (*ReportConfig) ReverseFK ¶
func (o *ReportConfig) ReverseFK() []*orm.ReverseFKConfig
func (*ReportConfig) SetID ¶
func (o *ReportConfig) SetID(keys ...interface{})
func (*ReportConfig) TableName ¶
func (o *ReportConfig) TableName() string
type ReportField ¶
type ReportResult ¶
type ReportResult struct { Fields []ReportField Data []codekit.M }
type SearchType ¶
type SearchType string
const ( SearchNone SearchType = "JSON" SearchQueryParam SearchType = "QueryParam" SearchFunction SearchType = "Function" // function prototype: func (ctx *kaos.Context, payload interface{}) (*dbflex.QueryParam, error) )
Click to show internal directories.
Click to hide internal directories.