kmodels

package
v1.4.9 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: MIT Imports: 13 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CatalogColumns = struct {
	ID              string
	Name            string
	ParentID        string
	CreatedAt       string
	UpdatedAt       string
	Catorder        string
	Secure          string
	Visible         string
	Open            string
	Label           string
	SelectedCatalog string
	UserID          string
	BooksCatalog    string
}{
	ID:              "id",
	Name:            "name",
	ParentID:        "parent_id",
	CreatedAt:       "created_at",
	UpdatedAt:       "updated_at",
	Catorder:        "catorder",
	Secure:          "secure",
	Visible:         "visible",
	Open:            "open",
	Label:           "label",
	SelectedCatalog: "selected_catalog",
	UserID:          "user_id",
	BooksCatalog:    "books_catalog",
}
View Source
var CatalogDescriptionColumns = struct {
	ID        string
	CatalogID string
	Name      string
	LangID    string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	CatalogID: "catalog_id",
	Name:      "name",
	LangID:    "lang_id",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var CkeditorAssetColumns = struct {
	ID              string
	DataFileName    string
	DataContentType string
	DataFileSize    string
	AssetableID     string
	AssetableType   string
	Type            string
	CreatedAt       string
	UpdatedAt       string
}{
	ID:              "id",
	DataFileName:    "data_file_name",
	DataContentType: "data_content_type",
	DataFileSize:    "data_file_size",
	AssetableID:     "assetable_id",
	AssetableType:   "assetable_type",
	Type:            "type",
	CreatedAt:       "created_at",
	UpdatedAt:       "updated_at",
}
View Source
var CommentColumns = struct {
	ID        string
	Name      string
	Email     string
	Subject   string
	Comment   string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	Name:      "name",
	Email:     "email",
	Subject:   "subject",
	Comment:   "comment",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var ContainerColumns = struct {
	ID              string
	Name            string
	CreatedAt       string
	UpdatedAt       string
	Filmdate        string
	LangID          string
	LecturerID      string
	Secure          string
	ContentTypeID   string
	MarkedForMerge  string
	SecureChanged   string
	AutoParsed      string
	VirtualLessonID string
	PlaytimeSecs    string
	UserID          string
	ForCensorship   string
	OpenedByCensor  string
	ClosedByCensor  string
	CensorID        string
	Position        string
}{
	ID:              "id",
	Name:            "name",
	CreatedAt:       "created_at",
	UpdatedAt:       "updated_at",
	Filmdate:        "filmdate",
	LangID:          "lang_id",
	LecturerID:      "lecturer_id",
	Secure:          "secure",
	ContentTypeID:   "content_type_id",
	MarkedForMerge:  "marked_for_merge",
	SecureChanged:   "secure_changed",
	AutoParsed:      "auto_parsed",
	VirtualLessonID: "virtual_lesson_id",
	PlaytimeSecs:    "playtime_secs",
	UserID:          "user_id",
	ForCensorship:   "for_censorship",
	OpenedByCensor:  "opened_by_censor",
	ClosedByCensor:  "closed_by_censor",
	CensorID:        "censor_id",
	Position:        "position",
}
View Source
var ContainerDescriptionColumns = struct {
	ID            string
	ContainerID   string
	ContainerDesc string
	LangID        string
	CreatedAt     string
	UpdatedAt     string
	Descr         string
}{
	ID:            "id",
	ContainerID:   "container_id",
	ContainerDesc: "container_desc",
	LangID:        "lang_id",
	CreatedAt:     "created_at",
	UpdatedAt:     "updated_at",
	Descr:         "descr",
}
View Source
var ContainerDescriptionPatternColumns = struct {
	ID          string
	Pattern     string
	Description string
	Lang        string
	CreatedAt   string
	UpdatedAt   string
	UserID      string
}{
	ID:          "id",
	Pattern:     "pattern",
	Description: "description",
	Lang:        "lang",
	CreatedAt:   "created_at",
	UpdatedAt:   "updated_at",
	UserID:      "user_id",
}
View Source
var ContainerTranscriptColumns = struct {
	ID          string
	ContainerID string
	Toc         string
	Transcript  string
	Lang        string
	CreatedAt   string
	UpdatedAt   string
}{
	ID:          "id",
	ContainerID: "container_id",
	Toc:         "toc",
	Transcript:  "transcript",
	Lang:        "lang",
	CreatedAt:   "created_at",
	UpdatedAt:   "updated_at",
}
View Source
var ContentTypeColumns = struct {
	ID      string
	Name    string
	Pattern string
	Secure  string
}{
	ID:      "id",
	Name:    "name",
	Pattern: "pattern",
	Secure:  "secure",
}
View Source
var DepartmentColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	Name:      "name",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var DictionaryColumns = struct {
	ID        string
	Suid      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	Suid:      "suid",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var DictionaryDescriptionColumns = struct {
	ID           string
	DictionaryID string
	Topic        string
	Lang         string
	CreatedAt    string
	UpdatedAt    string
}{
	ID:           "id",
	DictionaryID: "dictionary_id",
	Topic:        "topic",
	Lang:         "lang",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
}
View Source
var ErrSyncFail = errors.New("kmodels: 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 FileAssetColumns = struct {
	ID           string
	Name         string
	LangID       string
	AssetType    string
	Date         string
	Size         string
	ServernameID string
	Status       string
	CreatedAt    string
	UpdatedAt    string
	Lastuser     string
	Clicks       string
	Secure       string
	PlaytimeSecs string
	UserID       string
	Sha1         string
}{
	ID:           "id",
	Name:         "name",
	LangID:       "lang_id",
	AssetType:    "asset_type",
	Date:         "date",
	Size:         "size",
	ServernameID: "servername_id",
	Status:       "status",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
	Lastuser:     "lastuser",
	Clicks:       "clicks",
	Secure:       "secure",
	PlaytimeSecs: "playtime_secs",
	UserID:       "user_id",
	Sha1:         "sha1",
}
View Source
var FileAssetDescriptionColumns = struct {
	ID        string
	FileID    string
	Filedesc  string
	Lang      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	FileID:    "file_id",
	Filedesc:  "filedesc",
	Lang:      "lang",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var FileTypeColumns = struct {
	Name    string
	Extlist string
	Pic     string
}{
	Name:    "name",
	Extlist: "extlist",
	Pic:     "pic",
}
View Source
var LabelColumns = struct {
	ID           string
	DictionaryID string
	Suid         string
	CreatedAt    string
	UpdatedAt    string
}{
	ID:           "id",
	DictionaryID: "dictionary_id",
	Suid:         "suid",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
}
View Source
var LabelDescriptionColumns = struct {
	ID        string
	LabelID   string
	Text      string
	Lang      string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	LabelID:   "label_id",
	Text:      "text",
	Lang:      "lang",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var LanguageColumns = struct {
	ID       string
	Locale   string
	Code3    string
	Language string
}{
	ID:       "id",
	Locale:   "locale",
	Code3:    "code3",
	Language: "language",
}
View Source
var LecturerColumns = struct {
	ID        string
	Name      string
	CreatedAt string
	UpdatedAt string
	Ordnum    string
}{
	ID:        "id",
	Name:      "name",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	Ordnum:    "ordnum",
}
View Source
var LecturerDescriptionColumns = struct {
	ID         string
	LecturerID string
	Desc       string
	Lang       string
	CreatedAt  string
	UpdatedAt  string
}{
	ID:         "id",
	LecturerID: "lecturer_id",
	Desc:       "desc",
	Lang:       "lang",
	CreatedAt:  "created_at",
	UpdatedAt:  "updated_at",
}
View Source
var RoleColumns = struct {
	ID          string
	Name        string
	Description string
	CreatedAt   string
	UpdatedAt   string
}{
	ID:          "id",
	Name:        "name",
	Description: "description",
	CreatedAt:   "created_at",
	UpdatedAt:   "updated_at",
}
View Source
var RolesUserColumns = struct {
	RoleID string
	UserID string
}{
	RoleID: "role_id",
	UserID: "user_id",
}
View Source
var ServerColumns = struct {
	Servername string
	Httpurl    string
	Created    string
	Updated    string
	Lastuser   string
	Path       string
	ID         string
}{
	Servername: "servername",
	Httpurl:    "httpurl",
	Created:    "created",
	Updated:    "updated",
	Lastuser:   "lastuser",
	Path:       "path",
	ID:         "id",
}
View Source
var TableNames = struct {
	CatalogDescriptions                  string
	Catalogs                             string
	CatalogsContainerDescriptionPatterns string
	CatalogsContainers                   string
	CkeditorAssets                       string
	Comments                             string
	ContainerDescriptionPatterns         string
	ContainerDescriptions                string
	ContainerTranscripts                 string
	Containers                           string
	ContainersFileAssets                 string
	ContainersLabels                     string
	ContentTypes                         string
	Departments                          string
	Dictionaries                         string
	DictionaryDescriptions               string
	FileAssetDescriptions                string
	FileAssets                           string
	FileTypes                            string
	LabelDescriptions                    string
	Labels                               string
	Languages                            string
	LecturerDescriptions                 string
	Lecturers                            string
	Roles                                string
	RolesUsers                           string
	Servers                              string
	Users                                string
	VirtualLessons                       string
}{
	CatalogDescriptions:                  "catalog_descriptions",
	Catalogs:                             "catalogs",
	CatalogsContainerDescriptionPatterns: "catalogs_container_description_patterns",
	CatalogsContainers:                   "catalogs_containers",
	CkeditorAssets:                       "ckeditor_assets",
	Comments:                             "comments",
	ContainerDescriptionPatterns:         "container_description_patterns",
	ContainerDescriptions:                "container_descriptions",
	ContainerTranscripts:                 "container_transcripts",
	Containers:                           "containers",
	ContainersFileAssets:                 "containers_file_assets",
	ContainersLabels:                     "containers_labels",
	ContentTypes:                         "content_types",
	Departments:                          "departments",
	Dictionaries:                         "dictionaries",
	DictionaryDescriptions:               "dictionary_descriptions",
	FileAssetDescriptions:                "file_asset_descriptions",
	FileAssets:                           "file_assets",
	FileTypes:                            "file_types",
	LabelDescriptions:                    "label_descriptions",
	Labels:                               "labels",
	Languages:                            "languages",
	LecturerDescriptions:                 "lecturer_descriptions",
	Lecturers:                            "lecturers",
	Roles:                                "roles",
	RolesUsers:                           "roles_users",
	Servers:                              "servers",
	Users:                                "users",
	VirtualLessons:                       "virtual_lessons",
}
View Source
var UserColumns = struct {
	ID                  string
	Email               string
	EncryptedPassword   string
	ResetPasswordToken  string
	RememberCreatedAt   string
	SignInCount         string
	CurrentSignInAt     string
	LastSignInAt        string
	CurrentSignInIP     string
	LastSignInIP        string
	CreatedAt           string
	UpdatedAt           string
	FirstName           string
	LastName            string
	AuthenticationToken string
	ResetPasswordSentAt string
	DepartmentID        string
}{
	ID:                  "id",
	Email:               "email",
	EncryptedPassword:   "encrypted_password",
	ResetPasswordToken:  "reset_password_token",
	RememberCreatedAt:   "remember_created_at",
	SignInCount:         "sign_in_count",
	CurrentSignInAt:     "current_sign_in_at",
	LastSignInAt:        "last_sign_in_at",
	CurrentSignInIP:     "current_sign_in_ip",
	LastSignInIP:        "last_sign_in_ip",
	CreatedAt:           "created_at",
	UpdatedAt:           "updated_at",
	FirstName:           "first_name",
	LastName:            "last_name",
	AuthenticationToken: "authentication_token",
	ResetPasswordSentAt: "reset_password_sent_at",
	DepartmentID:        "department_id",
}
View Source
var VirtualLessonColumns = struct {
	ID        string
	FilmDate  string
	CreatedAt string
	UpdatedAt string
	UserID    string
}{
	ID:        "id",
	FilmDate:  "film_date",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	UserID:    "user_id",
}

Functions

func CatalogDescriptionExists

func CatalogDescriptionExists(exec boil.Executor, id int) (bool, error)

CatalogDescriptionExists checks if the CatalogDescription row exists.

func CatalogDescriptionExistsG

func CatalogDescriptionExistsG(id int) (bool, error)

CatalogDescriptionExistsG checks if the CatalogDescription row exists.

func CatalogDescriptionExistsGP

func CatalogDescriptionExistsGP(id int) bool

CatalogDescriptionExistsGP checks if the CatalogDescription row exists. Panics on error.

func CatalogDescriptionExistsP

func CatalogDescriptionExistsP(exec boil.Executor, id int) bool

CatalogDescriptionExistsP checks if the CatalogDescription row exists. Panics on error.

func CatalogDescriptions

func CatalogDescriptions(exec boil.Executor, mods ...qm.QueryMod) catalogDescriptionQuery

CatalogDescriptions retrieves all the records using an executor.

func CatalogDescriptionsG

func CatalogDescriptionsG(mods ...qm.QueryMod) catalogDescriptionQuery

CatalogDescriptionsG retrieves all records.

func CatalogExists

func CatalogExists(exec boil.Executor, id int) (bool, error)

CatalogExists checks if the Catalog row exists.

func CatalogExistsG

func CatalogExistsG(id int) (bool, error)

CatalogExistsG checks if the Catalog row exists.

func CatalogExistsGP

func CatalogExistsGP(id int) bool

CatalogExistsGP checks if the Catalog row exists. Panics on error.

func CatalogExistsP

func CatalogExistsP(exec boil.Executor, id int) bool

CatalogExistsP checks if the Catalog row exists. Panics on error.

func Catalogs

func Catalogs(exec boil.Executor, mods ...qm.QueryMod) catalogQuery

Catalogs retrieves all the records using an executor.

func CatalogsG

func CatalogsG(mods ...qm.QueryMod) catalogQuery

CatalogsG retrieves all records.

func CkeditorAssetExists

func CkeditorAssetExists(exec boil.Executor, id int) (bool, error)

CkeditorAssetExists checks if the CkeditorAsset row exists.

func CkeditorAssetExistsG

func CkeditorAssetExistsG(id int) (bool, error)

CkeditorAssetExistsG checks if the CkeditorAsset row exists.

func CkeditorAssetExistsGP

func CkeditorAssetExistsGP(id int) bool

CkeditorAssetExistsGP checks if the CkeditorAsset row exists. Panics on error.

func CkeditorAssetExistsP

func CkeditorAssetExistsP(exec boil.Executor, id int) bool

CkeditorAssetExistsP checks if the CkeditorAsset row exists. Panics on error.

func CkeditorAssets

func CkeditorAssets(exec boil.Executor, mods ...qm.QueryMod) ckeditorAssetQuery

CkeditorAssets retrieves all the records using an executor.

func CkeditorAssetsG

func CkeditorAssetsG(mods ...qm.QueryMod) ckeditorAssetQuery

CkeditorAssetsG retrieves all records.

func CommentExists

func CommentExists(exec boil.Executor, id int) (bool, error)

CommentExists checks if the Comment row exists.

func CommentExistsG

func CommentExistsG(id int) (bool, error)

CommentExistsG checks if the Comment row exists.

func CommentExistsGP

func CommentExistsGP(id int) bool

CommentExistsGP checks if the Comment row exists. Panics on error.

func CommentExistsP

func CommentExistsP(exec boil.Executor, id int) bool

CommentExistsP checks if the Comment row exists. Panics on error.

func Comments

func Comments(exec boil.Executor, mods ...qm.QueryMod) commentQuery

Comments retrieves all the records using an executor.

func CommentsG

func CommentsG(mods ...qm.QueryMod) commentQuery

CommentsG retrieves all records.

func ContainerDescriptionExists

func ContainerDescriptionExists(exec boil.Executor, id int) (bool, error)

ContainerDescriptionExists checks if the ContainerDescription row exists.

func ContainerDescriptionExistsG

func ContainerDescriptionExistsG(id int) (bool, error)

ContainerDescriptionExistsG checks if the ContainerDescription row exists.

func ContainerDescriptionExistsGP

func ContainerDescriptionExistsGP(id int) bool

ContainerDescriptionExistsGP checks if the ContainerDescription row exists. Panics on error.

func ContainerDescriptionExistsP

func ContainerDescriptionExistsP(exec boil.Executor, id int) bool

ContainerDescriptionExistsP checks if the ContainerDescription row exists. Panics on error.

func ContainerDescriptionPatternExists

func ContainerDescriptionPatternExists(exec boil.Executor, id int) (bool, error)

ContainerDescriptionPatternExists checks if the ContainerDescriptionPattern row exists.

func ContainerDescriptionPatternExistsG

func ContainerDescriptionPatternExistsG(id int) (bool, error)

ContainerDescriptionPatternExistsG checks if the ContainerDescriptionPattern row exists.

func ContainerDescriptionPatternExistsGP

func ContainerDescriptionPatternExistsGP(id int) bool

ContainerDescriptionPatternExistsGP checks if the ContainerDescriptionPattern row exists. Panics on error.

func ContainerDescriptionPatternExistsP

func ContainerDescriptionPatternExistsP(exec boil.Executor, id int) bool

ContainerDescriptionPatternExistsP checks if the ContainerDescriptionPattern row exists. Panics on error.

func ContainerDescriptionPatterns

func ContainerDescriptionPatterns(exec boil.Executor, mods ...qm.QueryMod) containerDescriptionPatternQuery

ContainerDescriptionPatterns retrieves all the records using an executor.

func ContainerDescriptionPatternsG

func ContainerDescriptionPatternsG(mods ...qm.QueryMod) containerDescriptionPatternQuery

ContainerDescriptionPatternsG retrieves all records.

func ContainerDescriptions

func ContainerDescriptions(exec boil.Executor, mods ...qm.QueryMod) containerDescriptionQuery

ContainerDescriptions retrieves all the records using an executor.

func ContainerDescriptionsG

func ContainerDescriptionsG(mods ...qm.QueryMod) containerDescriptionQuery

ContainerDescriptionsG retrieves all records.

func ContainerExists

func ContainerExists(exec boil.Executor, id int) (bool, error)

ContainerExists checks if the Container row exists.

func ContainerExistsG

func ContainerExistsG(id int) (bool, error)

ContainerExistsG checks if the Container row exists.

func ContainerExistsGP

func ContainerExistsGP(id int) bool

ContainerExistsGP checks if the Container row exists. Panics on error.

func ContainerExistsP

func ContainerExistsP(exec boil.Executor, id int) bool

ContainerExistsP checks if the Container row exists. Panics on error.

func ContainerTranscriptExists

func ContainerTranscriptExists(exec boil.Executor, id int) (bool, error)

ContainerTranscriptExists checks if the ContainerTranscript row exists.

func ContainerTranscriptExistsG

func ContainerTranscriptExistsG(id int) (bool, error)

ContainerTranscriptExistsG checks if the ContainerTranscript row exists.

func ContainerTranscriptExistsGP

func ContainerTranscriptExistsGP(id int) bool

ContainerTranscriptExistsGP checks if the ContainerTranscript row exists. Panics on error.

func ContainerTranscriptExistsP

func ContainerTranscriptExistsP(exec boil.Executor, id int) bool

ContainerTranscriptExistsP checks if the ContainerTranscript row exists. Panics on error.

func ContainerTranscripts

func ContainerTranscripts(exec boil.Executor, mods ...qm.QueryMod) containerTranscriptQuery

ContainerTranscripts retrieves all the records using an executor.

func ContainerTranscriptsG

func ContainerTranscriptsG(mods ...qm.QueryMod) containerTranscriptQuery

ContainerTranscriptsG retrieves all records.

func Containers

func Containers(exec boil.Executor, mods ...qm.QueryMod) containerQuery

Containers retrieves all the records using an executor.

func ContainersG

func ContainersG(mods ...qm.QueryMod) containerQuery

ContainersG retrieves all records.

func ContentTypeExists

func ContentTypeExists(exec boil.Executor, id int) (bool, error)

ContentTypeExists checks if the ContentType row exists.

func ContentTypeExistsG

func ContentTypeExistsG(id int) (bool, error)

ContentTypeExistsG checks if the ContentType row exists.

func ContentTypeExistsGP

func ContentTypeExistsGP(id int) bool

ContentTypeExistsGP checks if the ContentType row exists. Panics on error.

func ContentTypeExistsP

func ContentTypeExistsP(exec boil.Executor, id int) bool

ContentTypeExistsP checks if the ContentType row exists. Panics on error.

func ContentTypes

func ContentTypes(exec boil.Executor, mods ...qm.QueryMod) contentTypeQuery

ContentTypes retrieves all the records using an executor.

func ContentTypesG

func ContentTypesG(mods ...qm.QueryMod) contentTypeQuery

ContentTypesG retrieves all records.

func DepartmentExists

func DepartmentExists(exec boil.Executor, id int) (bool, error)

DepartmentExists checks if the Department row exists.

func DepartmentExistsG

func DepartmentExistsG(id int) (bool, error)

DepartmentExistsG checks if the Department row exists.

func DepartmentExistsGP

func DepartmentExistsGP(id int) bool

DepartmentExistsGP checks if the Department row exists. Panics on error.

func DepartmentExistsP

func DepartmentExistsP(exec boil.Executor, id int) bool

DepartmentExistsP checks if the Department row exists. Panics on error.

func Departments

func Departments(exec boil.Executor, mods ...qm.QueryMod) departmentQuery

Departments retrieves all the records using an executor.

func DepartmentsG

func DepartmentsG(mods ...qm.QueryMod) departmentQuery

DepartmentsG retrieves all records.

func Dictionaries

func Dictionaries(exec boil.Executor, mods ...qm.QueryMod) dictionaryQuery

Dictionaries retrieves all the records using an executor.

func DictionariesG

func DictionariesG(mods ...qm.QueryMod) dictionaryQuery

DictionariesG retrieves all records.

func DictionaryDescriptionExists

func DictionaryDescriptionExists(exec boil.Executor, id int) (bool, error)

DictionaryDescriptionExists checks if the DictionaryDescription row exists.

func DictionaryDescriptionExistsG

func DictionaryDescriptionExistsG(id int) (bool, error)

DictionaryDescriptionExistsG checks if the DictionaryDescription row exists.

func DictionaryDescriptionExistsGP

func DictionaryDescriptionExistsGP(id int) bool

DictionaryDescriptionExistsGP checks if the DictionaryDescription row exists. Panics on error.

func DictionaryDescriptionExistsP

func DictionaryDescriptionExistsP(exec boil.Executor, id int) bool

DictionaryDescriptionExistsP checks if the DictionaryDescription row exists. Panics on error.

func DictionaryDescriptions

func DictionaryDescriptions(exec boil.Executor, mods ...qm.QueryMod) dictionaryDescriptionQuery

DictionaryDescriptions retrieves all the records using an executor.

func DictionaryDescriptionsG

func DictionaryDescriptionsG(mods ...qm.QueryMod) dictionaryDescriptionQuery

DictionaryDescriptionsG retrieves all records.

func DictionaryExists

func DictionaryExists(exec boil.Executor, id int) (bool, error)

DictionaryExists checks if the Dictionary row exists.

func DictionaryExistsG

func DictionaryExistsG(id int) (bool, error)

DictionaryExistsG checks if the Dictionary row exists.

func DictionaryExistsGP

func DictionaryExistsGP(id int) bool

DictionaryExistsGP checks if the Dictionary row exists. Panics on error.

func DictionaryExistsP

func DictionaryExistsP(exec boil.Executor, id int) bool

DictionaryExistsP checks if the Dictionary row exists. Panics on error.

func FileAssetDescriptionExists

func FileAssetDescriptionExists(exec boil.Executor, id int) (bool, error)

FileAssetDescriptionExists checks if the FileAssetDescription row exists.

func FileAssetDescriptionExistsG

func FileAssetDescriptionExistsG(id int) (bool, error)

FileAssetDescriptionExistsG checks if the FileAssetDescription row exists.

func FileAssetDescriptionExistsGP

func FileAssetDescriptionExistsGP(id int) bool

FileAssetDescriptionExistsGP checks if the FileAssetDescription row exists. Panics on error.

func FileAssetDescriptionExistsP

func FileAssetDescriptionExistsP(exec boil.Executor, id int) bool

FileAssetDescriptionExistsP checks if the FileAssetDescription row exists. Panics on error.

func FileAssetDescriptions

func FileAssetDescriptions(exec boil.Executor, mods ...qm.QueryMod) fileAssetDescriptionQuery

FileAssetDescriptions retrieves all the records using an executor.

func FileAssetDescriptionsG

func FileAssetDescriptionsG(mods ...qm.QueryMod) fileAssetDescriptionQuery

FileAssetDescriptionsG retrieves all records.

func FileAssetExists

func FileAssetExists(exec boil.Executor, id int) (bool, error)

FileAssetExists checks if the FileAsset row exists.

func FileAssetExistsG

func FileAssetExistsG(id int) (bool, error)

FileAssetExistsG checks if the FileAsset row exists.

func FileAssetExistsGP

func FileAssetExistsGP(id int) bool

FileAssetExistsGP checks if the FileAsset row exists. Panics on error.

func FileAssetExistsP

func FileAssetExistsP(exec boil.Executor, id int) bool

FileAssetExistsP checks if the FileAsset row exists. Panics on error.

func FileAssets

func FileAssets(exec boil.Executor, mods ...qm.QueryMod) fileAssetQuery

FileAssets retrieves all the records using an executor.

func FileAssetsG

func FileAssetsG(mods ...qm.QueryMod) fileAssetQuery

FileAssetsG retrieves all records.

func FileTypeExists

func FileTypeExists(exec boil.Executor, name string) (bool, error)

FileTypeExists checks if the FileType row exists.

func FileTypeExistsG

func FileTypeExistsG(name string) (bool, error)

FileTypeExistsG checks if the FileType row exists.

func FileTypeExistsGP

func FileTypeExistsGP(name string) bool

FileTypeExistsGP checks if the FileType row exists. Panics on error.

func FileTypeExistsP

func FileTypeExistsP(exec boil.Executor, name string) bool

FileTypeExistsP checks if the FileType row exists. Panics on error.

func FileTypes

func FileTypes(exec boil.Executor, mods ...qm.QueryMod) fileTypeQuery

FileTypes retrieves all the records using an executor.

func FileTypesG

func FileTypesG(mods ...qm.QueryMod) fileTypeQuery

FileTypesG retrieves all records.

func LabelDescriptionExists

func LabelDescriptionExists(exec boil.Executor, id int) (bool, error)

LabelDescriptionExists checks if the LabelDescription row exists.

func LabelDescriptionExistsG

func LabelDescriptionExistsG(id int) (bool, error)

LabelDescriptionExistsG checks if the LabelDescription row exists.

func LabelDescriptionExistsGP

func LabelDescriptionExistsGP(id int) bool

LabelDescriptionExistsGP checks if the LabelDescription row exists. Panics on error.

func LabelDescriptionExistsP

func LabelDescriptionExistsP(exec boil.Executor, id int) bool

LabelDescriptionExistsP checks if the LabelDescription row exists. Panics on error.

func LabelDescriptions

func LabelDescriptions(exec boil.Executor, mods ...qm.QueryMod) labelDescriptionQuery

LabelDescriptions retrieves all the records using an executor.

func LabelDescriptionsG

func LabelDescriptionsG(mods ...qm.QueryMod) labelDescriptionQuery

LabelDescriptionsG retrieves all records.

func LabelExists

func LabelExists(exec boil.Executor, id int) (bool, error)

LabelExists checks if the Label row exists.

func LabelExistsG

func LabelExistsG(id int) (bool, error)

LabelExistsG checks if the Label row exists.

func LabelExistsGP

func LabelExistsGP(id int) bool

LabelExistsGP checks if the Label row exists. Panics on error.

func LabelExistsP

func LabelExistsP(exec boil.Executor, id int) bool

LabelExistsP checks if the Label row exists. Panics on error.

func Labels

func Labels(exec boil.Executor, mods ...qm.QueryMod) labelQuery

Labels retrieves all the records using an executor.

func LabelsG

func LabelsG(mods ...qm.QueryMod) labelQuery

LabelsG retrieves all records.

func LanguageExists

func LanguageExists(exec boil.Executor, id int) (bool, error)

LanguageExists checks if the Language row exists.

func LanguageExistsG

func LanguageExistsG(id int) (bool, error)

LanguageExistsG checks if the Language row exists.

func LanguageExistsGP

func LanguageExistsGP(id int) bool

LanguageExistsGP checks if the Language row exists. Panics on error.

func LanguageExistsP

func LanguageExistsP(exec boil.Executor, id int) bool

LanguageExistsP checks if the Language row exists. Panics on error.

func Languages

func Languages(exec boil.Executor, mods ...qm.QueryMod) languageQuery

Languages retrieves all the records using an executor.

func LanguagesG

func LanguagesG(mods ...qm.QueryMod) languageQuery

LanguagesG retrieves all records.

func LecturerDescriptionExists

func LecturerDescriptionExists(exec boil.Executor, id int) (bool, error)

LecturerDescriptionExists checks if the LecturerDescription row exists.

func LecturerDescriptionExistsG

func LecturerDescriptionExistsG(id int) (bool, error)

LecturerDescriptionExistsG checks if the LecturerDescription row exists.

func LecturerDescriptionExistsGP

func LecturerDescriptionExistsGP(id int) bool

LecturerDescriptionExistsGP checks if the LecturerDescription row exists. Panics on error.

func LecturerDescriptionExistsP

func LecturerDescriptionExistsP(exec boil.Executor, id int) bool

LecturerDescriptionExistsP checks if the LecturerDescription row exists. Panics on error.

func LecturerDescriptions

func LecturerDescriptions(exec boil.Executor, mods ...qm.QueryMod) lecturerDescriptionQuery

LecturerDescriptions retrieves all the records using an executor.

func LecturerDescriptionsG

func LecturerDescriptionsG(mods ...qm.QueryMod) lecturerDescriptionQuery

LecturerDescriptionsG retrieves all records.

func LecturerExists

func LecturerExists(exec boil.Executor, id int) (bool, error)

LecturerExists checks if the Lecturer row exists.

func LecturerExistsG

func LecturerExistsG(id int) (bool, error)

LecturerExistsG checks if the Lecturer row exists.

func LecturerExistsGP

func LecturerExistsGP(id int) bool

LecturerExistsGP checks if the Lecturer row exists. Panics on error.

func LecturerExistsP

func LecturerExistsP(exec boil.Executor, id int) bool

LecturerExistsP checks if the Lecturer row exists. Panics on error.

func Lecturers

func Lecturers(exec boil.Executor, mods ...qm.QueryMod) lecturerQuery

Lecturers retrieves all the records using an executor.

func LecturersG

func LecturersG(mods ...qm.QueryMod) lecturerQuery

LecturersG retrieves all records.

func NewQuery

func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func NewQueryG

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

NewQueryG initializes a new Query using the passed in QueryMods

func RoleExists

func RoleExists(exec boil.Executor, id int) (bool, error)

RoleExists checks if the Role row exists.

func RoleExistsG

func RoleExistsG(id int) (bool, error)

RoleExistsG checks if the Role row exists.

func RoleExistsGP

func RoleExistsGP(id int) bool

RoleExistsGP checks if the Role row exists. Panics on error.

func RoleExistsP

func RoleExistsP(exec boil.Executor, id int) bool

RoleExistsP checks if the Role row exists. Panics on error.

func Roles

func Roles(exec boil.Executor, mods ...qm.QueryMod) roleQuery

Roles retrieves all the records using an executor.

func RolesG

func RolesG(mods ...qm.QueryMod) roleQuery

RolesG retrieves all records.

func RolesUserExists

func RolesUserExists(exec boil.Executor, roleID int, userID int) (bool, error)

RolesUserExists checks if the RolesUser row exists.

func RolesUserExistsG

func RolesUserExistsG(roleID int, userID int) (bool, error)

RolesUserExistsG checks if the RolesUser row exists.

func RolesUserExistsGP

func RolesUserExistsGP(roleID int, userID int) bool

RolesUserExistsGP checks if the RolesUser row exists. Panics on error.

func RolesUserExistsP

func RolesUserExistsP(exec boil.Executor, roleID int, userID int) bool

RolesUserExistsP checks if the RolesUser row exists. Panics on error.

func RolesUsers

func RolesUsers(exec boil.Executor, mods ...qm.QueryMod) rolesUserQuery

RolesUsers retrieves all the records using an executor.

func RolesUsersG

func RolesUsersG(mods ...qm.QueryMod) rolesUserQuery

RolesUsersG retrieves all records.

func ServerExists

func ServerExists(exec boil.Executor, id int) (bool, error)

ServerExists checks if the Server row exists.

func ServerExistsG

func ServerExistsG(id int) (bool, error)

ServerExistsG checks if the Server row exists.

func ServerExistsGP

func ServerExistsGP(id int) bool

ServerExistsGP checks if the Server row exists. Panics on error.

func ServerExistsP

func ServerExistsP(exec boil.Executor, id int) bool

ServerExistsP checks if the Server row exists. Panics on error.

func Servers

func Servers(exec boil.Executor, mods ...qm.QueryMod) serverQuery

Servers retrieves all the records using an executor.

func ServersG

func ServersG(mods ...qm.QueryMod) serverQuery

ServersG retrieves all records.

func UserExists

func UserExists(exec boil.Executor, id int) (bool, error)

UserExists checks if the User row exists.

func UserExistsG

func UserExistsG(id int) (bool, error)

UserExistsG checks if the User row exists.

func UserExistsGP

func UserExistsGP(id int) bool

UserExistsGP checks if the User row exists. Panics on error.

func UserExistsP

func UserExistsP(exec boil.Executor, id int) bool

UserExistsP checks if the User row exists. Panics on error.

func Users

func Users(exec boil.Executor, mods ...qm.QueryMod) userQuery

Users retrieves all the records using an executor.

func UsersG

func UsersG(mods ...qm.QueryMod) userQuery

UsersG retrieves all records.

func VirtualLessonExists

func VirtualLessonExists(exec boil.Executor, id int) (bool, error)

VirtualLessonExists checks if the VirtualLesson row exists.

func VirtualLessonExistsG

func VirtualLessonExistsG(id int) (bool, error)

VirtualLessonExistsG checks if the VirtualLesson row exists.

func VirtualLessonExistsGP

func VirtualLessonExistsGP(id int) bool

VirtualLessonExistsGP checks if the VirtualLesson row exists. Panics on error.

func VirtualLessonExistsP

func VirtualLessonExistsP(exec boil.Executor, id int) bool

VirtualLessonExistsP checks if the VirtualLesson row exists. Panics on error.

func VirtualLessons

func VirtualLessons(exec boil.Executor, mods ...qm.QueryMod) virtualLessonQuery

VirtualLessons retrieves all the records using an executor.

func VirtualLessonsG

func VirtualLessonsG(mods ...qm.QueryMod) virtualLessonQuery

VirtualLessonsG retrieves all records.

Types

type Catalog

type Catalog struct {
	ID              int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name            string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	ParentID        null.Int    `boil:"parent_id" json:"parent_id,omitempty" toml:"parent_id" yaml:"parent_id,omitempty"`
	CreatedAt       null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt       null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	Catorder        int         `boil:"catorder" json:"catorder" toml:"catorder" yaml:"catorder"`
	Secure          int         `boil:"secure" json:"secure" toml:"secure" yaml:"secure"`
	Visible         null.Bool   `boil:"visible" json:"visible,omitempty" toml:"visible" yaml:"visible,omitempty"`
	Open            null.Bool   `boil:"open" json:"open,omitempty" toml:"open" yaml:"open,omitempty"`
	Label           null.String `boil:"label" json:"label,omitempty" toml:"label" yaml:"label,omitempty"`
	SelectedCatalog null.Int    `boil:"selected_catalog" json:"selected_catalog,omitempty" toml:"selected_catalog" yaml:"selected_catalog,omitempty"`
	UserID          null.Int    `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"`
	BooksCatalog    null.Bool   `boil:"books_catalog" json:"books_catalog,omitempty" toml:"books_catalog" yaml:"books_catalog,omitempty"`

	R *catalogR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L catalogL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Catalog is an object representing the database table.

func FindCatalog

func FindCatalog(exec boil.Executor, id int, selectCols ...string) (*Catalog, error)

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

func FindCatalogG

func FindCatalogG(id int, selectCols ...string) (*Catalog, error)

FindCatalogG retrieves a single record by ID.

func FindCatalogGP

func FindCatalogGP(id int, selectCols ...string) *Catalog

FindCatalogGP retrieves a single record by ID, and panics on error.

func FindCatalogP

func FindCatalogP(exec boil.Executor, id int, selectCols ...string) *Catalog

FindCatalogP retrieves a single record by ID with an executor, and panics on error.

func (*Catalog) AddCatalogDescriptions

func (o *Catalog) AddCatalogDescriptions(exec boil.Executor, insert bool, related ...*CatalogDescription) error

AddCatalogDescriptions adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.CatalogDescriptions. Sets related.R.Catalog appropriately.

func (*Catalog) AddCatalogDescriptionsG

func (o *Catalog) AddCatalogDescriptionsG(insert bool, related ...*CatalogDescription) error

AddCatalogDescriptionsG adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.CatalogDescriptions. Sets related.R.Catalog appropriately. Uses the global database handle.

func (*Catalog) AddCatalogDescriptionsGP

func (o *Catalog) AddCatalogDescriptionsGP(insert bool, related ...*CatalogDescription)

AddCatalogDescriptionsGP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.CatalogDescriptions. Sets related.R.Catalog appropriately. Uses the global database handle and panics on error.

func (*Catalog) AddCatalogDescriptionsP

func (o *Catalog) AddCatalogDescriptionsP(exec boil.Executor, insert bool, related ...*CatalogDescription)

AddCatalogDescriptionsP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.CatalogDescriptions. Sets related.R.Catalog appropriately. Panics on error.

func (*Catalog) AddContainerDescriptionPatterns

func (o *Catalog) AddContainerDescriptionPatterns(exec boil.Executor, insert bool, related ...*ContainerDescriptionPattern) error

AddContainerDescriptionPatterns adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ContainerDescriptionPatterns. Sets related.R.Catalogs appropriately.

func (*Catalog) AddContainerDescriptionPatternsG

func (o *Catalog) AddContainerDescriptionPatternsG(insert bool, related ...*ContainerDescriptionPattern) error

AddContainerDescriptionPatternsG adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ContainerDescriptionPatterns. Sets related.R.Catalogs appropriately. Uses the global database handle.

func (*Catalog) AddContainerDescriptionPatternsGP

func (o *Catalog) AddContainerDescriptionPatternsGP(insert bool, related ...*ContainerDescriptionPattern)

AddContainerDescriptionPatternsGP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ContainerDescriptionPatterns. Sets related.R.Catalogs appropriately. Uses the global database handle and panics on error.

func (*Catalog) AddContainerDescriptionPatternsP

func (o *Catalog) AddContainerDescriptionPatternsP(exec boil.Executor, insert bool, related ...*ContainerDescriptionPattern)

AddContainerDescriptionPatternsP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ContainerDescriptionPatterns. Sets related.R.Catalogs appropriately. Panics on error.

func (*Catalog) AddContainers

func (o *Catalog) AddContainers(exec boil.Executor, insert bool, related ...*Container) error

AddContainers adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Catalogs appropriately.

func (*Catalog) AddContainersG

func (o *Catalog) AddContainersG(insert bool, related ...*Container) error

AddContainersG adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Catalogs appropriately. Uses the global database handle.

func (*Catalog) AddContainersGP

func (o *Catalog) AddContainersGP(insert bool, related ...*Container)

AddContainersGP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Catalogs appropriately. Uses the global database handle and panics on error.

func (*Catalog) AddContainersP

func (o *Catalog) AddContainersP(exec boil.Executor, insert bool, related ...*Container)

AddContainersP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Catalogs appropriately. Panics on error.

func (*Catalog) AddParentCatalogs

func (o *Catalog) AddParentCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

AddParentCatalogs adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ParentCatalogs. Sets related.R.Parent appropriately.

func (*Catalog) AddParentCatalogsG

func (o *Catalog) AddParentCatalogsG(insert bool, related ...*Catalog) error

AddParentCatalogsG adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ParentCatalogs. Sets related.R.Parent appropriately. Uses the global database handle.

func (*Catalog) AddParentCatalogsGP

func (o *Catalog) AddParentCatalogsGP(insert bool, related ...*Catalog)

AddParentCatalogsGP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ParentCatalogs. Sets related.R.Parent appropriately. Uses the global database handle and panics on error.

func (*Catalog) AddParentCatalogsP

func (o *Catalog) AddParentCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

AddParentCatalogsP adds the given related objects to the existing relationships of the catalog, optionally inserting them as new records. Appends related to o.R.ParentCatalogs. Sets related.R.Parent appropriately. Panics on error.

func (*Catalog) CatalogDescriptions

func (o *Catalog) CatalogDescriptions(exec boil.Executor, mods ...qm.QueryMod) catalogDescriptionQuery

CatalogDescriptions retrieves all the catalog_description's catalog descriptions with an executor.

func (*Catalog) CatalogDescriptionsG

func (o *Catalog) CatalogDescriptionsG(mods ...qm.QueryMod) catalogDescriptionQuery

CatalogDescriptionsG retrieves all the catalog_description's catalog descriptions.

func (*Catalog) ContainerDescriptionPatterns

func (o *Catalog) ContainerDescriptionPatterns(exec boil.Executor, mods ...qm.QueryMod) containerDescriptionPatternQuery

ContainerDescriptionPatterns retrieves all the container_description_pattern's container description patterns with an executor.

func (*Catalog) ContainerDescriptionPatternsG

func (o *Catalog) ContainerDescriptionPatternsG(mods ...qm.QueryMod) containerDescriptionPatternQuery

ContainerDescriptionPatternsG retrieves all the container_description_pattern's container description patterns.

func (*Catalog) Containers

func (o *Catalog) Containers(exec boil.Executor, mods ...qm.QueryMod) containerQuery

Containers retrieves all the container's containers with an executor.

func (*Catalog) ContainersG

func (o *Catalog) ContainersG(mods ...qm.QueryMod) containerQuery

ContainersG retrieves all the container's containers.

func (*Catalog) Delete

func (o *Catalog) Delete(exec boil.Executor) error

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

func (*Catalog) DeleteG

func (o *Catalog) DeleteG() error

DeleteG deletes a single Catalog record. DeleteG will match against the primary key column to find the record to delete.

func (*Catalog) DeleteGP

func (o *Catalog) DeleteGP()

DeleteGP deletes a single Catalog record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Catalog) DeleteP

func (o *Catalog) DeleteP(exec boil.Executor)

DeleteP deletes a single Catalog record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Catalog) Insert

func (o *Catalog) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Catalog) InsertG

func (o *Catalog) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Catalog) InsertGP

func (o *Catalog) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Catalog) InsertP

func (o *Catalog) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Catalog) Parent

