Documentation ¶
Index ¶
- Variables
- func UseSchema(schema string)
- 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 ¶
View Source
var GooseMigrations = newGooseMigrationsTable("public", "goose_migrations", "")
View Source
var QueryResults = newQueryResultsTable("public", "query_results", "")
Functions ¶
Types ¶
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
Click to show internal directories.
Click to hide internal directories.