Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var APITokens = newAPITokensTable("public", "api_tokens", "")
var Customers = newCustomersTable("public", "customers", "")
var Orders = newOrdersTable("public", "orders", "")
Functions ¶
Types ¶
type APITokensTable ¶
type APITokensTable struct {
EXCLUDED aPITokensTable
// contains filtered or unexported fields
}
func (APITokensTable) AS ¶
func (a APITokensTable) AS(alias string) *APITokensTable
AS creates new APITokensTable with assigned alias
func (APITokensTable) FromSchema ¶
func (a APITokensTable) FromSchema(schemaName string) *APITokensTable
Schema creates new APITokensTable with assigned schema name
func (APITokensTable) WithPrefix ¶
func (a APITokensTable) WithPrefix(prefix string) *APITokensTable
WithPrefix creates new APITokensTable with assigned table prefix
func (APITokensTable) WithSuffix ¶
func (a APITokensTable) WithSuffix(suffix string) *APITokensTable
WithSuffix creates new APITokensTable with assigned table suffix
type CustomersTable ¶
type CustomersTable struct {
EXCLUDED customersTable
// contains filtered or unexported fields
}
func (CustomersTable) AS ¶
func (a CustomersTable) AS(alias string) *CustomersTable
AS creates new CustomersTable with assigned alias
func (CustomersTable) FromSchema ¶
func (a CustomersTable) FromSchema(schemaName string) *CustomersTable
Schema creates new CustomersTable with assigned schema name
func (CustomersTable) WithPrefix ¶
func (a CustomersTable) WithPrefix(prefix string) *CustomersTable
WithPrefix creates new CustomersTable with assigned table prefix
func (CustomersTable) WithSuffix ¶
func (a CustomersTable) WithSuffix(suffix string) *CustomersTable
WithSuffix creates new CustomersTable with assigned table suffix
type OrdersTable ¶
type OrdersTable struct {
EXCLUDED ordersTable
// contains filtered or unexported fields
}
func (OrdersTable) AS ¶
func (a OrdersTable) AS(alias string) *OrdersTable
AS creates new OrdersTable with assigned alias
func (OrdersTable) FromSchema ¶
func (a OrdersTable) FromSchema(schemaName string) *OrdersTable
Schema creates new OrdersTable with assigned schema name
func (OrdersTable) WithPrefix ¶
func (a OrdersTable) WithPrefix(prefix string) *OrdersTable
WithPrefix creates new OrdersTable with assigned table prefix
func (OrdersTable) WithSuffix ¶
func (a OrdersTable) WithSuffix(suffix string) *OrdersTable
WithSuffix creates new OrdersTable with assigned table suffix