Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Data = &data{}
View Source
var Postgresql = NewPostgresqlQuery()
View Source
var Sqlite = NewSqliteQuery()
Functions ¶
This section is empty.
Types ¶
type Schema ¶
type Schema interface {
// All returns a query selecting all tables names and schemas.
All() string
// One returns a query selecting given table schema.
One(name string) string
// Excluded returns a query selecting names of all tables except excluded.
Excluded(names []string) string
}
Schema provides database tables names and schemas queries.
func NewPostgresqlQuery ¶
func NewPostgresqlQuery() Schema
func NewSqliteQuery ¶
func NewSqliteQuery() Schema
Click to show internal directories.
Click to hide internal directories.