Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountRequest ¶
type CountRequest struct {
CountFields []struct {
Name string `json:"name"`
Title string `json:"title"`
Type string `json:"type"`
Table string `json:"table"`
Alias string `json:"alias"`
Output bool `json:"output"`
SortType string `json:"sortType"`
SortOrder int `json:"sortOrder"`
GroupBy bool `json:"groupBy"`
GroupOrder int `json:"groupOrder"`
Aggregate string `json:"aggregate"`
Editing bool `json:"editing"`
} `json:"countFields"`
}
type LineRequest ¶
type LineRequest struct {
Axis []struct {
Name string `json:"name"`
Title string `json:"title"`
Type string `json:"type"`
Table string `json:"table"`
Alias string `json:"alias"`
Output bool `json:"output"`
SortType string `json:"sortType"`
SortOrder int `json:"sortOrder"`
GroupBy bool `json:"groupBy"`
GroupOrder int `json:"groupOrder"`
Aggregate string `json:"aggregate"`
} `json:"axis"`
Lines []struct {
Name string `json:"name"`
Title string `json:"title"`
Type string `json:"type"`
Table string `json:"table"`
Alias string `json:"alias"`
Output bool `json:"output"`
SortType string `json:"sortType"`
SortOrder int `json:"sortOrder"`
GroupBy bool `json:"groupBy"`
GroupOrder int `json:"groupOrder"`
Aggregate string `json:"aggregate"`
} `json:"lines"`
}
type MSTableMata ¶
type PKColumn ¶
type PKColumn struct {
ColumnName string `gorm:"column:COLUMN_NAME" json:"COLUMN_NAME"`
}
type PieRequest ¶
type PieRequest struct {
Value []struct {
Name string `json:"name"`
Title string `json:"title"`
Type string `json:"type"`
Table string `json:"table"`
Alias string `json:"alias"`
Output bool `json:"output"`
SortType string `json:"sortType"`
SortOrder int `json:"sortOrder"`
GroupBy bool `json:"groupBy"`
GroupOrder int `json:"groupOrder"`
Aggregate string `json:"aggregate"`
} `json:"value"`
Title []struct {
Name string `json:"name"`
Title string `json:"title"`
Type string `json:"type"`
Table string `json:"table"`
Alias string `json:"alias"`
Output bool `json:"output"`
SortType string `json:"sortType"`
SortOrder int `json:"sortOrder"`
GroupBy bool `json:"groupBy"`
GroupOrder int `json:"groupOrder"`
Aggregate string `json:"aggregate"`
} `json:"title"`
Filter []interface{} `json:"filter"`
}
type TableRequest ¶
type TableRequest struct {
Values []struct {
Name string `json:"name"`
Title string `json:"title"`
Type string `json:"type"`
Table string `json:"table"`
Alias string `json:"alias"`
Output bool `json:"output"`
SortType string `json:"sortType"`
SortOrder int `json:"sortOrder"`
GroupBy bool `json:"groupBy"`
GroupOrder int `json:"groupOrder"`
Aggregate string `json:"aggregate"`
} `json:"values"`
}
type UserRoles ¶
type VBSchema ¶
type VBSchema struct {
ID uint64 `gorm:"column:id;primary_key" json:"id"`
Name string `gorm:"column:name" json:"name"`
Schema string `gorm:"column:schema;type:TEXT" json:"schema"` //type:LONGTEXT
Type string `gorm:"column:type" json:"type"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}
type VBSchemaAdmin ¶
type VBSchemaAdmin struct {
VbId uint64 `gorm:"column:vb_id;primary_key" json:"vb_id"`
Name string `gorm:"column:name" json:"name"`
Schema string `gorm:"column:schema;type:LONGTEXT" json:"schema"`
Type string `gorm:"column:type" json:"type"`
Id string `gorm:"column:id" json:"id"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}
func (*VBSchemaAdmin) TableName ¶
func (v *VBSchemaAdmin) TableName() string
TableName sets the insert table name for this struct type
type VBSchemaAdminMSSQL ¶
type VBSchemaAdminMSSQL struct {
VbId uint64 `gorm:"column:vb_id;primary_key" json:"vb_id"`
Name string `gorm:"column:name" json:"name"`
Schema string `gorm:"column:schema;type:NTEXT" json:"schema"`
Type string `gorm:"column:type" json:"type"`
Id string `gorm:"column:id" json:"id"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}
func (*VBSchemaAdminMSSQL) TableName ¶
func (v *VBSchemaAdminMSSQL) TableName() string
TableName sets the insert table name for this struct type
type VBSchemaList ¶
type VBSchemaList struct {
ID uint64 `gorm:"column:id;primary_key" json:"id"`
Name string `gorm:"column:name" json:"name"`
Type string `gorm:"column:type" json:"type"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}
func (*VBSchemaList) TableName ¶
func (v *VBSchemaList) TableName() string
type VBSchemaMSSQL ¶
type VBSchemaMSSQL struct {
ID uint64 `gorm:"column:id;primary_key" json:"id"`
Name string `gorm:"column:name" json:"name"`
Schema string `gorm:"column:schema;type:NTEXT" json:"schema"` //type:LONGTEXT
Type string `gorm:"column:type" json:"type"`
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
UpdatedAt time.Time `gorm:"column:updated_at" json:"updated_at"`
}
func (*VBSchemaMSSQL) TableName ¶
func (v *VBSchemaMSSQL) TableName() string
TableName sets the insert table name for this struct type
Click to show internal directories.
Click to hide internal directories.