table

package
v0.0.0-...-4a53787 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Actor = newActorTable("", "actor", "")
View Source
var Address = newAddressTable("", "address", "")
View Source
var Category = newCategoryTable("", "category", "")
View Source
var City = newCityTable("", "city", "")
View Source
var Country = newCountryTable("", "country", "")
View Source
var Customer = newCustomerTable("", "customer", "")
View Source
var Film = newFilmTable("", "film", "")
View Source
var FilmActor = newFilmActorTable("", "film_actor", "")
View Source
var FilmCategory = newFilmCategoryTable("", "film_category", "")
View Source
var FilmText = newFilmTextTable("", "film_text", "")
View Source
var Inventory = newInventoryTable("", "inventory", "")
View Source
var Language = newLanguageTable("", "language", "")
View Source
var Payment = newPaymentTable("", "payment", "")
View Source
var Rental = newRentalTable("", "rental", "")
View Source
var Staff = newStaffTable("", "staff", "")
View Source
var Store = newStoreTable("", "store", "")

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 ActorTable

type ActorTable struct {
	EXCLUDED actorTable
	// contains filtered or unexported fields
}

func (ActorTable) AS

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

AS creates new ActorTable with assigned alias

func (ActorTable) FromSchema

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

Schema creates new ActorTable with assigned schema name

func (ActorTable) WithPrefix

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

WithPrefix creates new ActorTable with assigned table prefix

func (ActorTable) WithSuffix

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

WithSuffix creates new ActorTable with assigned table suffix

type AddressTable

type AddressTable struct {
	EXCLUDED addressTable
	// contains filtered or unexported fields
}

func (AddressTable) AS

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

AS creates new AddressTable with assigned alias

func (AddressTable) FromSchema

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

Schema creates new AddressTable with assigned schema name

func (AddressTable) WithPrefix

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

WithPrefix creates new AddressTable with assigned table prefix

func (AddressTable) WithSuffix

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

WithSuffix creates new AddressTable with assigned table suffix

type CategoryTable

type CategoryTable struct {
	EXCLUDED categoryTable
	// contains filtered or unexported fields
}

func (CategoryTable) AS

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

AS creates new CategoryTable with assigned alias

func (CategoryTable) FromSchema

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

Schema creates new CategoryTable with assigned schema name

func (CategoryTable) WithPrefix

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

WithPrefix creates new CategoryTable with assigned table prefix

func (CategoryTable) WithSuffix

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

WithSuffix creates new CategoryTable with assigned table suffix

type CityTable

type CityTable struct {
	EXCLUDED cityTable
	// contains filtered or unexported fields
}

func (CityTable) AS

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

AS creates new CityTable with assigned alias

func (CityTable) FromSchema

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

Schema creates new CityTable with assigned schema name

func (CityTable) WithPrefix

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

WithPrefix creates new CityTable with assigned table prefix

func (CityTable) WithSuffix

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

WithSuffix creates new CityTable with assigned table suffix

type CountryTable

type CountryTable struct {
	EXCLUDED countryTable
	// contains filtered or unexported fields
}

func (CountryTable) AS

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

AS creates new CountryTable with assigned alias

func (CountryTable) FromSchema

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

Schema creates new CountryTable with assigned schema name

func (CountryTable) WithPrefix

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

WithPrefix creates new CountryTable with assigned table prefix

func (CountryTable) WithSuffix

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

WithSuffix creates new CountryTable with assigned table suffix

type CustomerTable

type CustomerTable struct {
	EXCLUDED customerTable
	// contains filtered or unexported fields
}

func (CustomerTable) AS

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

AS creates new CustomerTable with assigned alias

func (CustomerTable) FromSchema

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

Schema creates new CustomerTable with assigned schema name

func (CustomerTable) WithPrefix

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

WithPrefix creates new CustomerTable with assigned table prefix

func (CustomerTable) WithSuffix

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

WithSuffix creates new CustomerTable with assigned table suffix

type FilmActorTable

type FilmActorTable struct {
	EXCLUDED filmActorTable
	// contains filtered or unexported fields
}

func (FilmActorTable) AS

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

AS creates new FilmActorTable with assigned alias

func (FilmActorTable) FromSchema

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

Schema creates new FilmActorTable with assigned schema name

func (FilmActorTable) WithPrefix

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

WithPrefix creates new FilmActorTable with assigned table prefix

func (FilmActorTable) WithSuffix

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

WithSuffix creates new FilmActorTable with assigned table suffix

type FilmCategoryTable

