Documentation
¶
Index ¶
- Variables
- func UseSchema(schema string)
- type BookmarksTable
- type GooseMigrationsTable
- func (a GooseMigrationsTable) AS(alias string) *GooseMigrationsTable
- func (a GooseMigrationsTable) FromSchema(schemaName string) *GooseMigrationsTable
- func (a GooseMigrationsTable) WithPrefix(prefix string) *GooseMigrationsTable
- func (a GooseMigrationsTable) WithSuffix(suffix string) *GooseMigrationsTable
- type QueryResultsTable
Constants ¶
This section is empty.
Variables ¶
var Bookmarks = newBookmarksTable("public", "bookmarks", "")
var GooseMigrations = newGooseMigrationsTable("public", "goose_migrations", "")
var QueryResults = newQueryResultsTable("public", "query_results", "")
Functions ¶
Types ¶
type BookmarksTable ¶ added in v0.17.1
type BookmarksTable struct {
EXCLUDED bookmarksTable
// contains filtered or unexported fields
}
func (BookmarksTable) AS ¶ added in v0.17.1
func (a BookmarksTable) AS(alias string) *BookmarksTable
AS creates new BookmarksTable with assigned alias
func (BookmarksTable) FromSchema ¶ added in v0.17.1
func (a BookmarksTable) FromSchema(schemaName string) *BookmarksTable
Schema creates new BookmarksTable with assigned schema name
func (BookmarksTable) WithPrefix ¶ added in v0.17.1
func (a BookmarksTable) WithPrefix(prefix string) *BookmarksTable
WithPrefix creates new BookmarksTable with assigned table prefix
func (BookmarksTable) WithSuffix ¶ added in v0.17.1
func (a BookmarksTable) WithSuffix(suffix string) *BookmarksTable
WithSuffix creates new BookmarksTable with assigned table suffix
type GooseMigrationsTable ¶
type GooseMigrationsTable struct {
EXCLUDED gooseMigrationsTable
// contains filtered or unexported fields
}
func (GooseMigrationsTable) AS ¶
func (a GooseMigrationsTable) AS(alias string) *GooseMigrationsTable
AS creates new GooseMigrationsTable with assigned alias
func (GooseMigrationsTable) FromSchema ¶
func (a GooseMigrationsTable) FromSchema(schemaName string) *GooseMigrationsTable
Schema creates new GooseMigrationsTable with assigned schema name
func (GooseMigrationsTable) WithPrefix ¶
func (a GooseMigrationsTable) WithPrefix(prefix string) *GooseMigrationsTable
WithPrefix creates new GooseMigrationsTable with assigned table prefix
func (GooseMigrationsTable) WithSuffix ¶
func (a GooseMigrationsTable) WithSuffix(suffix string) *GooseMigrationsTable
WithSuffix creates new GooseMigrationsTable with assigned table suffix
type QueryResultsTable ¶
type QueryResultsTable struct {
EXCLUDED queryResultsTable
// contains filtered or unexported fields
}
func (QueryResultsTable) AS ¶
func (a QueryResultsTable) AS(alias string) *QueryResultsTable
AS creates new QueryResultsTable with assigned alias
func (QueryResultsTable) FromSchema ¶
func (a QueryResultsTable) FromSchema(schemaName string) *QueryResultsTable
Schema creates new QueryResultsTable with assigned schema name
func (QueryResultsTable) WithPrefix ¶
func (a QueryResultsTable) WithPrefix(prefix string) *QueryResultsTable
WithPrefix creates new QueryResultsTable with assigned table prefix
func (QueryResultsTable) WithSuffix ¶
func (a QueryResultsTable) WithSuffix(suffix string) *QueryResultsTable
WithSuffix creates new QueryResultsTable with assigned table suffix