table

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Gallery = newGalleryTable("", "gallery", "")
View Source
var GalleryPref = newGalleryPrefTable("", "gallery_pref", "")
View Source
var GalleryTag = newGalleryTagTable("", "gallery_tag", "")
View Source
var GooseDbVersion = newGooseDbVersionTable("", "goose_db_version", "")
View Source
var Library = newLibraryTable("", "library", "")
View Source
var Reference = newReferenceTable("", "reference", "")
View Source
var Session = newSessionTable("", "session", "")
View Source
var Tag = newTagTable("", "tag", "")
View Source
var User = newUserTable("", "user", "")

Functions

func UseSchema added in v0.7.0

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 GalleryPrefTable

type GalleryPrefTable struct {
	EXCLUDED galleryPrefTable
	// contains filtered or unexported fields
}

func (GalleryPrefTable) AS

AS creates new GalleryPrefTable with assigned alias

func (GalleryPrefTable) FromSchema

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

Schema creates new GalleryPrefTable with assigned schema name

func (GalleryPrefTable) WithPrefix added in v0.7.0

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

WithPrefix creates new GalleryPrefTable with assigned table prefix

func (GalleryPrefTable) WithSuffix added in v0.7.0

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

WithSuffix creates new GalleryPrefTable with assigned table suffix

type GalleryTable

type GalleryTable struct {
	EXCLUDED galleryTable
	// contains filtered or unexported fields
}

func (GalleryTable) AS

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

AS creates new GalleryTable with assigned alias

func (GalleryTable) FromSchema

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

Schema creates new GalleryTable with assigned schema name

func (GalleryTable) WithPrefix added in v0.7.0

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

WithPrefix creates new GalleryTable with assigned table prefix

func (GalleryTable) WithSuffix added in v0.7.0

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

WithSuffix creates new GalleryTable with assigned table suffix

type GalleryTagTable

type GalleryTagTable struct {
	EXCLUDED galleryTagTable
	// contains filtered or unexported fields
}

func (GalleryTagTable) AS

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

AS creates new GalleryTagTable with assigned alias

func (GalleryTagTable) FromSchema

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

Schema creates new GalleryTagTable with assigned schema name

func (GalleryTagTable) WithPrefix added in v0.7.0

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

WithPrefix creates new GalleryTagTable with assigned table prefix

func (GalleryTagTable) WithSuffix added in v0.7.0

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

WithSuffix creates new GalleryTagTable with assigned table suffix

type GooseDbVersionTable

type GooseDbVersionTable struct {
	EXCLUDED gooseDbVersionTable
	// contains filtered or unexported fields
}

func (GooseDbVersionTable) AS

AS creates new GooseDbVersionTable with assigned alias

func (GooseDbVersionTable) FromSchema

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

Schema creates new GooseDbVersionTable with assigned schema name

func (GooseDbVersionTable) WithPrefix added in v0.7.0

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

WithPrefix creates new GooseDbVersionTable with assigned table prefix

func (GooseDbVersionTable) WithSuffix added in v0.7.0

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

WithSuffix creates new GooseDbVersionTable with assigned table suffix

type LibraryTable

type LibraryTable struct {
	EXCLUDED libraryTable
	// contains filtered or unexported fields
}

func (LibraryTable) AS

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

AS creates new LibraryTable with assigned alias

func (LibraryTable) FromSchema

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

Schema creates new LibraryTable with assigned schema name

func (LibraryTable) WithPrefix added in v0.7.0

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

WithPrefix creates new LibraryTable with assigned table prefix

func (LibraryTable) WithSuffix added in v0.7.0

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

WithSuffix creates new LibraryTable with assigned table suffix

type ReferenceTable

type ReferenceTable struct {
	EXCLUDED referenceTable
	// contains filtered or unexported fields
}

func (ReferenceTable) AS

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

AS creates new ReferenceTable with assigned alias

func (ReferenceTable) FromSchema

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

Schema creates new ReferenceTable with assigned schema name

func (ReferenceTable) WithPrefix added in v0.7.0

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

WithPrefix creates new ReferenceTable with assigned table prefix

func (ReferenceTable) WithSuffix added in v0.7.0

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

WithSuffix creates new ReferenceTable with assigned table suffix

type SessionTable

type SessionTable struct {
	EXCLUDED sessionTable
	// contains filtered or unexported fields
}

func (SessionTable) AS

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

AS creates new SessionTable with assigned alias

func (SessionTable) FromSchema

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

Schema creates new SessionTable with assigned schema name

func (SessionTable) WithPrefix added in v0.7.0

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

WithPrefix creates new SessionTable with assigned table prefix

func (SessionTable) WithSuffix added in v0.7.0

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

WithSuffix creates new SessionTable with assigned table suffix

type TagTable

type TagTable struct {
	EXCLUDED tagTable
	// contains filtered or unexported fields
}

func (TagTable) AS

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

AS creates new TagTable with assigned alias

func (TagTable) FromSchema

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

Schema creates new TagTable with assigned schema name

func (TagTable) WithPrefix added in v0.7.0

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

WithPrefix creates new TagTable with assigned table prefix

func (TagTable) WithSuffix added in v0.7.0

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

WithSuffix creates new TagTable with assigned table suffix

type UserTable

type UserTable struct {
	EXCLUDED userTable
	// contains filtered or unexported fields
}

func (UserTable) AS

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

AS creates new UserTable with assigned alias

func (UserTable) FromSchema

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

Schema creates new UserTable with assigned schema name

func (UserTable) WithPrefix added in v0.7.0

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

WithPrefix creates new UserTable with assigned table prefix

func (UserTable) WithSuffix added in v0.7.0

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

WithSuffix creates new UserTable with assigned table suffix

Jump to

Keyboard shortcuts

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