Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { Name string `json:"name"` Tables []DatabaseTable `json:"tables"` }
type DatabaseColumn ¶
type DatabaseColumn struct { Name string `json:"name"` Type string `json:"type"` Primary bool `json:"primary,omitempty"` NotNull bool `json:"not_null,omitempty"` Key string `json:"key,omitempty"` Default string `json:"default,omitempty"` Extra string `json:"extra,omitempty"` AutoIncrement bool `json:"auto_increment,omitempty"` Children []DatabaseColumn `json:"children,omitempty"` Hash string `json:"hash,omitempty"` OriginalName string `json:"original_name,omitempty"` Status string `json:"status,omitempty"` }
type DatabaseIndex ¶
type DatabaseIndexColumn ¶
func (*DatabaseIndexColumn) OrderString ¶
func (col *DatabaseIndexColumn) OrderString() string
type DatabaseMetadata ¶
type DatabaseMetadata struct {
Databases []Database `json:"databases"`
}
type DatabaseQueryResults ¶
type DatabaseQueryResults struct { Columns []DatabaseColumn `json:"columns,omitempty"` Rows []map[string]interface{} `json:"rows,omitempty"` Output string `json:"output,omitempty"` Error string `json:"error,omitempty"` }
type DatabaseTable ¶
type DatabaseTable struct { Name string `json:"name"` Columns []DatabaseColumn `json:"columns"` Indexes []DatabaseIndex `json:"indexes"` }
Click to show internal directories.
Click to hide internal directories.