Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ColumnType ¶
type ColumnType struct {
ColumnName string
}
type LiteralType ¶
func NewLiteralType ¶
func NewLiteralType(rType reflect.Type) *LiteralType
type Parameter ¶
type Parameter struct {
Id string `json:",omitempty" yaml:",omitempty"`
Name string `json:",omitempty" yaml:",omitempty"`
Kind string `json:",omitempty" yaml:",omitempty"`
Required *bool `json:",omitempty" yaml:",omitempty"`
DataType string `json:",omitempty" yaml:",omitempty"`
Repeated bool `json:",omitempty" yaml:",omitempty"`
ExpectReturned *int `json:",omitempty" yaml:",omitempty"`
Codec string `json:",omitempty" yaml:",omitempty"`
FullName string `json:"-" yaml:"-"`
Assumed bool `json:",omitempty" yaml:",omitempty"`
Typer Typer `json:",omitempty" yaml:",omitempty"`
SQL string `json:",omitempty" yaml:",omitempty"`
Cardinality view.Cardinality `json:",omitempty" yaml:",omitempty"`
Multi bool `json:",omitempty" yaml:",omitempty"`
}
type ParameterHint ¶
func NewParameterHint ¶
func NewParameterHint(name, hint string) *ParameterHint
type ParameterHints ¶
type ParameterHints []*ParameterHint
func (*ParameterHints) Index ¶
func (p *ParameterHints) Index() map[string]*ParameterHint
type ReadData ¶
type ReadData struct {
Table *Table
DataViewParams map[string]*TableParam
}
type Route ¶
type Table ¶
type TableParam ¶
type ViewMeta ¶
type ViewMeta struct {
Mode string `json:",omitempty" yaml:",omitempty"`
Parameters []*Parameter `json:",omitempty" yaml:",omitempty"`
Source string `json:",omitempty" yaml:",omitempty"`
From string `json:",omitempty" yaml:",omitempty"`
Expressions []string `json:",omitempty" yaml:",omitempty"`
ParameterTypes map[string]string `json:",omitempty" yaml:",omitempty"`
Updates []string `json:",omitempty" yaml:",omitempty"`
Inserts []string `json:",omitempty" yaml:",omitempty"`
// contains filtered or unexported fields
}
func NewViewMeta ¶
func NewViewMeta() *ViewMeta
func (*ViewMeta) AddParameter ¶
func (*ViewMeta) SetVariables ¶
Click to show internal directories.
Click to hide internal directories.