Documentation
¶
Index ¶
- func ExportedName(s string) string
- type Column
- func (c *Column) ExportedName() string
- func (c *Column) GoType() string
- func (c *Column) GoValueTemplate(v string) string
- func (c *Column) GoVar() string
- func (c *Column) GoVarTemplate() string
- func (c *Column) PgStringTemplate(v ...interface{}) string
- func (c *Column) PgValueTemplate(v string) string
- func (c *Column) PgxType() string
- func (c *Column) QualifiedGoType(s string) string
- func (c *Column) QualifiedPgxType(s string) string
- func (c *Column) ShortName() string
- type Enum
- type EnumValue
- type Filter
- type PGData
- type Query
- type QueryDefinition
- type QueryDefinitions
- type Sort
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportedName ¶
Types ¶
type Column ¶
func (*Column) ExportedName ¶
func (*Column) GoValueTemplate ¶
func (*Column) GoVarTemplate ¶
func (*Column) PgStringTemplate ¶
func (*Column) PgValueTemplate ¶
func (*Column) QualifiedGoType ¶
func (*Column) QualifiedPgxType ¶
type Enum ¶
func (*Enum) ExportedName ¶
type Query ¶
type Query struct {
Name string
Table Table
Filter []Filter
Sort []Sort
ReturnOne bool
ReturnMany bool
Paged bool
}
func ProcessQueryDefinitions ¶
func ProcessQueryDefinitions(def QueryDefinitions, data PGData) []Query
func (*Query) ExportedName ¶
type QueryDefinition ¶
type QueryDefinitions ¶
type QueryDefinitions struct {
Query []QueryDefinition
}
Click to show internal directories.
Click to hide internal directories.