func (o *Catalog) Parent(exec boil.Executor, mods ...qm.QueryMod) catalogQuery

Parent pointed to by the foreign key.

func (*Catalog) ParentCatalogs

func (o *Catalog) ParentCatalogs(exec boil.Executor, mods ...qm.QueryMod) catalogQuery

ParentCatalogs retrieves all the catalog's catalogs with an executor via parent_id column.

func (*Catalog) ParentCatalogsG

func (o *Catalog) ParentCatalogsG(mods ...qm.QueryMod) catalogQuery

ParentCatalogsG retrieves all the catalog's catalogs via parent_id column.

func (*Catalog) ParentG

func (o *Catalog) ParentG(mods ...qm.QueryMod) catalogQuery

ParentG pointed to by the foreign key.

func (*Catalog) Reload

func (o *Catalog) Reload(exec boil.Executor) error

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

func (*Catalog) ReloadG

func (o *Catalog) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Catalog) ReloadGP

func (o *Catalog) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Catalog) ReloadP

func (o *Catalog) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Catalog) RemoveContainerDescriptionPatterns

func (o *Catalog) RemoveContainerDescriptionPatterns(exec boil.Executor, related ...*ContainerDescriptionPattern) error

RemoveContainerDescriptionPatterns relationships from objects passed in. Removes related items from R.ContainerDescriptionPatterns (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs.

func (*Catalog) RemoveContainerDescriptionPatternsG

func (o *Catalog) RemoveContainerDescriptionPatternsG(related ...*ContainerDescriptionPattern) error

RemoveContainerDescriptionPatternsG relationships from objects passed in. Removes related items from R.ContainerDescriptionPatterns (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs. Uses the global database handle.

func (*Catalog) RemoveContainerDescriptionPatternsGP

func (o *Catalog) RemoveContainerDescriptionPatternsGP(related ...*ContainerDescriptionPattern)

RemoveContainerDescriptionPatternsGP relationships from objects passed in. Removes related items from R.ContainerDescriptionPatterns (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs. Uses the global database handle and panics on error.

func (*Catalog) RemoveContainerDescriptionPatternsP

func (o *Catalog) RemoveContainerDescriptionPatternsP(exec boil.Executor, related ...*ContainerDescriptionPattern)

RemoveContainerDescriptionPatternsP relationships from objects passed in. Removes related items from R.ContainerDescriptionPatterns (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs. Panics on error.

func (*Catalog) RemoveContainers

func (o *Catalog) RemoveContainers(exec boil.Executor, related ...*Container) error

RemoveContainers relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs.

func (*Catalog) RemoveContainersG

func (o *Catalog) RemoveContainersG(related ...*Container) error

RemoveContainersG relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs. Uses the global database handle.

func (*Catalog) RemoveContainersGP

func (o *Catalog) RemoveContainersGP(related ...*Container)

RemoveContainersGP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs. Uses the global database handle and panics on error.

func (*Catalog) RemoveContainersP

func (o *Catalog) RemoveContainersP(exec boil.Executor, related ...*Container)

RemoveContainersP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Catalogs. Panics on error.

func (*Catalog) RemoveParent

func (o *Catalog) RemoveParent(exec boil.Executor, related *Catalog) error

RemoveParent relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Catalog) RemoveParentCatalogs

func (o *Catalog) RemoveParentCatalogs(exec boil.Executor, related ...*Catalog) error

RemoveParentCatalogs relationships from objects passed in. Removes related items from R.ParentCatalogs (uses pointer comparison, removal does not keep order) Sets related.R.Parent.

func (*Catalog) RemoveParentCatalogsG

func (o *Catalog) RemoveParentCatalogsG(related ...*Catalog) error

RemoveParentCatalogsG relationships from objects passed in. Removes related items from R.ParentCatalogs (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle.

func (*Catalog) RemoveParentCatalogsGP

func (o *Catalog) RemoveParentCatalogsGP(related ...*Catalog)

RemoveParentCatalogsGP relationships from objects passed in. Removes related items from R.ParentCatalogs (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle and panics on error.

func (*Catalog) RemoveParentCatalogsP

func (o *Catalog) RemoveParentCatalogsP(exec boil.Executor, related ...*Catalog)

RemoveParentCatalogsP relationships from objects passed in. Removes related items from R.ParentCatalogs (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Panics on error.

func (*Catalog) RemoveParentG

func (o *Catalog) RemoveParentG(related *Catalog) error

RemoveParentG relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Catalog) RemoveParentGP

func (o *Catalog) RemoveParentGP(related *Catalog)

RemoveParentGP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Catalog) RemoveParentP

func (o *Catalog) RemoveParentP(exec boil.Executor, related *Catalog)

RemoveParentP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Catalog) RemoveUser

func (o *Catalog) RemoveUser(exec boil.Executor, related *User) error

RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Catalog) RemoveUserG

func (o *Catalog) RemoveUserG(related *User) error

RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Catalog) RemoveUserGP

func (o *Catalog) RemoveUserGP(related *User)

RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Catalog) RemoveUserP

func (o *Catalog) RemoveUserP(exec boil.Executor, related *User)

RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Catalog) SetContainerDescriptionPatterns

func (o *Catalog) SetContainerDescriptionPatterns(exec boil.Executor, insert bool, related ...*ContainerDescriptionPattern) error

SetContainerDescriptionPatterns removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's ContainerDescriptionPatterns accordingly. Replaces o.R.ContainerDescriptionPatterns with related. Sets related.R.Catalogs's ContainerDescriptionPatterns accordingly.

func (*Catalog) SetContainerDescriptionPatternsG

func (o *Catalog) SetContainerDescriptionPatternsG(insert bool, related ...*ContainerDescriptionPattern) error

SetContainerDescriptionPatternsG removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's ContainerDescriptionPatterns accordingly. Replaces o.R.ContainerDescriptionPatterns with related. Sets related.R.Catalogs's ContainerDescriptionPatterns accordingly. Uses the global database handle.

func (*Catalog) SetContainerDescriptionPatternsGP

func (o *Catalog) SetContainerDescriptionPatternsGP(insert bool, related ...*ContainerDescriptionPattern)

SetContainerDescriptionPatternsGP removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's ContainerDescriptionPatterns accordingly. Replaces o.R.ContainerDescriptionPatterns with related. Sets related.R.Catalogs's ContainerDescriptionPatterns accordingly. Uses the global database handle and panics on error.

func (*Catalog) SetContainerDescriptionPatternsP

func (o *Catalog) SetContainerDescriptionPatternsP(exec boil.Executor, insert bool, related ...*ContainerDescriptionPattern)

SetContainerDescriptionPatternsP removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's ContainerDescriptionPatterns accordingly. Replaces o.R.ContainerDescriptionPatterns with related. Sets related.R.Catalogs's ContainerDescriptionPatterns accordingly. Panics on error.

func (*Catalog) SetContainers

func (o *Catalog) SetContainers(exec boil.Executor, insert bool, related ...*Container) error

SetContainers removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Catalogs's Containers accordingly.

func (*Catalog) SetContainersG

func (o *Catalog) SetContainersG(insert bool, related ...*Container) error

SetContainersG removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Catalogs's Containers accordingly. Uses the global database handle.

func (*Catalog) SetContainersGP

func (o *Catalog) SetContainersGP(insert bool, related ...*Container)

SetContainersGP removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Catalogs's Containers accordingly. Uses the global database handle and panics on error.

func (*Catalog) SetContainersP

func (o *Catalog) SetContainersP(exec boil.Executor, insert bool, related ...*Container)

SetContainersP removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Catalogs's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Catalogs's Containers accordingly. Panics on error.

func (*Catalog) SetParent

func (o *Catalog) SetParent(exec boil.Executor, insert bool, related *Catalog) error

SetParent of the catalog to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentCatalogs.

func (*Catalog) SetParentCatalogs

func (o *Catalog) SetParentCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

SetParentCatalogs removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentCatalogs accordingly. Replaces o.R.ParentCatalogs with related. Sets related.R.Parent's ParentCatalogs accordingly.

func (*Catalog) SetParentCatalogsG

func (o *Catalog) SetParentCatalogsG(insert bool, related ...*Catalog) error

SetParentCatalogsG removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentCatalogs accordingly. Replaces o.R.ParentCatalogs with related. Sets related.R.Parent's ParentCatalogs accordingly. Uses the global database handle.

func (*Catalog) SetParentCatalogsGP

func (o *Catalog) SetParentCatalogsGP(insert bool, related ...*Catalog)

SetParentCatalogsGP removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentCatalogs accordingly. Replaces o.R.ParentCatalogs with related. Sets related.R.Parent's ParentCatalogs accordingly. Uses the global database handle and panics on error.

func (*Catalog) SetParentCatalogsP

func (o *Catalog) SetParentCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

SetParentCatalogsP removes all previously related items of the catalog replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentCatalogs accordingly. Replaces o.R.ParentCatalogs with related. Sets related.R.Parent's ParentCatalogs accordingly. Panics on error.

func (*Catalog) SetParentG

func (o *Catalog) SetParentG(insert bool, related *Catalog) error

SetParentG of the catalog to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentCatalogs. Uses the global database handle.

func (*Catalog) SetParentGP

func (o *Catalog) SetParentGP(insert bool, related *Catalog)

SetParentGP of the catalog to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentCatalogs. Uses the global database handle and panics on error.

func (*Catalog) SetParentP

func (o *Catalog) SetParentP(exec boil.Executor, insert bool, related *Catalog)

SetParentP of the catalog to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentCatalogs. Panics on error.

func (*Catalog) SetUser

func (o *Catalog) SetUser(exec boil.Executor, insert bool, related *User) error

SetUser of the catalog to the related item. Sets o.R.User to related. Adds o to related.R.Catalogs.

func (*Catalog) SetUserG

func (o *Catalog) SetUserG(insert bool, related *User) error

SetUserG of the catalog to the related item. Sets o.R.User to related. Adds o to related.R.Catalogs. Uses the global database handle.

func (*Catalog) SetUserGP

func (o *Catalog) SetUserGP(insert bool, related *User)

SetUserGP of the catalog to the related item. Sets o.R.User to related. Adds o to related.R.Catalogs. Uses the global database handle and panics on error.

func (*Catalog) SetUserP

func (o *Catalog) SetUserP(exec boil.Executor, insert bool, related *User)

SetUserP of the catalog to the related item. Sets o.R.User to related. Adds o to related.R.Catalogs. Panics on error.

func (*Catalog) Update

func (o *Catalog) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Catalog. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Catalog) UpdateG

func (o *Catalog) UpdateG(whitelist ...string) error

UpdateG a single Catalog record. See Update for whitelist behavior description.

func (*Catalog) UpdateGP

func (o *Catalog) UpdateGP(whitelist ...string)

UpdateGP a single Catalog record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Catalog) UpdateP

func (o *Catalog) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Catalog, and panics on error. See Update for whitelist behavior description.

func (*Catalog) Upsert

func (o *Catalog) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Catalog) UpsertG

func (o *Catalog) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Catalog) UpsertGP

func (o *Catalog) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Catalog) UpsertP

func (o *Catalog) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

func (*Catalog) User

func (o *Catalog) User(exec boil.Executor, mods ...qm.QueryMod) userQuery

User pointed to by the foreign key.

func (*Catalog) UserG

func (o *Catalog) UserG(mods ...qm.QueryMod) userQuery

UserG pointed to by the foreign key.

type CatalogDescription

type CatalogDescription struct {
	ID        int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	CatalogID int         `boil:"catalog_id" json:"catalog_id" toml:"catalog_id" yaml:"catalog_id"`
	Name      null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	LangID    null.String `boil:"lang_id" json:"lang_id,omitempty" toml:"lang_id" yaml:"lang_id,omitempty"`
	CreatedAt null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *catalogDescriptionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L catalogDescriptionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

CatalogDescription is an object representing the database table.

func FindCatalogDescription

func FindCatalogDescription(exec boil.Executor, id int, selectCols ...string) (*CatalogDescription, error)

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

func FindCatalogDescriptionG

func FindCatalogDescriptionG(id int, selectCols ...string) (*CatalogDescription, error)

FindCatalogDescriptionG retrieves a single record by ID.

func FindCatalogDescriptionGP

func FindCatalogDescriptionGP(id int, selectCols ...string) *CatalogDescription

FindCatalogDescriptionGP retrieves a single record by ID, and panics on error.

func FindCatalogDescriptionP

func FindCatalogDescriptionP(exec boil.Executor, id int, selectCols ...string) *CatalogDescription

FindCatalogDescriptionP retrieves a single record by ID with an executor, and panics on error.

func (*CatalogDescription) Catalog

func (o *CatalogDescription) Catalog(exec boil.Executor, mods ...qm.QueryMod) catalogQuery

Catalog pointed to by the foreign key.

func (*CatalogDescription) CatalogG

func (o *CatalogDescription) CatalogG(mods ...qm.QueryMod) catalogQuery

CatalogG pointed to by the foreign key.

func (*CatalogDescription) Delete

func (o *CatalogDescription) Delete(exec boil.Executor) error

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

func (*CatalogDescription) DeleteG

func (o *CatalogDescription) DeleteG() error

DeleteG deletes a single CatalogDescription record. DeleteG will match against the primary key column to find the record to delete.

func (*CatalogDescription) DeleteGP

func (o *CatalogDescription) DeleteGP()

DeleteGP deletes a single CatalogDescription record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*CatalogDescription) DeleteP

func (o *CatalogDescription) DeleteP(exec boil.Executor)

DeleteP deletes a single CatalogDescription record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*CatalogDescription) Insert

func (o *CatalogDescription) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*CatalogDescription) InsertG

func (o *CatalogDescription) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*CatalogDescription) InsertGP

func (o *CatalogDescription) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*CatalogDescription) InsertP

func (o *CatalogDescription) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*CatalogDescription) Lang

func (o *CatalogDescription) Lang(exec boil.Executor, mods ...qm.QueryMod) languageQuery

Lang pointed to by the foreign key.

func (*CatalogDescription) LangG

func (o *CatalogDescription) LangG(mods ...qm.QueryMod) languageQuery

LangG pointed to by the foreign key.

func (*CatalogDescription) Reload

func (o *CatalogDescription) Reload(exec boil.Executor) error

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

func (*CatalogDescription) ReloadG

func (o *CatalogDescription) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*CatalogDescription) ReloadGP

func (o *CatalogDescription) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*CatalogDescription) ReloadP

