Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
func NewPostgresqlParser ¶
func NewPostgresqlParser() Parser
func NewSqliteParser ¶
func NewSqliteParser() Parser
type Table ¶
type Table interface { AddField(f *field.Field) SortFields() GetID() uuid.UUID GetName() string GetSchema() string GetPrimaryKey() *field.Field GetFields() []*field.Field GetFieldNames() []string // GetFieldByName returns the Field and its index, given its name. GetFieldByName(name string) (int, *field.Field) GetFieldByIndex(index int) *field.Field GetFieldsString() string }
Table represents a database table.
Click to show internal directories.
Click to hide internal directories.