models

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

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

Go to latest
Published: Dec 30, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AdditiveColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Name      string
	Note      string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Name:      "name",
	Note:      "note",
}
View Source
var AdditiveInventoryColumns = struct {
	ID           string
	CreatedAt    string
	UpdatedAt    string
	DeletedAt    string
	PurchaseDate string
	ExpiryDate   string
	Cost         string
	Weight       string
	AdditiveID   string
	SupplierID   string
}{
	ID:           "id",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
	DeletedAt:    "deleted_at",
	PurchaseDate: "purchase_date",
	ExpiryDate:   "expiry_date",
	Cost:         "cost",
	Weight:       "weight",
	AdditiveID:   "additive_id",
	SupplierID:   "supplier_id",
}
View Source
var AdditiveInventoryRels = struct {
	Additive string
	Supplier string
}{
	Additive: "Additive",
	Supplier: "Supplier",
}

AdditiveInventoryRels is where relationship names are stored.

View Source
var AdditiveInventoryWhere = struct {
	ID           whereHelperint
	CreatedAt    whereHelpertime_Time
	UpdatedAt    whereHelpertime_Time
	DeletedAt    whereHelpernull_Time
	PurchaseDate whereHelpertime_Time
	ExpiryDate   whereHelpertime_Time
	Cost         whereHelperfloat64
	Weight       whereHelperfloat64
	AdditiveID   whereHelperint
	SupplierID   whereHelperint
}{
	ID:           whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
	PurchaseDate: whereHelpertime_Time{/* contains filtered or unexported fields */},
	ExpiryDate:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	Cost:         whereHelperfloat64{/* contains filtered or unexported fields */},
	Weight:       whereHelperfloat64{/* contains filtered or unexported fields */},
	AdditiveID:   whereHelperint{/* contains filtered or unexported fields */},
	SupplierID:   whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var AdditiveRels = struct {
	RecipeAdditive      string
	RecipeBatchAdditive string
	AdditiveInventories string
}{
	RecipeAdditive:      "RecipeAdditive",
	RecipeBatchAdditive: "RecipeBatchAdditive",
	AdditiveInventories: "AdditiveInventories",
}

AdditiveRels is where relationship names are stored.

View Source
var AdditiveWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Name      whereHelperstring
	Note      whereHelperstring
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Note:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var AuthGroupColumns = struct {
	ID   string
	Name string
}{
	ID:   "id",
	Name: "name",
}
View Source
var AuthGroupPermissionColumns = struct {
	ID           string
	GroupID      string
	PermissionID string
}{
	ID:           "id",
	GroupID:      "group_id",
	PermissionID: "permission_id",
}
View Source
var AuthGroupPermissionRels = struct {
	Permission string
	Group      string
}{
	Permission: "Permission",
	Group:      "Group",
}

AuthGroupPermissionRels is where relationship names are stored.

View Source
var AuthGroupPermissionWhere = struct {
	ID           whereHelperint
	GroupID      whereHelperint
	PermissionID whereHelperint
}{
	ID:           whereHelperint{/* contains filtered or unexported fields */},
	GroupID:      whereHelperint{/* contains filtered or unexported fields */},
	PermissionID: whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var AuthGroupRels = struct {
	GroupAuthGroupPermissions string
	GroupAuthUserGroups       string
}{
	GroupAuthGroupPermissions: "GroupAuthGroupPermissions",
	GroupAuthUserGroups:       "GroupAuthUserGroups",
}

AuthGroupRels is where relationship names are stored.

View Source
var AuthGroupWhere = struct {
	ID   whereHelperint
	Name whereHelperstring
}{
	ID:   whereHelperint{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var AuthPermissionColumns = struct {
	ID            string
	Name          string
	ContentTypeID string
	Codename      string
}{
	ID:            "id",
	Name:          "name",
	ContentTypeID: "content_type_id",
	Codename:      "codename",
}
View Source
var AuthPermissionRels = struct {
	PermissionAuthGroupPermissions    string
	PermissionAuthUserUserPermissions string
}{
	PermissionAuthGroupPermissions:    "PermissionAuthGroupPermissions",
	PermissionAuthUserUserPermissions: "PermissionAuthUserUserPermissions",
}

AuthPermissionRels is where relationship names are stored.

View Source
var AuthPermissionWhere = struct {
	ID            whereHelperint
	Name          whereHelperstring
	ContentTypeID whereHelperint
	Codename      whereHelperstring
}{
	ID:            whereHelperint{/* contains filtered or unexported fields */},
	Name:          whereHelperstring{/* contains filtered or unexported fields */},
	ContentTypeID: whereHelperint{/* contains filtered or unexported fields */},
	Codename:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var AuthUserColumns = struct {
	ID          string
	Password    string
	LastLogin   string
	IsSuperuser string
	Username    string
	FirstName   string
	LastName    string
	Email       string
	IsStaff     string
	IsActive    string
	DateJoined  string
}{
	ID:          "id",
	Password:    "password",
	LastLogin:   "last_login",
	IsSuperuser: "is_superuser",
	Username:    "username",
	FirstName:   "first_name",
	LastName:    "last_name",
	Email:       "email",
	IsStaff:     "is_staff",
	IsActive:    "is_active",
	DateJoined:  "date_joined",
}
View Source
var AuthUserGroupColumns = struct {
	ID      string
	UserID  string
	GroupID string
}{
	ID:      "id",
	UserID:  "user_id",
	GroupID: "group_id",
}
View Source
var AuthUserGroupRels = struct {
	Group string
	User  string
}{
	Group: "Group",
	User:  "User",
}

AuthUserGroupRels is where relationship names are stored.

View Source
var AuthUserGroupWhere = struct {
	ID      whereHelperint
	UserID  whereHelperint
	GroupID whereHelperint
}{
	ID:      whereHelperint{/* contains filtered or unexported fields */},
	UserID:  whereHelperint{/* contains filtered or unexported fields */},
	GroupID: whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var AuthUserRels = struct {
	UserAuthUserGroups          string
	UserAuthUserUserPermissions string
}{
	UserAuthUserGroups:          "UserAuthUserGroups",
	UserAuthUserUserPermissions: "UserAuthUserUserPermissions",
}

AuthUserRels is where relationship names are stored.

View Source
var AuthUserUserPermissionColumns = struct {
	ID           string
	UserID       string
	PermissionID string
}{
	ID:           "id",
	UserID:       "user_id",
	PermissionID: "permission_id",
}
View Source
var AuthUserUserPermissionRels = struct {
	Permission string
	User       string
}{
	Permission: "Permission",
	User:       "User",
}

AuthUserUserPermissionRels is where relationship names are stored.

View Source
var AuthUserUserPermissionWhere = struct {
	ID           whereHelperint
	UserID       whereHelperint
	PermissionID whereHelperint
}{
	ID:           whereHelperint{/* contains filtered or unexported fields */},
	UserID:       whereHelperint{/* contains filtered or unexported fields */},
	PermissionID: whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var AuthUserWhere = struct {
	ID          whereHelperint
	Password    whereHelperstring
	LastLogin   whereHelpernull_Time
	IsSuperuser whereHelperbool
	Username    whereHelperstring
	FirstName   whereHelperstring
	LastName    whereHelperstring
	Email       whereHelperstring
	IsStaff     whereHelperbool
	IsActive    whereHelperbool
	DateJoined  whereHelpertime_Time
}{
	ID:          whereHelperint{/* contains filtered or unexported fields */},
	Password:    whereHelperstring{/* contains filtered or unexported fields */},
	LastLogin:   whereHelpernull_Time{/* contains filtered or unexported fields */},
	IsSuperuser: whereHelperbool{/* contains filtered or unexported fields */},
	Username:    whereHelperstring{/* contains filtered or unexported fields */},
	FirstName:   whereHelperstring{/* contains filtered or unexported fields */},
	LastName:    whereHelperstring{/* contains filtered or unexported fields */},
	Email:       whereHelperstring{/* contains filtered or unexported fields */},
	IsStaff:     whereHelperbool{/* contains filtered or unexported fields */},
	IsActive:    whereHelperbool{/* contains filtered or unexported fields */},
	DateJoined:  whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")

ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.

View Source
var FragranceColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Name      string
	Note      string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Name:      "name",
	Note:      "note",
}
View Source
var FragranceInventoryColumns = struct {
	ID           string
	CreatedAt    string
	UpdatedAt    string
	DeletedAt    string
	PurchaseDate string
	ExpiryDate   string
	Cost         string
	Weight       string
	FragranceID  string
	SupplierID   string
}{
	ID:           "id",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
	DeletedAt:    "deleted_at",
	PurchaseDate: "purchase_date",
	ExpiryDate:   "expiry_date",
	Cost:         "cost",
	Weight:       "weight",
	FragranceID:  "fragrance_id",
	SupplierID:   "supplier_id",
}
View Source
var FragranceInventoryRels = struct {
	Fragrance string
	Supplier  string
}{
	Fragrance: "Fragrance",
	Supplier:  "Supplier",
}

FragranceInventoryRels is where relationship names are stored.

View Source
var FragranceInventoryWhere = struct {
	ID           whereHelperint
	CreatedAt    whereHelpertime_Time
	UpdatedAt    whereHelpertime_Time
	DeletedAt    whereHelpernull_Time
	PurchaseDate whereHelpertime_Time
	ExpiryDate   whereHelpertime_Time
	Cost         whereHelperfloat64
	Weight       whereHelperfloat64
	FragranceID  whereHelperint
	SupplierID   whereHelperint
}{
	ID:           whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
	PurchaseDate: whereHelpertime_Time{/* contains filtered or unexported fields */},
	ExpiryDate:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	Cost:         whereHelperfloat64{/* contains filtered or unexported fields */},
	Weight:       whereHelperfloat64{/* contains filtered or unexported fields */},
	FragranceID:  whereHelperint{/* contains filtered or unexported fields */},
	SupplierID:   whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var FragranceRels = struct {
	RecipeBatchFragrance string
	RecipeFragrance      string
	FragranceInventories string
}{
	RecipeBatchFragrance: "RecipeBatchFragrance",
	RecipeFragrance:      "RecipeFragrance",
	FragranceInventories: "FragranceInventories",
}

FragranceRels is where relationship names are stored.

View Source
var FragranceWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Name      whereHelperstring
	Note      whereHelperstring
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Note:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var LipidColumns = struct {
	ID           string
	CreatedAt    string
	UpdatedAt    string
	DeletedAt    string
	Name         string
	Lauric       string
	Myristic     string
	Palmitic     string
	Stearic      string
	Ricinoleic   string
	Oleic        string
	Linoleic     string
	Linolenic    string
	Hardness     string
	Cleansing    string
	Conditioning string
	Bubbly       string
	Creamy       string
	Iodine       string
	Ins          string
	InciName     string
	Family       string
	Naoh         string
}{
	ID:           "id",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
	DeletedAt:    "deleted_at",
	Name:         "name",
	Lauric:       "lauric",
	Myristic:     "myristic",
	Palmitic:     "palmitic",
	Stearic:      "stearic",
	Ricinoleic:   "ricinoleic",
	Oleic:        "oleic",
	Linoleic:     "linoleic",
	Linolenic:    "linolenic",
	Hardness:     "hardness",
	Cleansing:    "cleansing",
	Conditioning: "conditioning",
	Bubbly:       "bubbly",
	Creamy:       "creamy",
	Iodine:       "iodine",
	Ins:          "ins",
	InciName:     "inci_name",
	Family:       "family",
	Naoh:         "naoh",
}
View Source
var LipidInventoryColumns = struct {
	ID            string
	CreatedAt     string
	UpdatedAt     string
	DeletedAt     string
	PurchaseDate  string
	ExpiryDate    string
	Cost          string
	Weight        string
	Sap           string
	Naoh          string
	Koh           string
	GramsPerLiter string
	LipidID       string
	SupplierID    string
}{
	ID:            "id",
	CreatedAt:     "created_at",
	UpdatedAt:     "updated_at",
	DeletedAt:     "deleted_at",
	PurchaseDate:  "purchase_date",
	ExpiryDate:    "expiry_date",
	Cost:          "cost",
	Weight:        "weight",
	Sap:           "sap",
	Naoh:          "naoh",
	Koh:           "koh",
	GramsPerLiter: "grams_per_liter",
	LipidID:       "lipid_id",
	SupplierID:    "supplier_id",
}
View Source
var LipidInventoryRels = struct {
	Lipid    string
	Supplier string
}{
	Lipid:    "Lipid",
	Supplier: "Supplier",
}

LipidInventoryRels is where relationship names are stored.

View Source
var LipidInventoryWhere = struct {
	ID            whereHelperint
	CreatedAt     whereHelpertime_Time
	UpdatedAt     whereHelpertime_Time
	DeletedAt     whereHelpernull_Time
	PurchaseDate  whereHelpertime_Time
	ExpiryDate    whereHelpertime_Time
	Cost          whereHelperfloat64
	Weight        whereHelperfloat64
	Sap           whereHelperfloat64
	Naoh          whereHelperfloat64
	Koh           whereHelperfloat64
	GramsPerLiter whereHelperfloat64
	LipidID       whereHelperint
	SupplierID    whereHelperint
}{
	ID:            whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:     whereHelpernull_Time{/* contains filtered or unexported fields */},
	PurchaseDate:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	ExpiryDate:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	Cost:          whereHelperfloat64{/* contains filtered or unexported fields */},
	Weight:        whereHelperfloat64{/* contains filtered or unexported fields */},
	Sap:           whereHelperfloat64{/* contains filtered or unexported fields */},
	Naoh:          whereHelperfloat64{/* contains filtered or unexported fields */},
	Koh:           whereHelperfloat64{/* contains filtered or unexported fields */},
	GramsPerLiter: whereHelperfloat64{/* contains filtered or unexported fields */},
	LipidID:       whereHelperint{/* contains filtered or unexported fields */},
	SupplierID:    whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var LipidRels = struct {
	RecipeBatchLipid string
	RecipeLipid      string
	LipidInventories string
}{
	RecipeBatchLipid: "RecipeBatchLipid",
	RecipeLipid:      "RecipeLipid",
	LipidInventories: "LipidInventories",
}

LipidRels is where relationship names are stored.

View Source
var LipidWhere = struct {
	ID           whereHelperint
	CreatedAt    whereHelpertime_Time
	UpdatedAt    whereHelpertime_Time
	DeletedAt    whereHelpernull_Time
	Name         whereHelperstring
	Lauric       whereHelperint
	Myristic     whereHelperint
	Palmitic     whereHelperint
	Stearic      whereHelperint
	Ricinoleic   whereHelperint
	Oleic        whereHelperint
	Linoleic     whereHelperint
	Linolenic    whereHelperint
	Hardness     whereHelperint
	Cleansing    whereHelperint
	Conditioning whereHelperint
	Bubbly       whereHelperint
	Creamy       whereHelperint
	Iodine       whereHelperint
	Ins          whereHelperint
	InciName     whereHelperstring
	Family       whereHelperstring
	Naoh         whereHelperfloat64
}{
	ID:           whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:    whereHelpernull_Time{/* contains filtered or unexported fields */},
	Name:         whereHelperstring{/* contains filtered or unexported fields */},
	Lauric:       whereHelperint{/* contains filtered or unexported fields */},
	Myristic:     whereHelperint{/* contains filtered or unexported fields */},
	Palmitic:     whereHelperint{/* contains filtered or unexported fields */},
	Stearic:      whereHelperint{/* contains filtered or unexported fields */},
	Ricinoleic:   whereHelperint{/* contains filtered or unexported fields */},
	Oleic:        whereHelperint{/* contains filtered or unexported fields */},
	Linoleic:     whereHelperint{/* contains filtered or unexported fields */},
	Linolenic:    whereHelperint{/* contains filtered or unexported fields */},
	Hardness:     whereHelperint{/* contains filtered or unexported fields */},
	Cleansing:    whereHelperint{/* contains filtered or unexported fields */},
	Conditioning: whereHelperint{/* contains filtered or unexported fields */},
	Bubbly:       whereHelperint{/* contains filtered or unexported fields */},
	Creamy:       whereHelperint{/* contains filtered or unexported fields */},
	Iodine:       whereHelperint{/* contains filtered or unexported fields */},
	Ins:          whereHelperint{/* contains filtered or unexported fields */},
	InciName:     whereHelperstring{/* contains filtered or unexported fields */},
	Family:       whereHelperstring{/* contains filtered or unexported fields */},
	Naoh:         whereHelperfloat64{/* contains filtered or unexported fields */},
}
View Source
var LyeColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Kind      string
	Name      string
	Note      string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Kind:      "kind",
	Name:      "name",
	Note:      "note",
}
View Source
var LyeInventoryColumns = struct {
	ID            string
	CreatedAt     string
	UpdatedAt     string
	DeletedAt     string
	PurchaseDate  string
	ExpiryDate    string
	Cost          string
	Weight        string
	Concentration string
	LyeID         string
	SupplierID    string
}{
	ID:            "id",
	CreatedAt:     "created_at",
	UpdatedAt:     "updated_at",
	DeletedAt:     "deleted_at",
	PurchaseDate:  "purchase_date",
	ExpiryDate:    "expiry_date",
	Cost:          "cost",
	Weight:        "weight",
	Concentration: "concentration",
	LyeID:         "lye_id",
	SupplierID:    "supplier_id",
}
View Source
var LyeInventoryRels = struct {
	Lye      string
	Supplier string
}{
	Lye:      "Lye",
	Supplier: "Supplier",
}

LyeInventoryRels is where relationship names are stored.

View Source
var LyeInventoryWhere = struct {
	ID            whereHelperint
	CreatedAt     whereHelpertime_Time
	UpdatedAt     whereHelpertime_Time
	DeletedAt     whereHelpernull_Time
	PurchaseDate  whereHelpertime_Time
	ExpiryDate    whereHelpertime_Time
	Cost          whereHelperfloat64
	Weight        whereHelperfloat64
	Concentration whereHelperfloat64
	LyeID         whereHelperint
	SupplierID    whereHelperint
}{
	ID:            whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:     whereHelpernull_Time{/* contains filtered or unexported fields */},
	PurchaseDate:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	ExpiryDate:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	Cost:          whereHelperfloat64{/* contains filtered or unexported fields */},
	Weight:        whereHelperfloat64{/* contains filtered or unexported fields */},
	Concentration: whereHelperfloat64{/* contains filtered or unexported fields */},
	LyeID:         whereHelperint{/* contains filtered or unexported fields */},
	SupplierID:    whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var LyeRels = struct {
	RecipeBatchLye string
	LyeInventories string
}{
	RecipeBatchLye: "RecipeBatchLye",
	LyeInventories: "LyeInventories",
}

LyeRels is where relationship names are stored.

View Source
var LyeWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Kind      whereHelperstring
	Name      whereHelperstring
	Note      whereHelperstring
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Kind:      whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Note:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var RecipeAdditiveColumns = struct {
	ID         string
	CreatedAt  string
	UpdatedAt  string
	DeletedAt  string
	Percentage string
	AdditiveID string
	RecipeID   string
}{
	ID:         "id",
	CreatedAt:  "created_at",
	UpdatedAt:  "updated_at",
	DeletedAt:  "deleted_at",
	Percentage: "percentage",
	AdditiveID: "additive_id",
	RecipeID:   "recipe_id",
}
View Source
var RecipeAdditiveRels = struct {
	Additive string
	Recipe   string
}{
	Additive: "Additive",
	Recipe:   "Recipe",
}

RecipeAdditiveRels is where relationship names are stored.

View Source
var RecipeAdditiveWhere = struct {
	ID         whereHelperint
	CreatedAt  whereHelpertime_Time
	UpdatedAt  whereHelpertime_Time
	DeletedAt  whereHelpernull_Time
	Percentage whereHelperfloat64
	AdditiveID whereHelperint
	RecipeID   whereHelperint
}{
	ID:         whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:  whereHelpernull_Time{/* contains filtered or unexported fields */},
	Percentage: whereHelperfloat64{/* contains filtered or unexported fields */},
	AdditiveID: whereHelperint{/* contains filtered or unexported fields */},
	RecipeID:   whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeBatchAdditiveColumns = struct {
	ID         string
	CreatedAt  string
	UpdatedAt  string
	DeletedAt  string
	Weight     string
	Cost       string
	AdditiveID string
	BatchID    string
}{
	ID:         "id",
	CreatedAt:  "created_at",
	UpdatedAt:  "updated_at",
	DeletedAt:  "deleted_at",
	Weight:     "weight",
	Cost:       "cost",
	AdditiveID: "additive_id",
	BatchID:    "batch_id",
}
View Source
var RecipeBatchAdditiveRels = struct {
	Additive string
	Batch    string
}{
	Additive: "Additive",
	Batch:    "Batch",
}

RecipeBatchAdditiveRels is where relationship names are stored.

View Source
var RecipeBatchAdditiveWhere = struct {
	ID         whereHelperint
	CreatedAt  whereHelpertime_Time
	UpdatedAt  whereHelpertime_Time
	DeletedAt  whereHelpernull_Time
	Weight     whereHelperfloat64
	Cost       whereHelperfloat64
	AdditiveID whereHelperint
	BatchID    whereHelperint
}{
	ID:         whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:  whereHelpernull_Time{/* contains filtered or unexported fields */},
	Weight:     whereHelperfloat64{/* contains filtered or unexported fields */},
	Cost:       whereHelperfloat64{/* contains filtered or unexported fields */},
	AdditiveID: whereHelperint{/* contains filtered or unexported fields */},
	BatchID:    whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeBatchColumns = struct {
	ID               string
	CreatedAt        string
	UpdatedAt        string
	DeletedAt        string
	Tag              string
	ProductionDate   string
	SellableDate     string
	Note             string
	LipidWeight      string
	ProductionWeight string
	CuredWeight      string
	RecipeID         string
}{
	ID:               "id",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
	DeletedAt:        "deleted_at",
	Tag:              "tag",
	ProductionDate:   "production_date",
	SellableDate:     "sellable_date",
	Note:             "note",
	LipidWeight:      "lipid_weight",
	ProductionWeight: "production_weight",
	CuredWeight:      "cured_weight",
	RecipeID:         "recipe_id",
}
View Source
var RecipeBatchFragranceColumns = struct {
	ID          string
	CreatedAt   string
	UpdatedAt   string
	DeletedAt   string
	Weight      string
	Cost        string
	FragranceID string
	BatchID     string
}{
	ID:          "id",
	CreatedAt:   "created_at",
	UpdatedAt:   "updated_at",
	DeletedAt:   "deleted_at",
	Weight:      "weight",
	Cost:        "cost",
	FragranceID: "fragrance_id",
	BatchID:     "batch_id",
}
View Source
var RecipeBatchFragranceRels = struct {
	Batch     string
	Fragrance string
}{
	Batch:     "Batch",
	Fragrance: "Fragrance",
}

RecipeBatchFragranceRels is where relationship names are stored.

View Source
var RecipeBatchFragranceWhere = struct {
	ID          whereHelperint
	CreatedAt   whereHelpertime_Time
	UpdatedAt   whereHelpertime_Time
	DeletedAt   whereHelpernull_Time
	Weight      whereHelperfloat64
	Cost        whereHelperfloat64
	FragranceID whereHelperint
	BatchID     whereHelperint
}{
	ID:          whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:   whereHelpernull_Time{/* contains filtered or unexported fields */},
	Weight:      whereHelperfloat64{/* contains filtered or unexported fields */},
	Cost:        whereHelperfloat64{/* contains filtered or unexported fields */},
	FragranceID: whereHelperint{/* contains filtered or unexported fields */},
	BatchID:     whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeBatchLipidColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Weight    string
	Cost      string
	LipidID   string
	BatchID   string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Weight:    "weight",
	Cost:      "cost",
	LipidID:   "lipid_id",
	BatchID:   "batch_id",
}
View Source
var RecipeBatchLipidRels = struct {
	Batch string
	Lipid string
}{
	Batch: "Batch",
	Lipid: "Lipid",
}

RecipeBatchLipidRels is where relationship names are stored.

View Source
var RecipeBatchLipidWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Weight    whereHelperfloat64
	Cost      whereHelperfloat64
	LipidID   whereHelperint
	BatchID   whereHelperint
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Weight:    whereHelperfloat64{/* contains filtered or unexported fields */},
	Cost:      whereHelperfloat64{/* contains filtered or unexported fields */},
	LipidID:   whereHelperint{/* contains filtered or unexported fields */},
	BatchID:   whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeBatchLyeColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Weight    string
	Discount  string
	Cost      string
	LyeID     string
	BatchID   string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Weight:    "weight",
	Discount:  "discount",
	Cost:      "cost",
	LyeID:     "lye_id",
	BatchID:   "batch_id",
}
View Source
var RecipeBatchLyeRels = struct {
	Batch string
	Lye   string
}{
	Batch: "Batch",
	Lye:   "Lye",
}

RecipeBatchLyeRels is where relationship names are stored.

View Source
var RecipeBatchLyeWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Weight    whereHelperfloat64
	Discount  whereHelperfloat64
	Cost      whereHelperfloat64
	LyeID     whereHelperint
	BatchID   whereHelperint
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Weight:    whereHelperfloat64{/* contains filtered or unexported fields */},
	Discount:  whereHelperfloat64{/* contains filtered or unexported fields */},
	Cost:      whereHelperfloat64{/* contains filtered or unexported fields */},
	LyeID:     whereHelperint{/* contains filtered or unexported fields */},
	BatchID:   whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeBatchNoteColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Note      string
	Link      string
	BatchID   string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Note:      "note",
	Link:      "link",
	BatchID:   "batch_id",
}
View Source
var RecipeBatchNoteRels = struct {
	Batch string
}{
	Batch: "Batch",
}

RecipeBatchNoteRels is where relationship names are stored.

View Source
var RecipeBatchNoteWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Note      whereHelperstring
	Link      whereHelperstring
	BatchID   whereHelperint
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Note:      whereHelperstring{/* contains filtered or unexported fields */},
	Link:      whereHelperstring{/* contains filtered or unexported fields */},
	BatchID:   whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeBatchRels = struct {
	Recipe                     string
	BatchRecipeBatchAdditives  string
	BatchRecipeBatchFragrances string
	BatchRecipeBatchLipids     string
	BatchRecipeBatchLyes       string
	BatchRecipeBatchNotes      string
}{
	Recipe:                     "Recipe",
	BatchRecipeBatchAdditives:  "BatchRecipeBatchAdditives",
	BatchRecipeBatchFragrances: "BatchRecipeBatchFragrances",
	BatchRecipeBatchLipids:     "BatchRecipeBatchLipids",
	BatchRecipeBatchLyes:       "BatchRecipeBatchLyes",
	BatchRecipeBatchNotes:      "BatchRecipeBatchNotes",
}

RecipeBatchRels is where relationship names are stored.

View Source
var RecipeBatchWhere = struct {
	ID               whereHelperint
	CreatedAt        whereHelpertime_Time
	UpdatedAt        whereHelpertime_Time
	DeletedAt        whereHelpernull_Time
	Tag              whereHelperstring
	ProductionDate   whereHelpertime_Time
	SellableDate     whereHelpertime_Time
	Note             whereHelperstring
	LipidWeight      whereHelperfloat64
	ProductionWeight whereHelperfloat64
	CuredWeight      whereHelperfloat64
	RecipeID         whereHelperint
}{
	ID:               whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:        whereHelpernull_Time{/* contains filtered or unexported fields */},
	Tag:              whereHelperstring{/* contains filtered or unexported fields */},
	ProductionDate:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	SellableDate:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	Note:             whereHelperstring{/* contains filtered or unexported fields */},
	LipidWeight:      whereHelperfloat64{/* contains filtered or unexported fields */},
	ProductionWeight: whereHelperfloat64{/* contains filtered or unexported fields */},
	CuredWeight:      whereHelperfloat64{/* contains filtered or unexported fields */},
	RecipeID:         whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Name      string
	Note      string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Name:      "name",
	Note:      "note",
}
View Source
var RecipeFragranceColumns = struct {
	ID          string
	CreatedAt   string
	UpdatedAt   string
	DeletedAt   string
	Percentage  string
	FragranceID string
	RecipeID    string
}{
	ID:          "id",
	CreatedAt:   "created_at",
	UpdatedAt:   "updated_at",
	DeletedAt:   "deleted_at",
	Percentage:  "percentage",
	FragranceID: "fragrance_id",
	RecipeID:    "recipe_id",
}
View Source
var RecipeFragranceRels = struct {
	Fragrance string
	Recipe    string
}{
	Fragrance: "Fragrance",
	Recipe:    "Recipe",
}

RecipeFragranceRels is where relationship names are stored.

View Source
var RecipeFragranceWhere = struct {
	ID          whereHelperint
	CreatedAt   whereHelpertime_Time
	UpdatedAt   whereHelpertime_Time
	DeletedAt   whereHelpernull_Time
	Percentage  whereHelperfloat64
	FragranceID whereHelperint
	RecipeID    whereHelperint
}{
	ID:          whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:   whereHelpernull_Time{/* contains filtered or unexported fields */},
	Percentage:  whereHelperfloat64{/* contains filtered or unexported fields */},
	FragranceID: whereHelperint{/* contains filtered or unexported fields */},
	RecipeID:    whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeLipidColumns = struct {
	ID         string
	CreatedAt  string
	UpdatedAt  string
	DeletedAt  string
	Percentage string
	LipidID    string
	RecipeID   string
}{
	ID:         "id",
	CreatedAt:  "created_at",
	UpdatedAt:  "updated_at",
	DeletedAt:  "deleted_at",
	Percentage: "percentage",
	LipidID:    "lipid_id",
	RecipeID:   "recipe_id",
}
View Source
var RecipeLipidRels = struct {
	Lipid  string
	Recipe string
}{
	Lipid:  "Lipid",
	Recipe: "Recipe",
}

RecipeLipidRels is where relationship names are stored.

View Source
var RecipeLipidWhere = struct {
	ID         whereHelperint
	CreatedAt  whereHelpertime_Time
	UpdatedAt  whereHelpertime_Time
	DeletedAt  whereHelpernull_Time
	Percentage whereHelperfloat64
	LipidID    whereHelperint
	RecipeID   whereHelperint
}{
	ID:         whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt:  whereHelpernull_Time{/* contains filtered or unexported fields */},
	Percentage: whereHelperfloat64{/* contains filtered or unexported fields */},
	LipidID:    whereHelperint{/* contains filtered or unexported fields */},
	RecipeID:   whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeRels = struct {
	RecipeAdditives  string
	RecipeBatches    string
	RecipeFragrances string
	RecipeLipids     string
	RecipeSteps      string
}{
	RecipeAdditives:  "RecipeAdditives",
	RecipeBatches:    "RecipeBatches",
	RecipeFragrances: "RecipeFragrances",
	RecipeLipids:     "RecipeLipids",
	RecipeSteps:      "RecipeSteps",
}

RecipeRels is where relationship names are stored.

View Source
var RecipeStepColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Num       string
	Note      string
	RecipeID  string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Num:       "num",
	Note:      "note",
	RecipeID:  "recipe_id",
}
View Source
var RecipeStepRels = struct {
	Recipe string
}{
	Recipe: "Recipe",
}

RecipeStepRels is where relationship names are stored.

View Source
var RecipeStepWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Num       whereHelperint
	Note      whereHelperstring
	RecipeID  whereHelperint
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Num:       whereHelperint{/* contains filtered or unexported fields */},
	Note:      whereHelperstring{/* contains filtered or unexported fields */},
	RecipeID:  whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var RecipeWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Name      whereHelperstring
	Note      whereHelperstring
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Note:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var SupplierColumns = struct {
	ID        string
	CreatedAt string
	UpdatedAt string
	DeletedAt string
	Name      string
	Website   string
	Note      string
}{
	ID:        "id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	DeletedAt: "deleted_at",
	Name:      "name",
	Website:   "website",
	Note:      "note",
}
View Source
var SupplierRels = struct {
	AdditiveInventories  string
	FragranceInventories string
	LipidInventories     string
	LyeInventories       string
}{
	AdditiveInventories:  "AdditiveInventories",
	FragranceInventories: "FragranceInventories",
	LipidInventories:     "LipidInventories",
	LyeInventories:       "LyeInventories",
}

SupplierRels is where relationship names are stored.

View Source
var SupplierWhere = struct {
	ID        whereHelperint
	CreatedAt whereHelpertime_Time
	UpdatedAt whereHelpertime_Time
	DeletedAt whereHelpernull_Time
	Name      whereHelperstring
	Website   whereHelperstring
	Note      whereHelperstring
}{
	ID:        whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Website:   whereHelperstring{/* contains filtered or unexported fields */},
	Note:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	Additive                string
	AdditiveInventory       string
	AuthGroup               string
	AuthGroupPermissions    string
	AuthPermission          string
	AuthUser                string
	AuthUserGroups          string
	AuthUserUserPermissions string
	Fragrance               string
	FragranceInventory      string
	Lipid                   string
	LipidInventory          string
	Lye                     string
	LyeInventory            string
	Recipe                  string
	RecipeAdditive          string
	RecipeBatch             string
	RecipeBatchAdditive     string
	RecipeBatchFragrance    string
	RecipeBatchLipid        string
	RecipeBatchLye          string
	RecipeBatchNote         string
	RecipeFragrance         string
	RecipeLipid             string
	RecipeStep              string
	Supplier                string
}{
	Additive:                "additive",
	AdditiveInventory:       "additive_inventory",
	AuthGroup:               "auth_group",
	AuthGroupPermissions:    "auth_group_permissions",
	AuthPermission:          "auth_permission",
	AuthUser:                "auth_user",
	AuthUserGroups:          "auth_user_groups",
	AuthUserUserPermissions: "auth_user_user_permissions",
	Fragrance:               "fragrance",
	FragranceInventory:      "fragrance_inventory",
	Lipid:                   "lipid",
	LipidInventory:          "lipid_inventory",
	Lye:                     "lye",
	LyeInventory:            "lye_inventory",
	Recipe:                  "recipe",
	RecipeAdditive:          "recipe_additive",
	RecipeBatch:             "recipe_batch",
	RecipeBatchAdditive:     "recipe_batch_additive",
	RecipeBatchFragrance:    "recipe_batch_fragrance",
	RecipeBatchLipid:        "recipe_batch_lipid",
	RecipeBatchLye:          "recipe_batch_lye",
	RecipeBatchNote:         "recipe_batch_note",
	RecipeFragrance:         "recipe_fragrance",
	RecipeLipid:             "recipe_lipid",
	RecipeStep:              "recipe_step",
	Supplier:                "supplier",
}

Functions

func AddAdditiveHook

func AddAdditiveHook(hookPoint boil.HookPoint, additiveHook AdditiveHook)

AddAdditiveHook registers your hook function for all future operations.

func AddAdditiveInventoryHook

func AddAdditiveInventoryHook(hookPoint boil.HookPoint, additiveInventoryHook AdditiveInventoryHook)

AddAdditiveInventoryHook registers your hook function for all future operations.

func AddAuthGroupHook

func AddAuthGroupHook(hookPoint boil.HookPoint, authGroupHook AuthGroupHook)

AddAuthGroupHook registers your hook function for all future operations.

func AddAuthGroupPermissionHook

func AddAuthGroupPermissionHook(hookPoint boil.HookPoint, authGroupPermissionHook AuthGroupPermissionHook)

AddAuthGroupPermissionHook registers your hook function for all future operations.

func AddAuthPermissionHook

func AddAuthPermissionHook(hookPoint boil.HookPoint, authPermissionHook AuthPermissionHook)

AddAuthPermissionHook registers your hook function for all future operations.

func AddAuthUserGroupHook

func AddAuthUserGroupHook(hookPoint boil.HookPoint, authUserGroupHook AuthUserGroupHook)

AddAuthUserGroupHook registers your hook function for all future operations.

func AddAuthUserHook

func AddAuthUserHook(hookPoint boil.HookPoint, authUserHook AuthUserHook)

AddAuthUserHook registers your hook function for all future operations.

func AddAuthUserUserPermissionHook

func AddAuthUserUserPermissionHook(hookPoint boil.HookPoint, authUserUserPermissionHook AuthUserUserPermissionHook)

AddAuthUserUserPermissionHook registers your hook function for all future operations.

func AddFragranceHook

func AddFragranceHook(hookPoint boil.HookPoint, fragranceHook FragranceHook)

AddFragranceHook registers your hook function for all future operations.

func AddFragranceInventoryHook

func AddFragranceInventoryHook(hookPoint boil.HookPoint, fragranceInventoryHook FragranceInventoryHook)

AddFragranceInventoryHook registers your hook function for all future operations.

func AddLipidHook

func AddLipidHook(hookPoint boil.HookPoint, lipidHook LipidHook)

AddLipidHook registers your hook function for all future operations.

func AddLipidInventoryHook

func AddLipidInventoryHook(hookPoint boil.HookPoint, lipidInventoryHook LipidInventoryHook)

AddLipidInventoryHook registers your hook function for all future operations.

func AddLyeHook

func AddLyeHook(hookPoint boil.HookPoint, lyeHook LyeHook)

AddLyeHook registers your hook function for all future operations.

func AddLyeInventoryHook

func AddLyeInventoryHook(hookPoint boil.HookPoint, lyeInventoryHook LyeInventoryHook)

AddLyeInventoryHook registers your hook function for all future operations.

func AddRecipeAdditiveHook

func AddRecipeAdditiveHook(hookPoint boil.HookPoint, recipeAdditiveHook RecipeAdditiveHook)

AddRecipeAdditiveHook registers your hook function for all future operations.

func AddRecipeBatchAdditiveHook

func AddRecipeBatchAdditiveHook(hookPoint boil.HookPoint, recipeBatchAdditiveHook RecipeBatchAdditiveHook)

AddRecipeBatchAdditiveHook registers your hook function for all future operations.

func AddRecipeBatchFragranceHook

func AddRecipeBatchFragranceHook(hookPoint boil.HookPoint, recipeBatchFragranceHook RecipeBatchFragranceHook)

AddRecipeBatchFragranceHook registers your hook function for all future operations.

func AddRecipeBatchHook

func AddRecipeBatchHook(hookPoint boil.HookPoint, recipeBatchHook RecipeBatchHook)

AddRecipeBatchHook registers your hook function for all future operations.

func AddRecipeBatchLipidHook

func AddRecipeBatchLipidHook(hookPoint boil.HookPoint, recipeBatchLipidHook RecipeBatchLipidHook)

AddRecipeBatchLipidHook registers your hook function for all future operations.

func AddRecipeBatchLyeHook

func AddRecipeBatchLyeHook(hookPoint boil.HookPoint, recipeBatchLyeHook RecipeBatchLyeHook)

AddRecipeBatchLyeHook registers your hook function for all future operations.

func AddRecipeBatchNoteHook

func AddRecipeBatchNoteHook(hookPoint boil.HookPoint, recipeBatchNoteHook RecipeBatchNoteHook)

AddRecipeBatchNoteHook registers your hook function for all future operations.

func AddRecipeFragranceHook

func AddRecipeFragranceHook(hookPoint boil.HookPoint, recipeFragranceHook RecipeFragranceHook)

AddRecipeFragranceHook registers your hook function for all future operations.

func AddRecipeHook

func AddRecipeHook(hookPoint boil.HookPoint, recipeHook RecipeHook)

AddRecipeHook registers your hook function for all future operations.

func AddRecipeLipidHook

func AddRecipeLipidHook(hookPoint boil.HookPoint, recipeLipidHook RecipeLipidHook)

AddRecipeLipidHook registers your hook function for all future operations.

func AddRecipeStepHook

func AddRecipeStepHook(hookPoint boil.HookPoint, recipeStepHook RecipeStepHook)

AddRecipeStepHook registers your hook function for all future operations.

func AddSupplierHook

func AddSupplierHook(hookPoint boil.HookPoint, supplierHook SupplierHook)

AddSupplierHook registers your hook function for all future operations.

func AdditiveExists

func AdditiveExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AdditiveExists checks if the Additive row exists.

func AdditiveInventories

func AdditiveInventories(mods ...qm.QueryMod) additiveInventoryQuery

AdditiveInventories retrieves all the records using an executor.

func AdditiveInventoryExists

func AdditiveInventoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AdditiveInventoryExists checks if the AdditiveInventory row exists.

func Additives

func Additives(mods ...qm.QueryMod) additiveQuery

Additives retrieves all the records using an executor.

func AuthGroupExists

func AuthGroupExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AuthGroupExists checks if the AuthGroup row exists.

func AuthGroupPermissionExists

func AuthGroupPermissionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AuthGroupPermissionExists checks if the AuthGroupPermission row exists.

func AuthGroupPermissions

func AuthGroupPermissions(mods ...qm.QueryMod) authGroupPermissionQuery

AuthGroupPermissions retrieves all the records using an executor.

func AuthGroups

func AuthGroups(mods ...qm.QueryMod) authGroupQuery

AuthGroups retrieves all the records using an executor.

func AuthPermissionExists

func AuthPermissionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AuthPermissionExists checks if the AuthPermission row exists.

func AuthPermissions

func AuthPermissions(mods ...qm.QueryMod) authPermissionQuery

AuthPermissions retrieves all the records using an executor.

func AuthUserExists

func AuthUserExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AuthUserExists checks if the AuthUser row exists.

func AuthUserGroupExists

func AuthUserGroupExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AuthUserGroupExists checks if the AuthUserGroup row exists.

func AuthUserGroups

func AuthUserGroups(mods ...qm.QueryMod) authUserGroupQuery

AuthUserGroups retrieves all the records using an executor.

func AuthUserUserPermissionExists

func AuthUserUserPermissionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AuthUserUserPermissionExists checks if the AuthUserUserPermission row exists.

func AuthUserUserPermissions

func AuthUserUserPermissions(mods ...qm.QueryMod) authUserUserPermissionQuery

AuthUserUserPermissions retrieves all the records using an executor.

func AuthUsers

func AuthUsers(mods ...qm.QueryMod) authUserQuery

AuthUsers retrieves all the records using an executor.

func FragranceExists

func FragranceExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

FragranceExists checks if the Fragrance row exists.

func FragranceInventories

func FragranceInventories(mods ...qm.QueryMod) fragranceInventoryQuery

FragranceInventories retrieves all the records using an executor.

func FragranceInventoryExists

func FragranceInventoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

FragranceInventoryExists checks if the FragranceInventory row exists.

func Fragrances

func Fragrances(mods ...qm.QueryMod) fragranceQuery

Fragrances retrieves all the records using an executor.

func LipidExists

func LipidExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

LipidExists checks if the Lipid row exists.

func LipidInventories

func LipidInventories(mods ...qm.QueryMod) lipidInventoryQuery

LipidInventories retrieves all the records using an executor.

func LipidInventoryExists

func LipidInventoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

LipidInventoryExists checks if the LipidInventory row exists.

func Lipids

func Lipids(mods ...qm.QueryMod) lipidQuery

Lipids retrieves all the records using an executor.

func LyeExists

func LyeExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

LyeExists checks if the Lye row exists.

func LyeInventories

func LyeInventories(mods ...qm.QueryMod) lyeInventoryQuery

LyeInventories retrieves all the records using an executor.

func LyeInventoryExists

func LyeInventoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

LyeInventoryExists checks if the LyeInventory row exists.

func Lyes

func Lyes(mods ...qm.QueryMod) lyeQuery

Lyes retrieves all the records using an executor.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func RecipeAdditiveExists

func RecipeAdditiveExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeAdditiveExists checks if the RecipeAdditive row exists.

func RecipeAdditives

func RecipeAdditives(mods ...qm.QueryMod) recipeAdditiveQuery

RecipeAdditives retrieves all the records using an executor.

func RecipeBatchAdditiveExists

func RecipeBatchAdditiveExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeBatchAdditiveExists checks if the RecipeBatchAdditive row exists.

func RecipeBatchAdditives

func RecipeBatchAdditives(mods ...qm.QueryMod) recipeBatchAdditiveQuery

RecipeBatchAdditives retrieves all the records using an executor.

func RecipeBatchExists

func RecipeBatchExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeBatchExists checks if the RecipeBatch row exists.

func RecipeBatchFragranceExists

func RecipeBatchFragranceExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeBatchFragranceExists checks if the RecipeBatchFragrance row exists.

func RecipeBatchFragrances

func RecipeBatchFragrances(mods ...qm.QueryMod) recipeBatchFragranceQuery

RecipeBatchFragrances retrieves all the records using an executor.

func RecipeBatchLipidExists

func RecipeBatchLipidExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeBatchLipidExists checks if the RecipeBatchLipid row exists.

func RecipeBatchLipids

func RecipeBatchLipids(mods ...qm.QueryMod) recipeBatchLipidQuery

RecipeBatchLipids retrieves all the records using an executor.

func RecipeBatchLyeExists

func RecipeBatchLyeExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeBatchLyeExists checks if the RecipeBatchLye row exists.

func RecipeBatchLyes

func RecipeBatchLyes(mods ...qm.QueryMod) recipeBatchLyeQuery

RecipeBatchLyes retrieves all the records using an executor.

func RecipeBatchNoteExists

func RecipeBatchNoteExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeBatchNoteExists checks if the RecipeBatchNote row exists.

func RecipeBatchNotes

func RecipeBatchNotes(mods ...qm.QueryMod) recipeBatchNoteQuery

RecipeBatchNotes retrieves all the records using an executor.

func RecipeBatches

func RecipeBatches(mods ...qm.QueryMod) recipeBatchQuery

RecipeBatches retrieves all the records using an executor.

func RecipeExists

func RecipeExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeExists checks if the Recipe row exists.

func RecipeFragranceExists

func RecipeFragranceExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeFragranceExists checks if the RecipeFragrance row exists.

func RecipeFragrances

func RecipeFragrances(mods ...qm.QueryMod) recipeFragranceQuery

RecipeFragrances retrieves all the records using an executor.

func RecipeLipidExists

func RecipeLipidExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeLipidExists checks if the RecipeLipid row exists.

func RecipeLipids

func RecipeLipids(mods ...qm.QueryMod) recipeLipidQuery

RecipeLipids retrieves all the records using an executor.

func RecipeStepExists

func RecipeStepExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

RecipeStepExists checks if the RecipeStep row exists.

func RecipeSteps

func RecipeSteps(mods ...qm.QueryMod) recipeStepQuery

RecipeSteps retrieves all the records using an executor.

func Recipes

func Recipes(mods ...qm.QueryMod) recipeQuery

Recipes retrieves all the records using an executor.

func SupplierExists

func SupplierExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

SupplierExists checks if the Supplier row exists.

func Suppliers

func Suppliers(mods ...qm.QueryMod) supplierQuery

Suppliers retrieves all the records using an executor.

Types

type Additive

type Additive struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Note      string    `boil:"note" json:"note" toml:"note" yaml:"note"`

	R *additiveR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L additiveL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Additive is an object representing the database table.

func FindAdditive

func FindAdditive(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Additive, error)

FindAdditive retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Additive) AddAdditiveInventories

func (o *Additive) AddAdditiveInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AdditiveInventory) error

AddAdditiveInventories adds the given related objects to the existing relationships of the additive, optionally inserting them as new records. Appends related to o.R.AdditiveInventories. Sets related.R.Additive appropriately.

func (*Additive) AdditiveInventories

func (o *Additive) AdditiveInventories(mods ...qm.QueryMod) additiveInventoryQuery

AdditiveInventories retrieves all the additive_inventory's AdditiveInventories with an executor.

func (*Additive) Delete

func (o *Additive) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Additive record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Additive) Insert

func (o *Additive) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Additive) RecipeAdditive

func (o *Additive) RecipeAdditive(mods ...qm.QueryMod) recipeAdditiveQuery

RecipeAdditive pointed to by the foreign key.

func (*Additive) RecipeBatchAdditive

func (o *Additive) RecipeBatchAdditive(mods ...qm.QueryMod) recipeBatchAdditiveQuery

RecipeBatchAdditive pointed to by the foreign key.

func (*Additive) Reload

func (o *Additive) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Additive) SetRecipeAdditive

func (o *Additive) SetRecipeAdditive(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeAdditive) error

SetRecipeAdditive of the additive to the related item. Sets o.R.RecipeAdditive to related. Adds o to related.R.Additive.

func (*Additive) SetRecipeBatchAdditive

func (o *Additive) SetRecipeBatchAdditive(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatchAdditive) error

SetRecipeBatchAdditive of the additive to the related item. Sets o.R.RecipeBatchAdditive to related. Adds o to related.R.Additive.

func (*Additive) Update

func (o *Additive) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Additive. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Additive) Upsert

func (o *Additive) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AdditiveHook

type AdditiveHook func(context.Context, boil.ContextExecutor, *Additive) error

AdditiveHook is the signature for custom Additive hook methods

type AdditiveInventory

type AdditiveInventory struct {
	ID           int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt    time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt    time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt    null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	PurchaseDate time.Time `boil:"purchase_date" json:"purchase_date" toml:"purchase_date" yaml:"purchase_date"`
	ExpiryDate   time.Time `boil:"expiry_date" json:"expiry_date" toml:"expiry_date" yaml:"expiry_date"`
	Cost         float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	Weight       float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	AdditiveID   int       `boil:"additive_id" json:"additive_id" toml:"additive_id" yaml:"additive_id"`
	SupplierID   int       `boil:"supplier_id" json:"supplier_id" toml:"supplier_id" yaml:"supplier_id"`

	R *additiveInventoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L additiveInventoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AdditiveInventory is an object representing the database table.

func FindAdditiveInventory

func FindAdditiveInventory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AdditiveInventory, error)

FindAdditiveInventory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AdditiveInventory) Additive

func (o *AdditiveInventory) Additive(mods ...qm.QueryMod) additiveQuery

Additive pointed to by the foreign key.

func (*AdditiveInventory) Delete

Delete deletes a single AdditiveInventory record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AdditiveInventory) Insert

func (o *AdditiveInventory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AdditiveInventory) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*AdditiveInventory) SetAdditive

func (o *AdditiveInventory) SetAdditive(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Additive) error

SetAdditive of the additiveInventory to the related item. Sets o.R.Additive to related. Adds o to related.R.AdditiveInventories.

func (*AdditiveInventory) SetSupplier

func (o *AdditiveInventory) SetSupplier(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Supplier) error

SetSupplier of the additiveInventory to the related item. Sets o.R.Supplier to related. Adds o to related.R.AdditiveInventories.

func (*AdditiveInventory) Supplier

func (o *AdditiveInventory) Supplier(mods ...qm.QueryMod) supplierQuery

Supplier pointed to by the foreign key.

func (*AdditiveInventory) Update

func (o *AdditiveInventory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AdditiveInventory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AdditiveInventory) Upsert

func (o *AdditiveInventory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AdditiveInventoryHook

type AdditiveInventoryHook func(context.Context, boil.ContextExecutor, *AdditiveInventory) error

AdditiveInventoryHook is the signature for custom AdditiveInventory hook methods

type AdditiveInventorySlice

type AdditiveInventorySlice []*AdditiveInventory

AdditiveInventorySlice is an alias for a slice of pointers to AdditiveInventory. This should generally be used opposed to []AdditiveInventory.

func (AdditiveInventorySlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*AdditiveInventorySlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdditiveInventorySlice) UpdateAll

func (o AdditiveInventorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AdditiveSlice

type AdditiveSlice []*Additive

AdditiveSlice is an alias for a slice of pointers to Additive. This should generally be used opposed to []Additive.

func (AdditiveSlice) DeleteAll

func (o AdditiveSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*AdditiveSlice) ReloadAll

func (o *AdditiveSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AdditiveSlice) UpdateAll

func (o AdditiveSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AuthGroup

type AuthGroup struct {
	ID   int    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name string `boil:"name" json:"name" toml:"name" yaml:"name"`

	R *authGroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authGroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuthGroup is an object representing the database table.

func FindAuthGroup

func FindAuthGroup(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AuthGroup, error)

FindAuthGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AuthGroup) AddGroupAuthGroupPermissions

func (o *AuthGroup) AddGroupAuthGroupPermissions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthGroupPermission) error

AddGroupAuthGroupPermissions adds the given related objects to the existing relationships of the auth_group, optionally inserting them as new records. Appends related to o.R.GroupAuthGroupPermissions. Sets related.R.Group appropriately.

func (*AuthGroup) AddGroupAuthUserGroups

func (o *AuthGroup) AddGroupAuthUserGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthUserGroup) error

AddGroupAuthUserGroups adds the given related objects to the existing relationships of the auth_group, optionally inserting them as new records. Appends related to o.R.GroupAuthUserGroups. Sets related.R.Group appropriately.

func (*AuthGroup) Delete

func (o *AuthGroup) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single AuthGroup record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AuthGroup) GroupAuthGroupPermissions

func (o *AuthGroup) GroupAuthGroupPermissions(mods ...qm.QueryMod) authGroupPermissionQuery

GroupAuthGroupPermissions retrieves all the auth_group_permission's AuthGroupPermissions with an executor via group_id column.

func (*AuthGroup) GroupAuthUserGroups

func (o *AuthGroup) GroupAuthUserGroups(mods ...qm.QueryMod) authUserGroupQuery

GroupAuthUserGroups retrieves all the auth_user_group's AuthUserGroups with an executor via group_id column.

func (*AuthGroup) Insert

func (o *AuthGroup) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AuthGroup) Reload

func (o *AuthGroup) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AuthGroup) Update

func (o *AuthGroup) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AuthGroup. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AuthGroup) Upsert

func (o *AuthGroup) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AuthGroupHook

type AuthGroupHook func(context.Context, boil.ContextExecutor, *AuthGroup) error

AuthGroupHook is the signature for custom AuthGroup hook methods

type AuthGroupPermission

type AuthGroupPermission struct {
	ID           int `boil:"id" json:"id" toml:"id" yaml:"id"`
	GroupID      int `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`
	PermissionID int `boil:"permission_id" json:"permission_id" toml:"permission_id" yaml:"permission_id"`

	R *authGroupPermissionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authGroupPermissionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuthGroupPermission is an object representing the database table.

func FindAuthGroupPermission

func FindAuthGroupPermission(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AuthGroupPermission, error)

FindAuthGroupPermission retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AuthGroupPermission) Delete

Delete deletes a single AuthGroupPermission record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AuthGroupPermission) Group

func (o *AuthGroupPermission) Group(mods ...qm.QueryMod) authGroupQuery

Group pointed to by the foreign key.

func (*AuthGroupPermission) Insert

func (o *AuthGroupPermission) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AuthGroupPermission) Permission

func (o *AuthGroupPermission) Permission(mods ...qm.QueryMod) authPermissionQuery

Permission pointed to by the foreign key.

func (*AuthGroupPermission) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*AuthGroupPermission) SetGroup

func (o *AuthGroupPermission) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *AuthGroup) error

SetGroup of the authGroupPermission to the related item. Sets o.R.Group to related. Adds o to related.R.GroupAuthGroupPermissions.

func (*AuthGroupPermission) SetPermission

func (o *AuthGroupPermission) SetPermission(ctx context.Context, exec boil.ContextExecutor, insert bool, related *AuthPermission) error

SetPermission of the authGroupPermission to the related item. Sets o.R.Permission to related. Adds o to related.R.PermissionAuthGroupPermissions.

func (*AuthGroupPermission) Update

func (o *AuthGroupPermission) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AuthGroupPermission. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AuthGroupPermission) Upsert

func (o *AuthGroupPermission) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AuthGroupPermissionHook

type AuthGroupPermissionHook func(context.Context, boil.ContextExecutor, *AuthGroupPermission) error

AuthGroupPermissionHook is the signature for custom AuthGroupPermission hook methods

type AuthGroupPermissionSlice

type AuthGroupPermissionSlice []*AuthGroupPermission

AuthGroupPermissionSlice is an alias for a slice of pointers to AuthGroupPermission. This should generally be used opposed to []AuthGroupPermission.

func (AuthGroupPermissionSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*AuthGroupPermissionSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthGroupPermissionSlice) UpdateAll

func (o AuthGroupPermissionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AuthGroupSlice

type AuthGroupSlice []*AuthGroup

AuthGroupSlice is an alias for a slice of pointers to AuthGroup. This should generally be used opposed to []AuthGroup.

func (AuthGroupSlice) DeleteAll

func (o AuthGroupSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*AuthGroupSlice) ReloadAll

func (o *AuthGroupSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthGroupSlice) UpdateAll

func (o AuthGroupSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AuthPermission

type AuthPermission struct {
	ID            int    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name          string `boil:"name" json:"name" toml:"name" yaml:"name"`
	ContentTypeID int    `boil:"content_type_id" json:"content_type_id" toml:"content_type_id" yaml:"content_type_id"`
	Codename      string `boil:"codename" json:"codename" toml:"codename" yaml:"codename"`

	R *authPermissionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authPermissionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuthPermission is an object representing the database table.

func FindAuthPermission

func FindAuthPermission(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AuthPermission, error)

FindAuthPermission retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AuthPermission) AddPermissionAuthGroupPermissions

func (o *AuthPermission) AddPermissionAuthGroupPermissions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthGroupPermission) error

AddPermissionAuthGroupPermissions adds the given related objects to the existing relationships of the auth_permission, optionally inserting them as new records. Appends related to o.R.PermissionAuthGroupPermissions. Sets related.R.Permission appropriately.

func (*AuthPermission) AddPermissionAuthUserUserPermissions

func (o *AuthPermission) AddPermissionAuthUserUserPermissions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthUserUserPermission) error

AddPermissionAuthUserUserPermissions adds the given related objects to the existing relationships of the auth_permission, optionally inserting them as new records. Appends related to o.R.PermissionAuthUserUserPermissions. Sets related.R.Permission appropriately.

func (*AuthPermission) Delete

func (o *AuthPermission) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single AuthPermission record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AuthPermission) Insert

func (o *AuthPermission) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AuthPermission) PermissionAuthGroupPermissions

func (o *AuthPermission) PermissionAuthGroupPermissions(mods ...qm.QueryMod) authGroupPermissionQuery

PermissionAuthGroupPermissions retrieves all the auth_group_permission's AuthGroupPermissions with an executor via permission_id column.

func (*AuthPermission) PermissionAuthUserUserPermissions

func (o *AuthPermission) PermissionAuthUserUserPermissions(mods ...qm.QueryMod) authUserUserPermissionQuery

PermissionAuthUserUserPermissions retrieves all the auth_user_user_permission's AuthUserUserPermissions with an executor via permission_id column.

func (*AuthPermission) Reload

func (o *AuthPermission) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AuthPermission) Update

func (o *AuthPermission) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AuthPermission. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AuthPermission) Upsert

func (o *AuthPermission) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AuthPermissionHook

type AuthPermissionHook func(context.Context, boil.ContextExecutor, *AuthPermission) error

AuthPermissionHook is the signature for custom AuthPermission hook methods

type AuthPermissionSlice

type AuthPermissionSlice []*AuthPermission

AuthPermissionSlice is an alias for a slice of pointers to AuthPermission. This should generally be used opposed to []AuthPermission.

func (AuthPermissionSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*AuthPermissionSlice) ReloadAll

func (o *AuthPermissionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthPermissionSlice) UpdateAll

func (o AuthPermissionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AuthUser

type AuthUser struct {
	ID          int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Password    string    `boil:"password" json:"password" toml:"password" yaml:"password"`
	LastLogin   null.Time `boil:"last_login" json:"last_login,omitempty" toml:"last_login" yaml:"last_login,omitempty"`
	IsSuperuser bool      `boil:"is_superuser" json:"is_superuser" toml:"is_superuser" yaml:"is_superuser"`
	Username    string    `boil:"username" json:"username" toml:"username" yaml:"username"`
	FirstName   string    `boil:"first_name" json:"first_name" toml:"first_name" yaml:"first_name"`
	LastName    string    `boil:"last_name" json:"last_name" toml:"last_name" yaml:"last_name"`
	Email       string    `boil:"email" json:"email" toml:"email" yaml:"email"`
	IsStaff     bool      `boil:"is_staff" json:"is_staff" toml:"is_staff" yaml:"is_staff"`
	IsActive    bool      `boil:"is_active" json:"is_active" toml:"is_active" yaml:"is_active"`
	DateJoined  time.Time `boil:"date_joined" json:"date_joined" toml:"date_joined" yaml:"date_joined"`

	R *authUserR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authUserL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuthUser is an object representing the database table.

func FindAuthUser

func FindAuthUser(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AuthUser, error)

FindAuthUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AuthUser) AddUserAuthUserGroups

func (o *AuthUser) AddUserAuthUserGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthUserGroup) error

AddUserAuthUserGroups adds the given related objects to the existing relationships of the auth_user, optionally inserting them as new records. Appends related to o.R.UserAuthUserGroups. Sets related.R.User appropriately.

func (*AuthUser) AddUserAuthUserUserPermissions

func (o *AuthUser) AddUserAuthUserUserPermissions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthUserUserPermission) error

AddUserAuthUserUserPermissions adds the given related objects to the existing relationships of the auth_user, optionally inserting them as new records. Appends related to o.R.UserAuthUserUserPermissions. Sets related.R.User appropriately.

func (*AuthUser) Delete

func (o *AuthUser) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single AuthUser record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AuthUser) Insert

func (o *AuthUser) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AuthUser) Reload

func (o *AuthUser) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AuthUser) Update

func (o *AuthUser) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AuthUser. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AuthUser) Upsert

func (o *AuthUser) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AuthUser) UserAuthUserGroups

func (o *AuthUser) UserAuthUserGroups(mods ...qm.QueryMod) authUserGroupQuery

UserAuthUserGroups retrieves all the auth_user_group's AuthUserGroups with an executor via user_id column.

func (*AuthUser) UserAuthUserUserPermissions

func (o *AuthUser) UserAuthUserUserPermissions(mods ...qm.QueryMod) authUserUserPermissionQuery

UserAuthUserUserPermissions retrieves all the auth_user_user_permission's AuthUserUserPermissions with an executor via user_id column.

type AuthUserGroup

type AuthUserGroup struct {
	ID      int `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID  int `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	GroupID int `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"`

	R *authUserGroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authUserGroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuthUserGroup is an object representing the database table.

func FindAuthUserGroup

func FindAuthUserGroup(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AuthUserGroup, error)

FindAuthUserGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AuthUserGroup) Delete

func (o *AuthUserGroup) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single AuthUserGroup record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AuthUserGroup) Group

func (o *AuthUserGroup) Group(mods ...qm.QueryMod) authGroupQuery

Group pointed to by the foreign key.

func (*AuthUserGroup) Insert

func (o *AuthUserGroup) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AuthUserGroup) Reload

func (o *AuthUserGroup) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*AuthUserGroup) SetGroup

func (o *AuthUserGroup) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *AuthGroup) error

SetGroup of the authUserGroup to the related item. Sets o.R.Group to related. Adds o to related.R.GroupAuthUserGroups.

func (*AuthUserGroup) SetUser

func (o *AuthUserGroup) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *AuthUser) error

SetUser of the authUserGroup to the related item. Sets o.R.User to related. Adds o to related.R.UserAuthUserGroups.

func (*AuthUserGroup) Update

func (o *AuthUserGroup) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AuthUserGroup. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AuthUserGroup) Upsert

func (o *AuthUserGroup) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AuthUserGroup) User

func (o *AuthUserGroup) User(mods ...qm.QueryMod) authUserQuery

User pointed to by the foreign key.

type AuthUserGroupHook

type AuthUserGroupHook func(context.Context, boil.ContextExecutor, *AuthUserGroup) error

AuthUserGroupHook is the signature for custom AuthUserGroup hook methods

type AuthUserGroupSlice

type AuthUserGroupSlice []*AuthUserGroup

AuthUserGroupSlice is an alias for a slice of pointers to AuthUserGroup. This should generally be used opposed to []AuthUserGroup.

func (AuthUserGroupSlice) DeleteAll

func (o AuthUserGroupSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*AuthUserGroupSlice) ReloadAll

func (o *AuthUserGroupSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthUserGroupSlice) UpdateAll

func (o AuthUserGroupSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AuthUserHook

type AuthUserHook func(context.Context, boil.ContextExecutor, *AuthUser) error

AuthUserHook is the signature for custom AuthUser hook methods

type AuthUserSlice

type AuthUserSlice []*AuthUser

AuthUserSlice is an alias for a slice of pointers to AuthUser. This should generally be used opposed to []AuthUser.

func (AuthUserSlice) DeleteAll

func (o AuthUserSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*AuthUserSlice) ReloadAll

func (o *AuthUserSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthUserSlice) UpdateAll

func (o AuthUserSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AuthUserUserPermission

type AuthUserUserPermission struct {
	ID           int `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID       int `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	PermissionID int `boil:"permission_id" json:"permission_id" toml:"permission_id" yaml:"permission_id"`

	R *authUserUserPermissionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authUserUserPermissionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuthUserUserPermission is an object representing the database table.

func FindAuthUserUserPermission

func FindAuthUserUserPermission(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AuthUserUserPermission, error)

FindAuthUserUserPermission retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AuthUserUserPermission) Delete

Delete deletes a single AuthUserUserPermission record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AuthUserUserPermission) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AuthUserUserPermission) Permission

func (o *AuthUserUserPermission) Permission(mods ...qm.QueryMod) authPermissionQuery

Permission pointed to by the foreign key.

func (*AuthUserUserPermission) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*AuthUserUserPermission) SetPermission

func (o *AuthUserUserPermission) SetPermission(ctx context.Context, exec boil.ContextExecutor, insert bool, related *AuthPermission) error

SetPermission of the authUserUserPermission to the related item. Sets o.R.Permission to related. Adds o to related.R.PermissionAuthUserUserPermissions.

func (*AuthUserUserPermission) SetUser

func (o *AuthUserUserPermission) SetUser(ctx context.Context, exec boil.ContextExecutor, insert bool, related *AuthUser) error

SetUser of the authUserUserPermission to the related item. Sets o.R.User to related. Adds o to related.R.UserAuthUserUserPermissions.

func (*AuthUserUserPermission) Update

Update uses an executor to update the AuthUserUserPermission. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AuthUserUserPermission) Upsert

func (o *AuthUserUserPermission) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AuthUserUserPermission) User

func (o *AuthUserUserPermission) User(mods ...qm.QueryMod) authUserQuery

User pointed to by the foreign key.

type AuthUserUserPermissionHook

type AuthUserUserPermissionHook func(context.Context, boil.ContextExecutor, *AuthUserUserPermission) error

AuthUserUserPermissionHook is the signature for custom AuthUserUserPermission hook methods

type AuthUserUserPermissionSlice

type AuthUserUserPermissionSlice []*AuthUserUserPermission

AuthUserUserPermissionSlice is an alias for a slice of pointers to AuthUserUserPermission. This should generally be used opposed to []AuthUserUserPermission.

func (AuthUserUserPermissionSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*AuthUserUserPermissionSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthUserUserPermissionSlice) UpdateAll

func (o AuthUserUserPermissionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Fragrance

type Fragrance struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Note      string    `boil:"note" json:"note" toml:"note" yaml:"note"`

	R *fragranceR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L fragranceL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Fragrance is an object representing the database table.

func FindFragrance

func FindFragrance(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Fragrance, error)

FindFragrance retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Fragrance) AddFragranceInventories

func (o *Fragrance) AddFragranceInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*FragranceInventory) error

AddFragranceInventories adds the given related objects to the existing relationships of the fragrance, optionally inserting them as new records. Appends related to o.R.FragranceInventories. Sets related.R.Fragrance appropriately.

func (*Fragrance) Delete

func (o *Fragrance) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Fragrance record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Fragrance) FragranceInventories

func (o *Fragrance) FragranceInventories(mods ...qm.QueryMod) fragranceInventoryQuery

FragranceInventories retrieves all the fragrance_inventory's FragranceInventories with an executor.

func (*Fragrance) Insert

func (o *Fragrance) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Fragrance) RecipeBatchFragrance

func (o *Fragrance) RecipeBatchFragrance(mods ...qm.QueryMod) recipeBatchFragranceQuery

RecipeBatchFragrance pointed to by the foreign key.

func (*Fragrance) RecipeFragrance

func (o *Fragrance) RecipeFragrance(mods ...qm.QueryMod) recipeFragranceQuery

RecipeFragrance pointed to by the foreign key.

func (*Fragrance) Reload

func (o *Fragrance) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Fragrance) SetRecipeBatchFragrance

func (o *Fragrance) SetRecipeBatchFragrance(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatchFragrance) error

SetRecipeBatchFragrance of the fragrance to the related item. Sets o.R.RecipeBatchFragrance to related. Adds o to related.R.Fragrance.

func (*Fragrance) SetRecipeFragrance

func (o *Fragrance) SetRecipeFragrance(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeFragrance) error

SetRecipeFragrance of the fragrance to the related item. Sets o.R.RecipeFragrance to related. Adds o to related.R.Fragrance.

func (*Fragrance) Update

func (o *Fragrance) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Fragrance. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Fragrance) Upsert

func (o *Fragrance) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type FragranceHook

type FragranceHook func(context.Context, boil.ContextExecutor, *Fragrance) error

FragranceHook is the signature for custom Fragrance hook methods

type FragranceInventory

type FragranceInventory struct {
	ID           int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt    time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt    time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt    null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	PurchaseDate time.Time `boil:"purchase_date" json:"purchase_date" toml:"purchase_date" yaml:"purchase_date"`
	ExpiryDate   time.Time `boil:"expiry_date" json:"expiry_date" toml:"expiry_date" yaml:"expiry_date"`
	Cost         float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	Weight       float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	FragranceID  int       `boil:"fragrance_id" json:"fragrance_id" toml:"fragrance_id" yaml:"fragrance_id"`
	SupplierID   int       `boil:"supplier_id" json:"supplier_id" toml:"supplier_id" yaml:"supplier_id"`

	R *fragranceInventoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L fragranceInventoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

FragranceInventory is an object representing the database table.

func FindFragranceInventory

func FindFragranceInventory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*FragranceInventory, error)

FindFragranceInventory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*FragranceInventory) Delete

Delete deletes a single FragranceInventory record with an executor. Delete will match against the primary key column to find the record to delete.

func (*FragranceInventory) Fragrance

func (o *FragranceInventory) Fragrance(mods ...qm.QueryMod) fragranceQuery

Fragrance pointed to by the foreign key.

func (*FragranceInventory) Insert

func (o *FragranceInventory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*FragranceInventory) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*FragranceInventory) SetFragrance

func (o *FragranceInventory) SetFragrance(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Fragrance) error

SetFragrance of the fragranceInventory to the related item. Sets o.R.Fragrance to related. Adds o to related.R.FragranceInventories.

func (*FragranceInventory) SetSupplier

func (o *FragranceInventory) SetSupplier(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Supplier) error

SetSupplier of the fragranceInventory to the related item. Sets o.R.Supplier to related. Adds o to related.R.FragranceInventories.

func (*FragranceInventory) Supplier

func (o *FragranceInventory) Supplier(mods ...qm.QueryMod) supplierQuery

Supplier pointed to by the foreign key.

func (*FragranceInventory) Update

func (o *FragranceInventory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the FragranceInventory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*FragranceInventory) Upsert

func (o *FragranceInventory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type FragranceInventoryHook

type FragranceInventoryHook func(context.Context, boil.ContextExecutor, *FragranceInventory) error

FragranceInventoryHook is the signature for custom FragranceInventory hook methods

type FragranceInventorySlice

type FragranceInventorySlice []*FragranceInventory

FragranceInventorySlice is an alias for a slice of pointers to FragranceInventory. This should generally be used opposed to []FragranceInventory.

func (FragranceInventorySlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*FragranceInventorySlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (FragranceInventorySlice) UpdateAll

func (o FragranceInventorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type FragranceSlice

type FragranceSlice []*Fragrance

FragranceSlice is an alias for a slice of pointers to Fragrance. This should generally be used opposed to []Fragrance.

func (FragranceSlice) DeleteAll

func (o FragranceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*FragranceSlice) ReloadAll

func (o *FragranceSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (FragranceSlice) UpdateAll

func (o FragranceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Lipid

type Lipid struct {
	ID           int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt    time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt    time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt    null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Name         string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Lauric       int       `boil:"lauric" json:"lauric" toml:"lauric" yaml:"lauric"`
	Myristic     int       `boil:"myristic" json:"myristic" toml:"myristic" yaml:"myristic"`
	Palmitic     int       `boil:"palmitic" json:"palmitic" toml:"palmitic" yaml:"palmitic"`
	Stearic      int       `boil:"stearic" json:"stearic" toml:"stearic" yaml:"stearic"`
	Ricinoleic   int       `boil:"ricinoleic" json:"ricinoleic" toml:"ricinoleic" yaml:"ricinoleic"`
	Oleic        int       `boil:"oleic" json:"oleic" toml:"oleic" yaml:"oleic"`
	Linoleic     int       `boil:"linoleic" json:"linoleic" toml:"linoleic" yaml:"linoleic"`
	Linolenic    int       `boil:"linolenic" json:"linolenic" toml:"linolenic" yaml:"linolenic"`
	Hardness     int       `boil:"hardness" json:"hardness" toml:"hardness" yaml:"hardness"`
	Cleansing    int       `boil:"cleansing" json:"cleansing" toml:"cleansing" yaml:"cleansing"`
	Conditioning int       `boil:"conditioning" json:"conditioning" toml:"conditioning" yaml:"conditioning"`
	Bubbly       int       `boil:"bubbly" json:"bubbly" toml:"bubbly" yaml:"bubbly"`
	Creamy       int       `boil:"creamy" json:"creamy" toml:"creamy" yaml:"creamy"`
	Iodine       int       `boil:"iodine" json:"iodine" toml:"iodine" yaml:"iodine"`
	Ins          int       `boil:"ins" json:"ins" toml:"ins" yaml:"ins"`
	InciName     string    `boil:"inci_name" json:"inci_name" toml:"inci_name" yaml:"inci_name"`
	Family       string    `boil:"family" json:"family" toml:"family" yaml:"family"`
	Naoh         float64   `boil:"naoh" json:"naoh" toml:"naoh" yaml:"naoh"`

	R *lipidR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L lipidL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Lipid is an object representing the database table.

func FindLipid

func FindLipid(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Lipid, error)

FindLipid retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Lipid) AddLipidInventories

func (o *Lipid) AddLipidInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LipidInventory) error

AddLipidInventories adds the given related objects to the existing relationships of the lipid, optionally inserting them as new records. Appends related to o.R.LipidInventories. Sets related.R.Lipid appropriately.

func (*Lipid) Delete

func (o *Lipid) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Lipid record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Lipid) Insert

func (o *Lipid) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Lipid) LipidInventories

func (o *Lipid) LipidInventories(mods ...qm.QueryMod) lipidInventoryQuery

LipidInventories retrieves all the lipid_inventory's LipidInventories with an executor.

func (*Lipid) RecipeBatchLipid

func (o *Lipid) RecipeBatchLipid(mods ...qm.QueryMod) recipeBatchLipidQuery

RecipeBatchLipid pointed to by the foreign key.

func (*Lipid) RecipeLipid

func (o *Lipid) RecipeLipid(mods ...qm.QueryMod) recipeLipidQuery

RecipeLipid pointed to by the foreign key.

func (*Lipid) Reload

func (o *Lipid) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Lipid) SetRecipeBatchLipid

func (o *Lipid) SetRecipeBatchLipid(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatchLipid) error

SetRecipeBatchLipid of the lipid to the related item. Sets o.R.RecipeBatchLipid to related. Adds o to related.R.Lipid.

func (*Lipid) SetRecipeLipid

func (o *Lipid) SetRecipeLipid(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeLipid) error

SetRecipeLipid of the lipid to the related item. Sets o.R.RecipeLipid to related. Adds o to related.R.Lipid.

func (*Lipid) Update

func (o *Lipid) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Lipid. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Lipid) Upsert

func (o *Lipid) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type LipidHook

type LipidHook func(context.Context, boil.ContextExecutor, *Lipid) error

LipidHook is the signature for custom Lipid hook methods

type LipidInventory

type LipidInventory struct {
	ID            int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt     time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt     null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	PurchaseDate  time.Time `boil:"purchase_date" json:"purchase_date" toml:"purchase_date" yaml:"purchase_date"`
	ExpiryDate    time.Time `boil:"expiry_date" json:"expiry_date" toml:"expiry_date" yaml:"expiry_date"`
	Cost          float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	Weight        float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	Sap           float64   `boil:"sap" json:"sap" toml:"sap" yaml:"sap"`
	Naoh          float64   `boil:"naoh" json:"naoh" toml:"naoh" yaml:"naoh"`
	Koh           float64   `boil:"koh" json:"koh" toml:"koh" yaml:"koh"`
	GramsPerLiter float64   `boil:"grams_per_liter" json:"grams_per_liter" toml:"grams_per_liter" yaml:"grams_per_liter"`
	LipidID       int       `boil:"lipid_id" json:"lipid_id" toml:"lipid_id" yaml:"lipid_id"`
	SupplierID    int       `boil:"supplier_id" json:"supplier_id" toml:"supplier_id" yaml:"supplier_id"`

	R *lipidInventoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L lipidInventoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

LipidInventory is an object representing the database table.

func FindLipidInventory

func FindLipidInventory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*LipidInventory, error)

FindLipidInventory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*LipidInventory) Delete

func (o *LipidInventory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single LipidInventory record with an executor. Delete will match against the primary key column to find the record to delete.

func (*LipidInventory) Insert

func (o *LipidInventory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*LipidInventory) Lipid

func (o *LipidInventory) Lipid(mods ...qm.QueryMod) lipidQuery

Lipid pointed to by the foreign key.

func (*LipidInventory) Reload

func (o *LipidInventory) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*LipidInventory) SetLipid

func (o *LipidInventory) SetLipid(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Lipid) error

SetLipid of the lipidInventory to the related item. Sets o.R.Lipid to related. Adds o to related.R.LipidInventories.

func (*LipidInventory) SetSupplier

func (o *LipidInventory) SetSupplier(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Supplier) error

SetSupplier of the lipidInventory to the related item. Sets o.R.Supplier to related. Adds o to related.R.LipidInventories.

func (*LipidInventory) Supplier

func (o *LipidInventory) Supplier(mods ...qm.QueryMod) supplierQuery

Supplier pointed to by the foreign key.

func (*LipidInventory) Update

func (o *LipidInventory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the LipidInventory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*LipidInventory) Upsert

func (o *LipidInventory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type LipidInventoryHook

type LipidInventoryHook func(context.Context, boil.ContextExecutor, *LipidInventory) error

LipidInventoryHook is the signature for custom LipidInventory hook methods

type LipidInventorySlice

type LipidInventorySlice []*LipidInventory

LipidInventorySlice is an alias for a slice of pointers to LipidInventory. This should generally be used opposed to []LipidInventory.

func (LipidInventorySlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*LipidInventorySlice) ReloadAll

func (o *LipidInventorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LipidInventorySlice) UpdateAll

func (o LipidInventorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type LipidSlice

type LipidSlice []*Lipid

LipidSlice is an alias for a slice of pointers to Lipid. This should generally be used opposed to []Lipid.

func (LipidSlice) DeleteAll

func (o LipidSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*LipidSlice) ReloadAll

func (o *LipidSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LipidSlice) UpdateAll

func (o LipidSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Lye

type Lye struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Kind      string    `boil:"kind" json:"kind" toml:"kind" yaml:"kind"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Note      string    `boil:"note" json:"note" toml:"note" yaml:"note"`

	R *lyeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L lyeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Lye is an object representing the database table.

func FindLye

func FindLye(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Lye, error)

FindLye retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Lye) AddLyeInventories

func (o *Lye) AddLyeInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LyeInventory) error

AddLyeInventories adds the given related objects to the existing relationships of the lye, optionally inserting them as new records. Appends related to o.R.LyeInventories. Sets related.R.Lye appropriately.

func (*Lye) Delete

func (o *Lye) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Lye record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Lye) Insert

func (o *Lye) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Lye) LyeInventories

func (o *Lye) LyeInventories(mods ...qm.QueryMod) lyeInventoryQuery

LyeInventories retrieves all the lye_inventory's LyeInventories with an executor.

func (*Lye) RecipeBatchLye

func (o *Lye) RecipeBatchLye(mods ...qm.QueryMod) recipeBatchLyeQuery

RecipeBatchLye pointed to by the foreign key.

func (*Lye) Reload

func (o *Lye) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Lye) SetRecipeBatchLye

func (o *Lye) SetRecipeBatchLye(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatchLye) error

SetRecipeBatchLye of the lye to the related item. Sets o.R.RecipeBatchLye to related. Adds o to related.R.Lye.

func (*Lye) Update

func (o *Lye) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Lye. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Lye) Upsert

func (o *Lye) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type LyeHook

type LyeHook func(context.Context, boil.ContextExecutor, *Lye) error

LyeHook is the signature for custom Lye hook methods

type LyeInventory

type LyeInventory struct {
	ID            int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt     time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt     null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	PurchaseDate  time.Time `boil:"purchase_date" json:"purchase_date" toml:"purchase_date" yaml:"purchase_date"`
	ExpiryDate    time.Time `boil:"expiry_date" json:"expiry_date" toml:"expiry_date" yaml:"expiry_date"`
	Cost          float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	Weight        float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	Concentration float64   `boil:"concentration" json:"concentration" toml:"concentration" yaml:"concentration"`
	LyeID         int       `boil:"lye_id" json:"lye_id" toml:"lye_id" yaml:"lye_id"`
	SupplierID    int       `boil:"supplier_id" json:"supplier_id" toml:"supplier_id" yaml:"supplier_id"`

	R *lyeInventoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L lyeInventoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

LyeInventory is an object representing the database table.

func FindLyeInventory

func FindLyeInventory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*LyeInventory, error)

FindLyeInventory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*LyeInventory) Delete

func (o *LyeInventory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single LyeInventory record with an executor. Delete will match against the primary key column to find the record to delete.

func (*LyeInventory) Insert

func (o *LyeInventory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*LyeInventory) Lye

func (o *LyeInventory) Lye(mods ...qm.QueryMod) lyeQuery

Lye pointed to by the foreign key.

func (*LyeInventory) Reload

func (o *LyeInventory) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*LyeInventory) SetLye

func (o *LyeInventory) SetLye(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Lye) error

SetLye of the lyeInventory to the related item. Sets o.R.Lye to related. Adds o to related.R.LyeInventories.

func (*LyeInventory) SetSupplier

func (o *LyeInventory) SetSupplier(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Supplier) error

SetSupplier of the lyeInventory to the related item. Sets o.R.Supplier to related. Adds o to related.R.LyeInventories.

func (*LyeInventory) Supplier

func (o *LyeInventory) Supplier(mods ...qm.QueryMod) supplierQuery

Supplier pointed to by the foreign key.

func (*LyeInventory) Update

func (o *LyeInventory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the LyeInventory. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*LyeInventory) Upsert

func (o *LyeInventory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type LyeInventoryHook

type LyeInventoryHook func(context.Context, boil.ContextExecutor, *LyeInventory) error

LyeInventoryHook is the signature for custom LyeInventory hook methods

type LyeInventorySlice

type LyeInventorySlice []*LyeInventory

LyeInventorySlice is an alias for a slice of pointers to LyeInventory. This should generally be used opposed to []LyeInventory.

func (LyeInventorySlice) DeleteAll

func (o LyeInventorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*LyeInventorySlice) ReloadAll

func (o *LyeInventorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LyeInventorySlice) UpdateAll

func (o LyeInventorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type LyeSlice

type LyeSlice []*Lye

LyeSlice is an alias for a slice of pointers to Lye. This should generally be used opposed to []Lye.

func (LyeSlice) DeleteAll

func (o LyeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*LyeSlice) ReloadAll

func (o *LyeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (LyeSlice) UpdateAll

func (o LyeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

type Recipe

type Recipe struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Note      string    `boil:"note" json:"note" toml:"note" yaml:"note"`

	R *recipeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Recipe is an object representing the database table.

func FindRecipe

func FindRecipe(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Recipe, error)

FindRecipe retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Recipe) AddRecipeAdditives

func (o *Recipe) AddRecipeAdditives(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeAdditive) error

AddRecipeAdditives adds the given related objects to the existing relationships of the recipe, optionally inserting them as new records. Appends related to o.R.RecipeAdditives. Sets related.R.Recipe appropriately.

func (*Recipe) AddRecipeBatches

func (o *Recipe) AddRecipeBatches(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeBatch) error

AddRecipeBatches adds the given related objects to the existing relationships of the recipe, optionally inserting them as new records. Appends related to o.R.RecipeBatches. Sets related.R.Recipe appropriately.

func (*Recipe) AddRecipeFragrances

func (o *Recipe) AddRecipeFragrances(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeFragrance) error

AddRecipeFragrances adds the given related objects to the existing relationships of the recipe, optionally inserting them as new records. Appends related to o.R.RecipeFragrances. Sets related.R.Recipe appropriately.

func (*Recipe) AddRecipeLipids

func (o *Recipe) AddRecipeLipids(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeLipid) error

AddRecipeLipids adds the given related objects to the existing relationships of the recipe, optionally inserting them as new records. Appends related to o.R.RecipeLipids. Sets related.R.Recipe appropriately.

func (*Recipe) AddRecipeSteps

func (o *Recipe) AddRecipeSteps(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeStep) error

AddRecipeSteps adds the given related objects to the existing relationships of the recipe, optionally inserting them as new records. Appends related to o.R.RecipeSteps. Sets related.R.Recipe appropriately.

func (*Recipe) Delete

func (o *Recipe) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Recipe record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Recipe) Insert

func (o *Recipe) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Recipe) RecipeAdditives

func (o *Recipe) RecipeAdditives(mods ...qm.QueryMod) recipeAdditiveQuery

RecipeAdditives retrieves all the recipe_additive's RecipeAdditives with an executor.

func (*Recipe) RecipeBatches

func (o *Recipe) RecipeBatches(mods ...qm.QueryMod) recipeBatchQuery

RecipeBatches retrieves all the recipe_batch's RecipeBatches with an executor.

func (*Recipe) RecipeFragrances

func (o *Recipe) RecipeFragrances(mods ...qm.QueryMod) recipeFragranceQuery

RecipeFragrances retrieves all the recipe_fragrance's RecipeFragrances with an executor.

func (*Recipe) RecipeLipids

func (o *Recipe) RecipeLipids(mods ...qm.QueryMod) recipeLipidQuery

RecipeLipids retrieves all the recipe_lipid's RecipeLipids with an executor.

func (*Recipe) RecipeSteps

func (o *Recipe) RecipeSteps(mods ...qm.QueryMod) recipeStepQuery

RecipeSteps retrieves all the recipe_step's RecipeSteps with an executor.

func (*Recipe) Reload

func (o *Recipe) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Recipe) Update

func (o *Recipe) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Recipe. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Recipe) Upsert

func (o *Recipe) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeAdditive

type RecipeAdditive struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt  time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt  null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Percentage float64   `boil:"percentage" json:"percentage" toml:"percentage" yaml:"percentage"`
	AdditiveID int       `boil:"additive_id" json:"additive_id" toml:"additive_id" yaml:"additive_id"`
	RecipeID   int       `boil:"recipe_id" json:"recipe_id" toml:"recipe_id" yaml:"recipe_id"`

	R *recipeAdditiveR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeAdditiveL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeAdditive is an object representing the database table.

func FindRecipeAdditive

func FindRecipeAdditive(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeAdditive, error)

FindRecipeAdditive retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeAdditive) Additive

func (o *RecipeAdditive) Additive(mods ...qm.QueryMod) additiveQuery

Additive pointed to by the foreign key.

func (*RecipeAdditive) Delete

func (o *RecipeAdditive) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single RecipeAdditive record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeAdditive) Insert

func (o *RecipeAdditive) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeAdditive) Recipe

func (o *RecipeAdditive) Recipe(mods ...qm.QueryMod) recipeQuery

Recipe pointed to by the foreign key.

func (*RecipeAdditive) Reload

func (o *RecipeAdditive) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeAdditive) SetAdditive

func (o *RecipeAdditive) SetAdditive(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Additive) error

SetAdditive of the recipeAdditive to the related item. Sets o.R.Additive to related. Adds o to related.R.RecipeAdditive.

func (*RecipeAdditive) SetRecipe

func (o *RecipeAdditive) SetRecipe(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Recipe) error

SetRecipe of the recipeAdditive to the related item. Sets o.R.Recipe to related. Adds o to related.R.RecipeAdditives.

func (*RecipeAdditive) Update

func (o *RecipeAdditive) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeAdditive. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeAdditive) Upsert

func (o *RecipeAdditive) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeAdditiveHook

type RecipeAdditiveHook func(context.Context, boil.ContextExecutor, *RecipeAdditive) error

RecipeAdditiveHook is the signature for custom RecipeAdditive hook methods

type RecipeAdditiveSlice

type RecipeAdditiveSlice []*RecipeAdditive

RecipeAdditiveSlice is an alias for a slice of pointers to RecipeAdditive. This should generally be used opposed to []RecipeAdditive.

func (RecipeAdditiveSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeAdditiveSlice) ReloadAll

func (o *RecipeAdditiveSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeAdditiveSlice) UpdateAll

func (o RecipeAdditiveSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeBatch

type RecipeBatch struct {
	ID               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt        time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt        null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Tag              string    `boil:"tag" json:"tag" toml:"tag" yaml:"tag"`
	ProductionDate   time.Time `boil:"production_date" json:"production_date" toml:"production_date" yaml:"production_date"`
	SellableDate     time.Time `boil:"sellable_date" json:"sellable_date" toml:"sellable_date" yaml:"sellable_date"`
	Note             string    `boil:"note" json:"note" toml:"note" yaml:"note"`
	LipidWeight      float64   `boil:"lipid_weight" json:"lipid_weight" toml:"lipid_weight" yaml:"lipid_weight"`
	ProductionWeight float64   `boil:"production_weight" json:"production_weight" toml:"production_weight" yaml:"production_weight"`
	CuredWeight      float64   `boil:"cured_weight" json:"cured_weight" toml:"cured_weight" yaml:"cured_weight"`
	RecipeID         int       `boil:"recipe_id" json:"recipe_id" toml:"recipe_id" yaml:"recipe_id"`

	R *recipeBatchR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeBatchL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeBatch is an object representing the database table.

func FindRecipeBatch

func FindRecipeBatch(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeBatch, error)

FindRecipeBatch retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeBatch) AddBatchRecipeBatchAdditives

func (o *RecipeBatch) AddBatchRecipeBatchAdditives(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeBatchAdditive) error

AddBatchRecipeBatchAdditives adds the given related objects to the existing relationships of the recipe_batch, optionally inserting them as new records. Appends related to o.R.BatchRecipeBatchAdditives. Sets related.R.Batch appropriately.

func (*RecipeBatch) AddBatchRecipeBatchFragrances

func (o *RecipeBatch) AddBatchRecipeBatchFragrances(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeBatchFragrance) error

AddBatchRecipeBatchFragrances adds the given related objects to the existing relationships of the recipe_batch, optionally inserting them as new records. Appends related to o.R.BatchRecipeBatchFragrances. Sets related.R.Batch appropriately.

func (*RecipeBatch) AddBatchRecipeBatchLipids

func (o *RecipeBatch) AddBatchRecipeBatchLipids(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeBatchLipid) error

AddBatchRecipeBatchLipids adds the given related objects to the existing relationships of the recipe_batch, optionally inserting them as new records. Appends related to o.R.BatchRecipeBatchLipids. Sets related.R.Batch appropriately.

func (*RecipeBatch) AddBatchRecipeBatchLyes

func (o *RecipeBatch) AddBatchRecipeBatchLyes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeBatchLye) error

AddBatchRecipeBatchLyes adds the given related objects to the existing relationships of the recipe_batch, optionally inserting them as new records. Appends related to o.R.BatchRecipeBatchLyes. Sets related.R.Batch appropriately.

func (*RecipeBatch) AddBatchRecipeBatchNotes

func (o *RecipeBatch) AddBatchRecipeBatchNotes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*RecipeBatchNote) error

AddBatchRecipeBatchNotes adds the given related objects to the existing relationships of the recipe_batch, optionally inserting them as new records. Appends related to o.R.BatchRecipeBatchNotes. Sets related.R.Batch appropriately.

func (*RecipeBatch) BatchRecipeBatchAdditives

func (o *RecipeBatch) BatchRecipeBatchAdditives(mods ...qm.QueryMod) recipeBatchAdditiveQuery

BatchRecipeBatchAdditives retrieves all the recipe_batch_additive's RecipeBatchAdditives with an executor via batch_id column.

func (*RecipeBatch) BatchRecipeBatchFragrances

func (o *RecipeBatch) BatchRecipeBatchFragrances(mods ...qm.QueryMod) recipeBatchFragranceQuery

BatchRecipeBatchFragrances retrieves all the recipe_batch_fragrance's RecipeBatchFragrances with an executor via batch_id column.

func (*RecipeBatch) BatchRecipeBatchLipids

func (o *RecipeBatch) BatchRecipeBatchLipids(mods ...qm.QueryMod) recipeBatchLipidQuery

BatchRecipeBatchLipids retrieves all the recipe_batch_lipid's RecipeBatchLipids with an executor via batch_id column.

func (*RecipeBatch) BatchRecipeBatchLyes

func (o *RecipeBatch) BatchRecipeBatchLyes(mods ...qm.QueryMod) recipeBatchLyeQuery

BatchRecipeBatchLyes retrieves all the recipe_batch_lye's RecipeBatchLyes with an executor via batch_id column.

func (*RecipeBatch) BatchRecipeBatchNotes

func (o *RecipeBatch) BatchRecipeBatchNotes(mods ...qm.QueryMod) recipeBatchNoteQuery

BatchRecipeBatchNotes retrieves all the recipe_batch_note's RecipeBatchNotes with an executor via batch_id column.

func (*RecipeBatch) Delete

func (o *RecipeBatch) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single RecipeBatch record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeBatch) Insert

func (o *RecipeBatch) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeBatch) Recipe

func (o *RecipeBatch) Recipe(mods ...qm.QueryMod) recipeQuery

Recipe pointed to by the foreign key.

func (*RecipeBatch) Reload

func (o *RecipeBatch) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeBatch) SetRecipe

func (o *RecipeBatch) SetRecipe(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Recipe) error

SetRecipe of the recipeBatch to the related item. Sets o.R.Recipe to related. Adds o to related.R.RecipeBatches.

func (*RecipeBatch) Update

func (o *RecipeBatch) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeBatch. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeBatch) Upsert

func (o *RecipeBatch) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeBatchAdditive

type RecipeBatchAdditive struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt  time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt  null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Weight     float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	Cost       float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	AdditiveID int       `boil:"additive_id" json:"additive_id" toml:"additive_id" yaml:"additive_id"`
	BatchID    int       `boil:"batch_id" json:"batch_id" toml:"batch_id" yaml:"batch_id"`

	R *recipeBatchAdditiveR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeBatchAdditiveL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeBatchAdditive is an object representing the database table.

func FindRecipeBatchAdditive

func FindRecipeBatchAdditive(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeBatchAdditive, error)

FindRecipeBatchAdditive retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeBatchAdditive) Additive

func (o *RecipeBatchAdditive) Additive(mods ...qm.QueryMod) additiveQuery

Additive pointed to by the foreign key.

func (*RecipeBatchAdditive) Batch

func (o *RecipeBatchAdditive) Batch(mods ...qm.QueryMod) recipeBatchQuery

Batch pointed to by the foreign key.

func (*RecipeBatchAdditive) Delete

Delete deletes a single RecipeBatchAdditive record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeBatchAdditive) Insert

func (o *RecipeBatchAdditive) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeBatchAdditive) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeBatchAdditive) SetAdditive

func (o *RecipeBatchAdditive) SetAdditive(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Additive) error

SetAdditive of the recipeBatchAdditive to the related item. Sets o.R.Additive to related. Adds o to related.R.RecipeBatchAdditive.

func (*RecipeBatchAdditive) SetBatch

func (o *RecipeBatchAdditive) SetBatch(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatch) error

SetBatch of the recipeBatchAdditive to the related item. Sets o.R.Batch to related. Adds o to related.R.BatchRecipeBatchAdditives.

func (*RecipeBatchAdditive) Update

func (o *RecipeBatchAdditive) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeBatchAdditive. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeBatchAdditive) Upsert

func (o *RecipeBatchAdditive) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeBatchAdditiveHook

type RecipeBatchAdditiveHook func(context.Context, boil.ContextExecutor, *RecipeBatchAdditive) error

RecipeBatchAdditiveHook is the signature for custom RecipeBatchAdditive hook methods

type RecipeBatchAdditiveSlice

type RecipeBatchAdditiveSlice []*RecipeBatchAdditive

RecipeBatchAdditiveSlice is an alias for a slice of pointers to RecipeBatchAdditive. This should generally be used opposed to []RecipeBatchAdditive.

func (RecipeBatchAdditiveSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeBatchAdditiveSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeBatchAdditiveSlice) UpdateAll

func (o RecipeBatchAdditiveSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeBatchFragrance

type RecipeBatchFragrance struct {
	ID          int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt   time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt   time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt   null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Weight      float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	Cost        float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	FragranceID int       `boil:"fragrance_id" json:"fragrance_id" toml:"fragrance_id" yaml:"fragrance_id"`
	BatchID     int       `boil:"batch_id" json:"batch_id" toml:"batch_id" yaml:"batch_id"`

	R *recipeBatchFragranceR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeBatchFragranceL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeBatchFragrance is an object representing the database table.

func FindRecipeBatchFragrance

func FindRecipeBatchFragrance(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeBatchFragrance, error)

FindRecipeBatchFragrance retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeBatchFragrance) Batch

func (o *RecipeBatchFragrance) Batch(mods ...qm.QueryMod) recipeBatchQuery

Batch pointed to by the foreign key.

func (*RecipeBatchFragrance) Delete

Delete deletes a single RecipeBatchFragrance record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeBatchFragrance) Fragrance

func (o *RecipeBatchFragrance) Fragrance(mods ...qm.QueryMod) fragranceQuery

Fragrance pointed to by the foreign key.

func (*RecipeBatchFragrance) Insert

func (o *RecipeBatchFragrance) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeBatchFragrance) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeBatchFragrance) SetBatch

func (o *RecipeBatchFragrance) SetBatch(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatch) error

SetBatch of the recipeBatchFragrance to the related item. Sets o.R.Batch to related. Adds o to related.R.BatchRecipeBatchFragrances.

func (*RecipeBatchFragrance) SetFragrance

func (o *RecipeBatchFragrance) SetFragrance(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Fragrance) error

SetFragrance of the recipeBatchFragrance to the related item. Sets o.R.Fragrance to related. Adds o to related.R.RecipeBatchFragrance.

func (*RecipeBatchFragrance) Update

func (o *RecipeBatchFragrance) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeBatchFragrance. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeBatchFragrance) Upsert

func (o *RecipeBatchFragrance) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeBatchFragranceHook

type RecipeBatchFragranceHook func(context.Context, boil.ContextExecutor, *RecipeBatchFragrance) error

RecipeBatchFragranceHook is the signature for custom RecipeBatchFragrance hook methods

type RecipeBatchFragranceSlice

type RecipeBatchFragranceSlice []*RecipeBatchFragrance

RecipeBatchFragranceSlice is an alias for a slice of pointers to RecipeBatchFragrance. This should generally be used opposed to []RecipeBatchFragrance.

func (RecipeBatchFragranceSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeBatchFragranceSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeBatchFragranceSlice) UpdateAll

func (o RecipeBatchFragranceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeBatchHook

type RecipeBatchHook func(context.Context, boil.ContextExecutor, *RecipeBatch) error

RecipeBatchHook is the signature for custom RecipeBatch hook methods

type RecipeBatchLipid

type RecipeBatchLipid struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Weight    float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	Cost      float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	LipidID   int       `boil:"lipid_id" json:"lipid_id" toml:"lipid_id" yaml:"lipid_id"`
	BatchID   int       `boil:"batch_id" json:"batch_id" toml:"batch_id" yaml:"batch_id"`

	R *recipeBatchLipidR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeBatchLipidL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeBatchLipid is an object representing the database table.

func FindRecipeBatchLipid

func FindRecipeBatchLipid(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeBatchLipid, error)

FindRecipeBatchLipid retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeBatchLipid) Batch

func (o *RecipeBatchLipid) Batch(mods ...qm.QueryMod) recipeBatchQuery

Batch pointed to by the foreign key.

func (*RecipeBatchLipid) Delete

Delete deletes a single RecipeBatchLipid record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeBatchLipid) Insert

func (o *RecipeBatchLipid) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeBatchLipid) Lipid

func (o *RecipeBatchLipid) Lipid(mods ...qm.QueryMod) lipidQuery

Lipid pointed to by the foreign key.

func (*RecipeBatchLipid) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeBatchLipid) SetBatch

func (o *RecipeBatchLipid) SetBatch(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatch) error

SetBatch of the recipeBatchLipid to the related item. Sets o.R.Batch to related. Adds o to related.R.BatchRecipeBatchLipids.

func (*RecipeBatchLipid) SetLipid

func (o *RecipeBatchLipid) SetLipid(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Lipid) error

SetLipid of the recipeBatchLipid to the related item. Sets o.R.Lipid to related. Adds o to related.R.RecipeBatchLipid.

func (*RecipeBatchLipid) Update

func (o *RecipeBatchLipid) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeBatchLipid. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeBatchLipid) Upsert

func (o *RecipeBatchLipid) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeBatchLipidHook

type RecipeBatchLipidHook func(context.Context, boil.ContextExecutor, *RecipeBatchLipid) error

RecipeBatchLipidHook is the signature for custom RecipeBatchLipid hook methods

type RecipeBatchLipidSlice

type RecipeBatchLipidSlice []*RecipeBatchLipid

RecipeBatchLipidSlice is an alias for a slice of pointers to RecipeBatchLipid. This should generally be used opposed to []RecipeBatchLipid.

func (RecipeBatchLipidSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeBatchLipidSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeBatchLipidSlice) UpdateAll

func (o RecipeBatchLipidSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeBatchLye

type RecipeBatchLye struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Weight    float64   `boil:"weight" json:"weight" toml:"weight" yaml:"weight"`
	Discount  float64   `boil:"discount" json:"discount" toml:"discount" yaml:"discount"`
	Cost      float64   `boil:"cost" json:"cost" toml:"cost" yaml:"cost"`
	LyeID     int       `boil:"lye_id" json:"lye_id" toml:"lye_id" yaml:"lye_id"`
	BatchID   int       `boil:"batch_id" json:"batch_id" toml:"batch_id" yaml:"batch_id"`

	R *recipeBatchLyeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeBatchLyeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeBatchLye is an object representing the database table.

func FindRecipeBatchLye

func FindRecipeBatchLye(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeBatchLye, error)

FindRecipeBatchLye retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeBatchLye) Batch

func (o *RecipeBatchLye) Batch(mods ...qm.QueryMod) recipeBatchQuery

Batch pointed to by the foreign key.

func (*RecipeBatchLye) Delete

func (o *RecipeBatchLye) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single RecipeBatchLye record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeBatchLye) Insert

func (o *RecipeBatchLye) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeBatchLye) Lye

func (o *RecipeBatchLye) Lye(mods ...qm.QueryMod) lyeQuery

Lye pointed to by the foreign key.

func (*RecipeBatchLye) Reload

func (o *RecipeBatchLye) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeBatchLye) SetBatch

func (o *RecipeBatchLye) SetBatch(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatch) error

SetBatch of the recipeBatchLye to the related item. Sets o.R.Batch to related. Adds o to related.R.BatchRecipeBatchLyes.

func (*RecipeBatchLye) SetLye

func (o *RecipeBatchLye) SetLye(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Lye) error

SetLye of the recipeBatchLye to the related item. Sets o.R.Lye to related. Adds o to related.R.RecipeBatchLye.

func (*RecipeBatchLye) Update

func (o *RecipeBatchLye) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeBatchLye. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeBatchLye) Upsert

func (o *RecipeBatchLye) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeBatchLyeHook

type RecipeBatchLyeHook func(context.Context, boil.ContextExecutor, *RecipeBatchLye) error

RecipeBatchLyeHook is the signature for custom RecipeBatchLye hook methods

type RecipeBatchLyeSlice

type RecipeBatchLyeSlice []*RecipeBatchLye

RecipeBatchLyeSlice is an alias for a slice of pointers to RecipeBatchLye. This should generally be used opposed to []RecipeBatchLye.

func (RecipeBatchLyeSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeBatchLyeSlice) ReloadAll

func (o *RecipeBatchLyeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeBatchLyeSlice) UpdateAll

func (o RecipeBatchLyeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeBatchNote

type RecipeBatchNote struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Note      string    `boil:"note" json:"note" toml:"note" yaml:"note"`
	Link      string    `boil:"link" json:"link" toml:"link" yaml:"link"`
	BatchID   int       `boil:"batch_id" json:"batch_id" toml:"batch_id" yaml:"batch_id"`

	R *recipeBatchNoteR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeBatchNoteL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeBatchNote is an object representing the database table.

func FindRecipeBatchNote

func FindRecipeBatchNote(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeBatchNote, error)

FindRecipeBatchNote retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeBatchNote) Batch

func (o *RecipeBatchNote) Batch(mods ...qm.QueryMod) recipeBatchQuery

Batch pointed to by the foreign key.

func (*RecipeBatchNote) Delete

func (o *RecipeBatchNote) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single RecipeBatchNote record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeBatchNote) Insert

func (o *RecipeBatchNote) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeBatchNote) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeBatchNote) SetBatch

func (o *RecipeBatchNote) SetBatch(ctx context.Context, exec boil.ContextExecutor, insert bool, related *RecipeBatch) error

SetBatch of the recipeBatchNote to the related item. Sets o.R.Batch to related. Adds o to related.R.BatchRecipeBatchNotes.

func (*RecipeBatchNote) Update

func (o *RecipeBatchNote) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeBatchNote. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeBatchNote) Upsert

func (o *RecipeBatchNote) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeBatchNoteHook

type RecipeBatchNoteHook func(context.Context, boil.ContextExecutor, *RecipeBatchNote) error

RecipeBatchNoteHook is the signature for custom RecipeBatchNote hook methods

type RecipeBatchNoteSlice

type RecipeBatchNoteSlice []*RecipeBatchNote

RecipeBatchNoteSlice is an alias for a slice of pointers to RecipeBatchNote. This should generally be used opposed to []RecipeBatchNote.

func (RecipeBatchNoteSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeBatchNoteSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeBatchNoteSlice) UpdateAll

func (o RecipeBatchNoteSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeBatchSlice

type RecipeBatchSlice []*RecipeBatch

RecipeBatchSlice is an alias for a slice of pointers to RecipeBatch. This should generally be used opposed to []RecipeBatch.

func (RecipeBatchSlice) DeleteAll

func (o RecipeBatchSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeBatchSlice) ReloadAll

func (o *RecipeBatchSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeBatchSlice) UpdateAll

func (o RecipeBatchSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeFragrance

type RecipeFragrance struct {
	ID          int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt   time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt   time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt   null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Percentage  float64   `boil:"percentage" json:"percentage" toml:"percentage" yaml:"percentage"`
	FragranceID int       `boil:"fragrance_id" json:"fragrance_id" toml:"fragrance_id" yaml:"fragrance_id"`
	RecipeID    int       `boil:"recipe_id" json:"recipe_id" toml:"recipe_id" yaml:"recipe_id"`

	R *recipeFragranceR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeFragranceL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeFragrance is an object representing the database table.

func FindRecipeFragrance

func FindRecipeFragrance(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeFragrance, error)

FindRecipeFragrance retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeFragrance) Delete

func (o *RecipeFragrance) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single RecipeFragrance record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeFragrance) Fragrance

func (o *RecipeFragrance) Fragrance(mods ...qm.QueryMod) fragranceQuery

Fragrance pointed to by the foreign key.

func (*RecipeFragrance) Insert

func (o *RecipeFragrance) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeFragrance) Recipe

func (o *RecipeFragrance) Recipe(mods ...qm.QueryMod) recipeQuery

Recipe pointed to by the foreign key.

func (*RecipeFragrance) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeFragrance) SetFragrance

func (o *RecipeFragrance) SetFragrance(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Fragrance) error

SetFragrance of the recipeFragrance to the related item. Sets o.R.Fragrance to related. Adds o to related.R.RecipeFragrance.

func (*RecipeFragrance) SetRecipe

func (o *RecipeFragrance) SetRecipe(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Recipe) error

SetRecipe of the recipeFragrance to the related item. Sets o.R.Recipe to related. Adds o to related.R.RecipeFragrances.

func (*RecipeFragrance) Update

func (o *RecipeFragrance) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeFragrance. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeFragrance) Upsert

func (o *RecipeFragrance) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeFragranceHook

type RecipeFragranceHook func(context.Context, boil.ContextExecutor, *RecipeFragrance) error

RecipeFragranceHook is the signature for custom RecipeFragrance hook methods

type RecipeFragranceSlice

type RecipeFragranceSlice []*RecipeFragrance

RecipeFragranceSlice is an alias for a slice of pointers to RecipeFragrance. This should generally be used opposed to []RecipeFragrance.

func (RecipeFragranceSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeFragranceSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeFragranceSlice) UpdateAll

func (o RecipeFragranceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeHook

type RecipeHook func(context.Context, boil.ContextExecutor, *Recipe) error

RecipeHook is the signature for custom Recipe hook methods

type RecipeLipid

type RecipeLipid struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt  time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt  null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Percentage float64   `boil:"percentage" json:"percentage" toml:"percentage" yaml:"percentage"`
	LipidID    int       `boil:"lipid_id" json:"lipid_id" toml:"lipid_id" yaml:"lipid_id"`
	RecipeID   int       `boil:"recipe_id" json:"recipe_id" toml:"recipe_id" yaml:"recipe_id"`

	R *recipeLipidR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeLipidL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeLipid is an object representing the database table.

func FindRecipeLipid

func FindRecipeLipid(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeLipid, error)

FindRecipeLipid retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeLipid) Delete

func (o *RecipeLipid) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single RecipeLipid record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeLipid) Insert

func (o *RecipeLipid) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeLipid) Lipid

func (o *RecipeLipid) Lipid(mods ...qm.QueryMod) lipidQuery

Lipid pointed to by the foreign key.

func (*RecipeLipid) Recipe

func (o *RecipeLipid) Recipe(mods ...qm.QueryMod) recipeQuery

Recipe pointed to by the foreign key.

func (*RecipeLipid) Reload

func (o *RecipeLipid) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeLipid) SetLipid

func (o *RecipeLipid) SetLipid(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Lipid) error

SetLipid of the recipeLipid to the related item. Sets o.R.Lipid to related. Adds o to related.R.RecipeLipid.

func (*RecipeLipid) SetRecipe

func (o *RecipeLipid) SetRecipe(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Recipe) error

SetRecipe of the recipeLipid to the related item. Sets o.R.Recipe to related. Adds o to related.R.RecipeLipids.

func (*RecipeLipid) Update

func (o *RecipeLipid) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeLipid. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeLipid) Upsert

func (o *RecipeLipid) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeLipidHook

type RecipeLipidHook func(context.Context, boil.ContextExecutor, *RecipeLipid) error

RecipeLipidHook is the signature for custom RecipeLipid hook methods

type RecipeLipidSlice

type RecipeLipidSlice []*RecipeLipid

RecipeLipidSlice is an alias for a slice of pointers to RecipeLipid. This should generally be used opposed to []RecipeLipid.

func (RecipeLipidSlice) DeleteAll

func (o RecipeLipidSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeLipidSlice) ReloadAll

func (o *RecipeLipidSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeLipidSlice) UpdateAll

func (o RecipeLipidSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeSlice

type RecipeSlice []*Recipe

RecipeSlice is an alias for a slice of pointers to Recipe. This should generally be used opposed to []Recipe.

func (RecipeSlice) DeleteAll

func (o RecipeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeSlice) ReloadAll

func (o *RecipeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeSlice) UpdateAll

func (o RecipeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type RecipeStep

type RecipeStep struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Num       int       `boil:"num" json:"num" toml:"num" yaml:"num"`
	Note      string    `boil:"note" json:"note" toml:"note" yaml:"note"`
	RecipeID  int       `boil:"recipe_id" json:"recipe_id" toml:"recipe_id" yaml:"recipe_id"`

	R *recipeStepR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L recipeStepL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RecipeStep is an object representing the database table.

func FindRecipeStep

func FindRecipeStep(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*RecipeStep, error)

FindRecipeStep retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*RecipeStep) Delete

func (o *RecipeStep) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single RecipeStep record with an executor. Delete will match against the primary key column to find the record to delete.

func (*RecipeStep) Insert

func (o *RecipeStep) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*RecipeStep) Recipe

func (o *RecipeStep) Recipe(mods ...qm.QueryMod) recipeQuery

Recipe pointed to by the foreign key.

func (*RecipeStep) Reload

func (o *RecipeStep) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*RecipeStep) SetRecipe

func (o *RecipeStep) SetRecipe(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Recipe) error

SetRecipe of the recipeStep to the related item. Sets o.R.Recipe to related. Adds o to related.R.RecipeSteps.

func (*RecipeStep) Update

func (o *RecipeStep) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the RecipeStep. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RecipeStep) Upsert

func (o *RecipeStep) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type RecipeStepHook

type RecipeStepHook func(context.Context, boil.ContextExecutor, *RecipeStep) error

RecipeStepHook is the signature for custom RecipeStep hook methods

type RecipeStepSlice

type RecipeStepSlice []*RecipeStep

RecipeStepSlice is an alias for a slice of pointers to RecipeStep. This should generally be used opposed to []RecipeStep.

func (RecipeStepSlice) DeleteAll

func (o RecipeStepSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*RecipeStepSlice) ReloadAll

func (o *RecipeStepSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (RecipeStepSlice) UpdateAll

func (o RecipeStepSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Supplier

type Supplier struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Website   string    `boil:"website" json:"website" toml:"website" yaml:"website"`
	Note      string    `boil:"note" json:"note" toml:"note" yaml:"note"`

	R *supplierR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L supplierL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Supplier is an object representing the database table.

func FindSupplier

func FindSupplier(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Supplier, error)

FindSupplier retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Supplier) AddAdditiveInventories

func (o *Supplier) AddAdditiveInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AdditiveInventory) error

AddAdditiveInventories adds the given related objects to the existing relationships of the supplier, optionally inserting them as new records. Appends related to o.R.AdditiveInventories. Sets related.R.Supplier appropriately.

func (*Supplier) AddFragranceInventories

func (o *Supplier) AddFragranceInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*FragranceInventory) error

AddFragranceInventories adds the given related objects to the existing relationships of the supplier, optionally inserting them as new records. Appends related to o.R.FragranceInventories. Sets related.R.Supplier appropriately.

func (*Supplier) AddLipidInventories

func (o *Supplier) AddLipidInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LipidInventory) error

AddLipidInventories adds the given related objects to the existing relationships of the supplier, optionally inserting them as new records. Appends related to o.R.LipidInventories. Sets related.R.Supplier appropriately.

func (*Supplier) AddLyeInventories

func (o *Supplier) AddLyeInventories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LyeInventory) error

AddLyeInventories adds the given related objects to the existing relationships of the supplier, optionally inserting them as new records. Appends related to o.R.LyeInventories. Sets related.R.Supplier appropriately.

func (*Supplier) AdditiveInventories

func (o *Supplier) AdditiveInventories(mods ...qm.QueryMod) additiveInventoryQuery

AdditiveInventories retrieves all the additive_inventory's AdditiveInventories with an executor.

func (*Supplier) Delete

func (o *Supplier) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Supplier record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Supplier) FragranceInventories

func (o *Supplier) FragranceInventories(mods ...qm.QueryMod) fragranceInventoryQuery

FragranceInventories retrieves all the fragrance_inventory's FragranceInventories with an executor.

func (*Supplier) Insert

func (o *Supplier) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Supplier) LipidInventories

func (o *Supplier) LipidInventories(mods ...qm.QueryMod) lipidInventoryQuery

LipidInventories retrieves all the lipid_inventory's LipidInventories with an executor.

func (*Supplier) LyeInventories

func (o *Supplier) LyeInventories(mods ...qm.QueryMod) lyeInventoryQuery

LyeInventories retrieves all the lye_inventory's LyeInventories with an executor.

func (*Supplier) Reload

func (o *Supplier) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Supplier) Update

func (o *Supplier) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Supplier. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Supplier) Upsert

func (o *Supplier) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type SupplierHook

type SupplierHook func(context.Context, boil.ContextExecutor, *Supplier) error

SupplierHook is the signature for custom Supplier hook methods

type SupplierSlice

type SupplierSlice []*Supplier

SupplierSlice is an alias for a slice of pointers to Supplier. This should generally be used opposed to []Supplier.

func (SupplierSlice) DeleteAll

func (o SupplierSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*SupplierSlice) ReloadAll

func (o *SupplierSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (SupplierSlice) UpdateAll

func (o SupplierSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

Jump to

Keyboard shortcuts

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