func (o *CatalogDescription) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*CatalogDescription) RemoveLang

func (o *CatalogDescription) RemoveLang(exec boil.Executor, related *Language) error

RemoveLang relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*CatalogDescription) RemoveLangG

func (o *CatalogDescription) RemoveLangG(related *Language) error

RemoveLangG relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*CatalogDescription) RemoveLangGP

func (o *CatalogDescription) RemoveLangGP(related *Language)

RemoveLangGP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*CatalogDescription) RemoveLangP

func (o *CatalogDescription) RemoveLangP(exec boil.Executor, related *Language)

RemoveLangP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*CatalogDescription) SetCatalog

func (o *CatalogDescription) SetCatalog(exec boil.Executor, insert bool, related *Catalog) error

SetCatalog of the catalog_description to the related item. Sets o.R.Catalog to related. Adds o to related.R.CatalogDescriptions.

func (*CatalogDescription) SetCatalogG

func (o *CatalogDescription) SetCatalogG(insert bool, related *Catalog) error

SetCatalogG of the catalog_description to the related item. Sets o.R.Catalog to related. Adds o to related.R.CatalogDescriptions. Uses the global database handle.

func (*CatalogDescription) SetCatalogGP

func (o *CatalogDescription) SetCatalogGP(insert bool, related *Catalog)

SetCatalogGP of the catalog_description to the related item. Sets o.R.Catalog to related. Adds o to related.R.CatalogDescriptions. Uses the global database handle and panics on error.

func (*CatalogDescription) SetCatalogP

func (o *CatalogDescription) SetCatalogP(exec boil.Executor, insert bool, related *Catalog)

SetCatalogP of the catalog_description to the related item. Sets o.R.Catalog to related. Adds o to related.R.CatalogDescriptions. Panics on error.

func (*CatalogDescription) SetLang

func (o *CatalogDescription) SetLang(exec boil.Executor, insert bool, related *Language) error

SetLang of the catalog_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangCatalogDescriptions.

func (*CatalogDescription) SetLangG

func (o *CatalogDescription) SetLangG(insert bool, related *Language) error

SetLangG of the catalog_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangCatalogDescriptions. Uses the global database handle.

func (*CatalogDescription) SetLangGP

func (o *CatalogDescription) SetLangGP(insert bool, related *Language)

SetLangGP of the catalog_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangCatalogDescriptions. Uses the global database handle and panics on error.

func (*CatalogDescription) SetLangP

func (o *CatalogDescription) SetLangP(exec boil.Executor, insert bool, related *Language)

SetLangP of the catalog_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangCatalogDescriptions. Panics on error.

func (*CatalogDescription) Update

func (o *CatalogDescription) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the CatalogDescription. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*CatalogDescription) UpdateG

func (o *CatalogDescription) UpdateG(whitelist ...string) error

UpdateG a single CatalogDescription record. See Update for whitelist behavior description.

func (*CatalogDescription) UpdateGP

func (o *CatalogDescription) UpdateGP(whitelist ...string)

UpdateGP a single CatalogDescription record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*CatalogDescription) UpdateP

func (o *CatalogDescription) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the CatalogDescription, and panics on error. See Update for whitelist behavior description.

func (*CatalogDescription) Upsert

func (o *CatalogDescription) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*CatalogDescription) UpsertG

func (o *CatalogDescription) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*CatalogDescription) UpsertGP

func (o *CatalogDescription) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*CatalogDescription) UpsertP

func (o *CatalogDescription) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type CatalogDescriptionSlice

type CatalogDescriptionSlice []*CatalogDescription

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

func (CatalogDescriptionSlice) DeleteAll

func (o CatalogDescriptionSlice) DeleteAll(exec boil.Executor) error

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

func (CatalogDescriptionSlice) DeleteAllG

func (o CatalogDescriptionSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (CatalogDescriptionSlice) DeleteAllGP

func (o CatalogDescriptionSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (CatalogDescriptionSlice) DeleteAllP

func (o CatalogDescriptionSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*CatalogDescriptionSlice) ReloadAll

func (o *CatalogDescriptionSlice) ReloadAll(exec boil.Executor) error

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

func (*CatalogDescriptionSlice) ReloadAllG

func (o *CatalogDescriptionSlice) ReloadAllG() error

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

func (*CatalogDescriptionSlice) ReloadAllGP

func (o *CatalogDescriptionSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*CatalogDescriptionSlice) ReloadAllP

func (o *CatalogDescriptionSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (CatalogDescriptionSlice) UpdateAll

func (o CatalogDescriptionSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (CatalogDescriptionSlice) UpdateAllG

func (o CatalogDescriptionSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (CatalogDescriptionSlice) UpdateAllGP

func (o CatalogDescriptionSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (CatalogDescriptionSlice) UpdateAllP

func (o CatalogDescriptionSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type CatalogSlice

type CatalogSlice []*Catalog

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

func (CatalogSlice) DeleteAll

func (o CatalogSlice) DeleteAll(exec boil.Executor) error

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

func (CatalogSlice) DeleteAllG

func (o CatalogSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (CatalogSlice) DeleteAllGP

func (o CatalogSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (CatalogSlice) DeleteAllP

func (o CatalogSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*CatalogSlice) ReloadAll

func (o *CatalogSlice) ReloadAll(exec boil.Executor) error

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

func (*CatalogSlice) ReloadAllG

func (o *CatalogSlice) ReloadAllG() error

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

func (*CatalogSlice) ReloadAllGP

func (o *CatalogSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*CatalogSlice) ReloadAllP

func (o *CatalogSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (CatalogSlice) UpdateAll

func (o CatalogSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (CatalogSlice) UpdateAllG

func (o CatalogSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (CatalogSlice) UpdateAllGP

func (o CatalogSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (CatalogSlice) UpdateAllP

func (o CatalogSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type CkeditorAsset

type CkeditorAsset struct {
	ID              int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	DataFileName    string      `boil:"data_file_name" json:"data_file_name" toml:"data_file_name" yaml:"data_file_name"`
	DataContentType null.String `boil:"data_content_type" json:"data_content_type,omitempty" toml:"data_content_type" yaml:"data_content_type,omitempty"`
	DataFileSize    null.Int    `boil:"data_file_size" json:"data_file_size,omitempty" toml:"data_file_size" yaml:"data_file_size,omitempty"`
	AssetableID     null.Int    `boil:"assetable_id" json:"assetable_id,omitempty" toml:"assetable_id" yaml:"assetable_id,omitempty"`
	AssetableType   null.String `boil:"assetable_type" json:"assetable_type,omitempty" toml:"assetable_type" yaml:"assetable_type,omitempty"`
	Type            null.String `boil:"type" json:"type,omitempty" toml:"type" yaml:"type,omitempty"`
	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"`

	R *ckeditorAssetR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L ckeditorAssetL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

CkeditorAsset is an object representing the database table.

func FindCkeditorAsset

func FindCkeditorAsset(exec boil.Executor, id int, selectCols ...string) (*CkeditorAsset, error)

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

func FindCkeditorAssetG

func FindCkeditorAssetG(id int, selectCols ...string) (*CkeditorAsset, error)

FindCkeditorAssetG retrieves a single record by ID.

func FindCkeditorAssetGP

func FindCkeditorAssetGP(id int, selectCols ...string) *CkeditorAsset

FindCkeditorAssetGP retrieves a single record by ID, and panics on error.

func FindCkeditorAssetP

func FindCkeditorAssetP(exec boil.Executor, id int, selectCols ...string) *CkeditorAsset

FindCkeditorAssetP retrieves a single record by ID with an executor, and panics on error.

func (*CkeditorAsset) Delete

func (o *CkeditorAsset) Delete(exec boil.Executor) error

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

func (*CkeditorAsset) DeleteG

func (o *CkeditorAsset) DeleteG() error

DeleteG deletes a single CkeditorAsset record. DeleteG will match against the primary key column to find the record to delete.

func (*CkeditorAsset) DeleteGP

func (o *CkeditorAsset) DeleteGP()

DeleteGP deletes a single CkeditorAsset record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*CkeditorAsset) DeleteP

func (o *CkeditorAsset) DeleteP(exec boil.Executor)

DeleteP deletes a single CkeditorAsset record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*CkeditorAsset) Insert

func (o *CkeditorAsset) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*CkeditorAsset) InsertG

func (o *CkeditorAsset) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*CkeditorAsset) InsertGP

func (o *CkeditorAsset) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*CkeditorAsset) InsertP

func (o *CkeditorAsset) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*CkeditorAsset) Reload

func (o *CkeditorAsset) Reload(exec boil.Executor) error

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

func (*CkeditorAsset) ReloadG

func (o *CkeditorAsset) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*CkeditorAsset) ReloadGP

func (o *CkeditorAsset) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*CkeditorAsset) ReloadP

func (o *CkeditorAsset) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*CkeditorAsset) Update

func (o *CkeditorAsset) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the CkeditorAsset. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*CkeditorAsset) UpdateG

func (o *CkeditorAsset) UpdateG(whitelist ...string) error

UpdateG a single CkeditorAsset record. See Update for whitelist behavior description.

func (*CkeditorAsset) UpdateGP

func (o *CkeditorAsset) UpdateGP(whitelist ...string)

UpdateGP a single CkeditorAsset record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*CkeditorAsset) UpdateP

func (o *CkeditorAsset) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the CkeditorAsset, and panics on error. See Update for whitelist behavior description.

func (*CkeditorAsset) Upsert

func (o *CkeditorAsset) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*CkeditorAsset) UpsertG

func (o *CkeditorAsset) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*CkeditorAsset) UpsertGP

func (o *CkeditorAsset) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*CkeditorAsset) UpsertP

func (o *CkeditorAsset) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type CkeditorAssetSlice

type CkeditorAssetSlice []*CkeditorAsset

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

func (CkeditorAssetSlice) DeleteAll

func (o CkeditorAssetSlice) DeleteAll(exec boil.Executor) error

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

func (CkeditorAssetSlice) DeleteAllG

func (o CkeditorAssetSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (CkeditorAssetSlice) DeleteAllGP

func (o CkeditorAssetSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (CkeditorAssetSlice) DeleteAllP

func (o CkeditorAssetSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*CkeditorAssetSlice) ReloadAll

func (o *CkeditorAssetSlice) ReloadAll(exec boil.Executor) error

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

func (*CkeditorAssetSlice) ReloadAllG

func (o *CkeditorAssetSlice) ReloadAllG() error

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

func (*CkeditorAssetSlice) ReloadAllGP

func (o *CkeditorAssetSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*CkeditorAssetSlice) ReloadAllP

func (o *CkeditorAssetSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (CkeditorAssetSlice) UpdateAll

func (o CkeditorAssetSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (CkeditorAssetSlice) UpdateAllG

func (o CkeditorAssetSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (CkeditorAssetSlice) UpdateAllGP

func (o CkeditorAssetSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (CkeditorAssetSlice) UpdateAllP

func (o CkeditorAssetSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Comment

type Comment struct {
	ID        int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	Email     null.String `boil:"email" json:"email,omitempty" toml:"email" yaml:"email,omitempty"`
	Subject   null.String `boil:"subject" json:"subject,omitempty" toml:"subject" yaml:"subject,omitempty"`
	Comment   null.String `boil:"comment" json:"comment,omitempty" toml:"comment" yaml:"comment,omitempty"`
	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"`

	R *commentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L commentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Comment is an object representing the database table.

func FindComment

func FindComment(exec boil.Executor, id int, selectCols ...string) (*Comment, error)

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

func FindCommentG

func FindCommentG(id int, selectCols ...string) (*Comment, error)

FindCommentG retrieves a single record by ID.

func FindCommentGP

func FindCommentGP(id int, selectCols ...string) *Comment

FindCommentGP retrieves a single record by ID, and panics on error.

func FindCommentP

func FindCommentP(exec boil.Executor, id int, selectCols ...string) *Comment

FindCommentP retrieves a single record by ID with an executor, and panics on error.

func (*Comment) Delete

func (o *Comment) Delete(exec boil.Executor) error

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

func (*Comment) DeleteG

func (o *Comment) DeleteG() error

DeleteG deletes a single Comment record. DeleteG will match against the primary key column to find the record to delete.

func (*Comment) DeleteGP

func (o *Comment) DeleteGP()

DeleteGP deletes a single Comment record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Comment) DeleteP

func (o *Comment) DeleteP(exec boil.Executor)

DeleteP deletes a single Comment record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Comment) Insert

func (o *Comment) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Comment) InsertG

func (o *Comment) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Comment) InsertGP

func (o *Comment) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Comment) InsertP

func (o *Comment) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Comment) Reload

func (o *Comment) Reload(exec boil.Executor) error

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

func (*Comment) ReloadG

func (o *Comment) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Comment) ReloadGP

func (o *Comment) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Comment) ReloadP

func (o *Comment) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Comment) Update

func (o *Comment) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Comment. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Comment) UpdateG

func (o *Comment) UpdateG(whitelist ...string) error

UpdateG a single Comment record. See Update for whitelist behavior description.

func (*Comment) UpdateGP

func (o *Comment) UpdateGP(whitelist ...string)

UpdateGP a single Comment record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Comment) UpdateP

func (o *Comment) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Comment, and panics on error. See Update for whitelist behavior description.

func (*Comment) Upsert

func (o *Comment) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Comment) UpsertG

func (o *Comment) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Comment) UpsertGP

func (o *Comment) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Comment) UpsertP

func (o *Comment) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type CommentSlice

type CommentSlice []*Comment

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

func (CommentSlice) DeleteAll

func (o CommentSlice) DeleteAll(exec boil.Executor) error

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

func (CommentSlice) DeleteAllG

func (o CommentSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (CommentSlice) DeleteAllGP

func (o CommentSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (CommentSlice) DeleteAllP

func (o CommentSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*CommentSlice) ReloadAll

func (o *CommentSlice) ReloadAll(exec boil.Executor) error

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

func (*CommentSlice) ReloadAllG

func (o *CommentSlice) ReloadAllG() error

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

func (*CommentSlice) ReloadAllGP

func (o *CommentSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*CommentSlice) ReloadAllP

func (o *CommentSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (CommentSlice) UpdateAll

func (o CommentSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (CommentSlice) UpdateAllG

func (o CommentSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (CommentSlice) UpdateAllGP

func (o CommentSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (CommentSlice) UpdateAllP

func (o CommentSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Container

type Container struct {
	ID              int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name            null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	CreatedAt       null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt       null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	Filmdate        null.Time   `boil:"filmdate" json:"filmdate,omitempty" toml:"filmdate" yaml:"filmdate,omitempty"`
	LangID          null.String `boil:"lang_id" json:"lang_id,omitempty" toml:"lang_id" yaml:"lang_id,omitempty"`
	LecturerID      null.Int    `boil:"lecturer_id" json:"lecturer_id,omitempty" toml:"lecturer_id" yaml:"lecturer_id,omitempty"`
	Secure          int         `boil:"secure" json:"secure" toml:"secure" yaml:"secure"`
	ContentTypeID   null.Int    `boil:"content_type_id" json:"content_type_id,omitempty" toml:"content_type_id" yaml:"content_type_id,omitempty"`
	MarkedForMerge  null.Bool   `boil:"marked_for_merge" json:"marked_for_merge,omitempty" toml:"marked_for_merge" yaml:"marked_for_merge,omitempty"`
	SecureChanged   null.Bool   `boil:"secure_changed" json:"secure_changed,omitempty" toml:"secure_changed" yaml:"secure_changed,omitempty"`
	AutoParsed      null.Bool   `boil:"auto_parsed" json:"auto_parsed,omitempty" toml:"auto_parsed" yaml:"auto_parsed,omitempty"`
	VirtualLessonID null.Int    `boil:"virtual_lesson_id" json:"virtual_lesson_id,omitempty" toml:"virtual_lesson_id" yaml:"virtual_lesson_id,omitempty"`
	PlaytimeSecs    null.Int    `boil:"playtime_secs" json:"playtime_secs,omitempty" toml:"playtime_secs" yaml:"playtime_secs,omitempty"`
	UserID          null.Int    `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"`
	ForCensorship   null.Bool   `boil:"for_censorship" json:"for_censorship,omitempty" toml:"for_censorship" yaml:"for_censorship,omitempty"`
	OpenedByCensor  null.Bool   `boil:"opened_by_censor" json:"opened_by_censor,omitempty" toml:"opened_by_censor" yaml:"opened_by_censor,omitempty"`
	ClosedByCensor  null.Bool   `boil:"closed_by_censor" json:"closed_by_censor,omitempty" toml:"closed_by_censor" yaml:"closed_by_censor,omitempty"`
	CensorID        null.Int    `boil:"censor_id" json:"censor_id,omitempty" toml:"censor_id" yaml:"censor_id,omitempty"`
	Position        null.Int    `boil:"position" json:"position,omitempty" toml:"position" yaml:"position,omitempty"`

	R *containerR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L containerL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Container is an object representing the database table.

func FindContainer

func FindContainer(exec boil.Executor, id int, selectCols ...string) (*Container, error)

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

func FindContainerG

func FindContainerG(id int, selectCols ...string) (*Container, error)

FindContainerG retrieves a single record by ID.

func FindContainerGP

func FindContainerGP(id int, selectCols ...string) *Container

FindContainerGP retrieves a single record by ID, and panics on error.

func FindContainerP

func FindContainerP(exec boil.Executor, id int, selectCols ...string) *Container

FindContainerP retrieves a single record by ID with an executor, and panics on error.

func (*Container) AddCatalogs

func (o *Container) AddCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

AddCatalogs adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.Containers appropriately.

func (*Container) AddCatalogsG

func (o *Container) AddCatalogsG(insert bool, related ...*Catalog) error

AddCatalogsG adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.Containers appropriately. Uses the global database handle.

func (*Container) AddCatalogsGP

func (o *Container) AddCatalogsGP(insert bool, related ...*Catalog)

AddCatalogsGP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.Containers appropriately. Uses the global database handle and panics on error.

func (*Container) AddCatalogsP

func (o *Container) AddCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

AddCatalogsP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.Containers appropriately. Panics on error.

func (*Container) AddContainerDescriptions

func (o *Container) AddContainerDescriptions(exec boil.Executor, insert bool, related ...*ContainerDescription) error

AddContainerDescriptions adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.ContainerDescriptions. Sets related.R.Container appropriately.

func (*Container) AddContainerDescriptionsG

func (o *Container) AddContainerDescriptionsG(insert bool, related ...*ContainerDescription) error

AddContainerDescriptionsG adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.ContainerDescriptions. Sets related.R.Container appropriately. Uses the global database handle.

func (*Container) AddContainerDescriptionsGP

func (o *Container) AddContainerDescriptionsGP(insert bool, related ...*ContainerDescription)

AddContainerDescriptionsGP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.ContainerDescriptions. Sets related.R.Container appropriately. Uses the global database handle and panics on error.

func (*Container) AddContainerDescriptionsP

func (o *Container) AddContainerDescriptionsP(exec boil.Executor, insert bool, related ...*ContainerDescription)

AddContainerDescriptionsP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.ContainerDescriptions. Sets related.R.Container appropriately. Panics on error.

func (*Container) AddFileAssets

func (o *Container) AddFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

AddFileAssets adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.Containers appropriately.

func (*Container) AddFileAssetsG

func (o *Container) AddFileAssetsG(insert bool, related ...*FileAsset) error

AddFileAssetsG adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.Containers appropriately. Uses the global database handle.

func (*Container) AddFileAssetsGP

func (o *Container) AddFileAssetsGP(insert bool, related ...*FileAsset)

AddFileAssetsGP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.Containers appropriately. Uses the global database handle and panics on error.

func (*Container) AddFileAssetsP

func (o *Container) AddFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

AddFileAssetsP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.Containers appropriately. Panics on error.

func (*Container) AddLabels

func (o *Container) AddLabels(exec boil.Executor, insert bool, related ...*Label) error

AddLabels adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Labels. Sets related.R.Containers appropriately.

func (*Container) AddLabelsG

func (o *Container) AddLabelsG(insert bool, related ...*Label) error

AddLabelsG adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Labels. Sets related.R.Containers appropriately. Uses the global database handle.

func (*Container) AddLabelsGP

func (o *Container) AddLabelsGP(insert bool, related ...*Label)

AddLabelsGP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Labels. Sets related.R.Containers appropriately. Uses the global database handle and panics on error.

func (*Container) AddLabelsP

func (o *Container) AddLabelsP(exec boil.Executor, insert bool, related ...*Label)

AddLabelsP adds the given related objects to the existing relationships of the container, optionally inserting them as new records. Appends related to o.R.Labels. Sets related.R.Containers appropriately. Panics on error.

func (*Container) Catalogs

func (o *Container) Catalogs(exec boil.Executor, mods ...qm.QueryMod) catalogQuery

Catalogs retrieves all the catalog's catalogs with an executor.

func (*Container) CatalogsG

func (o *Container) CatalogsG(mods ...qm.QueryMod) catalogQuery

CatalogsG retrieves all the catalog's catalogs.

func (*Container) ContainerDescriptions

func (o *Container) ContainerDescriptions(exec boil.Executor, mods ...qm.QueryMod) containerDescriptionQuery

ContainerDescriptions retrieves all the container_description's container descriptions with an executor.

func (*Container) ContainerDescriptionsG

func (o *Container) ContainerDescriptionsG(mods ...qm.QueryMod) containerDescriptionQuery

ContainerDescriptionsG retrieves all the container_description's container descriptions.

func (*Container) ContentType

func (o *Container) ContentType(exec boil.Executor, mods ...qm.QueryMod) contentTypeQuery

ContentType pointed to by the foreign key.

func (*Container) ContentTypeG

func (o *Container) ContentTypeG(mods ...qm.QueryMod) contentTypeQuery

ContentTypeG pointed to by the foreign key.

func (*Container) Delete

func (o *Container) Delete(exec boil.Executor) error

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

func (*Container) DeleteG

func (o *Container) DeleteG() error

DeleteG deletes a single Container record. DeleteG will match against the primary key column to find the record to delete.

func (*Container) DeleteGP

func (o *Container) DeleteGP()

DeleteGP deletes a single Container record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Container) DeleteP

func (o *Container) DeleteP(exec boil.Executor)

DeleteP deletes a single Container record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Container) FileAssets

func (o *Container) FileAssets(exec boil.Executor, mods ...qm.QueryMod) fileAssetQuery

FileAssets retrieves all the file_asset's file assets with an executor.

func (*Container) FileAssetsG

func (o *Container) FileAssetsG(mods ...qm.QueryMod) fileAssetQuery

FileAssetsG retrieves all the file_asset's file assets.

func (*Container) Insert

func (o *Container) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Container) InsertG

func (o *Container) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Container) InsertGP

func (o *Container) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Container) InsertP

func (o *Container) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Container) Labels

func (o *Container) Labels(exec boil.Executor, mods ...qm.QueryMod) labelQuery

Labels retrieves all the label's labels with an executor.

func (*Container) LabelsG

func (o *Container) LabelsG(mods ...qm.QueryMod) labelQuery

LabelsG retrieves all the label's labels.

func (*Container) Lang

func (o *Container) Lang(exec boil.Executor, mods ...qm.QueryMod) languageQuery

Lang pointed to by the foreign key.

func (*Container) LangG

func (o *Container) LangG(mods ...qm.QueryMod) languageQuery

LangG pointed to by the foreign key.

func (*Container) Reload

func (o *Container) Reload(exec boil.Executor) error

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

func (*Container) ReloadG

func (o *Container) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Container) ReloadGP

func (o *Container) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Container) ReloadP

func (o *Container) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Container) RemoveCatalogs

func (o *Container) RemoveCatalogs(exec boil.Executor, related ...*Catalog) error

RemoveCatalogs relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.Containers.

func (*Container) RemoveCatalogsG

func (o *Container) RemoveCatalogsG(related ...*Catalog) error

RemoveCatalogsG relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Uses the global database handle.

func (*Container) RemoveCatalogsGP

func (o *Container) RemoveCatalogsGP(related ...*Catalog)

RemoveCatalogsGP relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Uses the global database handle and panics on error.

func (*Container) RemoveCatalogsP

func (o *Container) RemoveCatalogsP(exec boil.Executor, related ...*Catalog)

RemoveCatalogsP relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Panics on error.

func (*Container) RemoveContentType

func (o *Container) RemoveContentType(exec boil.Executor, related *ContentType) error

RemoveContentType relationship. Sets o.R.ContentType to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Container) RemoveContentTypeG

func (o *Container) RemoveContentTypeG(related *ContentType) error

RemoveContentTypeG relationship. Sets o.R.ContentType to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Container) RemoveContentTypeGP

func (o *Container) RemoveContentTypeGP(related *ContentType)

RemoveContentTypeGP relationship. Sets o.R.ContentType to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Container) RemoveContentTypeP

func (o *Container) RemoveContentTypeP(exec boil.Executor, related *ContentType)

RemoveContentTypeP relationship. Sets o.R.ContentType to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Container) RemoveFileAssets

func (o *Container) RemoveFileAssets(exec boil.Executor, related ...*FileAsset) error

RemoveFileAssets relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Containers.

func (*Container) RemoveFileAssetsG

func (o *Container) RemoveFileAssetsG(related ...*FileAsset) error

RemoveFileAssetsG relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Uses the global database handle.

func (*Container) RemoveFileAssetsGP

func (o *Container) RemoveFileAssetsGP(related ...*FileAsset)

RemoveFileAssetsGP relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Uses the global database handle and panics on error.

func (*Container) RemoveFileAssetsP

func (o *Container) RemoveFileAssetsP(exec boil.Executor, related ...*FileAsset)

RemoveFileAssetsP relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Panics on error.

func (*Container) RemoveLabels

func (o *Container) RemoveLabels(exec boil.Executor, related ...*Label) error

RemoveLabels relationships from objects passed in. Removes related items from R.Labels (uses pointer comparison, removal does not keep order) Sets related.R.Containers.

func (*Container) RemoveLabelsG

func (o *Container) RemoveLabelsG(related ...*Label) error

RemoveLabelsG relationships from objects passed in. Removes related items from R.Labels (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Uses the global database handle.

func (*Container) RemoveLabelsGP

func (o *Container) RemoveLabelsGP(related ...*Label)

RemoveLabelsGP relationships from objects passed in. Removes related items from R.Labels (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Uses the global database handle and panics on error.

func (*Container) RemoveLabelsP

func (o *Container) RemoveLabelsP(exec boil.Executor, related ...*Label)

RemoveLabelsP relationships from objects passed in. Removes related items from R.Labels (uses pointer comparison, removal does not keep order) Sets related.R.Containers. Panics on error.

func (*Container) RemoveLang

func (o *Container) RemoveLang(exec boil.Executor, related *Language) error

RemoveLang relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Container) RemoveLangG

func (o *Container) RemoveLangG(related *Language) error

RemoveLangG relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Container) RemoveLangGP

func (o *Container) RemoveLangGP(related *Language)

RemoveLangGP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Container) RemoveLangP

func (o *Container) RemoveLangP(exec boil.Executor, related *Language)

RemoveLangP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Container) RemoveVirtualLesson

func (o *Container) RemoveVirtualLesson(exec boil.Executor, related *VirtualLesson) error

RemoveVirtualLesson relationship. Sets o.R.VirtualLesson to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Container) RemoveVirtualLessonG

func (o *Container) RemoveVirtualLessonG(related *VirtualLesson) error

RemoveVirtualLessonG relationship. Sets o.R.VirtualLesson to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Container) RemoveVirtualLessonGP

func (o *Container) RemoveVirtualLessonGP(related *VirtualLesson)

RemoveVirtualLessonGP relationship. Sets o.R.VirtualLesson to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Container) RemoveVirtualLessonP

func (o *Container) RemoveVirtualLessonP(exec boil.Executor, related *VirtualLesson)

RemoveVirtualLessonP relationship. Sets o.R.VirtualLesson to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Container) SetCatalogs

func (o *Container) SetCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

SetCatalogs removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.Containers's Catalogs accordingly.

func (*Container) SetCatalogsG

func (o *Container) SetCatalogsG(insert bool, related ...*Catalog) error

SetCatalogsG removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.Containers's Catalogs accordingly. Uses the global database handle.

func (*Container) SetCatalogsGP

func (o *Container) SetCatalogsGP(insert bool, related ...*Catalog)

SetCatalogsGP removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.Containers's Catalogs accordingly. Uses the global database handle and panics on error.

func (*Container) SetCatalogsP

func (o *Container) SetCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

SetCatalogsP removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.Containers's Catalogs accordingly. Panics on error.

func (*Container) SetContentType

func (o *Container) SetContentType(exec boil.Executor, insert bool, related *ContentType) error

SetContentType of the container to the related item. Sets o.R.ContentType to related. Adds o to related.R.Containers.

func (*Container) SetContentTypeG

func (o *Container) SetContentTypeG(insert bool, related *ContentType) error

SetContentTypeG of the container to the related item. Sets o.R.ContentType to related. Adds o to related.R.Containers. Uses the global database handle.

func (*Container) SetContentTypeGP

func (o *Container) SetContentTypeGP(insert bool, related *ContentType)

SetContentTypeGP of the container to the related item. Sets o.R.ContentType to related. Adds o to related.R.Containers. Uses the global database handle and panics on error.

func (*Container) SetContentTypeP

func (o *Container) SetContentTypeP(exec boil.Executor, insert bool, related *ContentType)

SetContentTypeP of the container to the related item. Sets o.R.ContentType to related. Adds o to related.R.Containers. Panics on error.

func (*Container) SetFileAssets

func (o *Container) SetFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

SetFileAssets removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.Containers's FileAssets accordingly.

func (*Container) SetFileAssetsG

func (o *Container) SetFileAssetsG(insert bool, related ...*FileAsset) error

SetFileAssetsG removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.Containers's FileAssets accordingly. Uses the global database handle.

func (*Container) SetFileAssetsGP

func (o *Container) SetFileAssetsGP(insert bool, related ...*FileAsset)

SetFileAssetsGP removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.Containers's FileAssets accordingly. Uses the global database handle and panics on error.

func (*Container) SetFileAssetsP

func (o *Container) SetFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

SetFileAssetsP removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.Containers's FileAssets accordingly. Panics on error.

func (*Container) SetLabels

func (o *Container) SetLabels(exec boil.Executor, insert bool, related ...*Label) error

SetLabels removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Labels accordingly. Replaces o.R.Labels with related. Sets related.R.Containers's Labels accordingly.

func (*Container) SetLabelsG

func (o *Container) SetLabelsG(insert bool, related ...*Label) error

SetLabelsG removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Labels accordingly. Replaces o.R.Labels with related. Sets related.R.Containers's Labels accordingly. Uses the global database handle.

func (*Container) SetLabelsGP

func (o *Container) SetLabelsGP(insert bool, related ...*Label)

SetLabelsGP removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Labels accordingly. Replaces o.R.Labels with related. Sets related.R.Containers's Labels accordingly. Uses the global database handle and panics on error.

func (*Container) SetLabelsP

func (o *Container) SetLabelsP(exec boil.Executor, insert bool, related ...*Label)

SetLabelsP removes all previously related items of the container replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Containers's Labels accordingly. Replaces o.R.Labels with related. Sets related.R.Containers's Labels accordingly. Panics on error.

func (*Container) SetLang

func (o *Container) SetLang(exec boil.Executor, insert bool, related *Language) error

SetLang of the container to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainers.

func (*Container) SetLangG

func (o *Container) SetLangG(insert bool, related *Language) error

SetLangG of the container to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainers. Uses the global database handle.

func (*Container) SetLangGP

func (o *Container) SetLangGP(insert bool, related *Language)

SetLangGP of the container to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainers. Uses the global database handle and panics on error.

func (*Container) SetLangP

func (o *Container) SetLangP(exec boil.Executor, insert bool, related *Language)

SetLangP of the container to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainers. Panics on error.

func (*Container) SetVirtualLesson

func (o *Container) SetVirtualLesson(exec boil.Executor, insert bool, related *VirtualLesson) error

SetVirtualLesson of the container to the related item. Sets o.R.VirtualLesson to related. Adds o to related.R.Containers.

func (*Container) SetVirtualLessonG

func (o *Container) SetVirtualLessonG(insert bool, related *VirtualLesson) error

SetVirtualLessonG of the container to the related item. Sets o.R.VirtualLesson to related. Adds o to related.R.Containers. Uses the global database handle.

func (*Container) SetVirtualLessonGP

func (o *Container) SetVirtualLessonGP(insert bool, related *VirtualLesson)

SetVirtualLessonGP of the container to the related item. Sets o.R.VirtualLesson to related. Adds o to related.R.Containers. Uses the global database handle and panics on error.

func (*Container) SetVirtualLessonP

func (o *Container) SetVirtualLessonP(exec boil.Executor, insert bool, related *VirtualLesson)

SetVirtualLessonP of the container to the related item. Sets o.R.VirtualLesson to related. Adds o to related.R.Containers. Panics on error.

func (*Container) Update

func (o *Container) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Container. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Container) UpdateG

func (o *Container) UpdateG(whitelist ...string) error

UpdateG a single Container record. See Update for whitelist behavior description.

func (*Container) UpdateGP

func (o *Container) UpdateGP(whitelist ...string)

UpdateGP a single Container record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Container) UpdateP

func (o *Container) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Container, and panics on error. See Update for whitelist behavior description.

func (*Container) Upsert

func (o *Container) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Container) UpsertG

func (o *Container) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Container) UpsertGP

func (o *Container) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Container) UpsertP

func (o *Container) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

func (*Container) VirtualLesson

func (o *Container) VirtualLesson(exec boil.Executor, mods ...qm.QueryMod) virtualLessonQuery

VirtualLesson pointed to by the foreign key.

func (*Container) VirtualLessonG

func (o *Container) VirtualLessonG(mods ...qm.QueryMod) virtualLessonQuery

VirtualLessonG pointed to by the foreign key.

type ContainerDescription

type ContainerDescription struct {
	ID            int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	ContainerID   int         `boil:"container_id" json:"container_id" toml:"container_id" yaml:"container_id"`
	ContainerDesc null.String `boil:"container_desc" json:"container_desc,omitempty" toml:"container_desc" yaml:"container_desc,omitempty"`
	LangID        null.String `boil:"lang_id" json:"lang_id,omitempty" toml:"lang_id" yaml:"lang_id,omitempty"`
	CreatedAt     null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt     null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	Descr         null.String `boil:"descr" json:"descr,omitempty" toml:"descr" yaml:"descr,omitempty"`

	R *containerDescriptionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L containerDescriptionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ContainerDescription is an object representing the database table.

func FindContainerDescription

func FindContainerDescription(exec boil.Executor, id int, selectCols ...string) (*ContainerDescription, error)

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

func FindContainerDescriptionG

func FindContainerDescriptionG(id int, selectCols ...string) (*ContainerDescription, error)

FindContainerDescriptionG retrieves a single record by ID.

func FindContainerDescriptionGP

func FindContainerDescriptionGP(id int, selectCols ...string) *ContainerDescription

FindContainerDescriptionGP retrieves a single record by ID, and panics on error.

func FindContainerDescriptionP

func FindContainerDescriptionP(exec boil.Executor, id int, selectCols ...string) *ContainerDescription

FindContainerDescriptionP retrieves a single record by ID with an executor, and panics on error.

func (*ContainerDescription) Container

func (o *ContainerDescription) Container(exec boil.Executor, mods ...qm.QueryMod) containerQuery

Container pointed to by the foreign key.

func (*ContainerDescription) ContainerG

func (o *ContainerDescription) ContainerG(mods ...qm.QueryMod) containerQuery

ContainerG pointed to by the foreign key.

func (*ContainerDescription) Delete

func (o *ContainerDescription) Delete(exec boil.Executor) error

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

func (*ContainerDescription) DeleteG

func (o *ContainerDescription) DeleteG() error

DeleteG deletes a single ContainerDescription record. DeleteG will match against the primary key column to find the record to delete.

func (*ContainerDescription) DeleteGP

func (o *ContainerDescription) DeleteGP()

DeleteGP deletes a single ContainerDescription record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*ContainerDescription) DeleteP

func (o *ContainerDescription) DeleteP(exec boil.Executor)

DeleteP deletes a single ContainerDescription record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*ContainerDescription) Insert

func (o *ContainerDescription) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*ContainerDescription) InsertG

func (o *ContainerDescription) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*ContainerDescription) InsertGP

func (o *ContainerDescription) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*ContainerDescription) InsertP

func (o *ContainerDescription) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*ContainerDescription) Lang

func (o *ContainerDescription) Lang(exec boil.Executor, mods ...qm.QueryMod) languageQuery

Lang pointed to by the foreign key.

func (*ContainerDescription) LangG

func (o *ContainerDescription) LangG(mods ...qm.QueryMod) languageQuery

LangG pointed to by the foreign key.

func (*ContainerDescription) Reload

func (o *ContainerDescription) Reload(exec boil.Executor) error

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

func (*ContainerDescription) ReloadG

func (o *ContainerDescription) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*ContainerDescription) ReloadGP

func (o *ContainerDescription) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*ContainerDescription) ReloadP

func (o *ContainerDescription) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*ContainerDescription) RemoveLang

func (o *ContainerDescription) RemoveLang(exec boil.Executor, related *Language) error

RemoveLang relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*ContainerDescription) RemoveLangG

func (o *ContainerDescription) RemoveLangG(related *Language) error

RemoveLangG relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*ContainerDescription) RemoveLangGP

func (o *ContainerDescription) RemoveLangGP(related *Language)

RemoveLangGP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*ContainerDescription) RemoveLangP

func (o *ContainerDescription) RemoveLangP(exec boil.Executor, related *Language)

RemoveLangP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*ContainerDescription) SetContainer

func (o *ContainerDescription) SetContainer(exec boil.Executor, insert bool, related *Container) error

SetContainer of the container_description to the related item. Sets o.R.Container to related. Adds o to related.R.ContainerDescriptions.

func (*ContainerDescription) SetContainerG

func (o *ContainerDescription) SetContainerG(insert bool, related *Container) error

SetContainerG of the container_description to the related item. Sets o.R.Container to related. Adds o to related.R.ContainerDescriptions. Uses the global database handle.

func (*ContainerDescription) SetContainerGP

func (o *ContainerDescription) SetContainerGP(insert bool, related *Container)

SetContainerGP of the container_description to the related item. Sets o.R.Container to related. Adds o to related.R.ContainerDescriptions. Uses the global database handle and panics on error.

func (*ContainerDescription) SetContainerP

func (o *ContainerDescription) SetContainerP(exec boil.Executor, insert bool, related *Container)

SetContainerP of the container_description to the related item. Sets o.R.Container to related. Adds o to related.R.ContainerDescriptions. Panics on error.

func (*ContainerDescription) SetLang

func (o *ContainerDescription) SetLang(exec boil.Executor, insert bool, related *Language) error

SetLang of the container_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainerDescriptions.

func (*ContainerDescription) SetLangG

func (o *ContainerDescription) SetLangG(insert bool, related *Language) error

SetLangG of the container_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainerDescriptions. Uses the global database handle.

func (*ContainerDescription) SetLangGP

func (o *ContainerDescription) SetLangGP(insert bool, related *Language)

SetLangGP of the container_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainerDescriptions. Uses the global database handle and panics on error.

func (*ContainerDescription) SetLangP

func (o *ContainerDescription) SetLangP(exec boil.Executor, insert bool, related *Language)

SetLangP of the container_description to the related item. Sets o.R.Lang to related. Adds o to related.R.LangContainerDescriptions. Panics on error.

func (*ContainerDescription) Update

func (o *ContainerDescription) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the ContainerDescription. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ContainerDescription) UpdateG

func (o *ContainerDescription) UpdateG(whitelist ...string) error

UpdateG a single ContainerDescription record. See Update for whitelist behavior description.

func (*ContainerDescription) UpdateGP

func (o *ContainerDescription) UpdateGP(whitelist ...string)

UpdateGP a single ContainerDescription record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*ContainerDescription) UpdateP

func (o *ContainerDescription) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the ContainerDescription, and panics on error. See Update for whitelist behavior description.

func (*ContainerDescription) Upsert

func (o *ContainerDescription) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*ContainerDescription) UpsertG

func (o *ContainerDescription) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*ContainerDescription) UpsertGP

func (o *ContainerDescription) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*ContainerDescription) UpsertP

func (o *ContainerDescription) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type ContainerDescriptionPattern

type ContainerDescriptionPattern struct {
	ID          int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Pattern     null.String `boil:"pattern" json:"pattern,omitempty" toml:"pattern" yaml:"pattern,omitempty"`
	Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"`
	Lang        null.String `boil:"lang" json:"lang,omitempty" toml:"lang" yaml:"lang,omitempty"`
	CreatedAt   null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt   null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	UserID      null.Int    `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"`

	R *containerDescriptionPatternR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L containerDescriptionPatternL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ContainerDescriptionPattern is an object representing the database table.

func FindContainerDescriptionPattern

func FindContainerDescriptionPattern(exec boil.Executor, id int, selectCols ...string) (*ContainerDescriptionPattern, error)

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

func FindContainerDescriptionPatternG

func FindContainerDescriptionPatternG(id int, selectCols ...string) (*ContainerDescriptionPattern, error)

FindContainerDescriptionPatternG retrieves a single record by ID.

func FindContainerDescriptionPatternGP

func FindContainerDescriptionPatternGP(id int, selectCols ...string) *ContainerDescriptionPattern

FindContainerDescriptionPatternGP retrieves a single record by ID, and panics on error.

func FindContainerDescriptionPatternP

func FindContainerDescriptionPatternP(exec boil.Executor, id int, selectCols ...string) *ContainerDescriptionPattern

FindContainerDescriptionPatternP retrieves a single record by ID with an executor, and panics on error.

func (*ContainerDescriptionPattern) AddCatalogs

func (o *ContainerDescriptionPattern) AddCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

AddCatalogs adds the given related objects to the existing relationships of the container_description_pattern, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.ContainerDescriptionPatterns appropriately.

func (*ContainerDescriptionPattern) AddCatalogsG

func (o *ContainerDescriptionPattern) AddCatalogsG(insert bool, related ...*Catalog) error

AddCatalogsG adds the given related objects to the existing relationships of the container_description_pattern, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.ContainerDescriptionPatterns appropriately. Uses the global database handle.

func (*ContainerDescriptionPattern) AddCatalogsGP

func (o *ContainerDescriptionPattern) AddCatalogsGP(insert bool, related ...*Catalog)

AddCatalogsGP adds the given related objects to the existing relationships of the container_description_pattern, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.ContainerDescriptionPatterns appropriately. Uses the global database handle and panics on error.

func (*ContainerDescriptionPattern) AddCatalogsP

func (o *ContainerDescriptionPattern) AddCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

AddCatalogsP adds the given related objects to the existing relationships of the container_description_pattern, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.ContainerDescriptionPatterns appropriately. Panics on error.

func (*ContainerDescriptionPattern) Catalogs

func (o *ContainerDescriptionPattern) Catalogs(exec boil.Executor, mods ...qm.QueryMod) catalogQuery

Catalogs retrieves all the catalog's catalogs with an executor.

func (*ContainerDescriptionPattern) CatalogsG

func (o *ContainerDescriptionPattern) CatalogsG(mods ...qm.QueryMod) catalogQuery

CatalogsG retrieves all the catalog's catalogs.

func (*ContainerDescriptionPattern) Delete

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

func (*ContainerDescriptionPattern) DeleteG

func (o *ContainerDescriptionPattern) DeleteG() error

DeleteG deletes a single ContainerDescriptionPattern record. DeleteG will match against the primary key column to find the record to delete.

func (*ContainerDescriptionPattern) DeleteGP

func (o *ContainerDescriptionPattern) DeleteGP()

DeleteGP deletes a single ContainerDescriptionPattern record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*ContainerDescriptionPattern) DeleteP

func (o *ContainerDescriptionPattern) DeleteP(exec boil.Executor)

DeleteP deletes a single ContainerDescriptionPattern record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*ContainerDescriptionPattern) Insert

func (o *ContainerDescriptionPattern) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*ContainerDescriptionPattern) InsertG

func (o *ContainerDescriptionPattern) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*ContainerDescriptionPattern) InsertGP

func (o *ContainerDescriptionPattern) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*ContainerDescriptionPattern) InsertP

func (o *ContainerDescriptionPattern) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*ContainerDescriptionPattern) Reload

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

func (*ContainerDescriptionPattern) ReloadG

func (o *ContainerDescriptionPattern) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*ContainerDescriptionPattern) ReloadGP

func (o *ContainerDescriptionPattern) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*ContainerDescriptionPattern) ReloadP

func (o *ContainerDescriptionPattern) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*ContainerDescriptionPattern) RemoveCatalogs

func (o *ContainerDescriptionPattern) RemoveCatalogs(exec boil.Executor, related ...*Catalog) error

RemoveCatalogs relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.ContainerDescriptionPatterns.

func (*ContainerDescriptionPattern) RemoveCatalogsG

func (o *ContainerDescriptionPattern) RemoveCatalogsG(related ...*Catalog) error

RemoveCatalogsG relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.ContainerDescriptionPatterns. Uses the global database handle.

func (*ContainerDescriptionPattern) RemoveCatalogsGP

func (o *ContainerDescriptionPattern) RemoveCatalogsGP(related ...*Catalog)

RemoveCatalogsGP relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.ContainerDescriptionPatterns. Uses the global database handle and panics on error.

func (*ContainerDescriptionPattern) RemoveCatalogsP

func (o *ContainerDescriptionPattern) RemoveCatalogsP(exec boil.Executor, related ...*Catalog)

RemoveCatalogsP relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.ContainerDescriptionPatterns. Panics on error.

func (*ContainerDescriptionPattern) SetCatalogs

func (o *ContainerDescriptionPattern) SetCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

SetCatalogs removes all previously related items of the container_description_pattern replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContainerDescriptionPatterns's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.ContainerDescriptionPatterns's Catalogs accordingly.

func (*ContainerDescriptionPattern) SetCatalogsG

func (o *ContainerDescriptionPattern) SetCatalogsG(insert bool, related ...*Catalog) error

SetCatalogsG removes all previously related items of the container_description_pattern replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContainerDescriptionPatterns's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.ContainerDescriptionPatterns's Catalogs accordingly. Uses the global database handle.

func (*ContainerDescriptionPattern) SetCatalogsGP

func (o *ContainerDescriptionPattern) SetCatalogsGP(insert bool, related ...*Catalog)

SetCatalogsGP removes all previously related items of the container_description_pattern replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContainerDescriptionPatterns's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.ContainerDescriptionPatterns's Catalogs accordingly. Uses the global database handle and panics on error.

func (*ContainerDescriptionPattern) SetCatalogsP

func (o *ContainerDescriptionPattern) SetCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

SetCatalogsP removes all previously related items of the container_description_pattern replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContainerDescriptionPatterns's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.ContainerDescriptionPatterns's Catalogs accordingly. Panics on error.

func (*ContainerDescriptionPattern) Update

func (o *ContainerDescriptionPattern) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the ContainerDescriptionPattern. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ContainerDescriptionPattern) UpdateG

func (o *ContainerDescriptionPattern) UpdateG(whitelist ...string) error

UpdateG a single ContainerDescriptionPattern record. See Update for whitelist behavior description.

func (*ContainerDescriptionPattern) UpdateGP

func (o *ContainerDescriptionPattern) UpdateGP(whitelist ...string)

UpdateGP a single ContainerDescriptionPattern record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*ContainerDescriptionPattern) UpdateP

func (o *ContainerDescriptionPattern) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the ContainerDescriptionPattern, and panics on error. See Update for whitelist behavior description.

func (*ContainerDescriptionPattern) Upsert

func (o *ContainerDescriptionPattern) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*ContainerDescriptionPattern) UpsertG

func (o *ContainerDescriptionPattern) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*ContainerDescriptionPattern) UpsertGP

func (o *ContainerDescriptionPattern) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*ContainerDescriptionPattern) UpsertP

func (o *ContainerDescriptionPattern) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type ContainerDescriptionPatternSlice

type ContainerDescriptionPatternSlice []*ContainerDescriptionPattern

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

func (ContainerDescriptionPatternSlice) DeleteAll

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

func (ContainerDescriptionPatternSlice) DeleteAllG

func (o ContainerDescriptionPatternSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (ContainerDescriptionPatternSlice) DeleteAllGP

func (o ContainerDescriptionPatternSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (ContainerDescriptionPatternSlice) DeleteAllP

func (o ContainerDescriptionPatternSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*ContainerDescriptionPatternSlice) ReloadAll

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

func (*ContainerDescriptionPatternSlice) ReloadAllG

func (o *ContainerDescriptionPatternSlice) ReloadAllG() error

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

func (*ContainerDescriptionPatternSlice) ReloadAllGP

func (o *ContainerDescriptionPatternSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*ContainerDescriptionPatternSlice) ReloadAllP

func (o *ContainerDescriptionPatternSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (ContainerDescriptionPatternSlice) UpdateAll

func (o ContainerDescriptionPatternSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (ContainerDescriptionPatternSlice) UpdateAllG

func (o ContainerDescriptionPatternSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (ContainerDescriptionPatternSlice) UpdateAllGP

func (o ContainerDescriptionPatternSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (ContainerDescriptionPatternSlice) UpdateAllP

func (o ContainerDescriptionPatternSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type ContainerDescriptionSlice

type ContainerDescriptionSlice []*ContainerDescription

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

func (ContainerDescriptionSlice) DeleteAll

func (o ContainerDescriptionSlice) DeleteAll(exec boil.Executor) error

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

func (ContainerDescriptionSlice) DeleteAllG

func (o ContainerDescriptionSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (ContainerDescriptionSlice) DeleteAllGP

func (o ContainerDescriptionSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (ContainerDescriptionSlice) DeleteAllP

func (o ContainerDescriptionSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*ContainerDescriptionSlice) ReloadAll

func (o *ContainerDescriptionSlice) ReloadAll(exec boil.Executor) error

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

func (*ContainerDescriptionSlice) ReloadAllG

func (o *ContainerDescriptionSlice) ReloadAllG() error

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

func (*ContainerDescriptionSlice) ReloadAllGP

func (o *ContainerDescriptionSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*ContainerDescriptionSlice) ReloadAllP

func (o *ContainerDescriptionSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (ContainerDescriptionSlice) UpdateAll

func (o ContainerDescriptionSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (ContainerDescriptionSlice) UpdateAllG

func (o ContainerDescriptionSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (ContainerDescriptionSlice) UpdateAllGP

func (o ContainerDescriptionSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (ContainerDescriptionSlice) UpdateAllP

func (o ContainerDescriptionSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type ContainerSlice

type ContainerSlice []*Container

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

func (ContainerSlice) DeleteAll

func (o ContainerSlice) DeleteAll(exec boil.Executor) error

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

func (ContainerSlice) DeleteAllG

func (o ContainerSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (ContainerSlice) DeleteAllGP

func (o ContainerSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (ContainerSlice) DeleteAllP

func (o ContainerSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*ContainerSlice) ReloadAll

func (o *ContainerSlice) ReloadAll(exec boil.Executor) error

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

func (*ContainerSlice) ReloadAllG

func (o *ContainerSlice) ReloadAllG() error

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

func (*ContainerSlice) ReloadAllGP

func (o *ContainerSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*ContainerSlice) ReloadAllP

func (o *ContainerSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (ContainerSlice) UpdateAll

func (o ContainerSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (ContainerSlice) UpdateAllG

func (o ContainerSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (ContainerSlice) UpdateAllGP

func (o ContainerSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (ContainerSlice) UpdateAllP

func (o ContainerSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type ContainerTranscript

type ContainerTranscript struct {
	ID          int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	ContainerID null.Int    `boil:"container_id" json:"container_id,omitempty" toml:"container_id" yaml:"container_id,omitempty"`
	Toc         null.String `boil:"toc" json:"toc,omitempty" toml:"toc" yaml:"toc,omitempty"`
	Transcript  null.String `boil:"transcript" json:"transcript,omitempty" toml:"transcript" yaml:"transcript,omitempty"`
	Lang        null.String `boil:"lang" json:"lang,omitempty" toml:"lang" yaml:"lang,omitempty"`
	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"`

	R *containerTranscriptR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L containerTranscriptL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ContainerTranscript is an object representing the database table.

func FindContainerTranscript

func FindContainerTranscript(exec boil.Executor, id int, selectCols ...string) (*ContainerTranscript, error)

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

func FindContainerTranscriptG

func FindContainerTranscriptG(id int, selectCols ...string) (*ContainerTranscript, error)

FindContainerTranscriptG retrieves a single record by ID.

func FindContainerTranscriptGP

func FindContainerTranscriptGP(id int, selectCols ...string) *ContainerTranscript

FindContainerTranscriptGP retrieves a single record by ID, and panics on error.

func FindContainerTranscriptP

func FindContainerTranscriptP(exec boil.Executor, id int, selectCols ...string) *ContainerTranscript

FindContainerTranscriptP retrieves a single record by ID with an executor, and panics on error.

func (*ContainerTranscript) Delete

func (o *ContainerTranscript) Delete(exec boil.Executor) error

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

func (*ContainerTranscript) DeleteG

func (o *ContainerTranscript) DeleteG() error

DeleteG deletes a single ContainerTranscript record. DeleteG will match against the primary key column to find the record to delete.

func (*ContainerTranscript) DeleteGP

func (o *ContainerTranscript) DeleteGP()

DeleteGP deletes a single ContainerTranscript record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*ContainerTranscript) DeleteP

func (o *ContainerTranscript) DeleteP(exec boil.Executor)

DeleteP deletes a single ContainerTranscript record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*ContainerTranscript) Insert

func (o *ContainerTranscript) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*ContainerTranscript) InsertG

func (o *ContainerTranscript) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*ContainerTranscript) InsertGP

func (o *ContainerTranscript) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*ContainerTranscript) InsertP

func (o *ContainerTranscript) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*ContainerTranscript) Reload

func (o *ContainerTranscript) Reload(exec boil.Executor) error

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

func (*ContainerTranscript) ReloadG

func (o *ContainerTranscript) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*ContainerTranscript) ReloadGP

func (o *ContainerTranscript) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*ContainerTranscript) ReloadP

func (o *ContainerTranscript) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*ContainerTranscript) Update

func (o *ContainerTranscript) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the ContainerTranscript. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ContainerTranscript) UpdateG

func (o *ContainerTranscript) UpdateG(whitelist ...string) error

UpdateG a single ContainerTranscript record. See Update for whitelist behavior description.

func (*ContainerTranscript) UpdateGP

func (o *ContainerTranscript) UpdateGP(whitelist ...string)

UpdateGP a single ContainerTranscript record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*ContainerTranscript) UpdateP

func (o *ContainerTranscript) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the ContainerTranscript, and panics on error. See Update for whitelist behavior description.

func (*ContainerTranscript) Upsert

func (o *ContainerTranscript) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*ContainerTranscript) UpsertG

func (o *ContainerTranscript) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*ContainerTranscript) UpsertGP

func (o *ContainerTranscript) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*ContainerTranscript) UpsertP

func (o *ContainerTranscript) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type ContainerTranscriptSlice

type ContainerTranscriptSlice []*ContainerTranscript

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

func (ContainerTranscriptSlice) DeleteAll

func (o ContainerTranscriptSlice) DeleteAll(exec boil.Executor) error

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

func (ContainerTranscriptSlice) DeleteAllG

func (o ContainerTranscriptSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (ContainerTranscriptSlice) DeleteAllGP

func (o ContainerTranscriptSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (ContainerTranscriptSlice) DeleteAllP

func (o ContainerTranscriptSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*ContainerTranscriptSlice) ReloadAll

func (o *ContainerTranscriptSlice) ReloadAll(exec boil.Executor) error

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

func (*ContainerTranscriptSlice) ReloadAllG

func (o *ContainerTranscriptSlice) ReloadAllG() error

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

func (*ContainerTranscriptSlice) ReloadAllGP

func (o *ContainerTranscriptSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*ContainerTranscriptSlice) ReloadAllP

func (o *ContainerTranscriptSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (ContainerTranscriptSlice) UpdateAll

func (o ContainerTranscriptSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (ContainerTranscriptSlice) UpdateAllG

func (o ContainerTranscriptSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (ContainerTranscriptSlice) UpdateAllGP

func (o ContainerTranscriptSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (ContainerTranscriptSlice) UpdateAllP

func (o ContainerTranscriptSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type ContentType

type ContentType struct {
	ID      int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name    null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	Pattern null.String `boil:"pattern" json:"pattern,omitempty" toml:"pattern" yaml:"pattern,omitempty"`
	Secure  null.Int    `boil:"secure" json:"secure,omitempty" toml:"secure" yaml:"secure,omitempty"`

	R *contentTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L contentTypeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ContentType is an object representing the database table.

func FindContentType

func FindContentType(exec boil.Executor, id int, selectCols ...string) (*ContentType, error)

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

func FindContentTypeG

func FindContentTypeG(id int, selectCols ...string) (*ContentType, error)

FindContentTypeG retrieves a single record by ID.

func FindContentTypeGP

func FindContentTypeGP(id int, selectCols ...string) *ContentType

FindContentTypeGP retrieves a single record by ID, and panics on error.

func FindContentTypeP

func FindContentTypeP(exec boil.Executor, id int, selectCols ...string) *ContentType

FindContentTypeP retrieves a single record by ID with an executor, and panics on error.

func (*ContentType) AddContainers

func (o *ContentType) AddContainers(exec boil.Executor, insert bool, related ...*Container) error

AddContainers adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.ContentType appropriately.

func (*ContentType) AddContainersG

func (o *ContentType) AddContainersG(insert bool, related ...*Container) error

AddContainersG adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.ContentType appropriately. Uses the global database handle.

func (*ContentType) AddContainersGP

func (o *ContentType) AddContainersGP(insert bool, related ...*Container)

AddContainersGP adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.ContentType appropriately. Uses the global database handle and panics on error.

func (*ContentType) AddContainersP

func (o *ContentType) AddContainersP(exec boil.Executor, insert bool, related ...*Container)

AddContainersP adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.ContentType appropriately. Panics on error.

func (*ContentType) Containers

func (o *ContentType) Containers(exec boil.Executor, mods ...qm.QueryMod) containerQuery

Containers retrieves all the container's containers with an executor.

func (*ContentType) ContainersG

func (o *ContentType) ContainersG(mods ...qm.QueryMod) containerQuery

ContainersG retrieves all the container's containers.

func (*ContentType) Delete

func (o *ContentType) Delete(exec boil.Executor) error

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

func (*ContentType) DeleteG

func (o *ContentType) DeleteG() error

DeleteG deletes a single ContentType record. DeleteG will match against the primary key column to find the record to delete.

func (*ContentType) DeleteGP

func (o *ContentType) DeleteGP()

DeleteGP deletes a single ContentType record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*ContentType) DeleteP

func (o *ContentType) DeleteP(exec boil.Executor)

DeleteP deletes a single ContentType record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*ContentType) Insert

func (o *ContentType) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*ContentType) InsertG

func (o *ContentType) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*ContentType) InsertGP

func (o *ContentType) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*ContentType) InsertP

func (o *ContentType) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*ContentType) Reload

func (o *ContentType) Reload(exec boil.Executor) error

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

func (*ContentType) ReloadG

func (o *ContentType) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*ContentType) ReloadGP

func (o *ContentType) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*ContentType) ReloadP

func (o *ContentType) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*ContentType) RemoveContainers

func (o *ContentType) RemoveContainers(exec boil.Executor, related ...*Container) error

RemoveContainers relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.ContentType.

func (*ContentType) RemoveContainersG

func (o *ContentType) RemoveContainersG(related ...*Container) error

RemoveContainersG relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.ContentType. Uses the global database handle.

func (*ContentType) RemoveContainersGP

func (o *ContentType) RemoveContainersGP(related ...*Container)

RemoveContainersGP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.ContentType. Uses the global database handle and panics on error.

func (*ContentType) RemoveContainersP

func (o *ContentType) RemoveContainersP(exec boil.Executor, related ...*Container)

RemoveContainersP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.ContentType. Panics on error.

func (*ContentType) SetContainers

func (o *ContentType) SetContainers(exec boil.Executor, insert bool, related ...*Container) error

SetContainers removes all previously related items of the content_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentType's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.ContentType's Containers accordingly.

func (*ContentType) SetContainersG

func (o *ContentType) SetContainersG(insert bool, related ...*Container) error

SetContainersG removes all previously related items of the content_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentType's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.ContentType's Containers accordingly. Uses the global database handle.

func (*ContentType) SetContainersGP

func (o *ContentType) SetContainersGP(insert bool, related ...*Container)

SetContainersGP removes all previously related items of the content_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentType's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.ContentType's Containers accordingly. Uses the global database handle and panics on error.

func (*ContentType) SetContainersP

func (o *ContentType) SetContainersP(exec boil.Executor, insert bool, related ...*Container)

SetContainersP removes all previously related items of the content_type replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentType's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.ContentType's Containers accordingly. Panics on error.

func (*ContentType) Update

func (o *ContentType) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the ContentType. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*ContentType) UpdateG

func (o *ContentType) UpdateG(whitelist ...string) error

UpdateG a single ContentType record. See Update for whitelist behavior description.

func (*ContentType) UpdateGP

func (o *ContentType) UpdateGP(whitelist ...string)

UpdateGP a single ContentType record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*ContentType) UpdateP

func (o *ContentType) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the ContentType, and panics on error. See Update for whitelist behavior description.

func (*ContentType) Upsert

func (o *ContentType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*ContentType) UpsertG

func (o *ContentType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*ContentType) UpsertGP

func (o *ContentType) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*ContentType) UpsertP

func (o *ContentType) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type ContentTypeSlice

type ContentTypeSlice []*ContentType

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

func (ContentTypeSlice) DeleteAll

func (o ContentTypeSlice) DeleteAll(exec boil.Executor) error

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

func (ContentTypeSlice) DeleteAllG

func (o ContentTypeSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (ContentTypeSlice) DeleteAllGP

func (o ContentTypeSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (ContentTypeSlice) DeleteAllP

func (o ContentTypeSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*ContentTypeSlice) ReloadAll

func (o *ContentTypeSlice) ReloadAll(exec boil.Executor) error

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

func (*ContentTypeSlice) ReloadAllG

func (o *ContentTypeSlice) ReloadAllG() error

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

func (*ContentTypeSlice) ReloadAllGP

func (o *ContentTypeSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*ContentTypeSlice) ReloadAllP

func (o *ContentTypeSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (ContentTypeSlice) UpdateAll

func (o ContentTypeSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (ContentTypeSlice) UpdateAllG

func (o ContentTypeSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (ContentTypeSlice) UpdateAllGP

func (o ContentTypeSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (ContentTypeSlice) UpdateAllP

func (o ContentTypeSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Department

type Department struct {
	ID        int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	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"`

	R *departmentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L departmentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Department is an object representing the database table.

func FindDepartment

func FindDepartment(exec boil.Executor, id int, selectCols ...string) (*Department, error)

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

func FindDepartmentG

func FindDepartmentG(id int, selectCols ...string) (*Department, error)

FindDepartmentG retrieves a single record by ID.

func FindDepartmentGP

func FindDepartmentGP(id int, selectCols ...string) *Department

FindDepartmentGP retrieves a single record by ID, and panics on error.

func FindDepartmentP

func FindDepartmentP(exec boil.Executor, id int, selectCols ...string) *Department

FindDepartmentP retrieves a single record by ID with an executor, and panics on error.

func (*Department) Delete

func (o *Department) Delete(exec boil.Executor) error

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

func (*Department) DeleteG

func (o *Department) DeleteG() error

DeleteG deletes a single Department record. DeleteG will match against the primary key column to find the record to delete.

func (*Department) DeleteGP

func (o *Department) DeleteGP()

DeleteGP deletes a single Department record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Department) DeleteP

func (o *Department) DeleteP(exec boil.Executor)

DeleteP deletes a single Department record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Department) Insert

func (o *Department) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Department) InsertG

func (o *Department) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Department) InsertGP

func (o *Department) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Department) InsertP

func (o *Department) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Department) Reload

func (o *Department) Reload(exec boil.Executor) error

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

func (*Department) ReloadG

func (o *Department) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Department) ReloadGP

func (o *Department) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Department) ReloadP

func (o *Department) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Department) Update

func (o *Department) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Department. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Department) UpdateG

func (o *Department) UpdateG(whitelist ...string) error

UpdateG a single Department record. See Update for whitelist behavior description.

func (*Department) UpdateGP

func (o *Department) UpdateGP(whitelist ...string)

UpdateGP a single Department record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Department) UpdateP

func (o *Department) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Department, and panics on error. See Update for whitelist behavior description.

func (*Department) Upsert

func (o *Department) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Department) UpsertG

