table

package
v0.0.0-...-e7feb91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Genre = newGenreTable("genre", "genre", "")
View Source
var GenreAlbum = newGenreAlbumTable("genre", "genre_album", "")
View Source
var GenreArtist = newGenreArtistTable("genre", "genre_artist", "")

Functions

func UseSchema

func UseSchema(schema string)

UseSchema sets a new schema name for all generated table SQL builder types. It is recommended to invoke this method only once at the beginning of the program.

Types

type GenreAlbumTable

type GenreAlbumTable struct {
	EXCLUDED genreAlbumTable
	// contains filtered or unexported fields
}

func (GenreAlbumTable) AS

func (a GenreAlbumTable) AS(alias string) *GenreAlbumTable

AS creates new GenreAlbumTable with assigned alias

func (GenreAlbumTable) FromSchema

func (a GenreAlbumTable) FromSchema(schemaName string) *GenreAlbumTable

Schema creates new GenreAlbumTable with assigned schema name

func (GenreAlbumTable) WithPrefix

func (a GenreAlbumTable) WithPrefix(prefix string) *GenreAlbumTable

WithPrefix creates new GenreAlbumTable with assigned table prefix

func (GenreAlbumTable) WithSuffix

func (a GenreAlbumTable) WithSuffix(suffix string) *GenreAlbumTable

WithSuffix creates new GenreAlbumTable with assigned table suffix

type GenreArtistTable

type GenreArtistTable struct {
	EXCLUDED genreArtistTable
	// contains filtered or unexported fields
}

func (GenreArtistTable) AS

AS creates new GenreArtistTable with assigned alias

func (GenreArtistTable) FromSchema

func (a GenreArtistTable) FromSchema(schemaName string) *GenreArtistTable

Schema creates new GenreArtistTable with assigned schema name

func (GenreArtistTable) WithPrefix

func (a GenreArtistTable) WithPrefix(prefix string) *GenreArtistTable

WithPrefix creates new GenreArtistTable with assigned table prefix

func (GenreArtistTable) WithSuffix

func (a GenreArtistTable) WithSuffix(suffix string) *GenreArtistTable

WithSuffix creates new GenreArtistTable with assigned table suffix

type GenreTable

type GenreTable struct {
	EXCLUDED genreTable
	// contains filtered or unexported fields
}

func (GenreTable) AS

func (a GenreTable) AS(alias string) *GenreTable

AS creates new GenreTable with assigned alias

func (GenreTable) FromSchema

func (a GenreTable) FromSchema(schemaName string) *GenreTable

Schema creates new GenreTable with assigned schema name

func (GenreTable) WithPrefix

func (a GenreTable) WithPrefix(prefix string) *GenreTable

WithPrefix creates new GenreTable with assigned table prefix

func (GenreTable) WithSuffix

func (a GenreTable) WithSuffix(suffix string) *GenreTable

WithSuffix creates new GenreTable with assigned table suffix

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL