Documentation ¶
Index ¶
- func FindForeignKeysChoices(db *sql.DB, location DBLocation) (map[string][]string, error)
- func FindHowManyOccurenceOfaValue(db *sql.DB, location DBLocation, value interface{}) int
- type DBLocation
- type Mysql
- func (this Mysql) Cat(path string) (io.ReadCloser, error)
- func (this Mysql) Close() error
- func (this Mysql) Init(params map[string]string, app *App) (IBackend, error)
- func (this Mysql) LoginForm() Form
- func (this Mysql) Ls(path string) ([]os.FileInfo, error)
- func (this Mysql) Meta(path string) Metadata
- func (this Mysql) Mkdir(path string) error
- func (this Mysql) Mv(from string, to string) error
- func (this Mysql) Rm(path string) error
- func (this Mysql) Save(path string, file io.Reader) error
- func (this Mysql) Touch(path string) error
- type QuerySelection
- type SqlFields
- type SqlKeyParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindForeignKeysChoices ¶
func FindHowManyOccurenceOfaValue ¶
func FindHowManyOccurenceOfaValue(db *sql.DB, location DBLocation, value interface{}) int
Types ¶
type DBLocation ¶
type DBLocation struct {
// contains filtered or unexported fields
}
func FindWhoIsUsing ¶
func FindWhoIsUsing(db *sql.DB, location DBLocation) ([]DBLocation, error)
func FindWhoOwns ¶
func FindWhoOwns(db *sql.DB, location DBLocation) (DBLocation, error)
func NewDBLocation ¶
func NewDBLocation(path string) (DBLocation, error)
type QuerySelection ¶
type SqlFields ¶
type SqlFields struct { Order []QuerySelection Select []QuerySelection Esthetics []QuerySelection Date QuerySelection All map[string]QuerySelection }
func FindQuerySelection ¶
func FindQuerySelection(db *sql.DB, location DBLocation) (SqlFields, error)
type SqlKeyParams ¶
type SqlKeyParams struct { Key string Value interface{} }
Click to show internal directories.
Click to hide internal directories.