func (o *Department) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Department) UpsertGP

func (o *Department) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Department) UpsertP

func (o *Department) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type DepartmentSlice

type DepartmentSlice []*Department

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

func (DepartmentSlice) DeleteAll

func (o DepartmentSlice) DeleteAll(exec boil.Executor) error

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

func (DepartmentSlice) DeleteAllG

func (o DepartmentSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (DepartmentSlice) DeleteAllGP

func (o DepartmentSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (DepartmentSlice) DeleteAllP

func (o DepartmentSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*DepartmentSlice) ReloadAll

func (o *DepartmentSlice) ReloadAll(exec boil.Executor) error

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

func (*DepartmentSlice) ReloadAllG

func (o *DepartmentSlice) ReloadAllG() error

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

func (*DepartmentSlice) ReloadAllGP

func (o *DepartmentSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*DepartmentSlice) ReloadAllP

func (o *DepartmentSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (DepartmentSlice) UpdateAll

func (o DepartmentSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (DepartmentSlice) UpdateAllG

func (o DepartmentSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (DepartmentSlice) UpdateAllGP

func (o DepartmentSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (DepartmentSlice) UpdateAllP

func (o DepartmentSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Dictionary

type Dictionary struct {
	ID        int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Suid      null.String `boil:"suid" json:"suid,omitempty" toml:"suid" yaml:"suid,omitempty"`
	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"`

	R *dictionaryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L dictionaryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Dictionary is an object representing the database table.

func FindDictionary

func FindDictionary(exec boil.Executor, id int, selectCols ...string) (*Dictionary, error)

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

func FindDictionaryG

func FindDictionaryG(id int, selectCols ...string) (*Dictionary, error)

FindDictionaryG retrieves a single record by ID.

func FindDictionaryGP

func FindDictionaryGP(id int, selectCols ...string) *Dictionary

FindDictionaryGP retrieves a single record by ID, and panics on error.

func FindDictionaryP

func FindDictionaryP(exec boil.Executor, id int, selectCols ...string) *Dictionary

FindDictionaryP retrieves a single record by ID with an executor, and panics on error.

func (*Dictionary) Delete

func (o *Dictionary) Delete(exec boil.Executor) error

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

func (*Dictionary) DeleteG

func (o *Dictionary) DeleteG() error

DeleteG deletes a single Dictionary record. DeleteG will match against the primary key column to find the record to delete.

func (*Dictionary) DeleteGP

func (o *Dictionary) DeleteGP()

DeleteGP deletes a single Dictionary record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Dictionary) DeleteP

func (o *Dictionary) DeleteP(exec boil.Executor)

DeleteP deletes a single Dictionary record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Dictionary) Insert

func (o *Dictionary) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Dictionary) InsertG

func (o *Dictionary) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Dictionary) InsertGP

func (o *Dictionary) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Dictionary) InsertP

func (o *Dictionary) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Dictionary) Reload

func (o *Dictionary) Reload(exec boil.Executor) error

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

func (*Dictionary) ReloadG

func (o *Dictionary) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Dictionary) ReloadGP

func (o *Dictionary) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Dictionary) ReloadP

func (o *Dictionary) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Dictionary) Update

func (o *Dictionary) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Dictionary. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Dictionary) UpdateG

func (o *Dictionary) UpdateG(whitelist ...string) error

UpdateG a single Dictionary record. See Update for whitelist behavior description.

func (*Dictionary) UpdateGP

func (o *Dictionary) UpdateGP(whitelist ...string)

UpdateGP a single Dictionary record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Dictionary) UpdateP

func (o *Dictionary) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Dictionary, and panics on error. See Update for whitelist behavior description.

func (*Dictionary) Upsert

func (o *Dictionary) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Dictionary) UpsertG

func (o *Dictionary) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Dictionary) UpsertGP

func (o *Dictionary) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Dictionary) UpsertP

func (o *Dictionary) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type DictionaryDescription

type DictionaryDescription struct {
	ID           int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	DictionaryID null.Int    `boil:"dictionary_id" json:"dictionary_id,omitempty" toml:"dictionary_id" yaml:"dictionary_id,omitempty"`
	Topic        null.String `boil:"topic" json:"topic,omitempty" toml:"topic" yaml:"topic,omitempty"`
	Lang         null.String `boil:"lang" json:"lang,omitempty" toml:"lang" yaml:"lang,omitempty"`
	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"`

	R *dictionaryDescriptionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L dictionaryDescriptionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

DictionaryDescription is an object representing the database table.

func FindDictionaryDescription

func FindDictionaryDescription(exec boil.Executor, id int, selectCols ...string) (*DictionaryDescription, error)

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

func FindDictionaryDescriptionG

func FindDictionaryDescriptionG(id int, selectCols ...string) (*DictionaryDescription, error)

FindDictionaryDescriptionG retrieves a single record by ID.

func FindDictionaryDescriptionGP

func FindDictionaryDescriptionGP(id int, selectCols ...string) *DictionaryDescription

FindDictionaryDescriptionGP retrieves a single record by ID, and panics on error.

func FindDictionaryDescriptionP

func FindDictionaryDescriptionP(exec boil.Executor, id int, selectCols ...string) *DictionaryDescription

FindDictionaryDescriptionP retrieves a single record by ID with an executor, and panics on error.

func (*DictionaryDescription) Delete

func (o *DictionaryDescription) Delete(exec boil.Executor) error

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

func (*DictionaryDescription) DeleteG

func (o *DictionaryDescription) DeleteG() error

DeleteG deletes a single DictionaryDescription record. DeleteG will match against the primary key column to find the record to delete.

func (*DictionaryDescription) DeleteGP

func (o *DictionaryDescription) DeleteGP()

DeleteGP deletes a single DictionaryDescription record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*DictionaryDescription) DeleteP

func (o *DictionaryDescription) DeleteP(exec boil.Executor)

DeleteP deletes a single DictionaryDescription record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*DictionaryDescription) Insert

func (o *DictionaryDescription) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*DictionaryDescription) InsertG

func (o *DictionaryDescription) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*DictionaryDescription) InsertGP

func (o *DictionaryDescription) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*DictionaryDescription) InsertP

func (o *DictionaryDescription) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*DictionaryDescription) Reload

func (o *DictionaryDescription) Reload(exec boil.Executor) error

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

func (*DictionaryDescription) ReloadG

func (o *DictionaryDescription) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*DictionaryDescription) ReloadGP

func (o *DictionaryDescription) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*DictionaryDescription) ReloadP

func (o *DictionaryDescription) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*DictionaryDescription) Update

func (o *DictionaryDescription) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the DictionaryDescription. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*DictionaryDescription) UpdateG

func (o *DictionaryDescription) UpdateG(whitelist ...string) error

UpdateG a single DictionaryDescription record. See Update for whitelist behavior description.

func (*DictionaryDescription) UpdateGP

func (o *DictionaryDescription) UpdateGP(whitelist ...string)

UpdateGP a single DictionaryDescription record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*DictionaryDescription) UpdateP

func (o *DictionaryDescription) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the DictionaryDescription, and panics on error. See Update for whitelist behavior description.

func (*DictionaryDescription) Upsert

func (o *DictionaryDescription) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*DictionaryDescription) UpsertG

func (o *DictionaryDescription) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*DictionaryDescription) UpsertGP

func (o *DictionaryDescription) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*DictionaryDescription) UpsertP

func (o *DictionaryDescription) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type DictionaryDescriptionSlice

type DictionaryDescriptionSlice []*DictionaryDescription

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

func (DictionaryDescriptionSlice) DeleteAll

func (o DictionaryDescriptionSlice) DeleteAll(exec boil.Executor) error

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

func (DictionaryDescriptionSlice) DeleteAllG

func (o DictionaryDescriptionSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (DictionaryDescriptionSlice) DeleteAllGP

func (o DictionaryDescriptionSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (DictionaryDescriptionSlice) DeleteAllP

func (o DictionaryDescriptionSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*DictionaryDescriptionSlice) ReloadAll

func (o *DictionaryDescriptionSlice) ReloadAll(exec boil.Executor) error

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

func (*DictionaryDescriptionSlice) ReloadAllG

func (o *DictionaryDescriptionSlice) ReloadAllG() error

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

func (*DictionaryDescriptionSlice) ReloadAllGP

func (o *DictionaryDescriptionSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*DictionaryDescriptionSlice) ReloadAllP

func (o *DictionaryDescriptionSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (DictionaryDescriptionSlice) UpdateAll

func (o DictionaryDescriptionSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (DictionaryDescriptionSlice) UpdateAllG

func (o DictionaryDescriptionSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (DictionaryDescriptionSlice) UpdateAllGP

func (o DictionaryDescriptionSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (DictionaryDescriptionSlice) UpdateAllP

func (o DictionaryDescriptionSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type DictionarySlice

type DictionarySlice []*Dictionary

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

func (DictionarySlice) DeleteAll

func (o DictionarySlice) DeleteAll(exec boil.Executor) error

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

func (DictionarySlice) DeleteAllG

func (o DictionarySlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (DictionarySlice) DeleteAllGP

func (o DictionarySlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (DictionarySlice) DeleteAllP

func (o DictionarySlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*DictionarySlice) ReloadAll

func (o *DictionarySlice) ReloadAll(exec boil.Executor) error

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

func (*DictionarySlice) ReloadAllG

func (o *DictionarySlice) ReloadAllG() error

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

func (*DictionarySlice) ReloadAllGP

func (o *DictionarySlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*DictionarySlice) ReloadAllP

func (o *DictionarySlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (DictionarySlice) UpdateAll

func (o DictionarySlice) UpdateAll(exec boil.Executor, cols M) error

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

func (DictionarySlice) UpdateAllG

func (o DictionarySlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (DictionarySlice) UpdateAllGP

func (o DictionarySlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (DictionarySlice) UpdateAllP

func (o DictionarySlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type FileAsset

type FileAsset struct {
	ID           int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name         null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	LangID       null.String `boil:"lang_id" json:"lang_id,omitempty" toml:"lang_id" yaml:"lang_id,omitempty"`
	AssetType    null.String `boil:"asset_type" json:"asset_type,omitempty" toml:"asset_type" yaml:"asset_type,omitempty"`
	Date         null.Time   `boil:"date" json:"date,omitempty" toml:"date" yaml:"date,omitempty"`
	Size         null.Int    `boil:"size" json:"size,omitempty" toml:"size" yaml:"size,omitempty"`
	ServernameID null.String `boil:"servername_id" json:"servername_id,omitempty" toml:"servername_id" yaml:"servername_id,omitempty"`
	Status       null.String `boil:"status" json:"status,omitempty" toml:"status" yaml:"status,omitempty"`
	CreatedAt    null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt    null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	Lastuser     null.String `boil:"lastuser" json:"lastuser,omitempty" toml:"lastuser" yaml:"lastuser,omitempty"`
	Clicks       null.Int    `boil:"clicks" json:"clicks,omitempty" toml:"clicks" yaml:"clicks,omitempty"`
	Secure       null.Int    `boil:"secure" json:"secure,omitempty" toml:"secure" yaml:"secure,omitempty"`
	PlaytimeSecs null.Int    `boil:"playtime_secs" json:"playtime_secs,omitempty" toml:"playtime_secs" yaml:"playtime_secs,omitempty"`
	UserID       null.Int    `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"`
	Sha1         null.String `boil:"sha1" json:"sha1,omitempty" toml:"sha1" yaml:"sha1,omitempty"`

	R *fileAssetR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L fileAssetL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

FileAsset is an object representing the database table.

func FindFileAsset

func FindFileAsset(exec boil.Executor, id int, selectCols ...string) (*FileAsset, error)

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

func FindFileAssetG

func FindFileAssetG(id int, selectCols ...string) (*FileAsset, error)

FindFileAssetG retrieves a single record by ID.

func FindFileAssetGP

func FindFileAssetGP(id int, selectCols ...string) *FileAsset

FindFileAssetGP retrieves a single record by ID, and panics on error.

func FindFileAssetP

func FindFileAssetP(exec boil.Executor, id int, selectCols ...string) *FileAsset

FindFileAssetP retrieves a single record by ID with an executor, and panics on error.

func (*FileAsset) AddContainers

func (o *FileAsset) AddContainers(exec boil.Executor, insert bool, related ...*Container) error

AddContainers adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.FileAssets appropriately.

func (*FileAsset) AddContainersG

func (o *FileAsset) AddContainersG(insert bool, related ...*Container) error

AddContainersG adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.FileAssets appropriately. Uses the global database handle.

func (*FileAsset) AddContainersGP

func (o *FileAsset) AddContainersGP(insert bool, related ...*Container)

AddContainersGP adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.FileAssets appropriately. Uses the global database handle and panics on error.

func (*FileAsset) AddContainersP

func (o *FileAsset) AddContainersP(exec boil.Executor, insert bool, related ...*Container)

AddContainersP adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.FileAssets appropriately. Panics on error.

func (*FileAsset) AddFileFileAssetDescriptions

func (o *FileAsset) AddFileFileAssetDescriptions(exec boil.Executor, insert bool, related ...*FileAssetDescription) error

AddFileFileAssetDescriptions adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.FileFileAssetDescriptions. Sets related.R.File appropriately.

func (*FileAsset) AddFileFileAssetDescriptionsG

func (o *FileAsset) AddFileFileAssetDescriptionsG(insert bool, related ...*FileAssetDescription) error

AddFileFileAssetDescriptionsG adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.FileFileAssetDescriptions. Sets related.R.File appropriately. Uses the global database handle.

func (*FileAsset) AddFileFileAssetDescriptionsGP

func (o *FileAsset) AddFileFileAssetDescriptionsGP(insert bool, related ...*FileAssetDescription)

AddFileFileAssetDescriptionsGP adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.FileFileAssetDescriptions. Sets related.R.File appropriately. Uses the global database handle and panics on error.

func (*FileAsset) AddFileFileAssetDescriptionsP

func (o *FileAsset) AddFileFileAssetDescriptionsP(exec boil.Executor, insert bool, related ...*FileAssetDescription)

AddFileFileAssetDescriptionsP adds the given related objects to the existing relationships of the file_asset, optionally inserting them as new records. Appends related to o.R.FileFileAssetDescriptions. Sets related.R.File appropriately. Panics on error.

func (*FileAsset) Containers

func (o *FileAsset) Containers(exec boil.Executor, mods ...qm.QueryMod) containerQuery

Containers retrieves all the container's containers with an executor.

func (*FileAsset) ContainersG

func (o *FileAsset) ContainersG(mods ...qm.QueryMod) containerQuery

ContainersG retrieves all the container's containers.

func (*FileAsset) Delete

func (o *FileAsset) Delete(exec boil.Executor) error

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

func (*FileAsset) DeleteG

func (o *FileAsset) DeleteG() error

DeleteG deletes a single FileAsset record. DeleteG will match against the primary key column to find the record to delete.

func (*FileAsset) DeleteGP

func (o *FileAsset) DeleteGP()

DeleteGP deletes a single FileAsset record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*FileAsset) DeleteP

func (o *FileAsset) DeleteP(exec boil.Executor)

DeleteP deletes a single FileAsset record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*FileAsset) FileFileAssetDescriptions

func (o *FileAsset) FileFileAssetDescriptions(exec boil.Executor, mods ...qm.QueryMod) fileAssetDescriptionQuery

FileFileAssetDescriptions retrieves all the file_asset_description's file asset descriptions with an executor via file_id column.

func (*FileAsset) FileFileAssetDescriptionsG

func (o *FileAsset) FileFileAssetDescriptionsG(mods ...qm.QueryMod) fileAssetDescriptionQuery

FileFileAssetDescriptionsG retrieves all the file_asset_description's file asset descriptions via file_id column.

func (*FileAsset) Insert

func (o *FileAsset) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*FileAsset) InsertG

func (o *FileAsset) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*FileAsset) InsertGP

func (o *FileAsset) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*FileAsset) InsertP

func (o *FileAsset) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*FileAsset) Lang

func (o *FileAsset) Lang(exec boil.Executor, mods ...qm.QueryMod) languageQuery

Lang pointed to by the foreign key.

func (*FileAsset) LangG

func (o *FileAsset) LangG(mods ...qm.QueryMod) languageQuery

LangG pointed to by the foreign key.

func (*FileAsset) Reload

func (o *FileAsset) Reload(exec boil.Executor) error

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

func (*FileAsset) ReloadG

func (o *FileAsset) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*FileAsset) ReloadGP

func (o *FileAsset) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*FileAsset) ReloadP

func (o *FileAsset) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*FileAsset) RemoveContainers

func (o *FileAsset) RemoveContainers(exec boil.Executor, related ...*Container) error

RemoveContainers relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.FileAssets.

func (*FileAsset) RemoveContainersG

func (o *FileAsset) RemoveContainersG(related ...*Container) error

RemoveContainersG relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.FileAssets. Uses the global database handle.

func (*FileAsset) RemoveContainersGP

func (o *FileAsset) RemoveContainersGP(related ...*Container)

RemoveContainersGP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.FileAssets. Uses the global database handle and panics on error.

func (*FileAsset) RemoveContainersP

func (o *FileAsset) RemoveContainersP(exec boil.Executor, related ...*Container)

RemoveContainersP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.FileAssets. Panics on error.

func (*FileAsset) RemoveLang

func (o *FileAsset) RemoveLang(exec boil.Executor, related *Language) error

RemoveLang relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*FileAsset) RemoveLangG

func (o *FileAsset) RemoveLangG(related *Language) error

RemoveLangG relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*FileAsset) RemoveLangGP

func (o *FileAsset) RemoveLangGP(related *Language)

RemoveLangGP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*FileAsset) RemoveLangP

func (o *FileAsset) RemoveLangP(exec boil.Executor, related *Language)

RemoveLangP relationship. Sets o.R.Lang to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*FileAsset) RemoveServername

func (o *FileAsset) RemoveServername(exec boil.Executor, related *Server) error

RemoveServername relationship. Sets o.R.Servername to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*FileAsset) RemoveServernameG

func (o *FileAsset) RemoveServernameG(related *Server) error

RemoveServernameG relationship. Sets o.R.Servername to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*FileAsset) RemoveServernameGP

func (o *FileAsset) RemoveServernameGP(related *Server)

RemoveServernameGP relationship. Sets o.R.Servername to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*FileAsset) RemoveServernameP

func (o *FileAsset) RemoveServernameP(exec boil.Executor, related *Server)

RemoveServernameP relationship. Sets o.R.Servername to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*FileAsset) RemoveUser

func (o *FileAsset) RemoveUser(exec boil.Executor, related *User) error

RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*FileAsset) RemoveUserG

func (o *FileAsset) RemoveUserG(related *User) error

RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*FileAsset) RemoveUserGP

func (o *FileAsset) RemoveUserGP(related *User)

RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*FileAsset) RemoveUserP

func (o *FileAsset) RemoveUserP(exec boil.Executor, related *User)

RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*FileAsset) Servername

func (o *FileAsset) Servername(exec boil.Executor, mods ...qm.QueryMod) serverQuery

Servername pointed to by the foreign key.

func (*FileAsset) ServernameG

func (o *FileAsset) ServernameG(mods ...qm.QueryMod) serverQuery

ServernameG pointed to by the foreign key.

func (*FileAsset) SetContainers

func (o *FileAsset) SetContainers(exec boil.Executor, insert bool, related ...*Container) error

SetContainers removes all previously related items of the file_asset replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.FileAssets's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.FileAssets's Containers accordingly.

func (*FileAsset) SetContainersG

func (o *FileAsset) SetContainersG(insert bool, related ...*Container) error

SetContainersG removes all previously related items of the file_asset replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.FileAssets's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.FileAssets's Containers accordingly. Uses the global database handle.

func (*FileAsset) SetContainersGP

func (o *FileAsset) SetContainersGP(insert bool, related ...*Container)

SetContainersGP removes all previously related items of the file_asset replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.FileAssets's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.FileAssets's Containers accordingly. Uses the global database handle and panics on error.

func (*FileAsset) SetContainersP

func (o *FileAsset) SetContainersP(exec boil.Executor, insert bool, related ...*Container)

SetContainersP removes all previously related items of the file_asset replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.FileAssets's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.FileAssets's Containers accordingly. Panics on error.

func (*FileAsset) SetLang

func (o *FileAsset) SetLang(exec boil.Executor, insert bool, related *Language) error

SetLang of the file_asset to the related item. Sets o.R.Lang to related. Adds o to related.R.LangFileAssets.

func (*FileAsset) SetLangG

func (o *FileAsset) SetLangG(insert bool, related *Language) error

SetLangG of the file_asset to the related item. Sets o.R.Lang to related. Adds o to related.R.LangFileAssets. Uses the global database handle.

func (*FileAsset) SetLangGP

func (o *FileAsset) SetLangGP(insert bool, related *Language)

SetLangGP of the file_asset to the related item. Sets o.R.Lang to related. Adds o to related.R.LangFileAssets. Uses the global database handle and panics on error.

func (*FileAsset) SetLangP

func (o *FileAsset) SetLangP(exec boil.Executor, insert bool, related *Language)

SetLangP of the file_asset to the related item. Sets o.R.Lang to related. Adds o to related.R.LangFileAssets. Panics on error.

func (*FileAsset) SetServername

func (o *FileAsset) SetServername(exec boil.Executor, insert bool, related *Server) error

SetServername of the file_asset to the related item. Sets o.R.Servername to related. Adds o to related.R.ServernameFileAssets.

func (*FileAsset) SetServernameG

func (o *FileAsset) SetServernameG(insert bool, related *Server) error

SetServernameG of the file_asset to the related item. Sets o.R.Servername to related. Adds o to related.R.ServernameFileAssets. Uses the global database handle.

func (*FileAsset) SetServernameGP

func (o *FileAsset) SetServernameGP(insert bool, related *Server)

SetServernameGP of the file_asset to the related item. Sets o.R.Servername to related. Adds o to related.R.ServernameFileAssets. Uses the global database handle and panics on error.

func (*FileAsset) SetServernameP

func (o *FileAsset) SetServernameP(exec boil.Executor, insert bool, related *Server)

SetServernameP of the file_asset to the related item. Sets o.R.Servername to related. Adds o to related.R.ServernameFileAssets. Panics on error.

func (*FileAsset) SetUser

func (o *FileAsset) SetUser(exec boil.Executor, insert bool, related *User) error

SetUser of the file_asset to the related item. Sets o.R.User to related. Adds o to related.R.FileAssets.

func (*FileAsset) SetUserG

func (o *FileAsset) SetUserG(insert bool, related *User) error

SetUserG of the file_asset to the related item. Sets o.R.User to related. Adds o to related.R.FileAssets. Uses the global database handle.

func (*FileAsset) SetUserGP

func (o *FileAsset) SetUserGP(insert bool, related *User)

SetUserGP of the file_asset to the related item. Sets o.R.User to related. Adds o to related.R.FileAssets. Uses the global database handle and panics on error.

func (*FileAsset) SetUserP

func (o *FileAsset) SetUserP(exec boil.Executor, insert bool, related *User)

SetUserP of the file_asset to the related item. Sets o.R.User to related. Adds o to related.R.FileAssets. Panics on error.

func (*FileAsset) Update

func (o *FileAsset) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the FileAsset. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*FileAsset) UpdateG

func (o *FileAsset) UpdateG(whitelist ...string) error

UpdateG a single FileAsset record. See Update for whitelist behavior description.

func (*FileAsset) UpdateGP

func (o *FileAsset) UpdateGP(whitelist ...string)

UpdateGP a single FileAsset record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*FileAsset) UpdateP

func (o *FileAsset) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the FileAsset, and panics on error. See Update for whitelist behavior description.

func (*FileAsset) Upsert

func (o *FileAsset) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*FileAsset) UpsertG

func (o *FileAsset) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*FileAsset) UpsertGP

func (o *FileAsset) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*FileAsset) UpsertP

func (o *FileAsset) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

func (*FileAsset) User

func (o *FileAsset) User(exec boil.Executor, mods ...qm.QueryMod) userQuery

User pointed to by the foreign key.

func (*FileAsset) UserG

func (o *FileAsset) UserG(mods ...qm.QueryMod) userQuery

UserG pointed to by the foreign key.

type FileAssetDescription

type FileAssetDescription struct {
	ID        int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	FileID    int         `boil:"file_id" json:"file_id" toml:"file_id" yaml:"file_id"`
	Filedesc  null.String `boil:"filedesc" json:"filedesc,omitempty" toml:"filedesc" yaml:"filedesc,omitempty"`
	Lang      null.String `boil:"lang" json:"lang,omitempty" toml:"lang" yaml:"lang,omitempty"`
	CreatedAt null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *fileAssetDescriptionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L fileAssetDescriptionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

FileAssetDescription is an object representing the database table.

func FindFileAssetDescription

func FindFileAssetDescription(exec boil.Executor, id int, selectCols ...string) (*FileAssetDescription, error)

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

func FindFileAssetDescriptionG

func FindFileAssetDescriptionG(id int, selectCols ...string) (*FileAssetDescription, error)

FindFileAssetDescriptionG retrieves a single record by ID.

func FindFileAssetDescriptionGP

func FindFileAssetDescriptionGP(id int, selectCols ...string) *FileAssetDescription

FindFileAssetDescriptionGP retrieves a single record by ID, and panics on error.

func FindFileAssetDescriptionP

func FindFileAssetDescriptionP(exec boil.Executor, id int, selectCols ...string) *FileAssetDescription

FindFileAssetDescriptionP retrieves a single record by ID with an executor, and panics on error.

func (*FileAssetDescription) Delete

func (o *FileAssetDescription) Delete(exec boil.Executor) error

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

func (*FileAssetDescription) DeleteG

func (o *FileAssetDescription) DeleteG() error

DeleteG deletes a single FileAssetDescription record. DeleteG will match against the primary key column to find the record to delete.

func (*FileAssetDescription) DeleteGP

func (o *FileAssetDescription) DeleteGP()

DeleteGP deletes a single FileAssetDescription record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*FileAssetDescription) DeleteP

func (o *FileAssetDescription) DeleteP(exec boil.Executor)

DeleteP deletes a single FileAssetDescription record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*FileAssetDescription) File

func (o *FileAssetDescription) File(exec boil.Executor, mods ...qm.QueryMod) fileAssetQuery

File pointed to by the foreign key.

func (*FileAssetDescription) FileG

func (o *FileAssetDescription) FileG(mods ...qm.QueryMod) fileAssetQuery

FileG pointed to by the foreign key.

func (*FileAssetDescription) Insert

func (o *FileAssetDescription) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*FileAssetDescription) InsertG

func (o *FileAssetDescription) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*FileAssetDescription) InsertGP

func (o *FileAssetDescription) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*FileAssetDescription) InsertP

func (o *FileAssetDescription) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*FileAssetDescription) Reload

func (o *FileAssetDescription) Reload(exec boil.Executor) error

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

func (*FileAssetDescription) ReloadG

func (o *FileAssetDescription) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*FileAssetDescription) ReloadGP

func (o *FileAssetDescription) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*FileAssetDescription) ReloadP

func (o *FileAssetDescription) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*FileAssetDescription) SetFile

func (o *FileAssetDescription) SetFile(exec boil.Executor, insert bool, related *FileAsset) error

SetFile of the file_asset_description to the related item. Sets o.R.File to related. Adds o to related.R.FileFileAssetDescriptions.

func (*FileAssetDescription) SetFileG

func (o *FileAssetDescription) SetFileG(insert bool, related *FileAsset) error

SetFileG of the file_asset_description to the related item. Sets o.R.File to related. Adds o to related.R.FileFileAssetDescriptions. Uses the global database handle.

func (*FileAssetDescription) SetFileGP

func (o *FileAssetDescription) SetFileGP(insert bool, related *FileAsset)

SetFileGP of the file_asset_description to the related item. Sets o.R.File to related. Adds o to related.R.FileFileAssetDescriptions. Uses the global database handle and panics on error.

func (*FileAssetDescription) SetFileP

func (o *FileAssetDescription) SetFileP(exec boil.Executor, insert bool, related *FileAsset)

SetFileP of the file_asset_description to the related item. Sets o.R.File to related. Adds o to related.R.FileFileAssetDescriptions. Panics on error.

func (*FileAssetDescription) Update

func (o *FileAssetDescription) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the FileAssetDescription. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*FileAssetDescription) UpdateG

func (o *FileAssetDescription) UpdateG(whitelist ...string) error

UpdateG a single FileAssetDescription record. See Update for whitelist behavior description.

func (*FileAssetDescription) UpdateGP

func (o *FileAssetDescription) UpdateGP(whitelist ...string)

UpdateGP a single FileAssetDescription record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*FileAssetDescription) UpdateP

func (o *FileAssetDescription) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the FileAssetDescription, and panics on error. See Update for whitelist behavior description.

func (*FileAssetDescription) Upsert

func (o *FileAssetDescription) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*FileAssetDescription) UpsertG

func (o *FileAssetDescription) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*FileAssetDescription) UpsertGP

func (o *FileAssetDescription) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*FileAssetDescription) UpsertP

func (o *FileAssetDescription) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type FileAssetDescriptionSlice

type FileAssetDescriptionSlice []*FileAssetDescription

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

func (FileAssetDescriptionSlice) DeleteAll

func (o FileAssetDescriptionSlice) DeleteAll(exec boil.Executor) error

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

func (FileAssetDescriptionSlice) DeleteAllG

func (o FileAssetDescriptionSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (FileAssetDescriptionSlice) DeleteAllGP

func (o FileAssetDescriptionSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (FileAssetDescriptionSlice) DeleteAllP

func (o FileAssetDescriptionSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*FileAssetDescriptionSlice) ReloadAll

func (o *FileAssetDescriptionSlice) ReloadAll(exec boil.Executor) error

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

func (*FileAssetDescriptionSlice) ReloadAllG

func (o *FileAssetDescriptionSlice) ReloadAllG() error

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

func (*FileAssetDescriptionSlice) ReloadAllGP

func (o *FileAssetDescriptionSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*FileAssetDescriptionSlice) ReloadAllP

func (o *FileAssetDescriptionSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (FileAssetDescriptionSlice) UpdateAll

func (o FileAssetDescriptionSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (FileAssetDescriptionSlice) UpdateAllG

func (o FileAssetDescriptionSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (FileAssetDescriptionSlice) UpdateAllGP

func (o FileAssetDescriptionSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (FileAssetDescriptionSlice) UpdateAllP

func (o FileAssetDescriptionSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type FileAssetSlice

type FileAssetSlice []*FileAsset

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

func (FileAssetSlice) DeleteAll

func (o FileAssetSlice) DeleteAll(exec boil.Executor) error

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

func (FileAssetSlice) DeleteAllG

func (o FileAssetSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (FileAssetSlice) DeleteAllGP

func (o FileAssetSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (FileAssetSlice) DeleteAllP

func (o FileAssetSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*FileAssetSlice) ReloadAll

func (o *FileAssetSlice) ReloadAll(exec boil.Executor) error

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

func (*FileAssetSlice) ReloadAllG

func (o *FileAssetSlice) ReloadAllG() error

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

func (*FileAssetSlice) ReloadAllGP

func (o *FileAssetSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*FileAssetSlice) ReloadAllP

func (o *FileAssetSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (FileAssetSlice) UpdateAll

func (o FileAssetSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (FileAssetSlice) UpdateAllG

func (o FileAssetSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (FileAssetSlice) UpdateAllGP

func (o FileAssetSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (FileAssetSlice) UpdateAllP

func (o FileAssetSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type FileType

type FileType struct {
	Name    string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	Extlist null.String `boil:"extlist" json:"extlist,omitempty" toml:"extlist" yaml:"extlist,omitempty"`
	Pic     null.String `boil:"pic" json:"pic,omitempty" toml:"pic" yaml:"pic,omitempty"`

	R *fileTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L fileTypeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

FileType is an object representing the database table.

func FindFileType

func FindFileType(exec boil.Executor, name string, selectCols ...string) (*FileType, error)

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

func FindFileTypeG

func FindFileTypeG(name string, selectCols ...string) (*FileType, error)

FindFileTypeG retrieves a single record by ID.

func FindFileTypeGP

func FindFileTypeGP(name string, selectCols ...string) *FileType

FindFileTypeGP retrieves a single record by ID, and panics on error.

func FindFileTypeP

func FindFileTypeP(exec boil.Executor, name string, selectCols ...string) *FileType

FindFileTypeP retrieves a single record by ID with an executor, and panics on error.

func (*FileType) Delete

func (o *FileType) Delete(exec boil.Executor) error

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

func (*FileType) DeleteG

func (o *FileType) DeleteG() error

DeleteG deletes a single FileType record. DeleteG will match against the primary key column to find the record to delete.

func (*FileType) DeleteGP

func (o *FileType) DeleteGP()

DeleteGP deletes a single FileType record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*FileType) DeleteP

func (o *FileType) DeleteP(exec boil.Executor)

DeleteP deletes a single FileType record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*FileType) Insert

func (o *FileType) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*FileType) InsertG

func (o *FileType) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*FileType) InsertGP

func (o *FileType) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*FileType) InsertP

func (o *FileType) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*FileType) Reload

func (o *FileType) Reload(exec boil.Executor) error

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

func (*FileType) ReloadG

func (o *FileType) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*FileType) ReloadGP

func (o *FileType) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*FileType) ReloadP

func (o *FileType) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*FileType) Update

func (o *FileType) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the FileType. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*FileType) UpdateG

func (o *FileType) UpdateG(whitelist ...string) error

UpdateG a single FileType record. See Update for whitelist behavior description.

func (*FileType) UpdateGP

func (o *FileType) UpdateGP(whitelist ...string)

UpdateGP a single FileType record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*FileType) UpdateP

func (o *FileType) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the FileType, and panics on error. See Update for whitelist behavior description.

func (*FileType) Upsert

func (o *FileType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*FileType) UpsertG

func (o *FileType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*FileType) UpsertGP

func (o *FileType) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*FileType) UpsertP

func (o *FileType) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type FileTypeSlice

type FileTypeSlice []*FileType

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

func (FileTypeSlice) DeleteAll

func (o FileTypeSlice) DeleteAll(exec boil.Executor) error

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

func (FileTypeSlice) DeleteAllG

func (o FileTypeSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (FileTypeSlice) DeleteAllGP

func (o FileTypeSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (FileTypeSlice) DeleteAllP

func (o FileTypeSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*FileTypeSlice) ReloadAll

func (o *FileTypeSlice) ReloadAll(exec boil.Executor) error

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

func (*FileTypeSlice) ReloadAllG

func (o *FileTypeSlice) ReloadAllG() error

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

func (*FileTypeSlice) ReloadAllGP

func (o *FileTypeSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*FileTypeSlice) ReloadAllP

func (o *FileTypeSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (FileTypeSlice) UpdateAll

func (o FileTypeSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (FileTypeSlice) UpdateAllG

func (o FileTypeSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (FileTypeSlice) UpdateAllGP

func (o FileTypeSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (FileTypeSlice) UpdateAllP

func (o FileTypeSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Label

type Label struct {
	ID           int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	DictionaryID null.Int    `boil:"dictionary_id" json:"dictionary_id,omitempty" toml:"dictionary_id" yaml:"dictionary_id,omitempty"`
	Suid         null.String `boil:"suid" json:"suid,omitempty" toml:"suid" yaml:"suid,omitempty"`
	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"`

	R *labelR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L labelL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Label is an object representing the database table.

func FindLabel

func FindLabel(exec boil.Executor, id int, selectCols ...string) (*Label, error)

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

func FindLabelG

func FindLabelG(id int, selectCols ...string) (*Label, error)

FindLabelG retrieves a single record by ID.

func FindLabelGP

func FindLabelGP(id int, selectCols ...string) *Label

FindLabelGP retrieves a single record by ID, and panics on error.

func FindLabelP

func FindLabelP(exec boil.Executor, id int, selectCols ...string) *Label

FindLabelP retrieves a single record by ID with an executor, and panics on error.

func (*Label) AddContainers

func (o *Label) AddContainers(exec boil.Executor, insert bool, related ...*Container) error

AddContainers adds the given related objects to the existing relationships of the label, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Labels appropriately.

func (*Label) AddContainersG

func (o *Label) AddContainersG(insert bool, related ...*Container) error

AddContainersG adds the given related objects to the existing relationships of the label, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Labels appropriately. Uses the global database handle.

func (*Label) AddContainersGP

func (o *Label) AddContainersGP(insert bool, related ...*Container)

AddContainersGP adds the given related objects to the existing relationships of the label, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Labels appropriately. Uses the global database handle and panics on error.

func (*Label) AddContainersP

func (o *Label) AddContainersP(exec boil.Executor, insert bool, related ...*Container)

AddContainersP adds the given related objects to the existing relationships of the label, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.Labels appropriately. Panics on error.

func (*Label) Containers

func (o *Label) Containers(exec boil.Executor, mods ...qm.QueryMod) containerQuery

Containers retrieves all the container's containers with an executor.

func (*Label) ContainersG

func (o *Label) ContainersG(mods ...qm.QueryMod) containerQuery

ContainersG retrieves all the container's containers.

func (*Label) Delete

func (o *Label) Delete(exec boil.Executor) error

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

func (*Label) DeleteG

func (o *Label) DeleteG() error

DeleteG deletes a single Label record. DeleteG will match against the primary key column to find the record to delete.

func (*Label) DeleteGP

func (o *Label) DeleteGP()

DeleteGP deletes a single Label record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Label) DeleteP

func (o *Label) DeleteP(exec boil.Executor)

DeleteP deletes a single Label record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Label) Insert

func (o *Label) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Label) InsertG

func (o *Label) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Label) InsertGP

func (o *Label) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Label) InsertP

func (o *Label) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Label) Reload

func (o *Label) Reload(exec boil.Executor) error

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

func (*Label) ReloadG

func (o *Label) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Label) ReloadGP

func (o *Label) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Label) ReloadP

func (o *Label) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Label) RemoveContainers

func (o *Label) RemoveContainers(exec boil.Executor, related ...*Container) error

RemoveContainers relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Labels.

func (*Label) RemoveContainersG

func (o *Label) RemoveContainersG(related ...*Container) error

RemoveContainersG relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Labels. Uses the global database handle.

func (*Label) RemoveContainersGP

func (o *Label) RemoveContainersGP(related ...*Container)

RemoveContainersGP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Labels. Uses the global database handle and panics on error.

func (*Label) RemoveContainersP

func (o *Label) RemoveContainersP(exec boil.Executor, related ...*Container)

RemoveContainersP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.Labels. Panics on error.

func (*Label) SetContainers

func (o *Label) SetContainers(exec boil.Executor, insert bool, related ...*Container) error

SetContainers removes all previously related items of the label replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Labels's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Labels's Containers accordingly.

func (*Label) SetContainersG

func (o *Label) SetContainersG(insert bool, related ...*Container) error

SetContainersG removes all previously related items of the label replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Labels's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Labels's Containers accordingly. Uses the global database handle.

func (*Label) SetContainersGP

func (o *Label) SetContainersGP(insert bool, related ...*Container)

SetContainersGP removes all previously related items of the label replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Labels's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Labels's Containers accordingly. Uses the global database handle and panics on error.

func (*Label) SetContainersP

func (o *Label) SetContainersP(exec boil.Executor, insert bool, related ...*Container)

SetContainersP removes all previously related items of the label replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Labels's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.Labels's Containers accordingly. Panics on error.

func (*Label) Update

func (o *Label) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Label. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Label) UpdateG

func (o *Label) UpdateG(whitelist ...string) error

UpdateG a single Label record. See Update for whitelist behavior description.

func (*Label) UpdateGP

func (o *Label) UpdateGP(whitelist ...string)

UpdateGP a single Label record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Label) UpdateP

func (o *Label) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Label, and panics on error. See Update for whitelist behavior description.

func (*Label) Upsert

func (o *Label) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Label) UpsertG

func (o *Label) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Label) UpsertGP

func (o *Label) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Label) UpsertP

func (o *Label) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type LabelDescription

type LabelDescription struct {
	ID        int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	LabelID   null.Int    `boil:"label_id" json:"label_id,omitempty" toml:"label_id" yaml:"label_id,omitempty"`
	Text      null.String `boil:"text" json:"text,omitempty" toml:"text" yaml:"text,omitempty"`
	Lang      null.String `boil:"lang" json:"lang,omitempty" toml:"lang" yaml:"lang,omitempty"`
	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"`

	R *labelDescriptionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L labelDescriptionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

LabelDescription is an object representing the database table.

func FindLabelDescription

func FindLabelDescription(exec boil.Executor, id int, selectCols ...string) (*LabelDescription, error)

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

func FindLabelDescriptionG

func FindLabelDescriptionG(id int, selectCols ...string) (*LabelDescription, error)

FindLabelDescriptionG retrieves a single record by ID.

func FindLabelDescriptionGP

func FindLabelDescriptionGP(id int, selectCols ...string) *LabelDescription

FindLabelDescriptionGP retrieves a single record by ID, and panics on error.

func FindLabelDescriptionP

func FindLabelDescriptionP(exec boil.Executor, id int, selectCols ...string) *LabelDescription

FindLabelDescriptionP retrieves a single record by ID with an executor, and panics on error.

func (*LabelDescription) Delete

func (o *LabelDescription) Delete(exec boil.Executor) error

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

func (*LabelDescription) DeleteG

func (o *LabelDescription) DeleteG() error

DeleteG deletes a single LabelDescription record. DeleteG will match against the primary key column to find the record to delete.

func (*LabelDescription) DeleteGP

func (o *LabelDescription) DeleteGP()

DeleteGP deletes a single LabelDescription record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*LabelDescription) DeleteP

func (o *LabelDescription) DeleteP(exec boil.Executor)

DeleteP deletes a single LabelDescription record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*LabelDescription) Insert

func (o *LabelDescription) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*LabelDescription) InsertG

func (o *LabelDescription) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*LabelDescription) InsertGP

func (o *LabelDescription) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*LabelDescription) InsertP

func (o *LabelDescription) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*LabelDescription) Reload

func (o *LabelDescription) Reload(exec boil.Executor) error

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

func (*LabelDescription) ReloadG

func (o *LabelDescription) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*LabelDescription) ReloadGP

func (o *LabelDescription) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*LabelDescription) ReloadP

func (o *LabelDescription) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*LabelDescription) Update

func (o *LabelDescription) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the LabelDescription. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*LabelDescription) UpdateG

func (o *LabelDescription) UpdateG(whitelist ...string) error

UpdateG a single LabelDescription record. See Update for whitelist behavior description.

func (*LabelDescription) UpdateGP

func (o *LabelDescription) UpdateGP(whitelist ...string)

UpdateGP a single LabelDescription record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*LabelDescription) UpdateP

func (o *LabelDescription) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the LabelDescription, and panics on error. See Update for whitelist behavior description.

func (*LabelDescription) Upsert

func (o *LabelDescription) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*LabelDescription) UpsertG

func (o *LabelDescription) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*LabelDescription) UpsertGP

func (o *LabelDescription) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*LabelDescription) UpsertP

func (o *LabelDescription) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type LabelDescriptionSlice

type LabelDescriptionSlice []*LabelDescription

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

func (LabelDescriptionSlice) DeleteAll

func (o LabelDescriptionSlice) DeleteAll(exec boil.Executor) error

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

func (LabelDescriptionSlice) DeleteAllG

func (o LabelDescriptionSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (LabelDescriptionSlice) DeleteAllGP

func (o LabelDescriptionSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (LabelDescriptionSlice) DeleteAllP

func (o LabelDescriptionSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*LabelDescriptionSlice) ReloadAll

func (o *LabelDescriptionSlice) ReloadAll(exec boil.Executor) error

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

func (*LabelDescriptionSlice) ReloadAllG

func (o *LabelDescriptionSlice) ReloadAllG() error

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

func (*LabelDescriptionSlice) ReloadAllGP

func (o *LabelDescriptionSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*LabelDescriptionSlice) ReloadAllP

func (o *LabelDescriptionSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (LabelDescriptionSlice) UpdateAll

func (o LabelDescriptionSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (LabelDescriptionSlice) UpdateAllG

func (o LabelDescriptionSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (LabelDescriptionSlice) UpdateAllGP

func (o LabelDescriptionSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (LabelDescriptionSlice) UpdateAllP

func (o LabelDescriptionSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type LabelSlice

type LabelSlice []*Label

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

func (LabelSlice) DeleteAll

func (o LabelSlice) DeleteAll(exec boil.Executor) error

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

func (LabelSlice) DeleteAllG

func (o LabelSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (LabelSlice) DeleteAllGP

func (o LabelSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (LabelSlice) DeleteAllP

func (o LabelSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*LabelSlice) ReloadAll

func (o *LabelSlice) ReloadAll(exec boil.Executor) error

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

func (*LabelSlice) ReloadAllG

func (o *LabelSlice) ReloadAllG() error

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

func (*LabelSlice) ReloadAllGP

func (o *LabelSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*LabelSlice) ReloadAllP

func (o *LabelSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (LabelSlice) UpdateAll

func (o LabelSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (LabelSlice) UpdateAllG

func (o LabelSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (LabelSlice) UpdateAllGP

func (o LabelSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (LabelSlice) UpdateAllP

func (o LabelSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Language

type Language struct {
	ID       int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Locale   null.String `boil:"locale" json:"locale,omitempty" toml:"locale" yaml:"locale,omitempty"`
	Code3    null.String `boil:"code3" json:"code3,omitempty" toml:"code3" yaml:"code3,omitempty"`
	Language null.String `boil:"language" json:"language,omitempty" toml:"language" yaml:"language,omitempty"`

	R *languageR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L languageL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Language is an object representing the database table.

func FindLanguage

func FindLanguage(exec boil.Executor, id int, selectCols ...string) (*Language, error)

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

func FindLanguageG

func FindLanguageG(id int, selectCols ...string) (*Language, error)

FindLanguageG retrieves a single record by ID.

func FindLanguageGP

func FindLanguageGP(id int, selectCols ...string) *Language

FindLanguageGP retrieves a single record by ID, and panics on error.

func FindLanguageP

func FindLanguageP(exec boil.Executor, id int, selectCols ...string) *Language

FindLanguageP retrieves a single record by ID with an executor, and panics on error.

func (*Language) AddLangCatalogDescriptions

func (o *Language) AddLangCatalogDescriptions(exec boil.Executor, insert bool, related ...*CatalogDescription) error

AddLangCatalogDescriptions adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangCatalogDescriptions. Sets related.R.Lang appropriately.

func (*Language) AddLangCatalogDescriptionsG

func (o *Language) AddLangCatalogDescriptionsG(insert bool, related ...*CatalogDescription) error

AddLangCatalogDescriptionsG adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangCatalogDescriptions. Sets related.R.Lang appropriately. Uses the global database handle.

func (*Language) AddLangCatalogDescriptionsGP

func (o *Language) AddLangCatalogDescriptionsGP(insert bool, related ...*CatalogDescription)

AddLangCatalogDescriptionsGP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangCatalogDescriptions. Sets related.R.Lang appropriately. Uses the global database handle and panics on error.

func (*Language) AddLangCatalogDescriptionsP

func (o *Language) AddLangCatalogDescriptionsP(exec boil.Executor, insert bool, related ...*CatalogDescription)

AddLangCatalogDescriptionsP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangCatalogDescriptions. Sets related.R.Lang appropriately. Panics on error.

func (*Language) AddLangContainerDescriptions

func (o *Language) AddLangContainerDescriptions(exec boil.Executor, insert bool, related ...*ContainerDescription) error

AddLangContainerDescriptions adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainerDescriptions. Sets related.R.Lang appropriately.

func (*Language) AddLangContainerDescriptionsG

func (o *Language) AddLangContainerDescriptionsG(insert bool, related ...*ContainerDescription) error

AddLangContainerDescriptionsG adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainerDescriptions. Sets related.R.Lang appropriately. Uses the global database handle.

func (*Language) AddLangContainerDescriptionsGP

func (o *Language) AddLangContainerDescriptionsGP(insert bool, related ...*ContainerDescription)

AddLangContainerDescriptionsGP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainerDescriptions. Sets related.R.Lang appropriately. Uses the global database handle and panics on error.

func (*Language) AddLangContainerDescriptionsP

func (o *Language) AddLangContainerDescriptionsP(exec boil.Executor, insert bool, related ...*ContainerDescription)

AddLangContainerDescriptionsP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainerDescriptions. Sets related.R.Lang appropriately. Panics on error.

func (*Language) AddLangContainers

func (o *Language) AddLangContainers(exec boil.Executor, insert bool, related ...*Container) error

AddLangContainers adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainers. Sets related.R.Lang appropriately.

func (*Language) AddLangContainersG

func (o *Language) AddLangContainersG(insert bool, related ...*Container) error

AddLangContainersG adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainers. Sets related.R.Lang appropriately. Uses the global database handle.

func (*Language) AddLangContainersGP

func (o *Language) AddLangContainersGP(insert bool, related ...*Container)

AddLangContainersGP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainers. Sets related.R.Lang appropriately. Uses the global database handle and panics on error.

func (*Language) AddLangContainersP

func (o *Language) AddLangContainersP(exec boil.Executor, insert bool, related ...*Container)

AddLangContainersP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangContainers. Sets related.R.Lang appropriately. Panics on error.

func (*Language) AddLangFileAssets

func (o *Language) AddLangFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

AddLangFileAssets adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangFileAssets. Sets related.R.Lang appropriately.

func (*Language) AddLangFileAssetsG

func (o *Language) AddLangFileAssetsG(insert bool, related ...*FileAsset) error

AddLangFileAssetsG adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangFileAssets. Sets related.R.Lang appropriately. Uses the global database handle.

func (*Language) AddLangFileAssetsGP

func (o *Language) AddLangFileAssetsGP(insert bool, related ...*FileAsset)

AddLangFileAssetsGP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangFileAssets. Sets related.R.Lang appropriately. Uses the global database handle and panics on error.

func (*Language) AddLangFileAssetsP

func (o *Language) AddLangFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

AddLangFileAssetsP adds the given related objects to the existing relationships of the language, optionally inserting them as new records. Appends related to o.R.LangFileAssets. Sets related.R.Lang appropriately. Panics on error.

func (*Language) Delete

func (o *Language) Delete(exec boil.Executor) error

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

func (*Language) DeleteG

func (o *Language) DeleteG() error

DeleteG deletes a single Language record. DeleteG will match against the primary key column to find the record to delete.

func (*Language) DeleteGP

func (o *Language) DeleteGP()

DeleteGP deletes a single Language record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Language) DeleteP

func (o *Language) DeleteP(exec boil.Executor)

DeleteP deletes a single Language record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Language) Insert

func (o *Language) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Language) InsertG

func (o *Language) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Language) InsertGP

func (o *Language) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Language) InsertP

func (o *Language) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Language) LangCatalogDescriptions

func (o *Language) LangCatalogDescriptions(exec boil.Executor, mods ...qm.QueryMod) catalogDescriptionQuery

LangCatalogDescriptions retrieves all the catalog_description's catalog descriptions with an executor via lang_id column.

func (*Language) LangCatalogDescriptionsG

func (o *Language) LangCatalogDescriptionsG(mods ...qm.QueryMod) catalogDescriptionQuery

LangCatalogDescriptionsG retrieves all the catalog_description's catalog descriptions via lang_id column.

func (*Language) LangContainerDescriptions

func (o *Language) LangContainerDescriptions(exec boil.Executor, mods ...qm.QueryMod) containerDescriptionQuery

LangContainerDescriptions retrieves all the container_description's container descriptions with an executor via lang_id column.

func (*Language) LangContainerDescriptionsG

func (o *Language) LangContainerDescriptionsG(mods ...qm.QueryMod) containerDescriptionQuery

LangContainerDescriptionsG retrieves all the container_description's container descriptions via lang_id column.

func (*Language) LangContainers

func (o *Language) LangContainers(exec boil.Executor, mods ...qm.QueryMod) containerQuery

LangContainers retrieves all the container's containers with an executor via lang_id column.

func (*Language) LangContainersG

func (o *Language) LangContainersG(mods ...qm.QueryMod) containerQuery

LangContainersG retrieves all the container's containers via lang_id column.

func (*Language) LangFileAssets

func (o *Language) LangFileAssets(exec boil.Executor, mods ...qm.QueryMod) fileAssetQuery

LangFileAssets retrieves all the file_asset's file assets with an executor via lang_id column.

func (*Language) LangFileAssetsG

func (o *Language) LangFileAssetsG(mods ...qm.QueryMod) fileAssetQuery

LangFileAssetsG retrieves all the file_asset's file assets via lang_id column.

func (*Language) Reload

func (o *Language) Reload(exec boil.Executor) error

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

func (*Language) ReloadG

func (o *Language) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Language) ReloadGP

func (o *Language) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Language) ReloadP

func (o *Language) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Language) RemoveLangCatalogDescriptions

func (o *Language) RemoveLangCatalogDescriptions(exec boil.Executor, related ...*CatalogDescription) error

RemoveLangCatalogDescriptions relationships from objects passed in. Removes related items from R.LangCatalogDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang.

func (*Language) RemoveLangCatalogDescriptionsG

func (o *Language) RemoveLangCatalogDescriptionsG(related ...*CatalogDescription) error

RemoveLangCatalogDescriptionsG relationships from objects passed in. Removes related items from R.LangCatalogDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle.

func (*Language) RemoveLangCatalogDescriptionsGP

func (o *Language) RemoveLangCatalogDescriptionsGP(related ...*CatalogDescription)

RemoveLangCatalogDescriptionsGP relationships from objects passed in. Removes related items from R.LangCatalogDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle and panics on error.

func (*Language) RemoveLangCatalogDescriptionsP

func (o *Language) RemoveLangCatalogDescriptionsP(exec boil.Executor, related ...*CatalogDescription)

RemoveLangCatalogDescriptionsP relationships from objects passed in. Removes related items from R.LangCatalogDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Panics on error.

func (*Language) RemoveLangContainerDescriptions

func (o *Language) RemoveLangContainerDescriptions(exec boil.Executor, related ...*ContainerDescription) error

RemoveLangContainerDescriptions relationships from objects passed in. Removes related items from R.LangContainerDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang.

func (*Language) RemoveLangContainerDescriptionsG

func (o *Language) RemoveLangContainerDescriptionsG(related ...*ContainerDescription) error

RemoveLangContainerDescriptionsG relationships from objects passed in. Removes related items from R.LangContainerDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle.

func (*Language) RemoveLangContainerDescriptionsGP

func (o *Language) RemoveLangContainerDescriptionsGP(related ...*ContainerDescription)

RemoveLangContainerDescriptionsGP relationships from objects passed in. Removes related items from R.LangContainerDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle and panics on error.

func (*Language) RemoveLangContainerDescriptionsP

func (o *Language) RemoveLangContainerDescriptionsP(exec boil.Executor, related ...*ContainerDescription)

RemoveLangContainerDescriptionsP relationships from objects passed in. Removes related items from R.LangContainerDescriptions (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Panics on error.

func (*Language) RemoveLangContainers

func (o *Language) RemoveLangContainers(exec boil.Executor, related ...*Container) error

RemoveLangContainers relationships from objects passed in. Removes related items from R.LangContainers (uses pointer comparison, removal does not keep order) Sets related.R.Lang.

func (*Language) RemoveLangContainersG

func (o *Language) RemoveLangContainersG(related ...*Container) error

RemoveLangContainersG relationships from objects passed in. Removes related items from R.LangContainers (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle.

func (*Language) RemoveLangContainersGP

func (o *Language) RemoveLangContainersGP(related ...*Container)

RemoveLangContainersGP relationships from objects passed in. Removes related items from R.LangContainers (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle and panics on error.

func (*Language) RemoveLangContainersP

func (o *Language) RemoveLangContainersP(exec boil.Executor, related ...*Container)

RemoveLangContainersP relationships from objects passed in. Removes related items from R.LangContainers (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Panics on error.

func (*Language) RemoveLangFileAssets

func (o *Language) RemoveLangFileAssets(exec boil.Executor, related ...*FileAsset) error

RemoveLangFileAssets relationships from objects passed in. Removes related items from R.LangFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Lang.

func (*Language) RemoveLangFileAssetsG

func (o *Language) RemoveLangFileAssetsG(related ...*FileAsset) error

RemoveLangFileAssetsG relationships from objects passed in. Removes related items from R.LangFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle.

func (*Language) RemoveLangFileAssetsGP

func (o *Language) RemoveLangFileAssetsGP(related ...*FileAsset)

RemoveLangFileAssetsGP relationships from objects passed in. Removes related items from R.LangFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Uses the global database handle and panics on error.

func (*Language) RemoveLangFileAssetsP

func (o *Language) RemoveLangFileAssetsP(exec boil.Executor, related ...*FileAsset)

RemoveLangFileAssetsP relationships from objects passed in. Removes related items from R.LangFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Lang. Panics on error.

func (*Language) SetLangCatalogDescriptions

func (o *Language) SetLangCatalogDescriptions(exec boil.Executor, insert bool, related ...*CatalogDescription) error

SetLangCatalogDescriptions removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangCatalogDescriptions accordingly. Replaces o.R.LangCatalogDescriptions with related. Sets related.R.Lang's LangCatalogDescriptions accordingly.

func (*Language) SetLangCatalogDescriptionsG

func (o *Language) SetLangCatalogDescriptionsG(insert bool, related ...*CatalogDescription) error

SetLangCatalogDescriptionsG removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangCatalogDescriptions accordingly. Replaces o.R.LangCatalogDescriptions with related. Sets related.R.Lang's LangCatalogDescriptions accordingly. Uses the global database handle.

func (*Language) SetLangCatalogDescriptionsGP

func (o *Language) SetLangCatalogDescriptionsGP(insert bool, related ...*CatalogDescription)

SetLangCatalogDescriptionsGP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangCatalogDescriptions accordingly. Replaces o.R.LangCatalogDescriptions with related. Sets related.R.Lang's LangCatalogDescriptions accordingly. Uses the global database handle and panics on error.

func (*Language) SetLangCatalogDescriptionsP

func (o *Language) SetLangCatalogDescriptionsP(exec boil.Executor, insert bool, related ...*CatalogDescription)

SetLangCatalogDescriptionsP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangCatalogDescriptions accordingly. Replaces o.R.LangCatalogDescriptions with related. Sets related.R.Lang's LangCatalogDescriptions accordingly. Panics on error.

func (*Language) SetLangContainerDescriptions

func (o *Language) SetLangContainerDescriptions(exec boil.Executor, insert bool, related ...*ContainerDescription) error

SetLangContainerDescriptions removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainerDescriptions accordingly. Replaces o.R.LangContainerDescriptions with related. Sets related.R.Lang's LangContainerDescriptions accordingly.

func (*Language) SetLangContainerDescriptionsG

func (o *Language) SetLangContainerDescriptionsG(insert bool, related ...*ContainerDescription) error

SetLangContainerDescriptionsG removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainerDescriptions accordingly. Replaces o.R.LangContainerDescriptions with related. Sets related.R.Lang's LangContainerDescriptions accordingly. Uses the global database handle.

func (*Language) SetLangContainerDescriptionsGP

func (o *Language) SetLangContainerDescriptionsGP(insert bool, related ...*ContainerDescription)

SetLangContainerDescriptionsGP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainerDescriptions accordingly. Replaces o.R.LangContainerDescriptions with related. Sets related.R.Lang's LangContainerDescriptions accordingly. Uses the global database handle and panics on error.

func (*Language) SetLangContainerDescriptionsP

func (o *Language) SetLangContainerDescriptionsP(exec boil.Executor, insert bool, related ...*ContainerDescription)

SetLangContainerDescriptionsP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainerDescriptions accordingly. Replaces o.R.LangContainerDescriptions with related. Sets related.R.Lang's LangContainerDescriptions accordingly. Panics on error.

func (*Language) SetLangContainers

func (o *Language) SetLangContainers(exec boil.Executor, insert bool, related ...*Container) error

SetLangContainers removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainers accordingly. Replaces o.R.LangContainers with related. Sets related.R.Lang's LangContainers accordingly.

func (*Language) SetLangContainersG

func (o *Language) SetLangContainersG(insert bool, related ...*Container) error

SetLangContainersG removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainers accordingly. Replaces o.R.LangContainers with related. Sets related.R.Lang's LangContainers accordingly. Uses the global database handle.

func (*Language) SetLangContainersGP

func (o *Language) SetLangContainersGP(insert bool, related ...*Container)

SetLangContainersGP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainers accordingly. Replaces o.R.LangContainers with related. Sets related.R.Lang's LangContainers accordingly. Uses the global database handle and panics on error.

func (*Language) SetLangContainersP

func (o *Language) SetLangContainersP(exec boil.Executor, insert bool, related ...*Container)

SetLangContainersP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangContainers accordingly. Replaces o.R.LangContainers with related. Sets related.R.Lang's LangContainers accordingly. Panics on error.

func (*Language) SetLangFileAssets

func (o *Language) SetLangFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

SetLangFileAssets removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangFileAssets accordingly. Replaces o.R.LangFileAssets with related. Sets related.R.Lang's LangFileAssets accordingly.

func (*Language) SetLangFileAssetsG

func (o *Language) SetLangFileAssetsG(insert bool, related ...*FileAsset) error

SetLangFileAssetsG removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangFileAssets accordingly. Replaces o.R.LangFileAssets with related. Sets related.R.Lang's LangFileAssets accordingly. Uses the global database handle.

func (*Language) SetLangFileAssetsGP

func (o *Language) SetLangFileAssetsGP(insert bool, related ...*FileAsset)

SetLangFileAssetsGP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangFileAssets accordingly. Replaces o.R.LangFileAssets with related. Sets related.R.Lang's LangFileAssets accordingly. Uses the global database handle and panics on error.

func (*Language) SetLangFileAssetsP

func (o *Language) SetLangFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

SetLangFileAssetsP removes all previously related items of the language replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Lang's LangFileAssets accordingly. Replaces o.R.LangFileAssets with related. Sets related.R.Lang's LangFileAssets accordingly. Panics on error.

func (*Language) Update

func (o *Language) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Language. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Language) UpdateG

func (o *Language) UpdateG(whitelist ...string) error

UpdateG a single Language record. See Update for whitelist behavior description.

func (*Language) UpdateGP

func (o *Language) UpdateGP(whitelist ...string)

UpdateGP a single Language record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Language) UpdateP

func (o *Language) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Language, and panics on error. See Update for whitelist behavior description.

func (*Language) Upsert

func (o *Language) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Language) UpsertG

func (o *Language) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Language) UpsertGP

func (o *Language) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Language) UpsertP

func (o *Language) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type LanguageSlice

type LanguageSlice []*Language

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

func (LanguageSlice) DeleteAll

func (o LanguageSlice) DeleteAll(exec boil.Executor) error

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

func (LanguageSlice) DeleteAllG

func (o LanguageSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (LanguageSlice) DeleteAllGP

func (o LanguageSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (LanguageSlice) DeleteAllP

func (o LanguageSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*LanguageSlice) ReloadAll

func (o *LanguageSlice) ReloadAll(exec boil.Executor) error

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

func (*LanguageSlice) ReloadAllG

func (o *LanguageSlice) ReloadAllG() error

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

func (*LanguageSlice) ReloadAllGP

func (o *LanguageSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*LanguageSlice) ReloadAllP

func (o *LanguageSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (LanguageSlice) UpdateAll

func (o LanguageSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (LanguageSlice) UpdateAllG

func (o LanguageSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (LanguageSlice) UpdateAllGP

func (o LanguageSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (LanguageSlice) UpdateAllP

func (o LanguageSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Lecturer

type Lecturer struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	Ordnum    int       `boil:"ordnum" json:"ordnum" toml:"ordnum" yaml:"ordnum"`

	R *lecturerR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L lecturerL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Lecturer is an object representing the database table.

func FindLecturer

func FindLecturer(exec boil.Executor, id int, selectCols ...string) (*Lecturer, error)

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

func FindLecturerG

func FindLecturerG(id int, selectCols ...string) (*Lecturer, error)

FindLecturerG retrieves a single record by ID.

func FindLecturerGP

func FindLecturerGP(id int, selectCols ...string) *Lecturer

FindLecturerGP retrieves a single record by ID, and panics on error.

func FindLecturerP

func FindLecturerP(exec boil.Executor, id int, selectCols ...string) *Lecturer

FindLecturerP retrieves a single record by ID with an executor, and panics on error.

func (*Lecturer) Delete

func (o *Lecturer) Delete(exec boil.Executor) error

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

func (*Lecturer) DeleteG

func (o *Lecturer) DeleteG() error

DeleteG deletes a single Lecturer record. DeleteG will match against the primary key column to find the record to delete.

func (*Lecturer) DeleteGP

func (o *Lecturer) DeleteGP()

DeleteGP deletes a single Lecturer record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Lecturer) DeleteP

func (o *Lecturer) DeleteP(exec boil.Executor)

DeleteP deletes a single Lecturer record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Lecturer) Insert

func (o *Lecturer) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Lecturer) InsertG

func (o *Lecturer) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Lecturer) InsertGP

func (o *Lecturer) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Lecturer) InsertP

func (o *Lecturer) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Lecturer) Reload

func (o *Lecturer) Reload(exec boil.Executor) error

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

func (*Lecturer) ReloadG

func (o *Lecturer) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Lecturer) ReloadGP

func (o *Lecturer) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Lecturer) ReloadP

func (o *Lecturer) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Lecturer) Update

func (o *Lecturer) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Lecturer. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Lecturer) UpdateG

func (o *Lecturer) UpdateG(whitelist ...string) error

UpdateG a single Lecturer record. See Update for whitelist behavior description.

func (*Lecturer) UpdateGP

func (o *Lecturer) UpdateGP(whitelist ...string)

UpdateGP a single Lecturer record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Lecturer) UpdateP

func (o *Lecturer) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Lecturer, and panics on error. See Update for whitelist behavior description.

func (*Lecturer) Upsert

func (o *Lecturer) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Lecturer) UpsertG

func (o *Lecturer) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Lecturer) UpsertGP

func (o *Lecturer) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Lecturer) UpsertP

func (o *Lecturer) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type LecturerDescription

type LecturerDescription struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	LecturerID int       `boil:"lecturer_id" json:"lecturer_id" toml:"lecturer_id" yaml:"lecturer_id"`
	Desc       string    `boil:"desc" json:"desc" toml:"desc" yaml:"desc"`
	Lang       string    `boil:"lang" json:"lang" toml:"lang" yaml:"lang"`
	CreatedAt  null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt  null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *lecturerDescriptionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L lecturerDescriptionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

LecturerDescription is an object representing the database table.

func FindLecturerDescription

func FindLecturerDescription(exec boil.Executor, id int, selectCols ...string) (*LecturerDescription, error)

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

func FindLecturerDescriptionG

func FindLecturerDescriptionG(id int, selectCols ...string) (*LecturerDescription, error)

FindLecturerDescriptionG retrieves a single record by ID.

func FindLecturerDescriptionGP

func FindLecturerDescriptionGP(id int, selectCols ...string) *LecturerDescription

FindLecturerDescriptionGP retrieves a single record by ID, and panics on error.

func FindLecturerDescriptionP

func FindLecturerDescriptionP(exec boil.Executor, id int, selectCols ...string) *LecturerDescription

FindLecturerDescriptionP retrieves a single record by ID with an executor, and panics on error.

func (*LecturerDescription) Delete

func (o *LecturerDescription) Delete(exec boil.Executor) error

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

func (*LecturerDescription) DeleteG

func (o *LecturerDescription) DeleteG() error

DeleteG deletes a single LecturerDescription record. DeleteG will match against the primary key column to find the record to delete.

func (*LecturerDescription) DeleteGP

func (o *LecturerDescription) DeleteGP()

DeleteGP deletes a single LecturerDescription record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*LecturerDescription) DeleteP

func (o *LecturerDescription) DeleteP(exec boil.Executor)

DeleteP deletes a single LecturerDescription record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*LecturerDescription) Insert

func (o *LecturerDescription) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*LecturerDescription) InsertG

func (o *LecturerDescription) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*LecturerDescription) InsertGP

func (o *LecturerDescription) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*LecturerDescription) InsertP

func (o *LecturerDescription) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*LecturerDescription) Reload

func (o *LecturerDescription) Reload(exec boil.Executor) error

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

func (*LecturerDescription) ReloadG

func (o *LecturerDescription) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*LecturerDescription) ReloadGP

func (o *LecturerDescription) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*LecturerDescription) ReloadP

func (o *LecturerDescription) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*LecturerDescription) Update

func (o *LecturerDescription) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the LecturerDescription. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*LecturerDescription) UpdateG

func (o *LecturerDescription) UpdateG(whitelist ...string) error

UpdateG a single LecturerDescription record. See Update for whitelist behavior description.

func (*LecturerDescription) UpdateGP

func (o *LecturerDescription) UpdateGP(whitelist ...string)

UpdateGP a single LecturerDescription record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*LecturerDescription) UpdateP

func (o *LecturerDescription) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the LecturerDescription, and panics on error. See Update for whitelist behavior description.

func (*LecturerDescription) Upsert

func (o *LecturerDescription) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*LecturerDescription) UpsertG

func (o *LecturerDescription) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*LecturerDescription) UpsertGP

func (o *LecturerDescription) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*LecturerDescription) UpsertP

func (o *LecturerDescription) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type LecturerDescriptionSlice

type LecturerDescriptionSlice []*LecturerDescription

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

func (LecturerDescriptionSlice) DeleteAll

func (o LecturerDescriptionSlice) DeleteAll(exec boil.Executor) error

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

func (LecturerDescriptionSlice) DeleteAllG

func (o LecturerDescriptionSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (LecturerDescriptionSlice) DeleteAllGP

func (o LecturerDescriptionSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (LecturerDescriptionSlice) DeleteAllP

func (o LecturerDescriptionSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*LecturerDescriptionSlice) ReloadAll

func (o *LecturerDescriptionSlice) ReloadAll(exec boil.Executor) error

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

func (*LecturerDescriptionSlice) ReloadAllG

func (o *LecturerDescriptionSlice) ReloadAllG() error

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

func (*LecturerDescriptionSlice) ReloadAllGP

func (o *LecturerDescriptionSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*LecturerDescriptionSlice) ReloadAllP

func (o *LecturerDescriptionSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (LecturerDescriptionSlice) UpdateAll

func (o LecturerDescriptionSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (LecturerDescriptionSlice) UpdateAllG

func (o LecturerDescriptionSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (LecturerDescriptionSlice) UpdateAllGP

func (o LecturerDescriptionSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (LecturerDescriptionSlice) UpdateAllP

func (o LecturerDescriptionSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type LecturerSlice

type LecturerSlice []*Lecturer

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

func (LecturerSlice) DeleteAll

func (o LecturerSlice) DeleteAll(exec boil.Executor) error

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

func (LecturerSlice) DeleteAllG

func (o LecturerSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (LecturerSlice) DeleteAllGP

func (o LecturerSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (LecturerSlice) DeleteAllP

func (o LecturerSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*LecturerSlice) ReloadAll

func (o *LecturerSlice) ReloadAll(exec boil.Executor) error

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

func (*LecturerSlice) ReloadAllG

func (o *LecturerSlice) ReloadAllG() error

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

func (*LecturerSlice) ReloadAllGP

func (o *LecturerSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*LecturerSlice) ReloadAllP

func (o *LecturerSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (LecturerSlice) UpdateAll

func (o LecturerSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (LecturerSlice) UpdateAllG

func (o LecturerSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (LecturerSlice) UpdateAllGP

func (o LecturerSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (LecturerSlice) UpdateAllP

func (o LecturerSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type M

type M map[string]interface{}

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

type Role

type Role struct {
	ID          int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name        null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"`
	Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"`
	CreatedAt   null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt   null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`

	R *roleR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L roleL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Role is an object representing the database table.

func FindRole

func FindRole(exec boil.Executor, id int, selectCols ...string) (*Role, error)

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

func FindRoleG

func FindRoleG(id int, selectCols ...string) (*Role, error)

FindRoleG retrieves a single record by ID.

func FindRoleGP

func FindRoleGP(id int, selectCols ...string) *Role

FindRoleGP retrieves a single record by ID, and panics on error.

func FindRoleP

func FindRoleP(exec boil.Executor, id int, selectCols ...string) *Role

FindRoleP retrieves a single record by ID with an executor, and panics on error.

func (*Role) Delete

func (o *Role) Delete(exec boil.Executor) error

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

func (*Role) DeleteG

func (o *Role) DeleteG() error

DeleteG deletes a single Role record. DeleteG will match against the primary key column to find the record to delete.

func (*Role) DeleteGP

func (o *Role) DeleteGP()

DeleteGP deletes a single Role record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Role) DeleteP

func (o *Role) DeleteP(exec boil.Executor)

DeleteP deletes a single Role record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Role) Insert

func (o *Role) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Role) InsertG

func (o *Role) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Role) InsertGP

func (o *Role) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Role) InsertP

func (o *Role) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Role) Reload

func (o *Role) Reload(exec boil.Executor) error

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

func (*Role) ReloadG

func (o *Role) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Role) ReloadGP

func (o *Role) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Role) ReloadP

func (o *Role) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Role) Update

func (o *Role) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Role. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Role) UpdateG

func (o *Role) UpdateG(whitelist ...string) error

UpdateG a single Role record. See Update for whitelist behavior description.

func (*Role) UpdateGP

func (o *Role) UpdateGP(whitelist ...string)

UpdateGP a single Role record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Role) UpdateP

func (o *Role) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Role, and panics on error. See Update for whitelist behavior description.

func (*Role) Upsert

func (o *Role) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Role) UpsertG

func (o *Role) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Role) UpsertGP

func (o *Role) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Role) UpsertP

func (o *Role) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type RoleSlice

type RoleSlice []*Role

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

func (RoleSlice) DeleteAll

func (o RoleSlice) DeleteAll(exec boil.Executor) error

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

func (RoleSlice) DeleteAllG

func (o RoleSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (RoleSlice) DeleteAllGP

func (o RoleSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (RoleSlice) DeleteAllP

func (o RoleSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*RoleSlice) ReloadAll

func (o *RoleSlice) ReloadAll(exec boil.Executor) error

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

func (*RoleSlice) ReloadAllG

func (o *RoleSlice) ReloadAllG() error

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

func (*RoleSlice) ReloadAllGP

func (o *RoleSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*RoleSlice) ReloadAllP

func (o *RoleSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (RoleSlice) UpdateAll

func (o RoleSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (RoleSlice) UpdateAllG

func (o RoleSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (RoleSlice) UpdateAllGP

func (o RoleSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (RoleSlice) UpdateAllP

func (o RoleSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type RolesUser

type RolesUser struct {
	RoleID int `boil:"role_id" json:"role_id" toml:"role_id" yaml:"role_id"`
	UserID int `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`

	R *rolesUserR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L rolesUserL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

RolesUser is an object representing the database table.

func FindRolesUser

func FindRolesUser(exec boil.Executor, roleID int, userID int, selectCols ...string) (*RolesUser, error)

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

func FindRolesUserG

func FindRolesUserG(roleID int, userID int, selectCols ...string) (*RolesUser, error)

FindRolesUserG retrieves a single record by ID.

func FindRolesUserGP

func FindRolesUserGP(roleID int, userID int, selectCols ...string) *RolesUser

FindRolesUserGP retrieves a single record by ID, and panics on error.

func FindRolesUserP

func FindRolesUserP(exec boil.Executor, roleID int, userID int, selectCols ...string) *RolesUser

FindRolesUserP retrieves a single record by ID with an executor, and panics on error.

func (*RolesUser) Delete

func (o *RolesUser) Delete(exec boil.Executor) error

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

func (*RolesUser) DeleteG

func (o *RolesUser) DeleteG() error

DeleteG deletes a single RolesUser record. DeleteG will match against the primary key column to find the record to delete.

func (*RolesUser) DeleteGP

func (o *RolesUser) DeleteGP()

DeleteGP deletes a single RolesUser record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*RolesUser) DeleteP

func (o *RolesUser) DeleteP(exec boil.Executor)

DeleteP deletes a single RolesUser record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*RolesUser) Insert

func (o *RolesUser) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*RolesUser) InsertG

func (o *RolesUser) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*RolesUser) InsertGP

func (o *RolesUser) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*RolesUser) InsertP

func (o *RolesUser) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*RolesUser) Reload

func (o *RolesUser) Reload(exec boil.Executor) error

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

func (*RolesUser) ReloadG

func (o *RolesUser) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*RolesUser) ReloadGP

func (o *RolesUser) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*RolesUser) ReloadP

func (o *RolesUser) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*RolesUser) SetUser

func (o *RolesUser) SetUser(exec boil.Executor, insert bool, related *User) error

SetUser of the roles_user to the related item. Sets o.R.User to related. Adds o to related.R.RolesUsers.

func (*RolesUser) SetUserG

func (o *RolesUser) SetUserG(insert bool, related *User) error

SetUserG of the roles_user to the related item. Sets o.R.User to related. Adds o to related.R.RolesUsers. Uses the global database handle.

func (*RolesUser) SetUserGP

func (o *RolesUser) SetUserGP(insert bool, related *User)

SetUserGP of the roles_user to the related item. Sets o.R.User to related. Adds o to related.R.RolesUsers. Uses the global database handle and panics on error.

func (*RolesUser) SetUserP

func (o *RolesUser) SetUserP(exec boil.Executor, insert bool, related *User)

SetUserP of the roles_user to the related item. Sets o.R.User to related. Adds o to related.R.RolesUsers. Panics on error.

func (*RolesUser) Update

func (o *RolesUser) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the RolesUser. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*RolesUser) UpdateG

func (o *RolesUser) UpdateG(whitelist ...string) error

UpdateG a single RolesUser record. See Update for whitelist behavior description.

func (*RolesUser) UpdateGP

func (o *RolesUser) UpdateGP(whitelist ...string)

UpdateGP a single RolesUser record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*RolesUser) UpdateP

func (o *RolesUser) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the RolesUser, and panics on error. See Update for whitelist behavior description.

func (*RolesUser) Upsert

func (o *RolesUser) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*RolesUser) UpsertG

func (o *RolesUser) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*RolesUser) UpsertGP

func (o *RolesUser) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*RolesUser) UpsertP

func (o *RolesUser) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

func (*RolesUser) User

func (o *RolesUser) User(exec boil.Executor, mods ...qm.QueryMod) userQuery

User pointed to by the foreign key.

func (*RolesUser) UserG

func (o *RolesUser) UserG(mods ...qm.QueryMod) userQuery

UserG pointed to by the foreign key.

type RolesUserSlice

type RolesUserSlice []*RolesUser

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

func (RolesUserSlice) DeleteAll

func (o RolesUserSlice) DeleteAll(exec boil.Executor) error

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

func (RolesUserSlice) DeleteAllG

func (o RolesUserSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (RolesUserSlice) DeleteAllGP

func (o RolesUserSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (RolesUserSlice) DeleteAllP

func (o RolesUserSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*RolesUserSlice) ReloadAll

func (o *RolesUserSlice) ReloadAll(exec boil.Executor) error

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

func (*RolesUserSlice) ReloadAllG

func (o *RolesUserSlice) ReloadAllG() error

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

func (*RolesUserSlice) ReloadAllGP

func (o *RolesUserSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*RolesUserSlice) ReloadAllP

func (o *RolesUserSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (RolesUserSlice) UpdateAll

func (o RolesUserSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (RolesUserSlice) UpdateAllG

func (o RolesUserSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (RolesUserSlice) UpdateAllGP

func (o RolesUserSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (RolesUserSlice) UpdateAllP

func (o RolesUserSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type Server

type Server struct {
	Servername string      `boil:"servername" json:"servername" toml:"servername" yaml:"servername"`
	Httpurl    null.String `boil:"httpurl" json:"httpurl,omitempty" toml:"httpurl" yaml:"httpurl,omitempty"`
	Created    null.Time   `boil:"created" json:"created,omitempty" toml:"created" yaml:"created,omitempty"`
	Updated    null.Time   `boil:"updated" json:"updated,omitempty" toml:"updated" yaml:"updated,omitempty"`
	Lastuser   null.String `boil:"lastuser" json:"lastuser,omitempty" toml:"lastuser" yaml:"lastuser,omitempty"`
	Path       null.String `boil:"path" json:"path,omitempty" toml:"path" yaml:"path,omitempty"`
	ID         int         `boil:"id" json:"id" toml:"id" yaml:"id"`

	R *serverR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L serverL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Server is an object representing the database table.

func FindServer

func FindServer(exec boil.Executor, id int, selectCols ...string) (*Server, error)

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

func FindServerG

func FindServerG(id int, selectCols ...string) (*Server, error)

FindServerG retrieves a single record by ID.

func FindServerGP

func FindServerGP(id int, selectCols ...string) *Server

FindServerGP retrieves a single record by ID, and panics on error.

func FindServerP

func FindServerP(exec boil.Executor, id int, selectCols ...string) *Server

FindServerP retrieves a single record by ID with an executor, and panics on error.

func (*Server) AddServernameFileAssets

func (o *Server) AddServernameFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

AddServernameFileAssets adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.ServernameFileAssets. Sets related.R.Servername appropriately.

func (*Server) AddServernameFileAssetsG

func (o *Server) AddServernameFileAssetsG(insert bool, related ...*FileAsset) error

AddServernameFileAssetsG adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.ServernameFileAssets. Sets related.R.Servername appropriately. Uses the global database handle.

func (*Server) AddServernameFileAssetsGP

func (o *Server) AddServernameFileAssetsGP(insert bool, related ...*FileAsset)

AddServernameFileAssetsGP adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.ServernameFileAssets. Sets related.R.Servername appropriately. Uses the global database handle and panics on error.

func (*Server) AddServernameFileAssetsP

func (o *Server) AddServernameFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

AddServernameFileAssetsP adds the given related objects to the existing relationships of the server, optionally inserting them as new records. Appends related to o.R.ServernameFileAssets. Sets related.R.Servername appropriately. Panics on error.

func (*Server) Delete

func (o *Server) Delete(exec boil.Executor) error

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

func (*Server) DeleteG

func (o *Server) DeleteG() error

DeleteG deletes a single Server record. DeleteG will match against the primary key column to find the record to delete.

func (*Server) DeleteGP

func (o *Server) DeleteGP()

DeleteGP deletes a single Server record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*Server) DeleteP

func (o *Server) DeleteP(exec boil.Executor)

DeleteP deletes a single Server record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*Server) Insert

func (o *Server) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*Server) InsertG

func (o *Server) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Server) InsertGP

func (o *Server) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Server) InsertP

func (o *Server) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Server) Reload

func (o *Server) Reload(exec boil.Executor) error

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

func (*Server) ReloadG

func (o *Server) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Server) ReloadGP

func (o *Server) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Server) ReloadP

func (o *Server) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Server) RemoveServernameFileAssets

func (o *Server) RemoveServernameFileAssets(exec boil.Executor, related ...*FileAsset) error

RemoveServernameFileAssets relationships from objects passed in. Removes related items from R.ServernameFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Servername.

func (*Server) RemoveServernameFileAssetsG

func (o *Server) RemoveServernameFileAssetsG(related ...*FileAsset) error

RemoveServernameFileAssetsG relationships from objects passed in. Removes related items from R.ServernameFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Servername. Uses the global database handle.

func (*Server) RemoveServernameFileAssetsGP

func (o *Server) RemoveServernameFileAssetsGP(related ...*FileAsset)

RemoveServernameFileAssetsGP relationships from objects passed in. Removes related items from R.ServernameFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Servername. Uses the global database handle and panics on error.

func (*Server) RemoveServernameFileAssetsP

func (o *Server) RemoveServernameFileAssetsP(exec boil.Executor, related ...*FileAsset)

RemoveServernameFileAssetsP relationships from objects passed in. Removes related items from R.ServernameFileAssets (uses pointer comparison, removal does not keep order) Sets related.R.Servername. Panics on error.

func (*Server) ServernameFileAssets

func (o *Server) ServernameFileAssets(exec boil.Executor, mods ...qm.QueryMod) fileAssetQuery

ServernameFileAssets retrieves all the file_asset's file assets with an executor via servername_id column.

func (*Server) ServernameFileAssetsG

func (o *Server) ServernameFileAssetsG(mods ...qm.QueryMod) fileAssetQuery

ServernameFileAssetsG retrieves all the file_asset's file assets via servername_id column.

func (*Server) SetServernameFileAssets

func (o *Server) SetServernameFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

SetServernameFileAssets removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Servername's ServernameFileAssets accordingly. Replaces o.R.ServernameFileAssets with related. Sets related.R.Servername's ServernameFileAssets accordingly.

func (*Server) SetServernameFileAssetsG

func (o *Server) SetServernameFileAssetsG(insert bool, related ...*FileAsset) error

SetServernameFileAssetsG removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Servername's ServernameFileAssets accordingly. Replaces o.R.ServernameFileAssets with related. Sets related.R.Servername's ServernameFileAssets accordingly. Uses the global database handle.

func (*Server) SetServernameFileAssetsGP

func (o *Server) SetServernameFileAssetsGP(insert bool, related ...*FileAsset)

SetServernameFileAssetsGP removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Servername's ServernameFileAssets accordingly. Replaces o.R.ServernameFileAssets with related. Sets related.R.Servername's ServernameFileAssets accordingly. Uses the global database handle and panics on error.

func (*Server) SetServernameFileAssetsP

func (o *Server) SetServernameFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

SetServernameFileAssetsP removes all previously related items of the server replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Servername's ServernameFileAssets accordingly. Replaces o.R.ServernameFileAssets with related. Sets related.R.Servername's ServernameFileAssets accordingly. Panics on error.

func (*Server) Update

func (o *Server) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the Server. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Server) UpdateG

func (o *Server) UpdateG(whitelist ...string) error

UpdateG a single Server record. See Update for whitelist behavior description.

func (*Server) UpdateGP

func (o *Server) UpdateGP(whitelist ...string)

UpdateGP a single Server record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*Server) UpdateP

func (o *Server) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Server, and panics on error. See Update for whitelist behavior description.

func (*Server) Upsert

func (o *Server) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*Server) UpsertG

func (o *Server) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Server) UpsertGP

func (o *Server) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Server) UpsertP

func (o *Server) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type ServerSlice

type ServerSlice []*Server

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

func (ServerSlice) DeleteAll

func (o ServerSlice) DeleteAll(exec boil.Executor) error

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

func (ServerSlice) DeleteAllG

func (o ServerSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (ServerSlice) DeleteAllGP

func (o ServerSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (ServerSlice) DeleteAllP

func (o ServerSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*ServerSlice) ReloadAll

func (o *ServerSlice) ReloadAll(exec boil.Executor) error

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

func (*ServerSlice) ReloadAllG

func (o *ServerSlice) ReloadAllG() error

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

func (*ServerSlice) ReloadAllGP

func (o *ServerSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*ServerSlice) ReloadAllP

func (o *ServerSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (ServerSlice) UpdateAll

func (o ServerSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (ServerSlice) UpdateAllG

func (o ServerSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (ServerSlice) UpdateAllGP

func (o ServerSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (ServerSlice) UpdateAllP

func (o ServerSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type User

type User struct {
	ID                  int         `boil:"id" json:"id" toml:"id" yaml:"id"`
	Email               string      `boil:"email" json:"email" toml:"email" yaml:"email"`
	EncryptedPassword   string      `boil:"encrypted_password" json:"encrypted_password" toml:"encrypted_password" yaml:"encrypted_password"`
	ResetPasswordToken  null.String `` /* 131-byte string literal not displayed */
	RememberCreatedAt   null.Time   `` /* 127-byte string literal not displayed */
	SignInCount         null.Int    `boil:"sign_in_count" json:"sign_in_count,omitempty" toml:"sign_in_count" yaml:"sign_in_count,omitempty"`
	CurrentSignInAt     null.Time   `boil:"current_sign_in_at" json:"current_sign_in_at,omitempty" toml:"current_sign_in_at" yaml:"current_sign_in_at,omitempty"`
	LastSignInAt        null.Time   `boil:"last_sign_in_at" json:"last_sign_in_at,omitempty" toml:"last_sign_in_at" yaml:"last_sign_in_at,omitempty"`
	CurrentSignInIP     null.String `boil:"current_sign_in_ip" json:"current_sign_in_ip,omitempty" toml:"current_sign_in_ip" yaml:"current_sign_in_ip,omitempty"`
	LastSignInIP        null.String `boil:"last_sign_in_ip" json:"last_sign_in_ip,omitempty" toml:"last_sign_in_ip" yaml:"last_sign_in_ip,omitempty"`
	CreatedAt           null.Time   `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"`
	UpdatedAt           null.Time   `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"`
	FirstName           null.String `boil:"first_name" json:"first_name,omitempty" toml:"first_name" yaml:"first_name,omitempty"`
	LastName            null.String `boil:"last_name" json:"last_name,omitempty" toml:"last_name" yaml:"last_name,omitempty"`
	AuthenticationToken null.String `` /* 131-byte string literal not displayed */
	ResetPasswordSentAt null.Time   `` /* 139-byte string literal not displayed */
	DepartmentID        null.Int    `boil:"department_id" json:"department_id,omitempty" toml:"department_id" yaml:"department_id,omitempty"`

	R *userR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

User is an object representing the database table.

func FindUser

func FindUser(exec boil.Executor, id int, selectCols ...string) (*User, error)

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

func FindUserG

func FindUserG(id int, selectCols ...string) (*User, error)

FindUserG retrieves a single record by ID.

func FindUserGP

func FindUserGP(id int, selectCols ...string) *User

FindUserGP retrieves a single record by ID, and panics on error.

func FindUserP

func FindUserP(exec boil.Executor, id int, selectCols ...string) *User

FindUserP retrieves a single record by ID with an executor, and panics on error.

func (*User) AddCatalogs

func (o *User) AddCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

AddCatalogs adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.User appropriately.

func (*User) AddCatalogsG

func (o *User) AddCatalogsG(insert bool, related ...*Catalog) error

AddCatalogsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.User appropriately. Uses the global database handle.

func (*User) AddCatalogsGP

func (o *User) AddCatalogsGP(insert bool, related ...*Catalog)

AddCatalogsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.User appropriately. Uses the global database handle and panics on error.

func (*User) AddCatalogsP

func (o *User) AddCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

AddCatalogsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Catalogs. Sets related.R.User appropriately. Panics on error.

func (*User) AddFileAssets

func (o *User) AddFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

AddFileAssets adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.User appropriately.

func (*User) AddFileAssetsG

func (o *User) AddFileAssetsG(insert bool, related ...*FileAsset) error

AddFileAssetsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.User appropriately. Uses the global database handle.

func (*User) AddFileAssetsGP

func (o *User) AddFileAssetsGP(insert bool, related ...*FileAsset)

AddFileAssetsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.User appropriately. Uses the global database handle and panics on error.

func (*User) AddFileAssetsP

func (o *User) AddFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

AddFileAssetsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.FileAssets. Sets related.R.User appropriately. Panics on error.

func (*User) AddRolesUsers

func (o *User) AddRolesUsers(exec boil.Executor, insert bool, related ...*RolesUser) error

AddRolesUsers adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.RolesUsers. Sets related.R.User appropriately.

func (*User) AddRolesUsersG

func (o *User) AddRolesUsersG(insert bool, related ...*RolesUser) error

AddRolesUsersG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.RolesUsers. Sets related.R.User appropriately. Uses the global database handle.

func (*User) AddRolesUsersGP

func (o *User) AddRolesUsersGP(insert bool, related ...*RolesUser)

AddRolesUsersGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.RolesUsers. Sets related.R.User appropriately. Uses the global database handle and panics on error.

func (*User) AddRolesUsersP

func (o *User) AddRolesUsersP(exec boil.Executor, insert bool, related ...*RolesUser)

AddRolesUsersP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.RolesUsers. Sets related.R.User appropriately. Panics on error.

func (*User) Catalogs

func (o *User) Catalogs(exec boil.Executor, mods ...qm.QueryMod) catalogQuery

Catalogs retrieves all the catalog's catalogs with an executor.

func (*User) CatalogsG

func (o *User) CatalogsG(mods ...qm.QueryMod) catalogQuery

CatalogsG retrieves all the catalog's catalogs.

func (*User) Delete

func (o *User) Delete(exec boil.Executor) error

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

func (*User) DeleteG

func (o *User) DeleteG() error

DeleteG deletes a single User record. DeleteG will match against the primary key column to find the record to delete.

func (*User) DeleteGP

func (o *User) DeleteGP()

DeleteGP deletes a single User record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*User) DeleteP

func (o *User) DeleteP(exec boil.Executor)

DeleteP deletes a single User record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*User) FileAssets

func (o *User) FileAssets(exec boil.Executor, mods ...qm.QueryMod) fileAssetQuery

FileAssets retrieves all the file_asset's file assets with an executor.

func (*User) FileAssetsG

func (o *User) FileAssetsG(mods ...qm.QueryMod) fileAssetQuery

FileAssetsG retrieves all the file_asset's file assets.

func (*User) Insert

func (o *User) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*User) InsertG

func (o *User) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*User) InsertGP

func (o *User) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*User) InsertP

func (o *User) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*User) Reload

func (o *User) Reload(exec boil.Executor) error

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

func (*User) ReloadG

func (o *User) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*User) ReloadGP

func (o *User) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*User) ReloadP

func (o *User) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*User) RemoveCatalogs

func (o *User) RemoveCatalogs(exec boil.Executor, related ...*Catalog) error

RemoveCatalogs relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.User.

func (*User) RemoveCatalogsG

func (o *User) RemoveCatalogsG(related ...*Catalog) error

RemoveCatalogsG relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.

func (*User) RemoveCatalogsGP

func (o *User) RemoveCatalogsGP(related ...*Catalog)

RemoveCatalogsGP relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.

func (*User) RemoveCatalogsP

func (o *User) RemoveCatalogsP(exec boil.Executor, related ...*Catalog)

RemoveCatalogsP relationships from objects passed in. Removes related items from R.Catalogs (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.

func (*User) RemoveFileAssets

func (o *User) RemoveFileAssets(exec boil.Executor, related ...*FileAsset) error

RemoveFileAssets relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.User.

func (*User) RemoveFileAssetsG

func (o *User) RemoveFileAssetsG(related ...*FileAsset) error

RemoveFileAssetsG relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.

func (*User) RemoveFileAssetsGP

func (o *User) RemoveFileAssetsGP(related ...*FileAsset)

RemoveFileAssetsGP relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.

func (*User) RemoveFileAssetsP

func (o *User) RemoveFileAssetsP(exec boil.Executor, related ...*FileAsset)

RemoveFileAssetsP relationships from objects passed in. Removes related items from R.FileAssets (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.

func (*User) RolesUsers

func (o *User) RolesUsers(exec boil.Executor, mods ...qm.QueryMod) rolesUserQuery

RolesUsers retrieves all the roles_user's roles users with an executor.

func (*User) RolesUsersG

func (o *User) RolesUsersG(mods ...qm.QueryMod) rolesUserQuery

RolesUsersG retrieves all the roles_user's roles users.

func (*User) SetCatalogs

func (o *User) SetCatalogs(exec boil.Executor, insert bool, related ...*Catalog) error

SetCatalogs removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.User's Catalogs accordingly.

func (*User) SetCatalogsG

func (o *User) SetCatalogsG(insert bool, related ...*Catalog) error

SetCatalogsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.User's Catalogs accordingly. Uses the global database handle.

func (*User) SetCatalogsGP

func (o *User) SetCatalogsGP(insert bool, related ...*Catalog)

SetCatalogsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.User's Catalogs accordingly. Uses the global database handle and panics on error.

func (*User) SetCatalogsP

func (o *User) SetCatalogsP(exec boil.Executor, insert bool, related ...*Catalog)

SetCatalogsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Catalogs accordingly. Replaces o.R.Catalogs with related. Sets related.R.User's Catalogs accordingly. Panics on error.

func (*User) SetFileAssets

func (o *User) SetFileAssets(exec boil.Executor, insert bool, related ...*FileAsset) error

SetFileAssets removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.User's FileAssets accordingly.

func (*User) SetFileAssetsG

func (o *User) SetFileAssetsG(insert bool, related ...*FileAsset) error

SetFileAssetsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.User's FileAssets accordingly. Uses the global database handle.

func (*User) SetFileAssetsGP

func (o *User) SetFileAssetsGP(insert bool, related ...*FileAsset)

SetFileAssetsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.User's FileAssets accordingly. Uses the global database handle and panics on error.

func (*User) SetFileAssetsP

func (o *User) SetFileAssetsP(exec boil.Executor, insert bool, related ...*FileAsset)

SetFileAssetsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's FileAssets accordingly. Replaces o.R.FileAssets with related. Sets related.R.User's FileAssets accordingly. Panics on error.

func (*User) Update

func (o *User) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the User. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*User) UpdateG

func (o *User) UpdateG(whitelist ...string) error

UpdateG a single User record. See Update for whitelist behavior description.

func (*User) UpdateGP

func (o *User) UpdateGP(whitelist ...string)

UpdateGP a single User record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*User) UpdateP

func (o *User) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the User, and panics on error. See Update for whitelist behavior description.

func (*User) Upsert

func (o *User) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*User) UpsertG

func (o *User) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*User) UpsertGP

func (o *User) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*User) UpsertP

func (o *User) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type UserSlice

type UserSlice []*User

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

func (UserSlice) DeleteAll

func (o UserSlice) DeleteAll(exec boil.Executor) error

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

func (UserSlice) DeleteAllG

func (o UserSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (UserSlice) DeleteAllGP

func (o UserSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (UserSlice) DeleteAllP

func (o UserSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*UserSlice) ReloadAll

func (o *UserSlice) ReloadAll(exec boil.Executor) error

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

func (*UserSlice) ReloadAllG

func (o *UserSlice) ReloadAllG() error

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

func (*UserSlice) ReloadAllGP

func (o *UserSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*UserSlice) ReloadAllP

func (o *UserSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (UserSlice) UpdateAll

func (o UserSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (UserSlice) UpdateAllG

func (o UserSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (UserSlice) UpdateAllGP

func (o UserSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (UserSlice) UpdateAllP

func (o UserSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

type VirtualLesson

type VirtualLesson struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	FilmDate  null.Time `boil:"film_date" json:"film_date,omitempty" toml:"film_date" yaml:"film_date,omitempty"`
	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"`
	UserID    null.Int  `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"`

	R *virtualLessonR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L virtualLessonL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

VirtualLesson is an object representing the database table.

func FindVirtualLesson

func FindVirtualLesson(exec boil.Executor, id int, selectCols ...string) (*VirtualLesson, error)

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

func FindVirtualLessonG

func FindVirtualLessonG(id int, selectCols ...string) (*VirtualLesson, error)

FindVirtualLessonG retrieves a single record by ID.

func FindVirtualLessonGP

func FindVirtualLessonGP(id int, selectCols ...string) *VirtualLesson

FindVirtualLessonGP retrieves a single record by ID, and panics on error.

func FindVirtualLessonP

func FindVirtualLessonP(exec boil.Executor, id int, selectCols ...string) *VirtualLesson

FindVirtualLessonP retrieves a single record by ID with an executor, and panics on error.

func (*VirtualLesson) AddContainers

func (o *VirtualLesson) AddContainers(exec boil.Executor, insert bool, related ...*Container) error

AddContainers adds the given related objects to the existing relationships of the virtual_lesson, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.VirtualLesson appropriately.

func (*VirtualLesson) AddContainersG

func (o *VirtualLesson) AddContainersG(insert bool, related ...*Container) error

AddContainersG adds the given related objects to the existing relationships of the virtual_lesson, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.VirtualLesson appropriately. Uses the global database handle.

func (*VirtualLesson) AddContainersGP

func (o *VirtualLesson) AddContainersGP(insert bool, related ...*Container)

AddContainersGP adds the given related objects to the existing relationships of the virtual_lesson, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.VirtualLesson appropriately. Uses the global database handle and panics on error.

func (*VirtualLesson) AddContainersP

func (o *VirtualLesson) AddContainersP(exec boil.Executor, insert bool, related ...*Container)

AddContainersP adds the given related objects to the existing relationships of the virtual_lesson, optionally inserting them as new records. Appends related to o.R.Containers. Sets related.R.VirtualLesson appropriately. Panics on error.

func (*VirtualLesson) Containers

func (o *VirtualLesson) Containers(exec boil.Executor, mods ...qm.QueryMod) containerQuery

Containers retrieves all the container's containers with an executor.

func (*VirtualLesson) ContainersG

func (o *VirtualLesson) ContainersG(mods ...qm.QueryMod) containerQuery

ContainersG retrieves all the container's containers.

func (*VirtualLesson) Delete

func (o *VirtualLesson) Delete(exec boil.Executor) error

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

func (*VirtualLesson) DeleteG

func (o *VirtualLesson) DeleteG() error

DeleteG deletes a single VirtualLesson record. DeleteG will match against the primary key column to find the record to delete.

func (*VirtualLesson) DeleteGP

func (o *VirtualLesson) DeleteGP()

DeleteGP deletes a single VirtualLesson record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*VirtualLesson) DeleteP

func (o *VirtualLesson) DeleteP(exec boil.Executor)

DeleteP deletes a single VirtualLesson record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*VirtualLesson) Insert

func (o *VirtualLesson) Insert(exec boil.Executor, whitelist ...string) error

Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)

func (*VirtualLesson) InsertG

func (o *VirtualLesson) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*VirtualLesson) InsertGP

func (o *VirtualLesson) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*VirtualLesson) InsertP

func (o *VirtualLesson) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*VirtualLesson) Reload

func (o *VirtualLesson) Reload(exec boil.Executor) error

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

func (*VirtualLesson) ReloadG

func (o *VirtualLesson) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*VirtualLesson) ReloadGP

func (o *VirtualLesson) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*VirtualLesson) ReloadP

func (o *VirtualLesson) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*VirtualLesson) RemoveContainers

func (o *VirtualLesson) RemoveContainers(exec boil.Executor, related ...*Container) error

RemoveContainers relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.VirtualLesson.

func (*VirtualLesson) RemoveContainersG

func (o *VirtualLesson) RemoveContainersG(related ...*Container) error

RemoveContainersG relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.VirtualLesson. Uses the global database handle.

func (*VirtualLesson) RemoveContainersGP

func (o *VirtualLesson) RemoveContainersGP(related ...*Container)

RemoveContainersGP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.VirtualLesson. Uses the global database handle and panics on error.

func (*VirtualLesson) RemoveContainersP

func (o *VirtualLesson) RemoveContainersP(exec boil.Executor, related ...*Container)

RemoveContainersP relationships from objects passed in. Removes related items from R.Containers (uses pointer comparison, removal does not keep order) Sets related.R.VirtualLesson. Panics on error.

func (*VirtualLesson) SetContainers

func (o *VirtualLesson) SetContainers(exec boil.Executor, insert bool, related ...*Container) error

SetContainers removes all previously related items of the virtual_lesson replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.VirtualLesson's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.VirtualLesson's Containers accordingly.

func (*VirtualLesson) SetContainersG

func (o *VirtualLesson) SetContainersG(insert bool, related ...*Container) error

SetContainersG removes all previously related items of the virtual_lesson replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.VirtualLesson's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.VirtualLesson's Containers accordingly. Uses the global database handle.

func (*VirtualLesson) SetContainersGP

func (o *VirtualLesson) SetContainersGP(insert bool, related ...*Container)

SetContainersGP removes all previously related items of the virtual_lesson replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.VirtualLesson's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.VirtualLesson's Containers accordingly. Uses the global database handle and panics on error.

func (*VirtualLesson) SetContainersP

func (o *VirtualLesson) SetContainersP(exec boil.Executor, insert bool, related ...*Container)

SetContainersP removes all previously related items of the virtual_lesson replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.VirtualLesson's Containers accordingly. Replaces o.R.Containers with related. Sets related.R.VirtualLesson's Containers accordingly. Panics on error.

func (*VirtualLesson) Update

func (o *VirtualLesson) Update(exec boil.Executor, whitelist ...string) error

Update uses an executor to update the VirtualLesson. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*VirtualLesson) UpdateG

func (o *VirtualLesson) UpdateG(whitelist ...string) error

UpdateG a single VirtualLesson record. See Update for whitelist behavior description.

func (*VirtualLesson) UpdateGP

func (o *VirtualLesson) UpdateGP(whitelist ...string)

UpdateGP a single VirtualLesson record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.

func (*VirtualLesson) UpdateP

func (o *VirtualLesson) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the VirtualLesson, and panics on error. See Update for whitelist behavior description.

func (*VirtualLesson) Upsert

func (o *VirtualLesson) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict.

func (*VirtualLesson) UpsertG

func (o *VirtualLesson) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*VirtualLesson) UpsertGP

func (o *VirtualLesson) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*VirtualLesson) UpsertP

func (o *VirtualLesson) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

type VirtualLessonSlice

type VirtualLessonSlice []*VirtualLesson

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

func (VirtualLessonSlice) DeleteAll

func (o VirtualLessonSlice) DeleteAll(exec boil.Executor) error

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

func (VirtualLessonSlice) DeleteAllG

func (o VirtualLessonSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (VirtualLessonSlice) DeleteAllGP

func (o VirtualLessonSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (VirtualLessonSlice) DeleteAllP

func (o VirtualLessonSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*VirtualLessonSlice) ReloadAll

func (o *VirtualLessonSlice) ReloadAll(exec boil.Executor) error

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

func (*VirtualLessonSlice) ReloadAllG

func (o *VirtualLessonSlice) ReloadAllG() error

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

func (*VirtualLessonSlice) ReloadAllGP

func (o *VirtualLessonSlice) ReloadAllGP()

ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (*VirtualLessonSlice) ReloadAllP

func (o *VirtualLessonSlice) ReloadAllP(exec boil.Executor)

ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.

func (VirtualLessonSlice) UpdateAll

func (o VirtualLessonSlice) UpdateAll(exec boil.Executor, cols M) error

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

func (VirtualLessonSlice) UpdateAllG

func (o VirtualLessonSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (VirtualLessonSlice) UpdateAllGP

func (o VirtualLessonSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (VirtualLessonSlice) UpdateAllP

func (o VirtualLessonSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP updates all rows with the specified column values, and panics on error.

Jump to

Keyboard shortcuts

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