type FilmCategoryTable struct {
	EXCLUDED filmCategoryTable
	// contains filtered or unexported fields
}

func (FilmCategoryTable) AS

AS creates new FilmCategoryTable with assigned alias

func (FilmCategoryTable) FromSchema

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

Schema creates new FilmCategoryTable with assigned schema name

func (FilmCategoryTable) WithPrefix

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

WithPrefix creates new FilmCategoryTable with assigned table prefix

func (FilmCategoryTable) WithSuffix

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

WithSuffix creates new FilmCategoryTable with assigned table suffix

type FilmTable

type FilmTable struct {
	EXCLUDED filmTable
	// contains filtered or unexported fields
}

func (FilmTable) AS

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

AS creates new FilmTable with assigned alias

func (FilmTable) FromSchema

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

Schema creates new FilmTable with assigned schema name

func (FilmTable) WithPrefix

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

WithPrefix creates new FilmTable with assigned table prefix

func (FilmTable) WithSuffix

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

WithSuffix creates new FilmTable with assigned table suffix

type FilmTextTable

type FilmTextTable struct {
	EXCLUDED filmTextTable
	// contains filtered or unexported fields
}

func (FilmTextTable) AS

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

AS creates new FilmTextTable with assigned alias

func (FilmTextTable) FromSchema

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

Schema creates new FilmTextTable with assigned schema name

func (FilmTextTable) WithPrefix

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

WithPrefix creates new FilmTextTable with assigned table prefix

func (FilmTextTable) WithSuffix

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

WithSuffix creates new FilmTextTable with assigned table suffix

type InventoryTable

type InventoryTable struct {
	EXCLUDED inventoryTable
	// contains filtered or unexported fields
}

func (InventoryTable) AS

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

AS creates new InventoryTable with assigned alias

func (InventoryTable) FromSchema

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

Schema creates new InventoryTable with assigned schema name

func (InventoryTable) WithPrefix

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

WithPrefix creates new InventoryTable with assigned table prefix

func (InventoryTable) WithSuffix

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

WithSuffix creates new InventoryTable with assigned table suffix

type LanguageTable

type LanguageTable struct {
	EXCLUDED languageTable
	// contains filtered or unexported fields
}

func (LanguageTable) AS

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

AS creates new LanguageTable with assigned alias

func (LanguageTable) FromSchema

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

Schema creates new LanguageTable with assigned schema name

func (LanguageTable) WithPrefix

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

WithPrefix creates new LanguageTable with assigned table prefix

func (LanguageTable) WithSuffix

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

WithSuffix creates new LanguageTable with assigned table suffix

type PaymentTable

type PaymentTable struct {
	EXCLUDED paymentTable
	// contains filtered or unexported fields
}

func (PaymentTable) AS

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

AS creates new PaymentTable with assigned alias

func (PaymentTable) FromSchema

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

Schema creates new PaymentTable with assigned schema name

func (PaymentTable) WithPrefix

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

WithPrefix creates new PaymentTable with assigned table prefix

func (PaymentTable) WithSuffix

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

WithSuffix creates new PaymentTable with assigned table suffix

type RentalTable

type RentalTable struct {
	EXCLUDED rentalTable
	// contains filtered or unexported fields
}

func (RentalTable) AS

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

AS creates new RentalTable with assigned alias

func (RentalTable) FromSchema

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

Schema creates new RentalTable with assigned schema name

func (RentalTable) WithPrefix

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

WithPrefix creates new RentalTable with assigned table prefix

func (RentalTable) WithSuffix

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

WithSuffix creates new RentalTable with assigned table suffix

type StaffTable

type StaffTable struct {
	EXCLUDED staffTable
	// contains filtered or unexported fields
}

func (StaffTable) AS

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

AS creates new StaffTable with assigned alias

func (StaffTable) FromSchema

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

Schema creates new StaffTable with assigned schema name

func (StaffTable) WithPrefix

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

WithPrefix creates new StaffTable with assigned table prefix

func (StaffTable) WithSuffix

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

WithSuffix creates new StaffTable with assigned table suffix

type StoreTable

type StoreTable struct {
	EXCLUDED storeTable
	// contains filtered or unexported fields
}

func (StoreTable) AS

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

AS creates new StoreTable with assigned alias

func (StoreTable) FromSchema

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

Schema creates new StoreTable with assigned schema name

func (StoreTable) WithPrefix

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

WithPrefix creates new StoreTable with assigned table prefix

func (StoreTable) WithSuffix

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

WithSuffix creates new StoreTable with assigned table suffix

Jump to

Keyboard shortcuts

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