models

package
v0.0.0-...-7bcc545 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: Apache-2.0, MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddressColumns = struct {
	AddressID      string
	StreetID       string
	StreetNumber   string
	BuildingUnit   string
	IsBuildingUnit string
	PostCode       string
}{
	AddressID:      "address_id",
	StreetID:       "street_id",
	StreetNumber:   "street_number",
	BuildingUnit:   "building_unit",
	IsBuildingUnit: "is_building_unit",
	PostCode:       "post_code",
}
View Source
var AddressRels = struct {
	Street            string
	UserPersonalInfos string
}{
	Street:            "Street",
	UserPersonalInfos: "UserPersonalInfos",
}

AddressRels is where relationship names are stored.

View Source
var ColorColumns = struct {
	ColorID     string
	RGBHexValue string
}{
	ColorID:     "color_id",
	RGBHexValue: "rgb_hex_value",
}
View Source
var ColorRels = struct {
	PollsFactorsPositions string
}{
	PollsFactorsPositions: "PollsFactorsPositions",
}

ColorRels is where relationship names are stored.

View Source
var ContinentColumns = struct {
	ContinentID       string
	ContinentCode     string
	ContinentName     string
	ContinentFullName string
	CreatedDate       string
	ContinentID2      string
}{
	ContinentID:       "continent_id",
	ContinentCode:     "continent_code",
	ContinentName:     "continent_name",
	ContinentFullName: "continent_full_name",
	CreatedDate:       "created_date",
	ContinentID2:      "continent_id_2",
}
View Source
var ContinentRels = struct {
	Countries       string
	PollsContinents string
}{
	Countries:       "Countries",
	PollsContinents: "PollsContinents",
}

ContinentRels is where relationship names are stored.

View Source
var CountryColumns = struct {
	CountryID       string
	CountryCode     string
	CountryCode3    string
	CountryName     string
	CountryFullName string
	CreatedDate     string
	ExpiredDate     string
	ContinentID     string
}{
	CountryID:       "country_id",
	CountryCode:     "country_code",
	CountryCode3:    "country_code3",
	CountryName:     "country_name",
	CountryFullName: "country_full_name",
	CreatedDate:     "created_date",
	ExpiredDate:     "expired_date",
	ContinentID:     "continent_id",
}
View Source
var CountryRels = struct {
	Continent            string
	EthnicGroupCountries string
	PollsCountries       string
	States               string
}{
	Continent:            "Continent",
	EthnicGroupCountries: "EthnicGroupCountries",
	PollsCountries:       "PollsCountries",
	States:               "States",
}

CountryRels is where relationship names are stored.

View Source
var CountyColumns = struct {
	CountyID   string
	StateID    string
	CountyCode string
	CountyName string
}{
	CountyID:   "county_id",
	StateID:    "state_id",
	CountyCode: "county_code",
	CountyName: "county_name",
}
View Source
var CountyRels = struct {
	State         string
	PollsCounties string
}{
	State:         "State",
	PollsCounties: "PollsCounties",
}

CountyRels is where relationship names are stored.

View Source
var DesignPatternColumns = struct {
	DesignPatternID   string
	DesignPatternName string
}{
	DesignPatternID:   "design_pattern_id",
	DesignPatternName: "design_pattern_name",
}
View Source
var DesignPatternRels = struct {
	PollsFactorsPositions string
	Positions             string
}{
	PollsFactorsPositions: "PollsFactorsPositions",
	Positions:             "Positions",
}

DesignPatternRels is where relationship names are stored.

View Source
var EmailAddressColumns = struct {
	EmailName     string
	EmailDomainID string
	UserAccountID string
	CreatedAt     string
}{
	EmailName:     "email_name",
	EmailDomainID: "email_domain_id",
	UserAccountID: "user_account_id",
	CreatedAt:     "created_at",
}
View Source
var EmailAddressRels = struct {
	UserAccount string
	EmailDomain string
}{
	UserAccount: "UserAccount",
	EmailDomain: "EmailDomain",
}

EmailAddressRels is where relationship names are stored.

View Source
var EmailDomainColumns = struct {
	EmailDomainID   string
	EmailDomainName string
	UserAccountID   string
	CreatedAt       string
}{
	EmailDomainID:   "email_domain_id",
	EmailDomainName: "email_domain_name",
	UserAccountID:   "user_account_id",
	CreatedAt:       "created_at",
}
View Source
var EmailDomainRels = struct {
	UserAccount    string
	EmailAddresses string
}{
	UserAccount:    "UserAccount",
	EmailAddresses: "EmailAddresses",
}

EmailDomainRels is where relationship names are stored.

View Source
var EmojiColumns = struct {
	EmojiID  string
	CSSClass string
}{
	EmojiID:  "emoji_id",
	CSSClass: "css_class",
}
View Source
var EmojiRels = struct {
	PollsFactorsPositions string
	Positions             string
}{
	PollsFactorsPositions: "PollsFactorsPositions",
	Positions:             "Positions",
}

EmojiRels is where relationship names are stored.

View Source
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")

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

View Source
var EthnicGroupColumns = struct {
	EthnicGroupID   string
	EthnicGroupCode string
	EthnicGroupName string
}{
	EthnicGroupID:   "ethnic_group_id",
	EthnicGroupCode: "ethnic_group_code",
	EthnicGroupName: "ethnic_group_name",
}
View Source
var EthnicGroupCountryColumns = struct {
	EthnicGroupCountryID string
	EthnicGroupID        string
	CountryID            string
}{
	EthnicGroupCountryID: "ethnic_group_country_id",
	EthnicGroupID:        "ethnic_group_id",
	CountryID:            "country_id",
}
View Source
var EthnicGroupCountryRels = struct {
	EthnicGroup string
	Country     string
}{
	EthnicGroup: "EthnicGroup",
	Country:     "Country",
}

EthnicGroupCountryRels is where relationship names are stored.

View Source
var EthnicGroupRels = struct {
	EthnicGroupCountries string
	EthnicSubgroups      string
}{
	EthnicGroupCountries: "EthnicGroupCountries",
	EthnicSubgroups:      "EthnicSubgroups",
}

EthnicGroupRels is where relationship names are stored.

View Source
var EthnicSubgroupColumns = struct {
	EthnicSubgroupID   string
	EthnicSubgroupCode string
	EthnicSubgroupName string
	EthnicGroupID      string
}{
	EthnicSubgroupID:   "ethnic_subgroup_id",
	EthnicSubgroupCode: "ethnic_subgroup_code",
	EthnicSubgroupName: "ethnic_subgroup_name",
	EthnicGroupID:      "ethnic_group_id",
}
View Source
var EthnicSubgroupRels = struct {
	EthnicGroup            string
	UserAccountEthnicities string
}{
	EthnicGroup:            "EthnicGroup",
	UserAccountEthnicities: "UserAccountEthnicities",
}

EthnicSubgroupRels is where relationship names are stored.

View Source
var FactorColumns = struct {
	FactorID          string
	ParentFactorID    string
	UserAccountID     string
	FactorName        string
	FactorDescription string
	CreatedAt         string
}{
	FactorID:          "factor_id",
	ParentFactorID:    "parent_factor_id",
	UserAccountID:     "user_account_id",
	FactorName:        "factor_name",
	FactorDescription: "factor_description",
	CreatedAt:         "created_at",
}
View Source
var FactorPositionColumns = struct {
	FactorPositionID string
	FactorID         string
	PositionID       string
	UserAccountID    string
	CreatedAt        string
}{
	FactorPositionID: "factor_position_id",
	FactorID:         "factor_id",
	PositionID:       "position_id",
	UserAccountID:    "user_account_id",
	CreatedAt:        "created_at",
}
View Source
var FactorPositionRels = struct {
	Position              string
	Factor                string
	PollsFactorsPositions string
}{
	Position:              "Position",
	Factor:                "Factor",
	PollsFactorsPositions: "PollsFactorsPositions",
}

FactorPositionRels is where relationship names are stored.

View Source
var FactorRels = struct {
	UserAccount         string
	ParentFactor        string
	FactorPositions     string
	ParentFactorFactors string
	FactorsLinks        string
}{
	UserAccount:         "UserAccount",
	ParentFactor:        "ParentFactor",
	FactorPositions:     "FactorPositions",
	ParentFactorFactors: "ParentFactorFactors",
	FactorsLinks:        "FactorsLinks",
}

FactorRels is where relationship names are stored.

View Source
var FactorsLinkColumns = struct {
	FactorsLinkID string
	FactorsID     string
	LinksID       string
	UserAccountID string
	CreatedAt     string
}{
	FactorsLinkID: "factors_link_id",
	FactorsID:     "factors_id",
	LinksID:       "links_id",
	UserAccountID: "user_account_id",
	CreatedAt:     "created_at",
}
View Source
var FactorsLinkRels = struct {
	UserAccount string
	Link        string
	Factor      string
}{
	UserAccount: "UserAccount",
	Link:        "Link",
	Factor:      "Factor",
}

FactorsLinkRels is where relationship names are stored.

View Source
var HonorColumns = struct {
	HonorID   string
	HonorName string
}{
	HonorID:   "honor_id",
	HonorName: "honor_name",
}
View Source
var HonorRels = struct {
	UserPersonalInfoHonors string
}{
	UserPersonalInfoHonors: "UserPersonalInfoHonors",
}

HonorRels is where relationship names are stored.

View Source
var LabelColumns = struct {
	LabelID       string
	Name          string
	Description   string
	UserAccountID string
	CreatedAt     string
}{
	LabelID:       "label_id",
	Name:          "name",
	Description:   "description",
	UserAccountID: "user_account_id",
	CreatedAt:     "created_at",
}
View Source
var LabelRels = struct {
	UserAccount string
	PollsLabels string
}{
	UserAccount: "UserAccount",
	PollsLabels: "PollsLabels",
}

LabelRels is where relationship names are stored.

View Source
var LinkColumns = struct {
	LinkID        string
	LinkServer    string
	LinkAddres    string
	UserAccountID string
	CreatedAt     string
}{
	LinkID:        "link_id",
	LinkServer:    "link_server",
	LinkAddres:    "link_addres",
	UserAccountID: "user_account_id",
	CreatedAt:     "created_at",
}
View Source
var LinkRels = struct {
	UserAccount   string
	FactorsLinks  string
	MessagesLinks string
	PollsLinks    string
}{
	UserAccount:   "UserAccount",
	FactorsLinks:  "FactorsLinks",
	MessagesLinks: "MessagesLinks",
	PollsLinks:    "PollsLinks",
}

LinkRels is where relationship names are stored.

View Source
var MessageColumns = struct {
	MessageID       string
	ParentMessageID string
	UserAccountID   string
	MessageSubject  string
	MessageText     string
	MessageType     string
	CreatedAt       string
}{
	MessageID:       "message_id",
	ParentMessageID: "parent_message_id",
	UserAccountID:   "user_account_id",
	MessageSubject:  "message_subject",
	MessageText:     "message_text",
	MessageType:     "message_type",
	CreatedAt:       "created_at",
}
View Source
var MessageRels = struct {
	UserAccount          string
	ParentMessage        string
	ParentMessageMessage string
	MessagesLinks        string
	PollsMessages        string
}{
	UserAccount:          "UserAccount",
	ParentMessage:        "ParentMessage",
	ParentMessageMessage: "ParentMessageMessage",
	MessagesLinks:        "MessagesLinks",
	PollsMessages:        "PollsMessages",
}

MessageRels is where relationship names are stored.

View Source
var MessagesLinkColumns = struct {
	MessageLinkID string
	MessageID     string
	LinkID        string
}{
	MessageLinkID: "message_link_id",
	MessageID:     "message_id",
	LinkID:        "link_id",
}
View Source
var MessagesLinkRels = struct {
	Message string
	Link    string
}{
	Message: "Message",
	Link:    "Link",
}

MessagesLinkRels is where relationship names are stored.

View Source
var NameAfterLastNameColumns = struct {
	NameAfterLastNameID string
	NameAfterLastName   string
}{
	NameAfterLastNameID: "name_after_last_name_id",
	NameAfterLastName:   "name_after_last_name",
}
View Source
var NameAfterLastNameRels = struct {
	UserAccounts string
}{
	UserAccounts: "UserAccounts",
}

NameAfterLastNameRels is where relationship names are stored.

View Source
var PersonTypeColumns = struct {
	PersonTypeID   string
	PersonTypeName string
}{
	PersonTypeID:   "person_type_id",
	PersonTypeName: "person_type_name",
}
View Source
var PersonTypeRels = struct {
	UserPersonalInfos string
}{
	UserPersonalInfos: "UserPersonalInfos",
}

PersonTypeRels is where relationship names are stored.

View Source
var PollColumns = struct {
	PollID          string
	ParentPollID    string
	UserAccountID   string
	PollTitle       string
	PollDescription string
	ThemeID         string
	CreatedAt       string
	StartDate       string
	EndDate         string
}{
	PollID:          "poll_id",
	ParentPollID:    "parent_poll_id",
	UserAccountID:   "user_account_id",
	PollTitle:       "poll_title",
	PollDescription: "poll_description",
	ThemeID:         "theme_id",
	CreatedAt:       "created_at",
	StartDate:       "start_date",
	EndDate:         "end_date",
}
View Source
var PollRels = struct {
	UserAccount           string
	ParentPoll            string
	Theme                 string
	ParentPollPoll        string
	PollsContinents       string
	PollsCountries        string
	PollsCounties         string
	PollsFactorsPositions string
	PollsLabels           string
	PollsLinks            string
	PollsMessages         string
	PollsPollsGroups      string
	PollsStates           string
	PollsTowns            string
	Votes                 string
}{
	UserAccount:           "UserAccount",
	ParentPoll:            "ParentPoll",
	Theme:                 "Theme",
	ParentPollPoll:        "ParentPollPoll",
	PollsContinents:       "PollsContinents",
	PollsCountries:        "PollsCountries",
	PollsCounties:         "PollsCounties",
	PollsFactorsPositions: "PollsFactorsPositions",
	PollsLabels:           "PollsLabels",
	PollsLinks:            "PollsLinks",
	PollsMessages:         "PollsMessages",
	PollsPollsGroups:      "PollsPollsGroups",
	PollsStates:           "PollsStates",
	PollsTowns:            "PollsTowns",
	Votes:                 "Votes",
}

PollRels is where relationship names are stored.

View Source
var PollsContinentColumns = struct {
	PollContinentID string
	PollID          string
	ContinentID     string
}{
	PollContinentID: "poll_continent_id",
	PollID:          "poll_id",
	ContinentID:     "continent_id",
}
View Source
var PollsContinentRels = struct {
	Poll      string
	Continent string
}{
	Poll:      "Poll",
	Continent: "Continent",
}

PollsContinentRels is where relationship names are stored.

View Source
var PollsCountryColumns = struct {
	PollCountryID string
	PollID        string
	CountryID     string
}{
	PollCountryID: "poll_country_id",
	PollID:        "poll_id",
	CountryID:     "country_id",
}
View Source
var PollsCountryRels = struct {
	Poll    string
	Country string
}{
	Poll:    "Poll",
	Country: "Country",
}

PollsCountryRels is where relationship names are stored.

View Source
var PollsCountyColumns = struct {
	PollCountyID string
	PollID       string
	CountyID     string
}{
	PollCountyID: "poll_county_id",
	PollID:       "poll_id",
	CountyID:     "county_id",
}
View Source
var PollsCountyRels = struct {
	Poll   string
	County string
}{
	Poll:   "Poll",
	County: "County",
}

PollsCountyRels is where relationship names are stored.

View Source
var PollsFactorsPositionColumns = struct {
	PollFactorPositionID string
	FactorPositionID     string
	PollID               string
	FactorCoordinateAxis string
	PositionOrientation  string
	ColorID              string
	DesignPatternID      string
	EmojiID              string
}{
	PollFactorPositionID: "poll_factor_position_id",
	FactorPositionID:     "factor_position_id",
	PollID:               "poll_id",
	FactorCoordinateAxis: "factor_coordinate_axis",
	PositionOrientation:  "position_orientation",
	ColorID:              "color_id",
	DesignPatternID:      "design_pattern_id",
	EmojiID:              "emoji_id",
}
View Source
var PollsFactorsPositionRels = struct {
	Poll                     string
	FactorPosition           string
	Emoji                    string
	DesignPattern            string
	Color                    string
	ZPollFactorPositionVotes string
	YPollFactorPositionVotes string
	XPollFactorPositionVotes string
}{
	Poll:                     "Poll",
	FactorPosition:           "FactorPosition",
	Emoji:                    "Emoji",
	DesignPattern:            "DesignPattern",
	Color:                    "Color",
	ZPollFactorPositionVotes: "ZPollFactorPositionVotes",
	YPollFactorPositionVotes: "YPollFactorPositionVotes",
	XPollFactorPositionVotes: "XPollFactorPositionVotes",
}

PollsFactorsPositionRels is where relationship names are stored.

View Source
var PollsGroupColumns = struct {
	PollGroupID          string
	PollGroupName        string
	PollGroupDescription string
	UserAccountID        string
	ThemeID              string
	CreatedAt            string
}{
	PollGroupID:          "poll_group_id",
	PollGroupName:        "poll_group_name",
	PollGroupDescription: "poll_group_description",
	UserAccountID:        "user_account_id",
	ThemeID:              "theme_id",
	CreatedAt:            "created_at",
}
View Source
var PollsGroupRels = struct {
	UserAccount               string
	Theme                     string
	PollGroupPollsPollsGroups string
}{
	UserAccount:               "UserAccount",
	Theme:                     "Theme",
	PollGroupPollsPollsGroups: "PollGroupPollsPollsGroups",
}

PollsGroupRels is where relationship names are stored.

View Source
var PollsGroupsLinkColumns = struct {
	PollGroupLinkID string
	PollGroupID     string
	LinkID          string
	UserAccountID   string
	CreatedAt       string
}{
	PollGroupLinkID: "poll_group_link_id",
	PollGroupID:     "poll_group_id",
	LinkID:          "link_id",
	UserAccountID:   "user_account_id",
	CreatedAt:       "created_at",
}
View Source
var PollsGroupsLinkRels = struct {
}{}

PollsGroupsLinkRels is where relationship names are stored.

View Source
var PollsLabelColumns = struct {
	PollLabelID   string
	PollID        string
	LabelID       string
	UserAccountID string
	CreatedAt     string
}{
	PollLabelID:   "poll_label_id",
	PollID:        "poll_id",
	LabelID:       "label_id",
	UserAccountID: "user_account_id",
	CreatedAt:     "created_at",
}
View Source
var PollsLabelRels = struct {
	UserAccount string
	Poll        string
	Label       string
}{
	UserAccount: "UserAccount",
	Poll:        "Poll",
	Label:       "Label",
}

PollsLabelRels is where relationship names are stored.

View Source
var PollsLinkColumns = struct {
	PollLinkID    string
	PollID        string
	LinkID        string
	UserAccountID string
	CreatedAt     string
}{
	PollLinkID:    "poll_link_id",
	PollID:        "poll_id",
	LinkID:        "link_id",
	UserAccountID: "user_account_id",
	CreatedAt:     "created_at",
}
View Source
var PollsLinkRels = struct {
	UserAccount string
	Poll        string
	Link        string
}{
	UserAccount: "UserAccount",
	Poll:        "Poll",
	Link:        "Link",
}

PollsLinkRels is where relationship names are stored.

View Source
var PollsMessageColumns = struct {
	PollMessageID string
	MessageID     string
	PollID        string
}{
	PollMessageID: "poll_message_id",
	MessageID:     "message_id",
	PollID:        "poll_id",
}
View Source
var PollsMessageRels = struct {
	Poll    string
	Message string
}{
	Poll:    "Poll",
	Message: "Message",
}

PollsMessageRels is where relationship names are stored.

View Source
var PollsPollsGroupColumns = struct {
	PollPollGroupID string
	PollGroupID     string
	PollID          string
	UserAccountID   string
	CreatedAt       string
}{
	PollPollGroupID: "poll_poll_group_id",
	PollGroupID:     "poll_group_id",
	PollID:          "poll_id",
	UserAccountID:   "user_account_id",
	CreatedAt:       "created_at",
}
View Source
var PollsPollsGroupRels = struct {
	UserAccount string
	Poll        string
	PollGroup   string
}{
	UserAccount: "UserAccount",
	Poll:        "Poll",
	PollGroup:   "PollGroup",
}

PollsPollsGroupRels is where relationship names are stored.

View Source
var PollsStateColumns = struct {
	PollStateID string
	PollID      string
	StateID     string
}{
	PollStateID: "poll_state_id",
	PollID:      "poll_id",
	StateID:     "state_id",
}
View Source
var PollsStateRels = struct {
	State string
	Poll  string
}{
	State: "State",
	Poll:  "Poll",
}

PollsStateRels is where relationship names are stored.

View Source
var PollsTownColumns = struct {
	PollTownID string
	PollID     string
	TownID     string
}{
	PollTownID: "poll_town_id",
	PollID:     "poll_id",
	TownID:     "town_id",
}
View Source
var PollsTownRels = struct {
	Town string
	Poll string
}{
	Town: "Town",
	Poll: "Poll",
}

PollsTownRels is where relationship names are stored.

View Source
var PositionColumns = struct {
	PositionID          string
	ParentPositionID    string
	PositionDescription string
	UserAccountID       string
	DesignPatternID     string
	EmojiID             string
	CreatedAt           string
}{
	PositionID:          "position_id",
	ParentPositionID:    "parent_position_id",
	PositionDescription: "position_description",
	UserAccountID:       "user_account_id",
	DesignPatternID:     "design_pattern_id",
	EmojiID:             "emoji_id",
	CreatedAt:           "created_at",
}
View Source
var PositionRels = struct {
	UserAccount     string
	Emoji           string
	DesignPattern   string
	FactorPositions string
}{
	UserAccount:     "UserAccount",
	Emoji:           "Emoji",
	DesignPattern:   "DesignPattern",
	FactorPositions: "FactorPositions",
}

PositionRels is where relationship names are stored.

View Source
var PrefixLastNameColumns = struct {
	PrefixLastNameID string
	PrefixLastName   string
}{
	PrefixLastNameID: "prefix_last_name_id",
	PrefixLastName:   "prefix_last_name",
}
View Source
var PrefixLastNameRels = struct {
	UserAccounts string
}{
	UserAccounts: "UserAccounts",
}

PrefixLastNameRels is where relationship names are stored.

View Source
var StateColumns = struct {
	StateID       string
	CountryID     string
	TimezoneID    string
	StateCode     string
	StateName     string
	StateFullName string
}{
	StateID:       "state_id",
	CountryID:     "country_id",
	TimezoneID:    "timezone_id",
	StateCode:     "state_code",
	StateName:     "state_name",
	StateFullName: "state_full_name",
}
View Source
var StateRels = struct {
	Timezone    string
	Country     string
	Counties    string
	PollsStates string
	Towns       string
}{
	Timezone:    "Timezone",
	Country:     "Country",
	Counties:    "Counties",
	PollsStates: "PollsStates",
	Towns:       "Towns",
}

StateRels is where relationship names are stored.

View Source
var StreetColumns = struct {
	StreetID     string
	StreetNameID string
	StreetTypeID string
	SuburbID     string
}{
	StreetID:     "street_id",
	StreetNameID: "street_name_id",
	StreetTypeID: "street_type_id",
	SuburbID:     "suburb_id",
}
View Source
var StreetNameColumns = struct {
	StreetNameID string
	StreetName   string
}{
	StreetNameID: "street_name_id",
	StreetName:   "street_name",
}
View Source
var StreetNameRels = struct {
	Streets string
}{
	Streets: "Streets",
}

StreetNameRels is where relationship names are stored.

View Source
var StreetRels = struct {
	Suburb     string
	StreetType string
	StreetName string
	Addresses  string
}{
	Suburb:     "Suburb",
	StreetType: "StreetType",
	StreetName: "StreetName",
	Addresses:  "Addresses",
}

StreetRels is where relationship names are stored.

View Source
var StreetTypeColumns = struct {
	StreetTypeID string
	StreetType   string
}{
	StreetTypeID: "street_type_id",
	StreetType:   "street_type",
}
View Source
var StreetTypeRels = struct {
	Streets string
}{
	Streets: "Streets",
}

StreetTypeRels is where relationship names are stored.

View Source
var SuburbColumns = struct {
	SuburbID   string
	TownID     string
	SuburbCode string
	SuburbName string
	Longitude  string
	Latitude   string
}{
	SuburbID:   "suburb_id",
	TownID:     "town_id",
	SuburbCode: "suburb_code",
	SuburbName: "suburb_name",
	Longitude:  "longitude",
	Latitude:   "latitude",
}
View Source
var SuburbRels = struct {
	Town    string
	Streets string
}{
	Town:    "Town",
	Streets: "Streets",
}

SuburbRels is where relationship names are stored.

View Source
var SuffixColumns = struct {
	SuffixID   string
	SuffixName string
}{
	SuffixID:   "suffix_id",
	SuffixName: "suffix_name",
}
View Source
var SuffixRels = struct {
	UserAccountSuffixes string
}{
	UserAccountSuffixes: "UserAccountSuffixes",
}

SuffixRels is where relationship names are stored.

View Source
var TableNames = struct {
	Address                            string
	Colors                             string
	Continent                          string
	Country                            string
	County                             string
	DesignPatterns                     string
	EmailAddress                       string
	EmailDomain                        string
	Emoji                              string
	EthnicGroup                        string
	EthnicGroupCountry                 string
	EthnicSubgroup                     string
	FactorPositions                    string
	Factors                            string
	FactorsLinks                       string
	Honors                             string
	Labels                             string
	Links                              string
	Messages                           string
	MessagesLinks                      string
	NameAfterLastName                  string
	PersonType                         string
	Polls                              string
	PollsContinent                     string
	PollsCountry                       string
	PollsCounty                        string
	PollsFactorsPositions              string
	PollsGroups                        string
	PollsGroupsLinks                   string
	PollsLabels                        string
	PollsLinks                         string
	PollsMessages                      string
	PollsPollsGroups                   string
	PollsState                         string
	PollsTown                          string
	Positions                          string
	PrefixLastName                     string
	State                              string
	Street                             string
	StreetName                         string
	StreetType                         string
	Suburb                             string
	Suffix                             string
	Themes                             string
	Timezone                           string
	Title                              string
	TitleAfterLastName                 string
	Town                               string
	UserAccount                        string
	UserAccountEthnicity               string
	UserAccountSuffix                  string
	UserPersonalInfo                   string
	UserPersonalInfoHonors             string
	UserPersonalInfoTitle              string
	UserPersonalInfoTitleAfterLastName string
	Vote                               string
}{
	Address:                            "address",
	Colors:                             "colors",
	Continent:                          "continent",
	Country:                            "country",
	County:                             "county",
	DesignPatterns:                     "design_patterns",
	EmailAddress:                       "email_address",
	EmailDomain:                        "email_domain",
	Emoji:                              "emoji",
	EthnicGroup:                        "ethnic_group",
	EthnicGroupCountry:                 "ethnic_group_country",
	EthnicSubgroup:                     "ethnic_subgroup",
	FactorPositions:                    "factor_positions",
	Factors:                            "factors",
	FactorsLinks:                       "factors_links",
	Honors:                             "honors",
	Labels:                             "labels",
	Links:                              "links",
	Messages:                           "messages",
	MessagesLinks:                      "messages_links",
	NameAfterLastName:                  "name_after_last_name",
	PersonType:                         "person_type",
	Polls:                              "polls",
	PollsContinent:                     "polls_continent",
	PollsCountry:                       "polls_country",
	PollsCounty:                        "polls_county",
	PollsFactorsPositions:              "polls_factors_positions",
	PollsGroups:                        "polls_groups",
	PollsGroupsLinks:                   "polls_groups_links",
	PollsLabels:                        "polls_labels",
	PollsLinks:                         "polls_links",
	PollsMessages:                      "polls_messages",
	PollsPollsGroups:                   "polls_polls_groups",
	PollsState:                         "polls_state",
	PollsTown:                          "polls_town",
	Positions:                          "positions",
	PrefixLastName:                     "prefix_last_name",
	State:                              "state",
	Street:                             "street",
	StreetName:                         "street_name",
	StreetType:                         "street_type",
	Suburb:                             "suburb",
	Suffix:                             "suffix",
	Themes:                             "themes",
	Timezone:                           "timezone",
	Title:                              "title",
	TitleAfterLastName:                 "title_after_last_name",
	Town:                               "town",
	UserAccount:                        "user_account",
	UserAccountEthnicity:               "user_account_ethnicity",
	UserAccountSuffix:                  "user_account_suffix",
	UserPersonalInfo:                   "user_personal_info",
	UserPersonalInfoHonors:             "user_personal_info_honors",
	UserPersonalInfoTitle:              "user_personal_info_title",
	UserPersonalInfoTitleAfterLastName: "user_personal_info_title_after_last_name",
	Vote:                               "vote",
}
View Source
var ThemeColumns = struct {
	ThemeID     string
	Name        string
	Description string
	CreatedAt   string
}{
	ThemeID:     "theme_id",
	Name:        "name",
	Description: "description",
	CreatedAt:   "created_at",
}
View Source
var ThemeRels = struct {
	Polls       string
	PollsGroups string
}{
	Polls:       "Polls",
	PollsGroups: "PollsGroups",
}

ThemeRels is where relationship names are stored.

View Source
var TimezoneColumns = struct {
	TimezoneID     string
	TimezoneName   string
	TimezoneOffset string
}{
	TimezoneID:     "timezone_id",
	TimezoneName:   "timezone_name",
	TimezoneOffset: "timezone_offset",
}
View Source
var TimezoneRels = struct {
	States string
}{
	States: "States",
}

TimezoneRels is where relationship names are stored.

View Source
var TitleAfterLastNameColumns = struct {
	TitleAfterLastNameID string
	TitleAfterLastName   string
}{
	TitleAfterLastNameID: "title_after_last_name_id",
	TitleAfterLastName:   "title_after_last_name",
}
View Source
var TitleAfterLastNameRels = struct {
	UserPersonalInfoTitleAfterLastNames string
}{
	UserPersonalInfoTitleAfterLastNames: "UserPersonalInfoTitleAfterLastNames",
}

TitleAfterLastNameRels is where relationship names are stored.

View Source
var TitleColumns = struct {
	TitleID   string
	TitleName string
}{
	TitleID:   "title_id",
	TitleName: "title_name",
}
View Source
var TitleRels = struct {
	UserPersonalInfoTitles string
}{
	UserPersonalInfoTitles: "UserPersonalInfoTitles",
}

TitleRels is where relationship names are stored.

View Source
var TownColumns = struct {
	TownID   string
	StateID  string
	TownCode string
	TownName string
}{
	TownID:   "town_id",
	StateID:  "state_id",
	TownCode: "town_code",
	TownName: "town_name",
}
View Source
var TownRels = struct {
	State      string
	PollsTowns string
	Suburbs    string
}{
	State:      "State",
	PollsTowns: "PollsTowns",
	Suburbs:    "Suburbs",
}

TownRels is where relationship names are stored.

View Source
var UserAccountColumns = struct {
	UserAccountID        string
	UserName             string
	FirstName            string
	MiddleNameOrInitials string
	PrefixLastNameID     string
	LastName             string
	NameAfterLastNameID  string
	BirthDate            string
	CreatedAt            string
}{
	UserAccountID:        "user_account_id",
	UserName:             "user_name",
	FirstName:            "first_name",
	MiddleNameOrInitials: "middle_name_or_initials",
	PrefixLastNameID:     "prefix_last_name_id",
	LastName:             "last_name",
	NameAfterLastNameID:  "name_after_last_name_id",
	BirthDate:            "birth_date",
	CreatedAt:            "created_at",
}
View Source
var UserAccountEthnicityColumns = struct {
	UserAccountEthnicityID string
	UserAccountID          string
	EthnicSubgroupID       string
	EthnicityPercent       string
}{
	UserAccountEthnicityID: "user_account_ethnicity_id",
	UserAccountID:          "user_account_id",
	EthnicSubgroupID:       "ethnic_subgroup_id",
	EthnicityPercent:       "ethnicity_percent",
}
View Source
var UserAccountEthnicityRels = struct {
	UserAccount    string
	EthnicSubgroup string
}{
	UserAccount:    "UserAccount",
	EthnicSubgroup: "EthnicSubgroup",
}

UserAccountEthnicityRels is where relationship names are stored.

View Source
var UserAccountRels = struct {
	PrefixLastName         string
	NameAfterLastName      string
	EmailAddresses         string
	EmailDomains           string
	Factors                string
	FactorsLinks           string
	Labels                 string
	Links                  string
	Messages               string
	Polls                  string
	PollsGroups            string
	PollsLabels            string
	PollsLinks             string
	PollsPollsGroups       string
	Positions              string
	UserAccountEthnicities string
	UserAccountSuffixes    string
	UserPersonalInfos      string
	Votes                  string
}{
	PrefixLastName:         "PrefixLastName",
	NameAfterLastName:      "NameAfterLastName",
	EmailAddresses:         "EmailAddresses",
	EmailDomains:           "EmailDomains",
	Factors:                "Factors",
	FactorsLinks:           "FactorsLinks",
	Labels:                 "Labels",
	Links:                  "Links",
	Messages:               "Messages",
	Polls:                  "Polls",
	PollsGroups:            "PollsGroups",
	PollsLabels:            "PollsLabels",
	PollsLinks:             "PollsLinks",
	PollsPollsGroups:       "PollsPollsGroups",
	Positions:              "Positions",
	UserAccountEthnicities: "UserAccountEthnicities",
	UserAccountSuffixes:    "UserAccountSuffixes",
	UserPersonalInfos:      "UserPersonalInfos",
	Votes:                  "Votes",
}

UserAccountRels is where relationship names are stored.

View Source
var UserAccountSuffixColumns = struct {
	UserAccountSuffixID string
	SuffixID            string
	UserAccountID       string
	SuffixPosition      string
}{
	UserAccountSuffixID: "user_account_suffix_id",
	SuffixID:            "suffix_id",
	UserAccountID:       "user_account_id",
	SuffixPosition:      "suffix_position",
}
View Source
var UserAccountSuffixRels = struct {
	UserAccount string
	Suffix      string
}{
	UserAccount: "UserAccount",
	Suffix:      "Suffix",
}

UserAccountSuffixRels is where relationship names are stored.

View Source
var UserPersonalInfoColumns = struct {
	UserPersonalInfoID    string
	UserAccountID         string
	EmailAddressID        string
	PasswordHashkey       string
	PasswordSalt          string
	PasswordHashAlgorithm string
	PersonTypeID          string
	Phone                 string
	AddressID             string
	UpdatedAt             string
}{
	UserPersonalInfoID:    "user_personal_info_id",
	UserAccountID:         "user_account_id",
	EmailAddressID:        "email_address_id",
	PasswordHashkey:       "password_hashkey",
	PasswordSalt:          "password_salt",
	PasswordHashAlgorithm: "password_hash_algorithm",
	PersonTypeID:          "person_type_id",
	Phone:                 "phone",
	AddressID:             "address_id",
	UpdatedAt:             "updated_at",
}
View Source
var UserPersonalInfoHonorColumns = struct {
	UserPersonalInfoHonorID string
	HonorID                 string
	UserPersonalInfoID      string
	HonorsPosition          string
}{
	UserPersonalInfoHonorID: "user_personal_info_honor_id",
	HonorID:                 "honor_id",
	UserPersonalInfoID:      "user_personal_info_id",
	HonorsPosition:          "honors_position",
}
View Source
var UserPersonalInfoHonorRels = struct {
	UserPersonalInfo string
	Honor            string
}{
	UserPersonalInfo: "UserPersonalInfo",
	Honor:            "Honor",
}

UserPersonalInfoHonorRels is where relationship names are stored.

View Source
var UserPersonalInfoRels = struct {
	UserAccount                         string
	Address                             string
	PersonType                          string
	UserPersonalInfoHonors              string
	UserPersonalInfoTitles              string
	UserPersonalInfoTitleAfterLastNames string
}{
	UserAccount:                         "UserAccount",
	Address:                             "Address",
	PersonType:                          "PersonType",
	UserPersonalInfoHonors:              "UserPersonalInfoHonors",
	UserPersonalInfoTitles:              "UserPersonalInfoTitles",
	UserPersonalInfoTitleAfterLastNames: "UserPersonalInfoTitleAfterLastNames",
}

UserPersonalInfoRels is where relationship names are stored.

View Source
var UserPersonalInfoTitleAfterLastNameColumns = struct {
	UserPersonalInfoTitleAfterLastNameID string
	TitleAfterLastNameID                 string
	UserPersonalInfoID                   string
	TitleAfterLastNamePosition           string
}{
	UserPersonalInfoTitleAfterLastNameID: "user_personal_info_title_after_last_name_id",
	TitleAfterLastNameID:                 "title_after_last_name_id",
	UserPersonalInfoID:                   "user_personal_info_id",
	TitleAfterLastNamePosition:           "title_after_last_name_position",
}
View Source
var UserPersonalInfoTitleAfterLastNameRels = struct {
	UserPersonalInfo   string
	TitleAfterLastName string
}{
	UserPersonalInfo:   "UserPersonalInfo",
	TitleAfterLastName: "TitleAfterLastName",
}

UserPersonalInfoTitleAfterLastNameRels is where relationship names are stored.

View Source
var UserPersonalInfoTitleColumns = struct {
	UserPersonalInfoTitleID string
	TitleID                 string
	UserPersonalInfoID      string
	TitlePosition           string
}{
	UserPersonalInfoTitleID: "user_personal_info_title_id",
	TitleID:                 "title_id",
	UserPersonalInfoID:      "user_personal_info_id",
	TitlePosition:           "title_position",
}
View Source
var UserPersonalInfoTitleRels = struct {
	UserPersonalInfo string
	Title            string
}{
	UserPersonalInfo: "UserPersonalInfo",
	Title:            "Title",
}

UserPersonalInfoTitleRels is where relationship names are stored.

View Source
var VoteColumns = struct {
	VoteID                string
	UserAccountID         string
	PollID                string
	XPollFactorPositionID string
	YPollFactorPositionID string
	ZPollFactorPositionID string
	XShare                string
	YShare                string
	ZShare                string
	CreatedAt             string
}{
	VoteID:                "vote_id",
	UserAccountID:         "user_account_id",
	PollID:                "poll_id",
	XPollFactorPositionID: "x_poll_factor_position_id",
	YPollFactorPositionID: "y_poll_factor_position_id",
	ZPollFactorPositionID: "z_poll_factor_position_id",
	XShare:                "x_share",
	YShare:                "y_share",
	ZShare:                "z_share",
	CreatedAt:             "created_at",
}
View Source
var VoteRels = struct {
	UserAccount         string
	Poll                string
	ZPollFactorPosition string
	YPollFactorPosition string
	XPollFactorPosition string
}{
	UserAccount:         "UserAccount",
	Poll:                "Poll",
	ZPollFactorPosition: "ZPollFactorPosition",
	YPollFactorPosition: "YPollFactorPosition",
	XPollFactorPosition: "XPollFactorPosition",
}

VoteRels is where relationship names are stored.

Functions

func AddAddressHook

func AddAddressHook(hookPoint boil.HookPoint, addressHook AddressHook)

AddAddressHook registers your hook function for all future operations.

func AddColorHook

func AddColorHook(hookPoint boil.HookPoint, colorHook ColorHook)

AddColorHook registers your hook function for all future operations.

func AddContinentHook

func AddContinentHook(hookPoint boil.HookPoint, continentHook ContinentHook)

AddContinentHook registers your hook function for all future operations.

func AddCountryHook

func AddCountryHook(hookPoint boil.HookPoint, countryHook CountryHook)

AddCountryHook registers your hook function for all future operations.

func AddCountyHook

func AddCountyHook(hookPoint boil.HookPoint, countyHook CountyHook)

AddCountyHook registers your hook function for all future operations.

func AddDesignPatternHook

func AddDesignPatternHook(hookPoint boil.HookPoint, designPatternHook DesignPatternHook)

AddDesignPatternHook registers your hook function for all future operations.

func AddEmailAddressHook

func AddEmailAddressHook(hookPoint boil.HookPoint, emailAddressHook EmailAddressHook)

AddEmailAddressHook registers your hook function for all future operations.

func AddEmailDomainHook

func AddEmailDomainHook(hookPoint boil.HookPoint, emailDomainHook EmailDomainHook)

AddEmailDomainHook registers your hook function for all future operations.

func AddEmojiHook

func AddEmojiHook(hookPoint boil.HookPoint, emojiHook EmojiHook)

AddEmojiHook registers your hook function for all future operations.

func AddEthnicGroupCountryHook

func AddEthnicGroupCountryHook(hookPoint boil.HookPoint, ethnicGroupCountryHook EthnicGroupCountryHook)

AddEthnicGroupCountryHook registers your hook function for all future operations.

func AddEthnicGroupHook

func AddEthnicGroupHook(hookPoint boil.HookPoint, ethnicGroupHook EthnicGroupHook)

AddEthnicGroupHook registers your hook function for all future operations.

func AddEthnicSubgroupHook

func AddEthnicSubgroupHook(hookPoint boil.HookPoint, ethnicSubgroupHook EthnicSubgroupHook)

AddEthnicSubgroupHook registers your hook function for all future operations.

func AddFactorHook

func AddFactorHook(hookPoint boil.HookPoint, factorHook FactorHook)

AddFactorHook registers your hook function for all future operations.

func AddFactorPositionHook

func AddFactorPositionHook(hookPoint boil.HookPoint, factorPositionHook FactorPositionHook)

AddFactorPositionHook registers your hook function for all future operations.

func AddFactorsLinkHook

func AddFactorsLinkHook(hookPoint boil.HookPoint, factorsLinkHook FactorsLinkHook)

AddFactorsLinkHook registers your hook function for all future operations.

func AddHonorHook

func AddHonorHook(hookPoint boil.HookPoint, honorHook HonorHook)

AddHonorHook registers your hook function for all future operations.

func AddLabelHook

func AddLabelHook(hookPoint boil.HookPoint, labelHook LabelHook)

AddLabelHook registers your hook function for all future operations.

func AddLinkHook

func AddLinkHook(hookPoint boil.HookPoint, linkHook LinkHook)

AddLinkHook registers your hook function for all future operations.

func AddMessageHook

func AddMessageHook(hookPoint boil.HookPoint, messageHook MessageHook)

AddMessageHook registers your hook function for all future operations.

func AddMessagesLinkHook

func AddMessagesLinkHook(hookPoint boil.HookPoint, messagesLinkHook MessagesLinkHook)

AddMessagesLinkHook registers your hook function for all future operations.

func AddNameAfterLastNameHook

func AddNameAfterLastNameHook(hookPoint boil.HookPoint, nameAfterLastNameHook NameAfterLastNameHook)

AddNameAfterLastNameHook registers your hook function for all future operations.

func AddPersonTypeHook

func AddPersonTypeHook(hookPoint boil.HookPoint, personTypeHook PersonTypeHook)

AddPersonTypeHook registers your hook function for all future operations.

func AddPollHook

func AddPollHook(hookPoint boil.HookPoint, pollHook PollHook)

AddPollHook registers your hook function for all future operations.

func AddPollsContinentHook

func AddPollsContinentHook(hookPoint boil.HookPoint, pollsContinentHook PollsContinentHook)

AddPollsContinentHook registers your hook function for all future operations.

func AddPollsCountryHook

func AddPollsCountryHook(hookPoint boil.HookPoint, pollsCountryHook PollsCountryHook)

AddPollsCountryHook registers your hook function for all future operations.

func AddPollsCountyHook

func AddPollsCountyHook(hookPoint boil.HookPoint, pollsCountyHook PollsCountyHook)

AddPollsCountyHook registers your hook function for all future operations.

func AddPollsFactorsPositionHook

func AddPollsFactorsPositionHook(hookPoint boil.HookPoint, pollsFactorsPositionHook PollsFactorsPositionHook)

AddPollsFactorsPositionHook registers your hook function for all future operations.

func AddPollsGroupHook

func AddPollsGroupHook(hookPoint boil.HookPoint, pollsGroupHook PollsGroupHook)

AddPollsGroupHook registers your hook function for all future operations.

func AddPollsGroupsLinkHook

func AddPollsGroupsLinkHook(hookPoint boil.HookPoint, pollsGroupsLinkHook PollsGroupsLinkHook)

AddPollsGroupsLinkHook registers your hook function for all future operations.

func AddPollsLabelHook

func AddPollsLabelHook(hookPoint boil.HookPoint, pollsLabelHook PollsLabelHook)

AddPollsLabelHook registers your hook function for all future operations.

func AddPollsLinkHook

func AddPollsLinkHook(hookPoint boil.HookPoint, pollsLinkHook PollsLinkHook)

AddPollsLinkHook registers your hook function for all future operations.

func AddPollsMessageHook

func AddPollsMessageHook(hookPoint boil.HookPoint, pollsMessageHook PollsMessageHook)

AddPollsMessageHook registers your hook function for all future operations.

func AddPollsPollsGroupHook

func AddPollsPollsGroupHook(hookPoint boil.HookPoint, pollsPollsGroupHook PollsPollsGroupHook)

AddPollsPollsGroupHook registers your hook function for all future operations.

func AddPollsStateHook

func AddPollsStateHook(hookPoint boil.HookPoint, pollsStateHook PollsStateHook)

AddPollsStateHook registers your hook function for all future operations.

func AddPollsTownHook

func AddPollsTownHook(hookPoint boil.HookPoint, pollsTownHook PollsTownHook)

AddPollsTownHook registers your hook function for all future operations.

func AddPositionHook

func AddPositionHook(hookPoint boil.HookPoint, positionHook PositionHook)

AddPositionHook registers your hook function for all future operations.

func AddPrefixLastNameHook

func AddPrefixLastNameHook(hookPoint boil.HookPoint, prefixLastNameHook PrefixLastNameHook)

AddPrefixLastNameHook registers your hook function for all future operations.

func AddStateHook

func AddStateHook(hookPoint boil.HookPoint, stateHook StateHook)

AddStateHook registers your hook function for all future operations.

func AddStreetHook

func AddStreetHook(hookPoint boil.HookPoint, streetHook StreetHook)

AddStreetHook registers your hook function for all future operations.

func AddStreetNameHook

func AddStreetNameHook(hookPoint boil.HookPoint, streetNameHook StreetNameHook)

AddStreetNameHook registers your hook function for all future operations.

func AddStreetTypeHook

func AddStreetTypeHook(hookPoint boil.HookPoint, streetTypeHook StreetTypeHook)

AddStreetTypeHook registers your hook function for all future operations.

func AddSuburbHook

func AddSuburbHook(hookPoint boil.HookPoint, suburbHook SuburbHook)

AddSuburbHook registers your hook function for all future operations.

func AddSuffixHook

func AddSuffixHook(hookPoint boil.HookPoint, suffixHook SuffixHook)

AddSuffixHook registers your hook function for all future operations.

func AddThemeHook

func AddThemeHook(hookPoint boil.HookPoint, themeHook ThemeHook)

AddThemeHook registers your hook function for all future operations.

func AddTimezoneHook

func AddTimezoneHook(hookPoint boil.HookPoint, timezoneHook TimezoneHook)

AddTimezoneHook registers your hook function for all future operations.

func AddTitleAfterLastNameHook

func AddTitleAfterLastNameHook(hookPoint boil.HookPoint, titleAfterLastNameHook TitleAfterLastNameHook)

AddTitleAfterLastNameHook registers your hook function for all future operations.

func AddTitleHook

func AddTitleHook(hookPoint boil.HookPoint, titleHook TitleHook)

AddTitleHook registers your hook function for all future operations.

func AddTownHook

func AddTownHook(hookPoint boil.HookPoint, townHook TownHook)

AddTownHook registers your hook function for all future operations.

func AddUserAccountEthnicityHook

func AddUserAccountEthnicityHook(hookPoint boil.HookPoint, userAccountEthnicityHook UserAccountEthnicityHook)

AddUserAccountEthnicityHook registers your hook function for all future operations.

func AddUserAccountHook

func AddUserAccountHook(hookPoint boil.HookPoint, userAccountHook UserAccountHook)

AddUserAccountHook registers your hook function for all future operations.

func AddUserAccountSuffixHook

func AddUserAccountSuffixHook(hookPoint boil.HookPoint, userAccountSuffixHook UserAccountSuffixHook)

AddUserAccountSuffixHook registers your hook function for all future operations.

func AddUserPersonalInfoHonorHook

func AddUserPersonalInfoHonorHook(hookPoint boil.HookPoint, userPersonalInfoHonorHook UserPersonalInfoHonorHook)

AddUserPersonalInfoHonorHook registers your hook function for all future operations.

func AddUserPersonalInfoHook

func AddUserPersonalInfoHook(hookPoint boil.HookPoint, userPersonalInfoHook UserPersonalInfoHook)

AddUserPersonalInfoHook registers your hook function for all future operations.

func AddUserPersonalInfoTitleAfterLastNameHook

func AddUserPersonalInfoTitleAfterLastNameHook(hookPoint boil.HookPoint, userPersonalInfoTitleAfterLastNameHook UserPersonalInfoTitleAfterLastNameHook)

AddUserPersonalInfoTitleAfterLastNameHook registers your hook function for all future operations.

func AddUserPersonalInfoTitleHook

func AddUserPersonalInfoTitleHook(hookPoint boil.HookPoint, userPersonalInfoTitleHook UserPersonalInfoTitleHook)

AddUserPersonalInfoTitleHook registers your hook function for all future operations.

func AddVoteHook

func AddVoteHook(hookPoint boil.HookPoint, voteHook VoteHook)

AddVoteHook registers your hook function for all future operations.

func AddressExists

func AddressExists(ctx context.Context, exec boil.ContextExecutor, addressID int64) (bool, error)

AddressExists checks if the Address row exists.

func Addresses

func Addresses(mods ...qm.QueryMod) addressQuery

Addresses retrieves all the records using an executor.

func ColorExists

func ColorExists(ctx context.Context, exec boil.ContextExecutor, colorID int64) (bool, error)

ColorExists checks if the Color row exists.

func Colors

func Colors(mods ...qm.QueryMod) colorQuery

Colors retrieves all the records using an executor.

func ContinentExists

func ContinentExists(ctx context.Context, exec boil.ContextExecutor, continentID2 int64) (bool, error)

ContinentExists checks if the Continent row exists.

func Continents

func Continents(mods ...qm.QueryMod) continentQuery

Continents retrieves all the records using an executor.

func Counties

func Counties(mods ...qm.QueryMod) countyQuery

Counties retrieves all the records using an executor.

func Countries

func Countries(mods ...qm.QueryMod) countryQuery

Countries retrieves all the records using an executor.

func CountryExists

func CountryExists(ctx context.Context, exec boil.ContextExecutor, countryID int64) (bool, error)

CountryExists checks if the Country row exists.

func CountyExists

func CountyExists(ctx context.Context, exec boil.ContextExecutor, countyID int64) (bool, error)

CountyExists checks if the County row exists.

func DesignPatternExists

func DesignPatternExists(ctx context.Context, exec boil.ContextExecutor, designPatternID int64) (bool, error)

DesignPatternExists checks if the DesignPattern row exists.

func DesignPatterns

func DesignPatterns(mods ...qm.QueryMod) designPatternQuery

DesignPatterns retrieves all the records using an executor.

func EmailAddressExists

func EmailAddressExists(ctx context.Context, exec boil.ContextExecutor, emailName string, emailDomainID int64) (bool, error)

EmailAddressExists checks if the EmailAddress row exists.

func EmailAddresses

func EmailAddresses(mods ...qm.QueryMod) emailAddressQuery

EmailAddresses retrieves all the records using an executor.

func EmailDomainExists

func EmailDomainExists(ctx context.Context, exec boil.ContextExecutor, emailDomainID int64) (bool, error)

EmailDomainExists checks if the EmailDomain row exists.

func EmailDomains

func EmailDomains(mods ...qm.QueryMod) emailDomainQuery

EmailDomains retrieves all the records using an executor.

func EmojiExists

func EmojiExists(ctx context.Context, exec boil.ContextExecutor, emojiID int64) (bool, error)

EmojiExists checks if the Emoji row exists.

func Emojis

func Emojis(mods ...qm.QueryMod) emojiQuery

Emojis retrieves all the records using an executor.

func EthnicGroupCountries

func EthnicGroupCountries(mods ...qm.QueryMod) ethnicGroupCountryQuery

EthnicGroupCountries retrieves all the records using an executor.

func EthnicGroupCountryExists

func EthnicGroupCountryExists(ctx context.Context, exec boil.ContextExecutor, ethnicGroupCountryID int64) (bool, error)

EthnicGroupCountryExists checks if the EthnicGroupCountry row exists.

func EthnicGroupExists

func EthnicGroupExists(ctx context.Context, exec boil.ContextExecutor, ethnicGroupID int64) (bool, error)

EthnicGroupExists checks if the EthnicGroup row exists.

func EthnicGroups

func EthnicGroups(mods ...qm.QueryMod) ethnicGroupQuery

EthnicGroups retrieves all the records using an executor.

func EthnicSubgroupExists

func EthnicSubgroupExists(ctx context.Context, exec boil.ContextExecutor, ethnicSubgroupID int64) (bool, error)

EthnicSubgroupExists checks if the EthnicSubgroup row exists.

func EthnicSubgroups

func EthnicSubgroups(mods ...qm.QueryMod) ethnicSubgroupQuery

EthnicSubgroups retrieves all the records using an executor.

func FactorExists

func FactorExists(ctx context.Context, exec boil.ContextExecutor, factorID int64) (bool, error)

FactorExists checks if the Factor row exists.

func FactorPositionExists

func FactorPositionExists(ctx context.Context, exec boil.ContextExecutor, factorPositionID int64) (bool, error)

FactorPositionExists checks if the FactorPosition row exists.

func FactorPositions

func FactorPositions(mods ...qm.QueryMod) factorPositionQuery

FactorPositions retrieves all the records using an executor.

func Factors

func Factors(mods ...qm.QueryMod) factorQuery

Factors retrieves all the records using an executor.

func FactorsLinkExists

func FactorsLinkExists(ctx context.Context, exec boil.ContextExecutor, factorsLinkID int64) (bool, error)

FactorsLinkExists checks if the FactorsLink row exists.

func FactorsLinks(mods ...qm.QueryMod) factorsLinkQuery

FactorsLinks retrieves all the records using an executor.

func HonorExists

func HonorExists(ctx context.Context, exec boil.ContextExecutor, honorID int64) (bool, error)

HonorExists checks if the Honor row exists.

func Honors

func Honors(mods ...qm.QueryMod) honorQuery

Honors retrieves all the records using an executor.

func LabelExists

func LabelExists(ctx context.Context, exec boil.ContextExecutor, labelID int64) (bool, error)

LabelExists checks if the Label row exists.

func Labels

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

Labels retrieves all the records using an executor.

func LinkExists

func LinkExists(ctx context.Context, exec boil.ContextExecutor, linkID int64) (bool, error)

LinkExists checks if the Link row exists.

func Links(mods ...qm.QueryMod) linkQuery

Links retrieves all the records using an executor.

func MessageExists

func MessageExists(ctx context.Context, exec boil.ContextExecutor, messageID int64) (bool, error)

MessageExists checks if the Message row exists.

func Messages

func Messages(mods ...qm.QueryMod) messageQuery

Messages retrieves all the records using an executor.

func MessagesLinkExists

func MessagesLinkExists(ctx context.Context, exec boil.ContextExecutor, messageLinkID int64) (bool, error)

MessagesLinkExists checks if the MessagesLink row exists.

func MessagesLinks(mods ...qm.QueryMod) messagesLinkQuery

MessagesLinks retrieves all the records using an executor.

func NameAfterLastNameExists

func NameAfterLastNameExists(ctx context.Context, exec boil.ContextExecutor, nameAfterLastNameID int64) (bool, error)

NameAfterLastNameExists checks if the NameAfterLastName row exists.

func NameAfterLastNames

func NameAfterLastNames(mods ...qm.QueryMod) nameAfterLastNameQuery

NameAfterLastNames retrieves all the records using an executor.

func NewQuery

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

NewQuery initializes a new Query using the passed in QueryMods

func PersonTypeExists

func PersonTypeExists(ctx context.Context, exec boil.ContextExecutor, personTypeID int64) (bool, error)

PersonTypeExists checks if the PersonType row exists.

func PersonTypes

func PersonTypes(mods ...qm.QueryMod) personTypeQuery

PersonTypes retrieves all the records using an executor.

func PollExists

func PollExists(ctx context.Context, exec boil.ContextExecutor, pollID int64) (bool, error)

PollExists checks if the Poll row exists.

func Polls

func Polls(mods ...qm.QueryMod) pollQuery

Polls retrieves all the records using an executor.

func PollsContinentExists

func PollsContinentExists(ctx context.Context, exec boil.ContextExecutor, pollContinentID int64) (bool, error)

PollsContinentExists checks if the PollsContinent row exists.

func PollsContinents

func PollsContinents(mods ...qm.QueryMod) pollsContinentQuery

PollsContinents retrieves all the records using an executor.

func PollsCounties

func PollsCounties(mods ...qm.QueryMod) pollsCountyQuery

PollsCounties retrieves all the records using an executor.

func PollsCountries

func PollsCountries(mods ...qm.QueryMod) pollsCountryQuery

PollsCountries retrieves all the records using an executor.

func PollsCountryExists

func PollsCountryExists(ctx context.Context, exec boil.ContextExecutor, pollCountryID int64) (bool, error)

PollsCountryExists checks if the PollsCountry row exists.

func PollsCountyExists

func PollsCountyExists(ctx context.Context, exec boil.ContextExecutor, pollCountyID int64) (bool, error)

PollsCountyExists checks if the PollsCounty row exists.

func PollsFactorsPositionExists

func PollsFactorsPositionExists(ctx context.Context, exec boil.ContextExecutor, pollFactorPositionID int64) (bool, error)

PollsFactorsPositionExists checks if the PollsFactorsPosition row exists.

func PollsFactorsPositions

func PollsFactorsPositions(mods ...qm.QueryMod) pollsFactorsPositionQuery

PollsFactorsPositions retrieves all the records using an executor.

func PollsGroupExists

func PollsGroupExists(ctx context.Context, exec boil.ContextExecutor, pollGroupID int64) (bool, error)

PollsGroupExists checks if the PollsGroup row exists.

func PollsGroups

func PollsGroups(mods ...qm.QueryMod) pollsGroupQuery

PollsGroups retrieves all the records using an executor.

func PollsGroupsLinkExists

func PollsGroupsLinkExists(ctx context.Context, exec boil.ContextExecutor, pollGroupLinkID int64) (bool, error)

PollsGroupsLinkExists checks if the PollsGroupsLink row exists.

func PollsGroupsLinks(mods ...qm.QueryMod) pollsGroupsLinkQuery

PollsGroupsLinks retrieves all the records using an executor.

func PollsLabelExists

func PollsLabelExists(ctx context.Context, exec boil.ContextExecutor, pollLabelID int64) (bool, error)

PollsLabelExists checks if the PollsLabel row exists.

func PollsLabels

func PollsLabels(mods ...qm.QueryMod) pollsLabelQuery

PollsLabels retrieves all the records using an executor.

func PollsLinkExists

func PollsLinkExists(ctx context.Context, exec boil.ContextExecutor, pollLinkID int64) (bool, error)

PollsLinkExists checks if the PollsLink row exists.

func PollsLinks(mods ...qm.QueryMod) pollsLinkQuery

PollsLinks retrieves all the records using an executor.

func PollsMessageExists

func PollsMessageExists(ctx context.Context, exec boil.ContextExecutor, pollMessageID int64) (bool, error)

PollsMessageExists checks if the PollsMessage row exists.

func PollsMessages

func PollsMessages(mods ...qm.QueryMod) pollsMessageQuery

PollsMessages retrieves all the records using an executor.

func PollsPollsGroupExists

func PollsPollsGroupExists(ctx context.Context, exec boil.ContextExecutor, pollPollGroupID int64) (bool, error)

PollsPollsGroupExists checks if the PollsPollsGroup row exists.

func PollsPollsGroups

func PollsPollsGroups(mods ...qm.QueryMod) pollsPollsGroupQuery

PollsPollsGroups retrieves all the records using an executor.

func PollsStateExists

func PollsStateExists(ctx context.Context, exec boil.ContextExecutor, pollStateID int64) (bool, error)

PollsStateExists checks if the PollsState row exists.

func PollsStates

func PollsStates(mods ...qm.QueryMod) pollsStateQuery

PollsStates retrieves all the records using an executor.

func PollsTownExists

func PollsTownExists(ctx context.Context, exec boil.ContextExecutor, pollTownID int64) (bool, error)

PollsTownExists checks if the PollsTown row exists.

func PollsTowns

func PollsTowns(mods ...qm.QueryMod) pollsTownQuery

PollsTowns retrieves all the records using an executor.

func PositionExists

func PositionExists(ctx context.Context, exec boil.ContextExecutor, positionID int64) (bool, error)

PositionExists checks if the Position row exists.

func Positions

func Positions(mods ...qm.QueryMod) positionQuery

Positions retrieves all the records using an executor.

func PrefixLastNameExists

func PrefixLastNameExists(ctx context.Context, exec boil.ContextExecutor, prefixLastNameID int64) (bool, error)

PrefixLastNameExists checks if the PrefixLastName row exists.

func PrefixLastNames

func PrefixLastNames(mods ...qm.QueryMod) prefixLastNameQuery

PrefixLastNames retrieves all the records using an executor.

func StateExists

func StateExists(ctx context.Context, exec boil.ContextExecutor, stateID int64) (bool, error)

StateExists checks if the State row exists.

func States

func States(mods ...qm.QueryMod) stateQuery

States retrieves all the records using an executor.

func StreetExists

func StreetExists(ctx context.Context, exec boil.ContextExecutor, streetID int64) (bool, error)

StreetExists checks if the Street row exists.

func StreetNameExists

func StreetNameExists(ctx context.Context, exec boil.ContextExecutor, streetNameID int64) (bool, error)

StreetNameExists checks if the StreetName row exists.

func StreetNames

func StreetNames(mods ...qm.QueryMod) streetNameQuery

StreetNames retrieves all the records using an executor.

func StreetTypeExists

func StreetTypeExists(ctx context.Context, exec boil.ContextExecutor, streetTypeID int64) (bool, error)

StreetTypeExists checks if the StreetType row exists.

func StreetTypes

func StreetTypes(mods ...qm.QueryMod) streetTypeQuery

StreetTypes retrieves all the records using an executor.

func Streets

func Streets(mods ...qm.QueryMod) streetQuery

Streets retrieves all the records using an executor.

func SuburbExists

func SuburbExists(ctx context.Context, exec boil.ContextExecutor, suburbID int64) (bool, error)

SuburbExists checks if the Suburb row exists.

func Suburbs

func Suburbs(mods ...qm.QueryMod) suburbQuery

Suburbs retrieves all the records using an executor.

func SuffixExists

func SuffixExists(ctx context.Context, exec boil.ContextExecutor, suffixID int64) (bool, error)

SuffixExists checks if the Suffix row exists.

func Suffixes

func Suffixes(mods ...qm.QueryMod) suffixQuery

Suffixes retrieves all the records using an executor.

func ThemeExists

func ThemeExists(ctx context.Context, exec boil.ContextExecutor, themeID int64) (bool, error)

ThemeExists checks if the Theme row exists.

func Themes

func Themes(mods ...qm.QueryMod) themeQuery

Themes retrieves all the records using an executor.

func TimezoneExists

func TimezoneExists(ctx context.Context, exec boil.ContextExecutor, timezoneID int64) (bool, error)

TimezoneExists checks if the Timezone row exists.

func Timezones

func Timezones(mods ...qm.QueryMod) timezoneQuery

Timezones retrieves all the records using an executor.

func TitleAfterLastNameExists

func TitleAfterLastNameExists(ctx context.Context, exec boil.ContextExecutor, titleAfterLastNameID int64) (bool, error)

TitleAfterLastNameExists checks if the TitleAfterLastName row exists.

func TitleAfterLastNames

func TitleAfterLastNames(mods ...qm.QueryMod) titleAfterLastNameQuery

TitleAfterLastNames retrieves all the records using an executor.

func TitleExists

func TitleExists(ctx context.Context, exec boil.ContextExecutor, titleID int64) (bool, error)

TitleExists checks if the Title row exists.

func Titles

func Titles(mods ...qm.QueryMod) titleQuery

Titles retrieves all the records using an executor.

func TownExists

func TownExists(ctx context.Context, exec boil.ContextExecutor, townID int64) (bool, error)

TownExists checks if the Town row exists.

func Towns

func Towns(mods ...qm.QueryMod) townQuery

Towns retrieves all the records using an executor.

func UserAccountEthnicities

func UserAccountEthnicities(mods ...qm.QueryMod) userAccountEthnicityQuery

UserAccountEthnicities retrieves all the records using an executor.

func UserAccountEthnicityExists

func UserAccountEthnicityExists(ctx context.Context, exec boil.ContextExecutor, userAccountEthnicityID int64) (bool, error)

UserAccountEthnicityExists checks if the UserAccountEthnicity row exists.

func UserAccountExists

func UserAccountExists(ctx context.Context, exec boil.ContextExecutor, userAccountID int64) (bool, error)

UserAccountExists checks if the UserAccount row exists.

func UserAccountSuffixExists

func UserAccountSuffixExists(ctx context.Context, exec boil.ContextExecutor, userAccountSuffixID int64) (bool, error)

UserAccountSuffixExists checks if the UserAccountSuffix row exists.

func UserAccountSuffixes

func UserAccountSuffixes(mods ...qm.QueryMod) userAccountSuffixQuery

UserAccountSuffixes retrieves all the records using an executor.

func UserAccounts

func UserAccounts(mods ...qm.QueryMod) userAccountQuery

UserAccounts retrieves all the records using an executor.

func UserPersonalInfoExists

func UserPersonalInfoExists(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoID int64) (bool, error)

UserPersonalInfoExists checks if the UserPersonalInfo row exists.

func UserPersonalInfoHonorExists

func UserPersonalInfoHonorExists(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoHonorID int64) (bool, error)

UserPersonalInfoHonorExists checks if the UserPersonalInfoHonor row exists.

func UserPersonalInfoHonors

func UserPersonalInfoHonors(mods ...qm.QueryMod) userPersonalInfoHonorQuery

UserPersonalInfoHonors retrieves all the records using an executor.

func UserPersonalInfoTitleAfterLastNameExists

func UserPersonalInfoTitleAfterLastNameExists(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoTitleAfterLastNameID int64) (bool, error)

UserPersonalInfoTitleAfterLastNameExists checks if the UserPersonalInfoTitleAfterLastName row exists.

func UserPersonalInfoTitleAfterLastNames

func UserPersonalInfoTitleAfterLastNames(mods ...qm.QueryMod) userPersonalInfoTitleAfterLastNameQuery

UserPersonalInfoTitleAfterLastNames retrieves all the records using an executor.

func UserPersonalInfoTitleExists

func UserPersonalInfoTitleExists(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoTitleID int64) (bool, error)

UserPersonalInfoTitleExists checks if the UserPersonalInfoTitle row exists.

func UserPersonalInfoTitles

func UserPersonalInfoTitles(mods ...qm.QueryMod) userPersonalInfoTitleQuery

UserPersonalInfoTitles retrieves all the records using an executor.

func UserPersonalInfos

func UserPersonalInfos(mods ...qm.QueryMod) userPersonalInfoQuery

UserPersonalInfos retrieves all the records using an executor.

func VoteExists

func VoteExists(ctx context.Context, exec boil.ContextExecutor, voteID int64) (bool, error)

VoteExists checks if the Vote row exists.

func Votes

func Votes(mods ...qm.QueryMod) voteQuery

Votes retrieves all the records using an executor.

Types

type Address

type Address struct {
	AddressID      int64       `boil:"address_id" json:"address_id" toml:"address_id" yaml:"address_id"`
	StreetID       int64       `boil:"street_id" json:"street_id" toml:"street_id" yaml:"street_id"`
	StreetNumber   null.Int16  `boil:"street_number" json:"street_number,omitempty" toml:"street_number" yaml:"street_number,omitempty"`
	BuildingUnit   null.String `boil:"building_unit" json:"building_unit,omitempty" toml:"building_unit" yaml:"building_unit,omitempty"`
	IsBuildingUnit null.Bool   `boil:"is_building_unit" json:"is_building_unit,omitempty" toml:"is_building_unit" yaml:"is_building_unit,omitempty"`
	PostCode       string      `boil:"post_code" json:"post_code" toml:"post_code" yaml:"post_code"`

	R *addressR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L addressL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Address is an object representing the database table.

func FindAddress

func FindAddress(ctx context.Context, exec boil.ContextExecutor, addressID int64, selectCols ...string) (*Address, error)

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

func (*Address) AddUserPersonalInfos

func (o *Address) AddUserPersonalInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfo) error

AddUserPersonalInfos adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.UserPersonalInfos. Sets related.R.Address appropriately.

func (*Address) Delete

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

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

func (*Address) Insert

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

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

func (*Address) Reload

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

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

func (*Address) SetStreet

func (o *Address) SetStreet(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Street) error

SetStreet of the address to the related item. Sets o.R.Street to related. Adds o to related.R.Addresses.

func (*Address) Street

func (o *Address) Street(mods ...qm.QueryMod) streetQuery

Street pointed to by the foreign key.

func (*Address) Update

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

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

func (*Address) Upsert

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

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

func (*Address) UserPersonalInfos

func (o *Address) UserPersonalInfos(mods ...qm.QueryMod) userPersonalInfoQuery

UserPersonalInfos retrieves all the user_personal_info's UserPersonalInfos with an executor.

type AddressHook

type AddressHook func(context.Context, boil.ContextExecutor, *Address) error

AddressHook is the signature for custom Address hook methods

type AddressSlice

type AddressSlice []*Address

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

func (AddressSlice) DeleteAll

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

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

func (*AddressSlice) ReloadAll

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

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

func (AddressSlice) UpdateAll

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

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

type Color

type Color struct {
	ColorID     int64  `boil:"color_id" json:"color_id" toml:"color_id" yaml:"color_id"`
	RGBHexValue string `boil:"rgb_hex_value" json:"rgb_hex_value" toml:"rgb_hex_value" yaml:"rgb_hex_value"`

	R *colorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L colorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Color is an object representing the database table.

func FindColor

func FindColor(ctx context.Context, exec boil.ContextExecutor, colorID int64, selectCols ...string) (*Color, error)

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

func (*Color) AddPollsFactorsPositions

func (o *Color) AddPollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsFactorsPosition) error

AddPollsFactorsPositions adds the given related objects to the existing relationships of the color, optionally inserting them as new records. Appends related to o.R.PollsFactorsPositions. Sets related.R.Color appropriately.

func (*Color) Delete

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

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

func (*Color) Insert

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

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

func (*Color) PollsFactorsPositions

func (o *Color) PollsFactorsPositions(mods ...qm.QueryMod) pollsFactorsPositionQuery

PollsFactorsPositions retrieves all the polls_factors_position's PollsFactorsPositions with an executor.

func (*Color) Reload

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

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

func (*Color) Update

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

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

func (*Color) Upsert

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

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

type ColorHook

type ColorHook func(context.Context, boil.ContextExecutor, *Color) error

ColorHook is the signature for custom Color hook methods

type ColorSlice

type ColorSlice []*Color

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

func (ColorSlice) DeleteAll

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

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

func (*ColorSlice) ReloadAll

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

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

func (ColorSlice) UpdateAll

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

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

type Continent

type Continent struct {
	ContinentID       int64     `boil:"continent_id" json:"continent_id" toml:"continent_id" yaml:"continent_id"`
	ContinentCode     string    `boil:"continent_code" json:"continent_code" toml:"continent_code" yaml:"continent_code"`
	ContinentName     string    `boil:"continent_name" json:"continent_name" toml:"continent_name" yaml:"continent_name"`
	ContinentFullName string    `boil:"continent_full_name" json:"continent_full_name" toml:"continent_full_name" yaml:"continent_full_name"`
	CreatedDate       time.Time `boil:"created_date" json:"created_date" toml:"created_date" yaml:"created_date"`
	ContinentID2      int64     `boil:"continent_id_2" json:"continent_id_2" toml:"continent_id_2" yaml:"continent_id_2"`

	R *continentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L continentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Continent is an object representing the database table.

func FindContinent

func FindContinent(ctx context.Context, exec boil.ContextExecutor, continentID2 int64, selectCols ...string) (*Continent, error)

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

func (*Continent) AddCountries

func (o *Continent) AddCountries(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Country) error

AddCountries adds the given related objects to the existing relationships of the continent, optionally inserting them as new records. Appends related to o.R.Countries. Sets related.R.Continent appropriately.

func (*Continent) AddPollsContinents

func (o *Continent) AddPollsContinents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsContinent) error

AddPollsContinents adds the given related objects to the existing relationships of the continent, optionally inserting them as new records. Appends related to o.R.PollsContinents. Sets related.R.Continent appropriately.

func (*Continent) Countries

func (o *Continent) Countries(mods ...qm.QueryMod) countryQuery

Countries retrieves all the country's Countries with an executor.

func (*Continent) Delete

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

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

func (*Continent) Insert

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

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

func (*Continent) PollsContinents

func (o *Continent) PollsContinents(mods ...qm.QueryMod) pollsContinentQuery

PollsContinents retrieves all the polls_continent's PollsContinents with an executor.

func (*Continent) Reload

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

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

func (*Continent) Update

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

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

func (*Continent) Upsert

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

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

type ContinentHook

type ContinentHook func(context.Context, boil.ContextExecutor, *Continent) error

ContinentHook is the signature for custom Continent hook methods

type ContinentSlice

type ContinentSlice []*Continent

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

func (ContinentSlice) DeleteAll

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

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

func (*ContinentSlice) ReloadAll

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

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

func (ContinentSlice) UpdateAll

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

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

type Country

type Country struct {
	CountryID       int64     `boil:"country_id" json:"country_id" toml:"country_id" yaml:"country_id"`
	CountryCode     string    `boil:"country_code" json:"country_code" toml:"country_code" yaml:"country_code"`
	CountryCode3    string    `boil:"country_code3" json:"country_code3" toml:"country_code3" yaml:"country_code3"`
	CountryName     string    `boil:"country_name" json:"country_name" toml:"country_name" yaml:"country_name"`
	CountryFullName string    `boil:"country_full_name" json:"country_full_name" toml:"country_full_name" yaml:"country_full_name"`
	CreatedDate     time.Time `boil:"created_date" json:"created_date" toml:"created_date" yaml:"created_date"`
	ExpiredDate     time.Time `boil:"expired_date" json:"expired_date" toml:"expired_date" yaml:"expired_date"`
	ContinentID     int64     `boil:"continent_id" json:"continent_id" toml:"continent_id" yaml:"continent_id"`

	R *countryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L countryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Country is an object representing the database table.

func FindCountry

func FindCountry(ctx context.Context, exec boil.ContextExecutor, countryID int64, selectCols ...string) (*Country, error)

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

func (*Country) AddEthnicGroupCountries

func (o *Country) AddEthnicGroupCountries(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EthnicGroupCountry) error

AddEthnicGroupCountries adds the given related objects to the existing relationships of the country, optionally inserting them as new records. Appends related to o.R.EthnicGroupCountries. Sets related.R.Country appropriately.

func (*Country) AddPollsCountries

func (o *Country) AddPollsCountries(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsCountry) error

AddPollsCountries adds the given related objects to the existing relationships of the country, optionally inserting them as new records. Appends related to o.R.PollsCountries. Sets related.R.Country appropriately.

func (*Country) AddStates

func (o *Country) AddStates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*State) error

AddStates adds the given related objects to the existing relationships of the country, optionally inserting them as new records. Appends related to o.R.States. Sets related.R.Country appropriately.

func (*Country) Continent

func (o *Country) Continent(mods ...qm.QueryMod) continentQuery

Continent pointed to by the foreign key.

func (*Country) Delete

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

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

func (*Country) EthnicGroupCountries

func (o *Country) EthnicGroupCountries(mods ...qm.QueryMod) ethnicGroupCountryQuery

EthnicGroupCountries retrieves all the ethnic_group_country's EthnicGroupCountries with an executor.

func (*Country) Insert

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

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

func (*Country) PollsCountries

func (o *Country) PollsCountries(mods ...qm.QueryMod) pollsCountryQuery

PollsCountries retrieves all the polls_country's PollsCountries with an executor.

func (*Country) Reload

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

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

func (*Country) SetContinent

func (o *Country) SetContinent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Continent) error

SetContinent of the country to the related item. Sets o.R.Continent to related. Adds o to related.R.Countries.

func (*Country) States

func (o *Country) States(mods ...qm.QueryMod) stateQuery

States retrieves all the state's States with an executor.

func (*Country) Update

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

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

func (*Country) Upsert

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

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

type CountryHook

type CountryHook func(context.Context, boil.ContextExecutor, *Country) error

CountryHook is the signature for custom Country hook methods

type CountrySlice

type CountrySlice []*Country

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

func (CountrySlice) DeleteAll

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

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

func (*CountrySlice) ReloadAll

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

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

func (CountrySlice) UpdateAll

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

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

type County

type County struct {
	CountyID   int64  `boil:"county_id" json:"county_id" toml:"county_id" yaml:"county_id"`
	StateID    int64  `boil:"state_id" json:"state_id" toml:"state_id" yaml:"state_id"`
	CountyCode string `boil:"county_code" json:"county_code" toml:"county_code" yaml:"county_code"`
	CountyName string `boil:"county_name" json:"county_name" toml:"county_name" yaml:"county_name"`

	R *countyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L countyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

County is an object representing the database table.

func FindCounty

func FindCounty(ctx context.Context, exec boil.ContextExecutor, countyID int64, selectCols ...string) (*County, error)

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

func (*County) AddPollsCounties

func (o *County) AddPollsCounties(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsCounty) error

AddPollsCounties adds the given related objects to the existing relationships of the county, optionally inserting them as new records. Appends related to o.R.PollsCounties. Sets related.R.County appropriately.

func (*County) Delete

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

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

func (*County) Insert

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

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

func (*County) PollsCounties

func (o *County) PollsCounties(mods ...qm.QueryMod) pollsCountyQuery

PollsCounties retrieves all the polls_county's PollsCounties with an executor.

func (*County) Reload

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

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

func (*County) SetState

func (o *County) SetState(ctx context.Context, exec boil.ContextExecutor, insert bool, related *State) error

SetState of the county to the related item. Sets o.R.State to related. Adds o to related.R.Counties.

func (*County) State

func (o *County) State(mods ...qm.QueryMod) stateQuery

State pointed to by the foreign key.

func (*County) Update

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

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

func (*County) Upsert

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

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

type CountyHook

type CountyHook func(context.Context, boil.ContextExecutor, *County) error

CountyHook is the signature for custom County hook methods

type CountySlice

type CountySlice []*County

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

func (CountySlice) DeleteAll

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

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

func (*CountySlice) ReloadAll

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

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

func (CountySlice) UpdateAll

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

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

type DesignPattern

type DesignPattern struct {
	DesignPatternID   int64  `boil:"design_pattern_id" json:"design_pattern_id" toml:"design_pattern_id" yaml:"design_pattern_id"`
	DesignPatternName string `boil:"design_pattern_name" json:"design_pattern_name" toml:"design_pattern_name" yaml:"design_pattern_name"`

	R *designPatternR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L designPatternL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

DesignPattern is an object representing the database table.

func FindDesignPattern

func FindDesignPattern(ctx context.Context, exec boil.ContextExecutor, designPatternID int64, selectCols ...string) (*DesignPattern, error)

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

func (*DesignPattern) AddPollsFactorsPositions

func (o *DesignPattern) AddPollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsFactorsPosition) error

AddPollsFactorsPositions adds the given related objects to the existing relationships of the design_pattern, optionally inserting them as new records. Appends related to o.R.PollsFactorsPositions. Sets related.R.DesignPattern appropriately.

func (*DesignPattern) AddPositions

func (o *DesignPattern) AddPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Position) error

AddPositions adds the given related objects to the existing relationships of the design_pattern, optionally inserting them as new records. Appends related to o.R.Positions. Sets related.R.DesignPattern appropriately.

func (*DesignPattern) Delete

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

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

func (*DesignPattern) Insert

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

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

func (*DesignPattern) PollsFactorsPositions

func (o *DesignPattern) PollsFactorsPositions(mods ...qm.QueryMod) pollsFactorsPositionQuery

PollsFactorsPositions retrieves all the polls_factors_position's PollsFactorsPositions with an executor.

func (*DesignPattern) Positions

func (o *DesignPattern) Positions(mods ...qm.QueryMod) positionQuery

Positions retrieves all the position's Positions with an executor.

func (*DesignPattern) Reload

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

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

func (*DesignPattern) RemovePollsFactorsPositions

func (o *DesignPattern) RemovePollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, related ...*PollsFactorsPosition) error

RemovePollsFactorsPositions relationships from objects passed in. Removes related items from R.PollsFactorsPositions (uses pointer comparison, removal does not keep order) Sets related.R.DesignPattern.

func (*DesignPattern) RemovePositions

func (o *DesignPattern) RemovePositions(ctx context.Context, exec boil.ContextExecutor, related ...*Position) error

RemovePositions relationships from objects passed in. Removes related items from R.Positions (uses pointer comparison, removal does not keep order) Sets related.R.DesignPattern.

func (*DesignPattern) SetPollsFactorsPositions

func (o *DesignPattern) SetPollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsFactorsPosition) error

SetPollsFactorsPositions removes all previously related items of the design_pattern replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.DesignPattern's PollsFactorsPositions accordingly. Replaces o.R.PollsFactorsPositions with related. Sets related.R.DesignPattern's PollsFactorsPositions accordingly.

func (*DesignPattern) SetPositions

func (o *DesignPattern) SetPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Position) error

SetPositions removes all previously related items of the design_pattern replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.DesignPattern's Positions accordingly. Replaces o.R.Positions with related. Sets related.R.DesignPattern's Positions accordingly.

func (*DesignPattern) Update

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

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

func (*DesignPattern) Upsert

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

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

type DesignPatternHook

type DesignPatternHook func(context.Context, boil.ContextExecutor, *DesignPattern) error

DesignPatternHook is the signature for custom DesignPattern hook methods

type DesignPatternSlice

type DesignPatternSlice []*DesignPattern

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

func (DesignPatternSlice) DeleteAll

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

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

func (*DesignPatternSlice) ReloadAll

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

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

func (DesignPatternSlice) UpdateAll

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

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

type EmailAddress

type EmailAddress struct {
	EmailName     string    `boil:"email_name" json:"email_name" toml:"email_name" yaml:"email_name"`
	EmailDomainID int64     `boil:"email_domain_id" json:"email_domain_id" toml:"email_domain_id" yaml:"email_domain_id"`
	UserAccountID int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *emailAddressR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L emailAddressL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

EmailAddress is an object representing the database table.

func FindEmailAddress

func FindEmailAddress(ctx context.Context, exec boil.ContextExecutor, emailName string, emailDomainID int64, selectCols ...string) (*EmailAddress, error)

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

func (*EmailAddress) Delete

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

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

func (*EmailAddress) EmailDomain

func (o *EmailAddress) EmailDomain(mods ...qm.QueryMod) emailDomainQuery

EmailDomain pointed to by the foreign key.

func (*EmailAddress) Insert

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

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

func (*EmailAddress) Reload

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

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

func (*EmailAddress) SetEmailDomain

func (o *EmailAddress) SetEmailDomain(ctx context.Context, exec boil.ContextExecutor, insert bool, related *EmailDomain) error

SetEmailDomain of the emailAddress to the related item. Sets o.R.EmailDomain to related. Adds o to related.R.EmailAddresses.

func (*EmailAddress) SetUserAccount

func (o *EmailAddress) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the emailAddress to the related item. Sets o.R.UserAccount to related. Adds o to related.R.EmailAddresses.

func (*EmailAddress) Update

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

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

func (*EmailAddress) Upsert

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

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

func (*EmailAddress) UserAccount

func (o *EmailAddress) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type EmailAddressHook

type EmailAddressHook func(context.Context, boil.ContextExecutor, *EmailAddress) error

EmailAddressHook is the signature for custom EmailAddress hook methods

type EmailAddressSlice

type EmailAddressSlice []*EmailAddress

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

func (EmailAddressSlice) DeleteAll

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

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

func (*EmailAddressSlice) ReloadAll

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

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

func (EmailAddressSlice) UpdateAll

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

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

type EmailDomain

type EmailDomain struct {
	EmailDomainID   int64     `boil:"email_domain_id" json:"email_domain_id" toml:"email_domain_id" yaml:"email_domain_id"`
	EmailDomainName string    `boil:"email_domain_name" json:"email_domain_name" toml:"email_domain_name" yaml:"email_domain_name"`
	UserAccountID   int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt       time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *emailDomainR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L emailDomainL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

EmailDomain is an object representing the database table.

func FindEmailDomain

func FindEmailDomain(ctx context.Context, exec boil.ContextExecutor, emailDomainID int64, selectCols ...string) (*EmailDomain, error)

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

func (*EmailDomain) AddEmailAddresses

func (o *EmailDomain) AddEmailAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EmailAddress) error

AddEmailAddresses adds the given related objects to the existing relationships of the email_domain, optionally inserting them as new records. Appends related to o.R.EmailAddresses. Sets related.R.EmailDomain appropriately.

func (*EmailDomain) Delete

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

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

func (*EmailDomain) EmailAddresses

func (o *EmailDomain) EmailAddresses(mods ...qm.QueryMod) emailAddressQuery

EmailAddresses retrieves all the email_address's EmailAddresses with an executor.

func (*EmailDomain) Insert

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

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

func (*EmailDomain) Reload

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

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

func (*EmailDomain) SetUserAccount

func (o *EmailDomain) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the emailDomain to the related item. Sets o.R.UserAccount to related. Adds o to related.R.EmailDomains.

func (*EmailDomain) Update

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

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

func (*EmailDomain) Upsert

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

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

func (*EmailDomain) UserAccount

func (o *EmailDomain) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type EmailDomainHook

type EmailDomainHook func(context.Context, boil.ContextExecutor, *EmailDomain) error

EmailDomainHook is the signature for custom EmailDomain hook methods

type EmailDomainSlice

type EmailDomainSlice []*EmailDomain

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

func (EmailDomainSlice) DeleteAll

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

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

func (*EmailDomainSlice) ReloadAll

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

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

func (EmailDomainSlice) UpdateAll

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

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

type Emoji

type Emoji struct {
	EmojiID  int64  `boil:"emoji_id" json:"emoji_id" toml:"emoji_id" yaml:"emoji_id"`
	CSSClass string `boil:"css_class" json:"css_class" toml:"css_class" yaml:"css_class"`

	R *emojiR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L emojiL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Emoji is an object representing the database table.

func FindEmoji

func FindEmoji(ctx context.Context, exec boil.ContextExecutor, emojiID int64, selectCols ...string) (*Emoji, error)

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

func (*Emoji) AddPollsFactorsPositions

func (o *Emoji) AddPollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsFactorsPosition) error

AddPollsFactorsPositions adds the given related objects to the existing relationships of the emoji, optionally inserting them as new records. Appends related to o.R.PollsFactorsPositions. Sets related.R.Emoji appropriately.

func (*Emoji) AddPositions

func (o *Emoji) AddPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Position) error

AddPositions adds the given related objects to the existing relationships of the emoji, optionally inserting them as new records. Appends related to o.R.Positions. Sets related.R.Emoji appropriately.

func (*Emoji) Delete

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

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

func (*Emoji) Insert

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

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

func (*Emoji) PollsFactorsPositions

func (o *Emoji) PollsFactorsPositions(mods ...qm.QueryMod) pollsFactorsPositionQuery

PollsFactorsPositions retrieves all the polls_factors_position's PollsFactorsPositions with an executor.

func (*Emoji) Positions

func (o *Emoji) Positions(mods ...qm.QueryMod) positionQuery

Positions retrieves all the position's Positions with an executor.

func (*Emoji) Reload

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

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

func (*Emoji) RemovePollsFactorsPositions

func (o *Emoji) RemovePollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, related ...*PollsFactorsPosition) error

RemovePollsFactorsPositions relationships from objects passed in. Removes related items from R.PollsFactorsPositions (uses pointer comparison, removal does not keep order) Sets related.R.Emoji.

func (*Emoji) RemovePositions

func (o *Emoji) RemovePositions(ctx context.Context, exec boil.ContextExecutor, related ...*Position) error

RemovePositions relationships from objects passed in. Removes related items from R.Positions (uses pointer comparison, removal does not keep order) Sets related.R.Emoji.

func (*Emoji) SetPollsFactorsPositions

func (o *Emoji) SetPollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsFactorsPosition) error

SetPollsFactorsPositions removes all previously related items of the emoji replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Emoji's PollsFactorsPositions accordingly. Replaces o.R.PollsFactorsPositions with related. Sets related.R.Emoji's PollsFactorsPositions accordingly.

func (*Emoji) SetPositions

func (o *Emoji) SetPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Position) error

SetPositions removes all previously related items of the emoji replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Emoji's Positions accordingly. Replaces o.R.Positions with related. Sets related.R.Emoji's Positions accordingly.

func (*Emoji) Update

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

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

func (*Emoji) Upsert

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

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

type EmojiHook

type EmojiHook func(context.Context, boil.ContextExecutor, *Emoji) error

EmojiHook is the signature for custom Emoji hook methods

type EmojiSlice

type EmojiSlice []*Emoji

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

func (EmojiSlice) DeleteAll

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

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

func (*EmojiSlice) ReloadAll

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

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

func (EmojiSlice) UpdateAll

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

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

type EthnicGroup

type EthnicGroup struct {
	EthnicGroupID   int64  `boil:"ethnic_group_id" json:"ethnic_group_id" toml:"ethnic_group_id" yaml:"ethnic_group_id"`
	EthnicGroupCode string `boil:"ethnic_group_code" json:"ethnic_group_code" toml:"ethnic_group_code" yaml:"ethnic_group_code"`
	EthnicGroupName string `boil:"ethnic_group_name" json:"ethnic_group_name" toml:"ethnic_group_name" yaml:"ethnic_group_name"`

	R *ethnicGroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L ethnicGroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

EthnicGroup is an object representing the database table.

func FindEthnicGroup

func FindEthnicGroup(ctx context.Context, exec boil.ContextExecutor, ethnicGroupID int64, selectCols ...string) (*EthnicGroup, error)

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

func (*EthnicGroup) AddEthnicGroupCountries

func (o *EthnicGroup) AddEthnicGroupCountries(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EthnicGroupCountry) error

AddEthnicGroupCountries adds the given related objects to the existing relationships of the ethnic_group, optionally inserting them as new records. Appends related to o.R.EthnicGroupCountries. Sets related.R.EthnicGroup appropriately.

func (*EthnicGroup) AddEthnicSubgroups

func (o *EthnicGroup) AddEthnicSubgroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EthnicSubgroup) error

AddEthnicSubgroups adds the given related objects to the existing relationships of the ethnic_group, optionally inserting them as new records. Appends related to o.R.EthnicSubgroups. Sets related.R.EthnicGroup appropriately.

func (*EthnicGroup) Delete

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

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

func (*EthnicGroup) EthnicGroupCountries

func (o *EthnicGroup) EthnicGroupCountries(mods ...qm.QueryMod) ethnicGroupCountryQuery

EthnicGroupCountries retrieves all the ethnic_group_country's EthnicGroupCountries with an executor.

func (*EthnicGroup) EthnicSubgroups

func (o *EthnicGroup) EthnicSubgroups(mods ...qm.QueryMod) ethnicSubgroupQuery

EthnicSubgroups retrieves all the ethnic_subgroup's EthnicSubgroups with an executor.

func (*EthnicGroup) Insert

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

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

func (*EthnicGroup) Reload

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

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

func (*EthnicGroup) Update

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

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

func (*EthnicGroup) Upsert

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

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

type EthnicGroupCountry

type EthnicGroupCountry struct {
	EthnicGroupCountryID int64 `boil:"ethnic_group_country_id" json:"ethnic_group_country_id" toml:"ethnic_group_country_id" yaml:"ethnic_group_country_id"`
	EthnicGroupID        int64 `boil:"ethnic_group_id" json:"ethnic_group_id" toml:"ethnic_group_id" yaml:"ethnic_group_id"`
	CountryID            int64 `boil:"country_id" json:"country_id" toml:"country_id" yaml:"country_id"`

	R *ethnicGroupCountryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L ethnicGroupCountryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

EthnicGroupCountry is an object representing the database table.

func FindEthnicGroupCountry

func FindEthnicGroupCountry(ctx context.Context, exec boil.ContextExecutor, ethnicGroupCountryID int64, selectCols ...string) (*EthnicGroupCountry, error)

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

func (*EthnicGroupCountry) Country

func (o *EthnicGroupCountry) Country(mods ...qm.QueryMod) countryQuery

Country pointed to by the foreign key.

func (*EthnicGroupCountry) Delete

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

func (*EthnicGroupCountry) EthnicGroup

func (o *EthnicGroupCountry) EthnicGroup(mods ...qm.QueryMod) ethnicGroupQuery

EthnicGroup pointed to by the foreign key.

func (*EthnicGroupCountry) Insert

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

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

func (*EthnicGroupCountry) Reload

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

func (*EthnicGroupCountry) SetCountry

func (o *EthnicGroupCountry) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Country) error

SetCountry of the ethnicGroupCountry to the related item. Sets o.R.Country to related. Adds o to related.R.EthnicGroupCountries.

func (*EthnicGroupCountry) SetEthnicGroup

func (o *EthnicGroupCountry) SetEthnicGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *EthnicGroup) error

SetEthnicGroup of the ethnicGroupCountry to the related item. Sets o.R.EthnicGroup to related. Adds o to related.R.EthnicGroupCountries.

func (*EthnicGroupCountry) Update

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

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

func (*EthnicGroupCountry) Upsert

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

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

type EthnicGroupCountryHook

type EthnicGroupCountryHook func(context.Context, boil.ContextExecutor, *EthnicGroupCountry) error

EthnicGroupCountryHook is the signature for custom EthnicGroupCountry hook methods

type EthnicGroupCountrySlice

type EthnicGroupCountrySlice []*EthnicGroupCountry

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

func (EthnicGroupCountrySlice) DeleteAll

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

func (*EthnicGroupCountrySlice) ReloadAll

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

func (EthnicGroupCountrySlice) UpdateAll

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

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

type EthnicGroupHook

type EthnicGroupHook func(context.Context, boil.ContextExecutor, *EthnicGroup) error

EthnicGroupHook is the signature for custom EthnicGroup hook methods

type EthnicGroupSlice

type EthnicGroupSlice []*EthnicGroup

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

func (EthnicGroupSlice) DeleteAll

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

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

func (*EthnicGroupSlice) ReloadAll

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

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

func (EthnicGroupSlice) UpdateAll

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

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

type EthnicSubgroup

type EthnicSubgroup struct {
	EthnicSubgroupID   int64  `boil:"ethnic_subgroup_id" json:"ethnic_subgroup_id" toml:"ethnic_subgroup_id" yaml:"ethnic_subgroup_id"`
	EthnicSubgroupCode string `boil:"ethnic_subgroup_code" json:"ethnic_subgroup_code" toml:"ethnic_subgroup_code" yaml:"ethnic_subgroup_code"`
	EthnicSubgroupName string `boil:"ethnic_subgroup_name" json:"ethnic_subgroup_name" toml:"ethnic_subgroup_name" yaml:"ethnic_subgroup_name"`
	EthnicGroupID      int64  `boil:"ethnic_group_id" json:"ethnic_group_id" toml:"ethnic_group_id" yaml:"ethnic_group_id"`

	R *ethnicSubgroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L ethnicSubgroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

EthnicSubgroup is an object representing the database table.

func FindEthnicSubgroup

func FindEthnicSubgroup(ctx context.Context, exec boil.ContextExecutor, ethnicSubgroupID int64, selectCols ...string) (*EthnicSubgroup, error)

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

func (*EthnicSubgroup) AddUserAccountEthnicities

func (o *EthnicSubgroup) AddUserAccountEthnicities(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccountEthnicity) error

AddUserAccountEthnicities adds the given related objects to the existing relationships of the ethnic_subgroup, optionally inserting them as new records. Appends related to o.R.UserAccountEthnicities. Sets related.R.EthnicSubgroup appropriately.

func (*EthnicSubgroup) Delete

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

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

func (*EthnicSubgroup) EthnicGroup

func (o *EthnicSubgroup) EthnicGroup(mods ...qm.QueryMod) ethnicGroupQuery

EthnicGroup pointed to by the foreign key.

func (*EthnicSubgroup) Insert

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

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

func (*EthnicSubgroup) Reload

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

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

func (*EthnicSubgroup) SetEthnicGroup

func (o *EthnicSubgroup) SetEthnicGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *EthnicGroup) error

SetEthnicGroup of the ethnicSubgroup to the related item. Sets o.R.EthnicGroup to related. Adds o to related.R.EthnicSubgroups.

func (*EthnicSubgroup) Update

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

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

func (*EthnicSubgroup) Upsert

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

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

func (*EthnicSubgroup) UserAccountEthnicities

func (o *EthnicSubgroup) UserAccountEthnicities(mods ...qm.QueryMod) userAccountEthnicityQuery

UserAccountEthnicities retrieves all the user_account_ethnicity's UserAccountEthnicities with an executor.

type EthnicSubgroupHook

type EthnicSubgroupHook func(context.Context, boil.ContextExecutor, *EthnicSubgroup) error

EthnicSubgroupHook is the signature for custom EthnicSubgroup hook methods

type EthnicSubgroupSlice

type EthnicSubgroupSlice []*EthnicSubgroup

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

func (EthnicSubgroupSlice) DeleteAll

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

func (*EthnicSubgroupSlice) ReloadAll

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

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

func (EthnicSubgroupSlice) UpdateAll

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

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

type Factor

type Factor struct {
	FactorID          int64       `boil:"factor_id" json:"factor_id" toml:"factor_id" yaml:"factor_id"`
	ParentFactorID    null.Int64  `boil:"parent_factor_id" json:"parent_factor_id,omitempty" toml:"parent_factor_id" yaml:"parent_factor_id,omitempty"`
	UserAccountID     int64       `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	FactorName        string      `boil:"factor_name" json:"factor_name" toml:"factor_name" yaml:"factor_name"`
	FactorDescription null.String `boil:"factor_description" json:"factor_description,omitempty" toml:"factor_description" yaml:"factor_description,omitempty"`
	CreatedAt         time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *factorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L factorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Factor is an object representing the database table.

func FindFactor

func FindFactor(ctx context.Context, exec boil.ContextExecutor, factorID int64, selectCols ...string) (*Factor, error)

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

func (*Factor) AddFactorPositions

func (o *Factor) AddFactorPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*FactorPosition) error

AddFactorPositions adds the given related objects to the existing relationships of the factor, optionally inserting them as new records. Appends related to o.R.FactorPositions. Sets related.R.Factor appropriately.

func (o *Factor) AddFactorsLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*FactorsLink) error

AddFactorsLinks adds the given related objects to the existing relationships of the factor, optionally inserting them as new records. Appends related to o.R.FactorsLinks. Sets related.R.Factor appropriately.

func (*Factor) AddParentFactorFactors

func (o *Factor) AddParentFactorFactors(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Factor) error

AddParentFactorFactors adds the given related objects to the existing relationships of the factor, optionally inserting them as new records. Appends related to o.R.ParentFactorFactors. Sets related.R.ParentFactor appropriately.

func (*Factor) Delete

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

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

func (*Factor) FactorPositions

func (o *Factor) FactorPositions(mods ...qm.QueryMod) factorPositionQuery

FactorPositions retrieves all the factor_position's FactorPositions with an executor.

func (o *Factor) FactorsLinks(mods ...qm.QueryMod) factorsLinkQuery

FactorsLinks retrieves all the factors_link's FactorsLinks with an executor.

func (*Factor) Insert

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

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

func (*Factor) ParentFactor

func (o *Factor) ParentFactor(mods ...qm.QueryMod) factorQuery

ParentFactor pointed to by the foreign key.

func (*Factor) ParentFactorFactors

func (o *Factor) ParentFactorFactors(mods ...qm.QueryMod) factorQuery

ParentFactorFactors retrieves all the factor's Factors with an executor via parent_factor_id column.

func (*Factor) Reload

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

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

func (*Factor) RemoveParentFactor

func (o *Factor) RemoveParentFactor(ctx context.Context, exec boil.ContextExecutor, related *Factor) error

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

func (*Factor) RemoveParentFactorFactors

func (o *Factor) RemoveParentFactorFactors(ctx context.Context, exec boil.ContextExecutor, related ...*Factor) error

RemoveParentFactorFactors relationships from objects passed in. Removes related items from R.ParentFactorFactors (uses pointer comparison, removal does not keep order) Sets related.R.ParentFactor.

func (*Factor) SetParentFactor

func (o *Factor) SetParentFactor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Factor) error

SetParentFactor of the factor to the related item. Sets o.R.ParentFactor to related. Adds o to related.R.ParentFactorFactors.

func (*Factor) SetParentFactorFactors

func (o *Factor) SetParentFactorFactors(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Factor) error

SetParentFactorFactors removes all previously related items of the factor replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ParentFactor's ParentFactorFactors accordingly. Replaces o.R.ParentFactorFactors with related. Sets related.R.ParentFactor's ParentFactorFactors accordingly.

func (*Factor) SetUserAccount

func (o *Factor) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the factor to the related item. Sets o.R.UserAccount to related. Adds o to related.R.Factors.

func (*Factor) Update

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

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

func (*Factor) Upsert

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

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

func (*Factor) UserAccount

func (o *Factor) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type FactorHook

type FactorHook func(context.Context, boil.ContextExecutor, *Factor) error

FactorHook is the signature for custom Factor hook methods

type FactorPosition

type FactorPosition struct {
	FactorPositionID int64     `boil:"factor_position_id" json:"factor_position_id" toml:"factor_position_id" yaml:"factor_position_id"`
	FactorID         int64     `boil:"factor_id" json:"factor_id" toml:"factor_id" yaml:"factor_id"`
	PositionID       int64     `boil:"position_id" json:"position_id" toml:"position_id" yaml:"position_id"`
	UserAccountID    int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *factorPositionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L factorPositionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

FactorPosition is an object representing the database table.

func FindFactorPosition

func FindFactorPosition(ctx context.Context, exec boil.ContextExecutor, factorPositionID int64, selectCols ...string) (*FactorPosition, error)

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

func (*FactorPosition) AddPollsFactorsPositions

func (o *FactorPosition) AddPollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsFactorsPosition) error

AddPollsFactorsPositions adds the given related objects to the existing relationships of the factor_position, optionally inserting them as new records. Appends related to o.R.PollsFactorsPositions. Sets related.R.FactorPosition appropriately.

func (*FactorPosition) Delete

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

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

func (*FactorPosition) Factor

func (o *FactorPosition) Factor(mods ...qm.QueryMod) factorQuery

Factor pointed to by the foreign key.

func (*FactorPosition) Insert

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

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

func (*FactorPosition) PollsFactorsPositions

func (o *FactorPosition) PollsFactorsPositions(mods ...qm.QueryMod) pollsFactorsPositionQuery

PollsFactorsPositions retrieves all the polls_factors_position's PollsFactorsPositions with an executor.

func (*FactorPosition) Position

func (o *FactorPosition) Position(mods ...qm.QueryMod) positionQuery

Position pointed to by the foreign key.

func (*FactorPosition) Reload

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

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

func (*FactorPosition) SetFactor

func (o *FactorPosition) SetFactor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Factor) error

SetFactor of the factorPosition to the related item. Sets o.R.Factor to related. Adds o to related.R.FactorPositions.

func (*FactorPosition) SetPosition

func (o *FactorPosition) SetPosition(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Position) error

SetPosition of the factorPosition to the related item. Sets o.R.Position to related. Adds o to related.R.FactorPositions.

func (*FactorPosition) Update

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

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

func (*FactorPosition) Upsert

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

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

type FactorPositionHook

type FactorPositionHook func(context.Context, boil.ContextExecutor, *FactorPosition) error

FactorPositionHook is the signature for custom FactorPosition hook methods

type FactorPositionSlice

type FactorPositionSlice []*FactorPosition

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

func (FactorPositionSlice) DeleteAll

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

func (*FactorPositionSlice) ReloadAll

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

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

func (FactorPositionSlice) UpdateAll

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

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

type FactorSlice

type FactorSlice []*Factor

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

func (FactorSlice) DeleteAll

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

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

func (*FactorSlice) ReloadAll

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

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

func (FactorSlice) UpdateAll

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

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

type FactorsLink struct {
	FactorsLinkID int64     `boil:"factors_link_id" json:"factors_link_id" toml:"factors_link_id" yaml:"factors_link_id"`
	FactorsID     int64     `boil:"factors_id" json:"factors_id" toml:"factors_id" yaml:"factors_id"`
	LinksID       int64     `boil:"links_id" json:"links_id" toml:"links_id" yaml:"links_id"`
	UserAccountID int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *factorsLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L factorsLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

FactorsLink is an object representing the database table.

func FindFactorsLink(ctx context.Context, exec boil.ContextExecutor, factorsLinkID int64, selectCols ...string) (*FactorsLink, error)

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

func (*FactorsLink) Delete

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

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

func (*FactorsLink) Factor

func (o *FactorsLink) Factor(mods ...qm.QueryMod) factorQuery

Factor pointed to by the foreign key.

func (*FactorsLink) Insert

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

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

func (o *FactorsLink) Link(mods ...qm.QueryMod) linkQuery

Link pointed to by the foreign key.

func (*FactorsLink) Reload

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

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

func (*FactorsLink) SetFactor

func (o *FactorsLink) SetFactor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Factor) error

SetFactor of the factorsLink to the related item. Sets o.R.Factor to related. Adds o to related.R.FactorsLinks.

func (o *FactorsLink) SetLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error

SetLink of the factorsLink to the related item. Sets o.R.Link to related. Adds o to related.R.FactorsLinks.

func (*FactorsLink) SetUserAccount

func (o *FactorsLink) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the factorsLink to the related item. Sets o.R.UserAccount to related. Adds o to related.R.FactorsLinks.

func (*FactorsLink) Update

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

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

func (*FactorsLink) Upsert

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

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

func (*FactorsLink) UserAccount

func (o *FactorsLink) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type FactorsLinkHook

type FactorsLinkHook func(context.Context, boil.ContextExecutor, *FactorsLink) error

FactorsLinkHook is the signature for custom FactorsLink hook methods

type FactorsLinkSlice

type FactorsLinkSlice []*FactorsLink

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

func (FactorsLinkSlice) DeleteAll

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

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

func (*FactorsLinkSlice) ReloadAll

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

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

func (FactorsLinkSlice) UpdateAll

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

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

type Honor

type Honor struct {
	HonorID   int64  `boil:"honor_id" json:"honor_id" toml:"honor_id" yaml:"honor_id"`
	HonorName string `boil:"honor_name" json:"honor_name" toml:"honor_name" yaml:"honor_name"`

	R *honorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L honorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Honor is an object representing the database table.

func FindHonor

func FindHonor(ctx context.Context, exec boil.ContextExecutor, honorID int64, selectCols ...string) (*Honor, error)

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

func (*Honor) AddUserPersonalInfoHonors

func (o *Honor) AddUserPersonalInfoHonors(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfoHonor) error

AddUserPersonalInfoHonors adds the given related objects to the existing relationships of the honor, optionally inserting them as new records. Appends related to o.R.UserPersonalInfoHonors. Sets related.R.Honor appropriately.

func (*Honor) Delete

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

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

func (*Honor) Insert

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

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

func (*Honor) Reload

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

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

func (*Honor) Update

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

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

func (*Honor) Upsert

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

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

func (*Honor) UserPersonalInfoHonors

func (o *Honor) UserPersonalInfoHonors(mods ...qm.QueryMod) userPersonalInfoHonorQuery

UserPersonalInfoHonors retrieves all the user_personal_info_honor's UserPersonalInfoHonors with an executor.

type HonorHook

type HonorHook func(context.Context, boil.ContextExecutor, *Honor) error

HonorHook is the signature for custom Honor hook methods

type HonorSlice

type HonorSlice []*Honor

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

func (HonorSlice) DeleteAll

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

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

func (*HonorSlice) ReloadAll

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

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

func (HonorSlice) UpdateAll

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

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

type Label

type Label struct {
	LabelID       int64       `boil:"label_id" json:"label_id" toml:"label_id" yaml:"label_id"`
	Name          string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	Description   null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"`
	UserAccountID int64       `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt     time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_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(ctx context.Context, exec boil.ContextExecutor, labelID int64, selectCols ...string) (*Label, error)

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

func (*Label) AddPollsLabels

func (o *Label) AddPollsLabels(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsLabel) error

AddPollsLabels adds the given related objects to the existing relationships of the label, optionally inserting them as new records. Appends related to o.R.PollsLabels. Sets related.R.Label appropriately.

func (*Label) Delete

func (o *Label) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, 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) Insert

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

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

func (*Label) PollsLabels

func (o *Label) PollsLabels(mods ...qm.QueryMod) pollsLabelQuery

PollsLabels retrieves all the polls_label's PollsLabels with an executor.

func (*Label) Reload

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

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

func (*Label) SetUserAccount

func (o *Label) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the label to the related item. Sets o.R.UserAccount to related. Adds o to related.R.Labels.

func (*Label) Update

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

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

func (*Label) Upsert

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

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

func (*Label) UserAccount

func (o *Label) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type LabelHook

type LabelHook func(context.Context, boil.ContextExecutor, *Label) error

LabelHook is the signature for custom Label hook methods

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(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*LabelSlice) ReloadAll

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

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

func (LabelSlice) UpdateAll

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

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

type Link struct {
	LinkID        int64     `boil:"link_id" json:"link_id" toml:"link_id" yaml:"link_id"`
	LinkServer    string    `boil:"link_server" json:"link_server" toml:"link_server" yaml:"link_server"`
	LinkAddres    string    `boil:"link_addres" json:"link_addres" toml:"link_addres" yaml:"link_addres"`
	UserAccountID int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *linkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L linkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Link is an object representing the database table.

func FindLink(ctx context.Context, exec boil.ContextExecutor, linkID int64, selectCols ...string) (*Link, error)

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

func (o *Link) AddFactorsLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*FactorsLink) error

AddFactorsLinks adds the given related objects to the existing relationships of the link, optionally inserting them as new records. Appends related to o.R.FactorsLinks. Sets related.R.Link appropriately.

func (o *Link) AddMessagesLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MessagesLink) error

AddMessagesLinks adds the given related objects to the existing relationships of the link, optionally inserting them as new records. Appends related to o.R.MessagesLinks. Sets related.R.Link appropriately.

func (o *Link) AddPollsLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsLink) error

AddPollsLinks adds the given related objects to the existing relationships of the link, optionally inserting them as new records. Appends related to o.R.PollsLinks. Sets related.R.Link appropriately.

func (*Link) Delete

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

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

func (o *Link) FactorsLinks(mods ...qm.QueryMod) factorsLinkQuery

FactorsLinks retrieves all the factors_link's FactorsLinks with an executor.

func (*Link) Insert

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

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

func (o *Link) MessagesLinks(mods ...qm.QueryMod) messagesLinkQuery

MessagesLinks retrieves all the messages_link's MessagesLinks with an executor.

func (o *Link) PollsLinks(mods ...qm.QueryMod) pollsLinkQuery

PollsLinks retrieves all the polls_link's PollsLinks with an executor.

func (*Link) Reload

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

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

func (*Link) SetUserAccount

func (o *Link) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the link to the related item. Sets o.R.UserAccount to related. Adds o to related.R.Links.

func (*Link) Update

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

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

func (*Link) Upsert

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

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

func (*Link) UserAccount

func (o *Link) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type LinkHook

type LinkHook func(context.Context, boil.ContextExecutor, *Link) error

LinkHook is the signature for custom Link hook methods

type LinkSlice

type LinkSlice []*Link

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

func (LinkSlice) DeleteAll

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

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

func (*LinkSlice) ReloadAll

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

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

func (LinkSlice) UpdateAll

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

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

type M

type M map[string]interface{}

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

type Message

type Message struct {
	MessageID       int64     `boil:"message_id" json:"message_id" toml:"message_id" yaml:"message_id"`
	ParentMessageID int64     `boil:"parent_message_id" json:"parent_message_id" toml:"parent_message_id" yaml:"parent_message_id"`
	UserAccountID   int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	MessageSubject  string    `boil:"message_subject" json:"message_subject" toml:"message_subject" yaml:"message_subject"`
	MessageText     string    `boil:"message_text" json:"message_text" toml:"message_text" yaml:"message_text"`
	MessageType     string    `boil:"message_type" json:"message_type" toml:"message_type" yaml:"message_type"`
	CreatedAt       time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *messageR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L messageL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Message is an object representing the database table.

func FindMessage

func FindMessage(ctx context.Context, exec boil.ContextExecutor, messageID int64, selectCols ...string) (*Message, error)

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

func (o *Message) AddMessagesLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MessagesLink) error

AddMessagesLinks adds the given related objects to the existing relationships of the message, optionally inserting them as new records. Appends related to o.R.MessagesLinks. Sets related.R.Message appropriately.

func (*Message) AddPollsMessages

func (o *Message) AddPollsMessages(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsMessage) error

AddPollsMessages adds the given related objects to the existing relationships of the message, optionally inserting them as new records. Appends related to o.R.PollsMessages. Sets related.R.Message appropriately.

func (*Message) Delete

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

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

func (*Message) Insert

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

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

func (o *Message) MessagesLinks(mods ...qm.QueryMod) messagesLinkQuery

MessagesLinks retrieves all the messages_link's MessagesLinks with an executor.

func (*Message) ParentMessage

func (o *Message) ParentMessage(mods ...qm.QueryMod) messageQuery

ParentMessage pointed to by the foreign key.

func (*Message) ParentMessageMessage

func (o *Message) ParentMessageMessage(mods ...qm.QueryMod) messageQuery

ParentMessageMessage pointed to by the foreign key.

func (*Message) PollsMessages

func (o *Message) PollsMessages(mods ...qm.QueryMod) pollsMessageQuery

PollsMessages retrieves all the polls_message's PollsMessages with an executor.

func (*Message) Reload

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

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

func (*Message) SetParentMessage

func (o *Message) SetParentMessage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Message) error

SetParentMessage of the message to the related item. Sets o.R.ParentMessage to related. Adds o to related.R.ParentMessageMessage.

func (*Message) SetParentMessageMessage

func (o *Message) SetParentMessageMessage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Message) error

SetParentMessageMessage of the message to the related item. Sets o.R.ParentMessageMessage to related. Adds o to related.R.ParentMessage.

func (*Message) SetUserAccount

func (o *Message) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the message to the related item. Sets o.R.UserAccount to related. Adds o to related.R.Messages.

func (*Message) Update

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

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

func (*Message) Upsert

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

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

func (*Message) UserAccount

func (o *Message) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type MessageHook

type MessageHook func(context.Context, boil.ContextExecutor, *Message) error

MessageHook is the signature for custom Message hook methods

type MessageSlice

type MessageSlice []*Message

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

func (MessageSlice) DeleteAll

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

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

func (*MessageSlice) ReloadAll

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

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

func (MessageSlice) UpdateAll

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

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

type MessagesLink struct {
	MessageLinkID int64 `boil:"message_link_id" json:"message_link_id" toml:"message_link_id" yaml:"message_link_id"`
	MessageID     int64 `boil:"message_id" json:"message_id" toml:"message_id" yaml:"message_id"`
	LinkID        int64 `boil:"link_id" json:"link_id" toml:"link_id" yaml:"link_id"`

	R *messagesLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L messagesLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

MessagesLink is an object representing the database table.

func FindMessagesLink(ctx context.Context, exec boil.ContextExecutor, messageLinkID int64, selectCols ...string) (*MessagesLink, error)

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

func (*MessagesLink) Delete

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

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

func (*MessagesLink) Insert

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

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

func (o *MessagesLink) Link(mods ...qm.QueryMod) linkQuery

Link pointed to by the foreign key.

func (*MessagesLink) Message

func (o *MessagesLink) Message(mods ...qm.QueryMod) messageQuery

Message pointed to by the foreign key.

func (*MessagesLink) Reload

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

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

func (o *MessagesLink) SetLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error

SetLink of the messagesLink to the related item. Sets o.R.Link to related. Adds o to related.R.MessagesLinks.

func (*MessagesLink) SetMessage

func (o *MessagesLink) SetMessage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Message) error

SetMessage of the messagesLink to the related item. Sets o.R.Message to related. Adds o to related.R.MessagesLinks.

func (*MessagesLink) Update

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

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

func (*MessagesLink) Upsert

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

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

type MessagesLinkHook

type MessagesLinkHook func(context.Context, boil.ContextExecutor, *MessagesLink) error

MessagesLinkHook is the signature for custom MessagesLink hook methods

type MessagesLinkSlice

type MessagesLinkSlice []*MessagesLink

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

func (MessagesLinkSlice) DeleteAll

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

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

func (*MessagesLinkSlice) ReloadAll

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

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

func (MessagesLinkSlice) UpdateAll

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

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

type NameAfterLastName

type NameAfterLastName struct {
	NameAfterLastNameID int64  `boil:"name_after_last_name_id" json:"name_after_last_name_id" toml:"name_after_last_name_id" yaml:"name_after_last_name_id"`
	NameAfterLastName   string `boil:"name_after_last_name" json:"name_after_last_name" toml:"name_after_last_name" yaml:"name_after_last_name"`

	R *nameAfterLastNameR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L nameAfterLastNameL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

NameAfterLastName is an object representing the database table.

func FindNameAfterLastName

func FindNameAfterLastName(ctx context.Context, exec boil.ContextExecutor, nameAfterLastNameID int64, selectCols ...string) (*NameAfterLastName, error)

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

func (*NameAfterLastName) AddUserAccounts

func (o *NameAfterLastName) AddUserAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccount) error

AddUserAccounts adds the given related objects to the existing relationships of the name_after_last_name, optionally inserting them as new records. Appends related to o.R.UserAccounts. Sets related.R.NameAfterLastName appropriately.

func (*NameAfterLastName) Delete

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

func (*NameAfterLastName) Insert

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

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

func (*NameAfterLastName) Reload

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

func (*NameAfterLastName) RemoveUserAccounts

func (o *NameAfterLastName) RemoveUserAccounts(ctx context.Context, exec boil.ContextExecutor, related ...*UserAccount) error

RemoveUserAccounts relationships from objects passed in. Removes related items from R.UserAccounts (uses pointer comparison, removal does not keep order) Sets related.R.NameAfterLastName.

func (*NameAfterLastName) SetUserAccounts

func (o *NameAfterLastName) SetUserAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccount) error

SetUserAccounts removes all previously related items of the name_after_last_name replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.NameAfterLastName's UserAccounts accordingly. Replaces o.R.UserAccounts with related. Sets related.R.NameAfterLastName's UserAccounts accordingly.

func (*NameAfterLastName) Update

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

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

func (*NameAfterLastName) Upsert

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

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

func (*NameAfterLastName) UserAccounts

func (o *NameAfterLastName) UserAccounts(mods ...qm.QueryMod) userAccountQuery

UserAccounts retrieves all the user_account's UserAccounts with an executor.

type NameAfterLastNameHook

type NameAfterLastNameHook func(context.Context, boil.ContextExecutor, *NameAfterLastName) error

NameAfterLastNameHook is the signature for custom NameAfterLastName hook methods

type NameAfterLastNameSlice

type NameAfterLastNameSlice []*NameAfterLastName

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

func (NameAfterLastNameSlice) DeleteAll

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

func (*NameAfterLastNameSlice) ReloadAll

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

func (NameAfterLastNameSlice) UpdateAll

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

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

type PersonType

type PersonType struct {
	PersonTypeID   int64  `boil:"person_type_id" json:"person_type_id" toml:"person_type_id" yaml:"person_type_id"`
	PersonTypeName string `boil:"person_type_name" json:"person_type_name" toml:"person_type_name" yaml:"person_type_name"`

	R *personTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L personTypeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PersonType is an object representing the database table.

func FindPersonType

func FindPersonType(ctx context.Context, exec boil.ContextExecutor, personTypeID int64, selectCols ...string) (*PersonType, error)

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

func (*PersonType) AddUserPersonalInfos

func (o *PersonType) AddUserPersonalInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfo) error

AddUserPersonalInfos adds the given related objects to the existing relationships of the person_type, optionally inserting them as new records. Appends related to o.R.UserPersonalInfos. Sets related.R.PersonType appropriately.

func (*PersonType) Delete

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

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

func (*PersonType) Insert

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

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

func (*PersonType) Reload

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

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

func (*PersonType) Update

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

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

func (*PersonType) Upsert

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

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

func (*PersonType) UserPersonalInfos

func (o *PersonType) UserPersonalInfos(mods ...qm.QueryMod) userPersonalInfoQuery

UserPersonalInfos retrieves all the user_personal_info's UserPersonalInfos with an executor.

type PersonTypeHook

type PersonTypeHook func(context.Context, boil.ContextExecutor, *PersonType) error

PersonTypeHook is the signature for custom PersonType hook methods

type PersonTypeSlice

type PersonTypeSlice []*PersonType

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

func (PersonTypeSlice) DeleteAll

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

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

func (*PersonTypeSlice) ReloadAll

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

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

func (PersonTypeSlice) UpdateAll

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

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

type Poll

type Poll struct {
	PollID          int64     `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	ParentPollID    int64     `boil:"parent_poll_id" json:"parent_poll_id" toml:"parent_poll_id" yaml:"parent_poll_id"`
	UserAccountID   int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	PollTitle       string    `boil:"poll_title" json:"poll_title" toml:"poll_title" yaml:"poll_title"`
	PollDescription string    `boil:"poll_description" json:"poll_description" toml:"poll_description" yaml:"poll_description"`
	ThemeID         int64     `boil:"theme_id" json:"theme_id" toml:"theme_id" yaml:"theme_id"`
	CreatedAt       time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	StartDate       time.Time `boil:"start_date" json:"start_date" toml:"start_date" yaml:"start_date"`
	EndDate         time.Time `boil:"end_date" json:"end_date" toml:"end_date" yaml:"end_date"`

	R *pollR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Poll is an object representing the database table.

func FindPoll

func FindPoll(ctx context.Context, exec boil.ContextExecutor, pollID int64, selectCols ...string) (*Poll, error)

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

func (*Poll) AddPollsContinents

func (o *Poll) AddPollsContinents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsContinent) error

AddPollsContinents adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsContinents. Sets related.R.Poll appropriately.

func (*Poll) AddPollsCounties

func (o *Poll) AddPollsCounties(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsCounty) error

AddPollsCounties adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsCounties. Sets related.R.Poll appropriately.

func (*Poll) AddPollsCountries

func (o *Poll) AddPollsCountries(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsCountry) error

AddPollsCountries adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsCountries. Sets related.R.Poll appropriately.

func (*Poll) AddPollsFactorsPositions

func (o *Poll) AddPollsFactorsPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsFactorsPosition) error

AddPollsFactorsPositions adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsFactorsPositions. Sets related.R.Poll appropriately.

func (*Poll) AddPollsLabels

func (o *Poll) AddPollsLabels(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsLabel) error

AddPollsLabels adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsLabels. Sets related.R.Poll appropriately.

func (o *Poll) AddPollsLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsLink) error

AddPollsLinks adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsLinks. Sets related.R.Poll appropriately.

func (*Poll) AddPollsMessages

func (o *Poll) AddPollsMessages(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsMessage) error

AddPollsMessages adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsMessages. Sets related.R.Poll appropriately.

func (*Poll) AddPollsPollsGroups

func (o *Poll) AddPollsPollsGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsPollsGroup) error

AddPollsPollsGroups adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsPollsGroups. Sets related.R.Poll appropriately.

func (*Poll) AddPollsStates

func (o *Poll) AddPollsStates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsState) error

AddPollsStates adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsStates. Sets related.R.Poll appropriately.

func (*Poll) AddPollsTowns

func (o *Poll) AddPollsTowns(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsTown) error

AddPollsTowns adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.PollsTowns. Sets related.R.Poll appropriately.

func (*Poll) AddVotes

func (o *Poll) AddVotes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Vote) error

AddVotes adds the given related objects to the existing relationships of the poll, optionally inserting them as new records. Appends related to o.R.Votes. Sets related.R.Poll appropriately.

func (*Poll) Delete

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

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

func (*Poll) Insert

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

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

func (*Poll) ParentPoll

func (o *Poll) ParentPoll(mods ...qm.QueryMod) pollQuery

ParentPoll pointed to by the foreign key.

func (*Poll) ParentPollPoll

func (o *Poll) ParentPollPoll(mods ...qm.QueryMod) pollQuery

ParentPollPoll pointed to by the foreign key.

func (*Poll) PollsContinents

func (o *Poll) PollsContinents(mods ...qm.QueryMod) pollsContinentQuery

PollsContinents retrieves all the polls_continent's PollsContinents with an executor.

func (*Poll) PollsCounties

func (o *Poll) PollsCounties(mods ...qm.QueryMod) pollsCountyQuery

PollsCounties retrieves all the polls_county's PollsCounties with an executor.

func (*Poll) PollsCountries

func (o *Poll) PollsCountries(mods ...qm.QueryMod) pollsCountryQuery

PollsCountries retrieves all the polls_country's PollsCountries with an executor.

func (*Poll) PollsFactorsPositions

func (o *Poll) PollsFactorsPositions(mods ...qm.QueryMod) pollsFactorsPositionQuery

PollsFactorsPositions retrieves all the polls_factors_position's PollsFactorsPositions with an executor.

func (*Poll) PollsLabels

func (o *Poll) PollsLabels(mods ...qm.QueryMod) pollsLabelQuery

PollsLabels retrieves all the polls_label's PollsLabels with an executor.

func (o *Poll) PollsLinks(mods ...qm.QueryMod) pollsLinkQuery

PollsLinks retrieves all the polls_link's PollsLinks with an executor.

func (*Poll) PollsMessages

func (o *Poll) PollsMessages(mods ...qm.QueryMod) pollsMessageQuery

PollsMessages retrieves all the polls_message's PollsMessages with an executor.

func (*Poll) PollsPollsGroups

func (o *Poll) PollsPollsGroups(mods ...qm.QueryMod) pollsPollsGroupQuery

PollsPollsGroups retrieves all the polls_polls_group's PollsPollsGroups with an executor.

func (*Poll) PollsStates

func (o *Poll) PollsStates(mods ...qm.QueryMod) pollsStateQuery

PollsStates retrieves all the polls_state's PollsStates with an executor.

func (*Poll) PollsTowns

func (o *Poll) PollsTowns(mods ...qm.QueryMod) pollsTownQuery

PollsTowns retrieves all the polls_town's PollsTowns with an executor.

func (*Poll) Reload

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

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

func (*Poll) SetParentPoll

func (o *Poll) SetParentPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetParentPoll of the poll to the related item. Sets o.R.ParentPoll to related. Adds o to related.R.ParentPollPoll.

func (*Poll) SetParentPollPoll

func (o *Poll) SetParentPollPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetParentPollPoll of the poll to the related item. Sets o.R.ParentPollPoll to related. Adds o to related.R.ParentPoll.

func (*Poll) SetTheme

func (o *Poll) SetTheme(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Theme) error

SetTheme of the poll to the related item. Sets o.R.Theme to related. Adds o to related.R.Polls.

func (*Poll) SetUserAccount

func (o *Poll) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the poll to the related item. Sets o.R.UserAccount to related. Adds o to related.R.Polls.

func (*Poll) Theme

func (o *Poll) Theme(mods ...qm.QueryMod) themeQuery

Theme pointed to by the foreign key.

func (*Poll) Update

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

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

func (*Poll) Upsert

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

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

func (*Poll) UserAccount

func (o *Poll) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

func (*Poll) Votes

func (o *Poll) Votes(mods ...qm.QueryMod) voteQuery

Votes retrieves all the vote's Votes with an executor.

type PollHook

type PollHook func(context.Context, boil.ContextExecutor, *Poll) error

PollHook is the signature for custom Poll hook methods

type PollSlice

type PollSlice []*Poll

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

func (PollSlice) DeleteAll

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

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

func (*PollSlice) ReloadAll

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

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

func (PollSlice) UpdateAll

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

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

type PollsContinent

type PollsContinent struct {
	PollContinentID int64 `boil:"poll_continent_id" json:"poll_continent_id" toml:"poll_continent_id" yaml:"poll_continent_id"`
	PollID          int64 `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	ContinentID     int64 `boil:"continent_id" json:"continent_id" toml:"continent_id" yaml:"continent_id"`

	R *pollsContinentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsContinentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsContinent is an object representing the database table.

func FindPollsContinent

func FindPollsContinent(ctx context.Context, exec boil.ContextExecutor, pollContinentID int64, selectCols ...string) (*PollsContinent, error)

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

func (*PollsContinent) Continent

func (o *PollsContinent) Continent(mods ...qm.QueryMod) continentQuery

Continent pointed to by the foreign key.

func (*PollsContinent) Delete

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

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

func (*PollsContinent) Insert

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

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

func (*PollsContinent) Poll

func (o *PollsContinent) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsContinent) Reload

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

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

func (*PollsContinent) SetContinent

func (o *PollsContinent) SetContinent(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Continent) error

SetContinent of the pollsContinent to the related item. Sets o.R.Continent to related. Adds o to related.R.PollsContinents.

func (*PollsContinent) SetPoll

func (o *PollsContinent) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsContinent to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsContinents.

func (*PollsContinent) Update

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

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

func (*PollsContinent) Upsert

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

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

type PollsContinentHook

type PollsContinentHook func(context.Context, boil.ContextExecutor, *PollsContinent) error

PollsContinentHook is the signature for custom PollsContinent hook methods

type PollsContinentSlice

type PollsContinentSlice []*PollsContinent

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

func (PollsContinentSlice) DeleteAll

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

func (*PollsContinentSlice) ReloadAll

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

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

func (PollsContinentSlice) UpdateAll

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

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

type PollsCountry

type PollsCountry struct {
	PollCountryID int64 `boil:"poll_country_id" json:"poll_country_id" toml:"poll_country_id" yaml:"poll_country_id"`
	PollID        int64 `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	CountryID     int64 `boil:"country_id" json:"country_id" toml:"country_id" yaml:"country_id"`

	R *pollsCountryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsCountryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsCountry is an object representing the database table.

func FindPollsCountry

func FindPollsCountry(ctx context.Context, exec boil.ContextExecutor, pollCountryID int64, selectCols ...string) (*PollsCountry, error)

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

func (*PollsCountry) Country

func (o *PollsCountry) Country(mods ...qm.QueryMod) countryQuery

Country pointed to by the foreign key.

func (*PollsCountry) Delete

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

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

func (*PollsCountry) Insert

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

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

func (*PollsCountry) Poll

func (o *PollsCountry) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsCountry) Reload

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

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

func (*PollsCountry) SetCountry

func (o *PollsCountry) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Country) error

SetCountry of the pollsCountry to the related item. Sets o.R.Country to related. Adds o to related.R.PollsCountries.

func (*PollsCountry) SetPoll

func (o *PollsCountry) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsCountry to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsCountries.

func (*PollsCountry) Update

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

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

func (*PollsCountry) Upsert

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

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

type PollsCountryHook

type PollsCountryHook func(context.Context, boil.ContextExecutor, *PollsCountry) error

PollsCountryHook is the signature for custom PollsCountry hook methods

type PollsCountrySlice

type PollsCountrySlice []*PollsCountry

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

func (PollsCountrySlice) DeleteAll

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

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

func (*PollsCountrySlice) ReloadAll

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

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

func (PollsCountrySlice) UpdateAll

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

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

type PollsCounty

type PollsCounty struct {
	PollCountyID int64 `boil:"poll_county_id" json:"poll_county_id" toml:"poll_county_id" yaml:"poll_county_id"`
	PollID       int64 `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	CountyID     int64 `boil:"county_id" json:"county_id" toml:"county_id" yaml:"county_id"`

	R *pollsCountyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsCountyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsCounty is an object representing the database table.

func FindPollsCounty

func FindPollsCounty(ctx context.Context, exec boil.ContextExecutor, pollCountyID int64, selectCols ...string) (*PollsCounty, error)

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

func (*PollsCounty) County

func (o *PollsCounty) County(mods ...qm.QueryMod) countyQuery

County pointed to by the foreign key.

func (*PollsCounty) Delete

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

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

func (*PollsCounty) Insert

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

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

func (*PollsCounty) Poll

func (o *PollsCounty) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsCounty) Reload

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

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

func (*PollsCounty) SetCounty

func (o *PollsCounty) SetCounty(ctx context.Context, exec boil.ContextExecutor, insert bool, related *County) error

SetCounty of the pollsCounty to the related item. Sets o.R.County to related. Adds o to related.R.PollsCounties.

func (*PollsCounty) SetPoll

func (o *PollsCounty) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsCounty to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsCounties.

func (*PollsCounty) Update

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

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

func (*PollsCounty) Upsert

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

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

type PollsCountyHook

type PollsCountyHook func(context.Context, boil.ContextExecutor, *PollsCounty) error

PollsCountyHook is the signature for custom PollsCounty hook methods

type PollsCountySlice

type PollsCountySlice []*PollsCounty

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

func (PollsCountySlice) DeleteAll

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

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

func (*PollsCountySlice) ReloadAll

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

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

func (PollsCountySlice) UpdateAll

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

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

type PollsFactorsPosition

type PollsFactorsPosition struct {
	PollFactorPositionID int64      `boil:"poll_factor_position_id" json:"poll_factor_position_id" toml:"poll_factor_position_id" yaml:"poll_factor_position_id"`
	FactorPositionID     int64      `boil:"factor_position_id" json:"factor_position_id" toml:"factor_position_id" yaml:"factor_position_id"`
	PollID               int64      `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	FactorCoordinateAxis string     `boil:"factor_coordinate_axis" json:"factor_coordinate_axis" toml:"factor_coordinate_axis" yaml:"factor_coordinate_axis"`
	PositionOrientation  bool       `boil:"position_orientation" json:"position_orientation" toml:"position_orientation" yaml:"position_orientation"`
	ColorID              int64      `boil:"color_id" json:"color_id" toml:"color_id" yaml:"color_id"`
	DesignPatternID      null.Int64 `boil:"design_pattern_id" json:"design_pattern_id,omitempty" toml:"design_pattern_id" yaml:"design_pattern_id,omitempty"`
	EmojiID              null.Int64 `boil:"emoji_id" json:"emoji_id,omitempty" toml:"emoji_id" yaml:"emoji_id,omitempty"`

	R *pollsFactorsPositionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsFactorsPositionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsFactorsPosition is an object representing the database table.

func FindPollsFactorsPosition

func FindPollsFactorsPosition(ctx context.Context, exec boil.ContextExecutor, pollFactorPositionID int64, selectCols ...string) (*PollsFactorsPosition, error)

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

func (*PollsFactorsPosition) AddXPollFactorPositionVotes

func (o *PollsFactorsPosition) AddXPollFactorPositionVotes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Vote) error

AddXPollFactorPositionVotes adds the given related objects to the existing relationships of the polls_factors_position, optionally inserting them as new records. Appends related to o.R.XPollFactorPositionVotes. Sets related.R.XPollFactorPosition appropriately.

func (*PollsFactorsPosition) AddYPollFactorPositionVotes

func (o *PollsFactorsPosition) AddYPollFactorPositionVotes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Vote) error

AddYPollFactorPositionVotes adds the given related objects to the existing relationships of the polls_factors_position, optionally inserting them as new records. Appends related to o.R.YPollFactorPositionVotes. Sets related.R.YPollFactorPosition appropriately.

func (*PollsFactorsPosition) AddZPollFactorPositionVotes

func (o *PollsFactorsPosition) AddZPollFactorPositionVotes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Vote) error

AddZPollFactorPositionVotes adds the given related objects to the existing relationships of the polls_factors_position, optionally inserting them as new records. Appends related to o.R.ZPollFactorPositionVotes. Sets related.R.ZPollFactorPosition appropriately.

func (*PollsFactorsPosition) Color

func (o *PollsFactorsPosition) Color(mods ...qm.QueryMod) colorQuery

Color pointed to by the foreign key.

func (*PollsFactorsPosition) Delete

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

func (*PollsFactorsPosition) DesignPattern

func (o *PollsFactorsPosition) DesignPattern(mods ...qm.QueryMod) designPatternQuery

DesignPattern pointed to by the foreign key.

func (*PollsFactorsPosition) Emoji

func (o *PollsFactorsPosition) Emoji(mods ...qm.QueryMod) emojiQuery

Emoji pointed to by the foreign key.

func (*PollsFactorsPosition) FactorPosition

func (o *PollsFactorsPosition) FactorPosition(mods ...qm.QueryMod) factorPositionQuery

FactorPosition pointed to by the foreign key.

func (*PollsFactorsPosition) Insert

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

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

func (*PollsFactorsPosition) Poll

func (o *PollsFactorsPosition) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsFactorsPosition) Reload

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

func (*PollsFactorsPosition) RemoveDesignPattern

func (o *PollsFactorsPosition) RemoveDesignPattern(ctx context.Context, exec boil.ContextExecutor, related *DesignPattern) error

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

func (*PollsFactorsPosition) RemoveEmoji

func (o *PollsFactorsPosition) RemoveEmoji(ctx context.Context, exec boil.ContextExecutor, related *Emoji) error

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

func (*PollsFactorsPosition) SetColor

func (o *PollsFactorsPosition) SetColor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Color) error

SetColor of the pollsFactorsPosition to the related item. Sets o.R.Color to related. Adds o to related.R.PollsFactorsPositions.

func (*PollsFactorsPosition) SetDesignPattern

func (o *PollsFactorsPosition) SetDesignPattern(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DesignPattern) error

SetDesignPattern of the pollsFactorsPosition to the related item. Sets o.R.DesignPattern to related. Adds o to related.R.PollsFactorsPositions.

func (*PollsFactorsPosition) SetEmoji

func (o *PollsFactorsPosition) SetEmoji(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Emoji) error

SetEmoji of the pollsFactorsPosition to the related item. Sets o.R.Emoji to related. Adds o to related.R.PollsFactorsPositions.

func (*PollsFactorsPosition) SetFactorPosition

func (o *PollsFactorsPosition) SetFactorPosition(ctx context.Context, exec boil.ContextExecutor, insert bool, related *FactorPosition) error

SetFactorPosition of the pollsFactorsPosition to the related item. Sets o.R.FactorPosition to related. Adds o to related.R.PollsFactorsPositions.

func (*PollsFactorsPosition) SetPoll

func (o *PollsFactorsPosition) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsFactorsPosition to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsFactorsPositions.

func (*PollsFactorsPosition) Update

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

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

func (*PollsFactorsPosition) Upsert

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

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

func (*PollsFactorsPosition) XPollFactorPositionVotes

func (o *PollsFactorsPosition) XPollFactorPositionVotes(mods ...qm.QueryMod) voteQuery

XPollFactorPositionVotes retrieves all the vote's Votes with an executor via x_poll_factor_position_id column.

func (*PollsFactorsPosition) YPollFactorPositionVotes

func (o *PollsFactorsPosition) YPollFactorPositionVotes(mods ...qm.QueryMod) voteQuery

YPollFactorPositionVotes retrieves all the vote's Votes with an executor via y_poll_factor_position_id column.

func (*PollsFactorsPosition) ZPollFactorPositionVotes

func (o *PollsFactorsPosition) ZPollFactorPositionVotes(mods ...qm.QueryMod) voteQuery

ZPollFactorPositionVotes retrieves all the vote's Votes with an executor via z_poll_factor_position_id column.

type PollsFactorsPositionHook

type PollsFactorsPositionHook func(context.Context, boil.ContextExecutor, *PollsFactorsPosition) error

PollsFactorsPositionHook is the signature for custom PollsFactorsPosition hook methods

type PollsFactorsPositionSlice

type PollsFactorsPositionSlice []*PollsFactorsPosition

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

func (PollsFactorsPositionSlice) DeleteAll

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

func (*PollsFactorsPositionSlice) ReloadAll

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

func (PollsFactorsPositionSlice) UpdateAll

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

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

type PollsGroup

type PollsGroup struct {
	PollGroupID          int64     `boil:"poll_group_id" json:"poll_group_id" toml:"poll_group_id" yaml:"poll_group_id"`
	PollGroupName        string    `boil:"poll_group_name" json:"poll_group_name" toml:"poll_group_name" yaml:"poll_group_name"`
	PollGroupDescription string    `boil:"poll_group_description" json:"poll_group_description" toml:"poll_group_description" yaml:"poll_group_description"`
	UserAccountID        int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	ThemeID              int64     `boil:"theme_id" json:"theme_id" toml:"theme_id" yaml:"theme_id"`
	CreatedAt            time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *pollsGroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsGroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsGroup is an object representing the database table.

func FindPollsGroup

func FindPollsGroup(ctx context.Context, exec boil.ContextExecutor, pollGroupID int64, selectCols ...string) (*PollsGroup, error)

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

func (*PollsGroup) AddPollGroupPollsPollsGroups

func (o *PollsGroup) AddPollGroupPollsPollsGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsPollsGroup) error

AddPollGroupPollsPollsGroups adds the given related objects to the existing relationships of the polls_group, optionally inserting them as new records. Appends related to o.R.PollGroupPollsPollsGroups. Sets related.R.PollGroup appropriately.

func (*PollsGroup) Delete

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

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

func (*PollsGroup) Insert

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

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

func (*PollsGroup) PollGroupPollsPollsGroups

func (o *PollsGroup) PollGroupPollsPollsGroups(mods ...qm.QueryMod) pollsPollsGroupQuery

PollGroupPollsPollsGroups retrieves all the polls_polls_group's PollsPollsGroups with an executor via poll_group_id column.

func (*PollsGroup) Reload

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

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

func (*PollsGroup) SetTheme

func (o *PollsGroup) SetTheme(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Theme) error

SetTheme of the pollsGroup to the related item. Sets o.R.Theme to related. Adds o to related.R.PollsGroups.

func (*PollsGroup) SetUserAccount

func (o *PollsGroup) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the pollsGroup to the related item. Sets o.R.UserAccount to related. Adds o to related.R.PollsGroups.

func (*PollsGroup) Theme

func (o *PollsGroup) Theme(mods ...qm.QueryMod) themeQuery

Theme pointed to by the foreign key.

func (*PollsGroup) Update

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

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

func (*PollsGroup) Upsert

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

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

func (*PollsGroup) UserAccount

func (o *PollsGroup) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type PollsGroupHook

type PollsGroupHook func(context.Context, boil.ContextExecutor, *PollsGroup) error

PollsGroupHook is the signature for custom PollsGroup hook methods

type PollsGroupSlice

type PollsGroupSlice []*PollsGroup

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

func (PollsGroupSlice) DeleteAll

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

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

func (*PollsGroupSlice) ReloadAll

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

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

func (PollsGroupSlice) UpdateAll

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

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

type PollsGroupsLink struct {
	PollGroupLinkID int64     `boil:"poll_group_link_id" json:"poll_group_link_id" toml:"poll_group_link_id" yaml:"poll_group_link_id"`
	PollGroupID     int64     `boil:"poll_group_id" json:"poll_group_id" toml:"poll_group_id" yaml:"poll_group_id"`
	LinkID          int64     `boil:"link_id" json:"link_id" toml:"link_id" yaml:"link_id"`
	UserAccountID   int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt       time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *pollsGroupsLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsGroupsLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsGroupsLink is an object representing the database table.

func FindPollsGroupsLink(ctx context.Context, exec boil.ContextExecutor, pollGroupLinkID int64, selectCols ...string) (*PollsGroupsLink, error)

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

func (*PollsGroupsLink) Delete

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

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

func (*PollsGroupsLink) Insert

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

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

func (*PollsGroupsLink) Reload

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

func (*PollsGroupsLink) Update

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

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

func (*PollsGroupsLink) Upsert

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

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

type PollsGroupsLinkHook

type PollsGroupsLinkHook func(context.Context, boil.ContextExecutor, *PollsGroupsLink) error

PollsGroupsLinkHook is the signature for custom PollsGroupsLink hook methods

type PollsGroupsLinkSlice

type PollsGroupsLinkSlice []*PollsGroupsLink

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

func (PollsGroupsLinkSlice) DeleteAll

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

func (*PollsGroupsLinkSlice) ReloadAll

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

func (PollsGroupsLinkSlice) UpdateAll

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

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

type PollsLabel

type PollsLabel struct {
	PollLabelID   int64     `boil:"poll_label_id" json:"poll_label_id" toml:"poll_label_id" yaml:"poll_label_id"`
	PollID        int64     `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	LabelID       int64     `boil:"label_id" json:"label_id" toml:"label_id" yaml:"label_id"`
	UserAccountID int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *pollsLabelR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsLabelL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsLabel is an object representing the database table.

func FindPollsLabel

func FindPollsLabel(ctx context.Context, exec boil.ContextExecutor, pollLabelID int64, selectCols ...string) (*PollsLabel, error)

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

func (*PollsLabel) Delete

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

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

func (*PollsLabel) Insert

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

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

func (*PollsLabel) Label

func (o *PollsLabel) Label(mods ...qm.QueryMod) labelQuery

Label pointed to by the foreign key.

func (*PollsLabel) Poll

func (o *PollsLabel) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsLabel) Reload

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

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

func (*PollsLabel) SetLabel

func (o *PollsLabel) SetLabel(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Label) error

SetLabel of the pollsLabel to the related item. Sets o.R.Label to related. Adds o to related.R.PollsLabels.

func (*PollsLabel) SetPoll

func (o *PollsLabel) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsLabel to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsLabels.

func (*PollsLabel) SetUserAccount

func (o *PollsLabel) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the pollsLabel to the related item. Sets o.R.UserAccount to related. Adds o to related.R.PollsLabels.

func (*PollsLabel) Update

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

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

func (*PollsLabel) Upsert

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

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

func (*PollsLabel) UserAccount

func (o *PollsLabel) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type PollsLabelHook

type PollsLabelHook func(context.Context, boil.ContextExecutor, *PollsLabel) error

PollsLabelHook is the signature for custom PollsLabel hook methods

type PollsLabelSlice

type PollsLabelSlice []*PollsLabel

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

func (PollsLabelSlice) DeleteAll

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

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

func (*PollsLabelSlice) ReloadAll

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

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

func (PollsLabelSlice) UpdateAll

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

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

type PollsLink struct {
	PollLinkID    int64     `boil:"poll_link_id" json:"poll_link_id" toml:"poll_link_id" yaml:"poll_link_id"`
	PollID        int64     `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	LinkID        int64     `boil:"link_id" json:"link_id" toml:"link_id" yaml:"link_id"`
	UserAccountID int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *pollsLinkR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsLinkL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsLink is an object representing the database table.

func FindPollsLink(ctx context.Context, exec boil.ContextExecutor, pollLinkID int64, selectCols ...string) (*PollsLink, error)

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

func (*PollsLink) Delete

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

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

func (*PollsLink) Insert

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

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

func (o *PollsLink) Link(mods ...qm.QueryMod) linkQuery

Link pointed to by the foreign key.

func (*PollsLink) Poll

func (o *PollsLink) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsLink) Reload

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

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

func (o *PollsLink) SetLink(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Link) error

SetLink of the pollsLink to the related item. Sets o.R.Link to related. Adds o to related.R.PollsLinks.

func (*PollsLink) SetPoll

func (o *PollsLink) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsLink to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsLinks.

func (*PollsLink) SetUserAccount

func (o *PollsLink) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the pollsLink to the related item. Sets o.R.UserAccount to related. Adds o to related.R.PollsLinks.

func (*PollsLink) Update

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

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

func (*PollsLink) Upsert

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

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

func (*PollsLink) UserAccount

func (o *PollsLink) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type PollsLinkHook

type PollsLinkHook func(context.Context, boil.ContextExecutor, *PollsLink) error

PollsLinkHook is the signature for custom PollsLink hook methods

type PollsLinkSlice

type PollsLinkSlice []*PollsLink

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

func (PollsLinkSlice) DeleteAll

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

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

func (*PollsLinkSlice) ReloadAll

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

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

func (PollsLinkSlice) UpdateAll

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

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

type PollsMessage

type PollsMessage struct {
	PollMessageID int64 `boil:"poll_message_id" json:"poll_message_id" toml:"poll_message_id" yaml:"poll_message_id"`
	MessageID     int64 `boil:"message_id" json:"message_id" toml:"message_id" yaml:"message_id"`
	PollID        int64 `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`

	R *pollsMessageR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsMessageL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsMessage is an object representing the database table.

func FindPollsMessage

func FindPollsMessage(ctx context.Context, exec boil.ContextExecutor, pollMessageID int64, selectCols ...string) (*PollsMessage, error)

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

func (*PollsMessage) Delete

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

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

func (*PollsMessage) Insert

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

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

func (*PollsMessage) Message

func (o *PollsMessage) Message(mods ...qm.QueryMod) messageQuery

Message pointed to by the foreign key.

func (*PollsMessage) Poll

func (o *PollsMessage) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsMessage) Reload

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

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

func (*PollsMessage) SetMessage

func (o *PollsMessage) SetMessage(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Message) error

SetMessage of the pollsMessage to the related item. Sets o.R.Message to related. Adds o to related.R.PollsMessages.

func (*PollsMessage) SetPoll

func (o *PollsMessage) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsMessage to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsMessages.

func (*PollsMessage) Update

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

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

func (*PollsMessage) Upsert

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

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

type PollsMessageHook

type PollsMessageHook func(context.Context, boil.ContextExecutor, *PollsMessage) error

PollsMessageHook is the signature for custom PollsMessage hook methods

type PollsMessageSlice

type PollsMessageSlice []*PollsMessage

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

func (PollsMessageSlice) DeleteAll

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

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

func (*PollsMessageSlice) ReloadAll

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

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

func (PollsMessageSlice) UpdateAll

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

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

type PollsPollsGroup

type PollsPollsGroup struct {
	PollPollGroupID int64     `boil:"poll_poll_group_id" json:"poll_poll_group_id" toml:"poll_poll_group_id" yaml:"poll_poll_group_id"`
	PollGroupID     int64     `boil:"poll_group_id" json:"poll_group_id" toml:"poll_group_id" yaml:"poll_group_id"`
	PollID          int64     `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	UserAccountID   int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	CreatedAt       time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *pollsPollsGroupR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsPollsGroupL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsPollsGroup is an object representing the database table.

func FindPollsPollsGroup

func FindPollsPollsGroup(ctx context.Context, exec boil.ContextExecutor, pollPollGroupID int64, selectCols ...string) (*PollsPollsGroup, error)

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

func (*PollsPollsGroup) Delete

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

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

func (*PollsPollsGroup) Insert

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

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

func (*PollsPollsGroup) Poll

func (o *PollsPollsGroup) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsPollsGroup) PollGroup

func (o *PollsPollsGroup) PollGroup(mods ...qm.QueryMod) pollsGroupQuery

PollGroup pointed to by the foreign key.

func (*PollsPollsGroup) Reload

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

func (*PollsPollsGroup) SetPoll

func (o *PollsPollsGroup) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsPollsGroup to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsPollsGroups.

func (*PollsPollsGroup) SetPollGroup

func (o *PollsPollsGroup) SetPollGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PollsGroup) error

SetPollGroup of the pollsPollsGroup to the related item. Sets o.R.PollGroup to related. Adds o to related.R.PollGroupPollsPollsGroups.

func (*PollsPollsGroup) SetUserAccount

func (o *PollsPollsGroup) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the pollsPollsGroup to the related item. Sets o.R.UserAccount to related. Adds o to related.R.PollsPollsGroups.

func (*PollsPollsGroup) Update

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

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

func (*PollsPollsGroup) Upsert

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

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

func (*PollsPollsGroup) UserAccount

func (o *PollsPollsGroup) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type PollsPollsGroupHook

type PollsPollsGroupHook func(context.Context, boil.ContextExecutor, *PollsPollsGroup) error

PollsPollsGroupHook is the signature for custom PollsPollsGroup hook methods

type PollsPollsGroupSlice

type PollsPollsGroupSlice []*PollsPollsGroup

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

func (PollsPollsGroupSlice) DeleteAll

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

func (*PollsPollsGroupSlice) ReloadAll

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

func (PollsPollsGroupSlice) UpdateAll

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

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

type PollsState

type PollsState struct {
	PollStateID int64 `boil:"poll_state_id" json:"poll_state_id" toml:"poll_state_id" yaml:"poll_state_id"`
	PollID      int64 `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	StateID     int64 `boil:"state_id" json:"state_id" toml:"state_id" yaml:"state_id"`

	R *pollsStateR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsStateL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsState is an object representing the database table.

func FindPollsState

func FindPollsState(ctx context.Context, exec boil.ContextExecutor, pollStateID int64, selectCols ...string) (*PollsState, error)

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

func (*PollsState) Delete

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

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

func (*PollsState) Insert

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

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

func (*PollsState) Poll

func (o *PollsState) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsState) Reload

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

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

func (*PollsState) SetPoll

func (o *PollsState) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsState to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsStates.

func (*PollsState) SetState

func (o *PollsState) SetState(ctx context.Context, exec boil.ContextExecutor, insert bool, related *State) error

SetState of the pollsState to the related item. Sets o.R.State to related. Adds o to related.R.PollsStates.

func (*PollsState) State

func (o *PollsState) State(mods ...qm.QueryMod) stateQuery

State pointed to by the foreign key.

func (*PollsState) Update

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

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

func (*PollsState) Upsert

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

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

type PollsStateHook

type PollsStateHook func(context.Context, boil.ContextExecutor, *PollsState) error

PollsStateHook is the signature for custom PollsState hook methods

type PollsStateSlice

type PollsStateSlice []*PollsState

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

func (PollsStateSlice) DeleteAll

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

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

func (*PollsStateSlice) ReloadAll

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

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

func (PollsStateSlice) UpdateAll

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

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

type PollsTown

type PollsTown struct {
	PollTownID int64 `boil:"poll_town_id" json:"poll_town_id" toml:"poll_town_id" yaml:"poll_town_id"`
	PollID     int64 `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	TownID     int64 `boil:"town_id" json:"town_id" toml:"town_id" yaml:"town_id"`

	R *pollsTownR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L pollsTownL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PollsTown is an object representing the database table.

func FindPollsTown

func FindPollsTown(ctx context.Context, exec boil.ContextExecutor, pollTownID int64, selectCols ...string) (*PollsTown, error)

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

func (*PollsTown) Delete

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

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

func (*PollsTown) Insert

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

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

func (*PollsTown) Poll

func (o *PollsTown) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*PollsTown) Reload

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

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

func (*PollsTown) SetPoll

func (o *PollsTown) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the pollsTown to the related item. Sets o.R.Poll to related. Adds o to related.R.PollsTowns.

func (*PollsTown) SetTown

func (o *PollsTown) SetTown(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Town) error

SetTown of the pollsTown to the related item. Sets o.R.Town to related. Adds o to related.R.PollsTowns.

func (*PollsTown) Town

func (o *PollsTown) Town(mods ...qm.QueryMod) townQuery

Town pointed to by the foreign key.

func (*PollsTown) Update

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

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

func (*PollsTown) Upsert

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

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

type PollsTownHook

type PollsTownHook func(context.Context, boil.ContextExecutor, *PollsTown) error

PollsTownHook is the signature for custom PollsTown hook methods

type PollsTownSlice

type PollsTownSlice []*PollsTown

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

func (PollsTownSlice) DeleteAll

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

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

func (*PollsTownSlice) ReloadAll

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

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

func (PollsTownSlice) UpdateAll

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

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

type Position

type Position struct {
	PositionID          int64      `boil:"position_id" json:"position_id" toml:"position_id" yaml:"position_id"`
	ParentPositionID    null.Int64 `boil:"parent_position_id" json:"parent_position_id,omitempty" toml:"parent_position_id" yaml:"parent_position_id,omitempty"`
	PositionDescription string     `boil:"position_description" json:"position_description" toml:"position_description" yaml:"position_description"`
	UserAccountID       int64      `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	DesignPatternID     null.Int64 `boil:"design_pattern_id" json:"design_pattern_id,omitempty" toml:"design_pattern_id" yaml:"design_pattern_id,omitempty"`
	EmojiID             null.Int64 `boil:"emoji_id" json:"emoji_id,omitempty" toml:"emoji_id" yaml:"emoji_id,omitempty"`
	CreatedAt           time.Time  `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *positionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L positionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Position is an object representing the database table.

func FindPosition

func FindPosition(ctx context.Context, exec boil.ContextExecutor, positionID int64, selectCols ...string) (*Position, error)

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

func (*Position) AddFactorPositions

func (o *Position) AddFactorPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*FactorPosition) error

AddFactorPositions adds the given related objects to the existing relationships of the position, optionally inserting them as new records. Appends related to o.R.FactorPositions. Sets related.R.Position appropriately.

func (*Position) Delete

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

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

func (*Position) DesignPattern

func (o *Position) DesignPattern(mods ...qm.QueryMod) designPatternQuery

DesignPattern pointed to by the foreign key.

func (*Position) Emoji

func (o *Position) Emoji(mods ...qm.QueryMod) emojiQuery

Emoji pointed to by the foreign key.

func (*Position) FactorPositions

func (o *Position) FactorPositions(mods ...qm.QueryMod) factorPositionQuery

FactorPositions retrieves all the factor_position's FactorPositions with an executor.

func (*Position) Insert

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

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

func (*Position) Reload

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

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

func (*Position) RemoveDesignPattern

func (o *Position) RemoveDesignPattern(ctx context.Context, exec boil.ContextExecutor, related *DesignPattern) error

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

func (*Position) RemoveEmoji

func (o *Position) RemoveEmoji(ctx context.Context, exec boil.ContextExecutor, related *Emoji) error

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

func (*Position) SetDesignPattern

func (o *Position) SetDesignPattern(ctx context.Context, exec boil.ContextExecutor, insert bool, related *DesignPattern) error

SetDesignPattern of the position to the related item. Sets o.R.DesignPattern to related. Adds o to related.R.Positions.

func (*Position) SetEmoji

func (o *Position) SetEmoji(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Emoji) error

SetEmoji of the position to the related item. Sets o.R.Emoji to related. Adds o to related.R.Positions.

func (*Position) SetUserAccount

func (o *Position) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the position to the related item. Sets o.R.UserAccount to related. Adds o to related.R.Positions.

func (*Position) Update

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

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

func (*Position) Upsert

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

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

func (*Position) UserAccount

func (o *Position) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type PositionHook

type PositionHook func(context.Context, boil.ContextExecutor, *Position) error

PositionHook is the signature for custom Position hook methods

type PositionSlice

type PositionSlice []*Position

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

func (PositionSlice) DeleteAll

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

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

func (*PositionSlice) ReloadAll

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

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

func (PositionSlice) UpdateAll

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

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

type PrefixLastName

type PrefixLastName struct {
	PrefixLastNameID int64  `boil:"prefix_last_name_id" json:"prefix_last_name_id" toml:"prefix_last_name_id" yaml:"prefix_last_name_id"`
	PrefixLastName   string `boil:"prefix_last_name" json:"prefix_last_name" toml:"prefix_last_name" yaml:"prefix_last_name"`

	R *prefixLastNameR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L prefixLastNameL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PrefixLastName is an object representing the database table.

func FindPrefixLastName

func FindPrefixLastName(ctx context.Context, exec boil.ContextExecutor, prefixLastNameID int64, selectCols ...string) (*PrefixLastName, error)

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

func (*PrefixLastName) AddUserAccounts

func (o *PrefixLastName) AddUserAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccount) error

AddUserAccounts adds the given related objects to the existing relationships of the prefix_last_name, optionally inserting them as new records. Appends related to o.R.UserAccounts. Sets related.R.PrefixLastName appropriately.

func (*PrefixLastName) Delete

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

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

func (*PrefixLastName) Insert

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

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

func (*PrefixLastName) Reload

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

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

func (*PrefixLastName) RemoveUserAccounts

func (o *PrefixLastName) RemoveUserAccounts(ctx context.Context, exec boil.ContextExecutor, related ...*UserAccount) error

RemoveUserAccounts relationships from objects passed in. Removes related items from R.UserAccounts (uses pointer comparison, removal does not keep order) Sets related.R.PrefixLastName.

func (*PrefixLastName) SetUserAccounts

func (o *PrefixLastName) SetUserAccounts(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccount) error

SetUserAccounts removes all previously related items of the prefix_last_name replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.PrefixLastName's UserAccounts accordingly. Replaces o.R.UserAccounts with related. Sets related.R.PrefixLastName's UserAccounts accordingly.

func (*PrefixLastName) Update

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

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

func (*PrefixLastName) Upsert

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

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

func (*PrefixLastName) UserAccounts

func (o *PrefixLastName) UserAccounts(mods ...qm.QueryMod) userAccountQuery

UserAccounts retrieves all the user_account's UserAccounts with an executor.

type PrefixLastNameHook

type PrefixLastNameHook func(context.Context, boil.ContextExecutor, *PrefixLastName) error

PrefixLastNameHook is the signature for custom PrefixLastName hook methods

type PrefixLastNameSlice

type PrefixLastNameSlice []*PrefixLastName

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

func (PrefixLastNameSlice) DeleteAll

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

func (*PrefixLastNameSlice) ReloadAll

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

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

func (PrefixLastNameSlice) UpdateAll

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

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

type State

type State struct {
	StateID       int64  `boil:"state_id" json:"state_id" toml:"state_id" yaml:"state_id"`
	CountryID     int64  `boil:"country_id" json:"country_id" toml:"country_id" yaml:"country_id"`
	TimezoneID    int64  `boil:"timezone_id" json:"timezone_id" toml:"timezone_id" yaml:"timezone_id"`
	StateCode     string `boil:"state_code" json:"state_code" toml:"state_code" yaml:"state_code"`
	StateName     string `boil:"state_name" json:"state_name" toml:"state_name" yaml:"state_name"`
	StateFullName string `boil:"state_full_name" json:"state_full_name" toml:"state_full_name" yaml:"state_full_name"`

	R *stateR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L stateL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

State is an object representing the database table.

func FindState

func FindState(ctx context.Context, exec boil.ContextExecutor, stateID int64, selectCols ...string) (*State, error)

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

func (*State) AddCounties

func (o *State) AddCounties(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*County) error

AddCounties adds the given related objects to the existing relationships of the state, optionally inserting them as new records. Appends related to o.R.Counties. Sets related.R.State appropriately.

func (*State) AddPollsStates

func (o *State) AddPollsStates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsState) error

AddPollsStates adds the given related objects to the existing relationships of the state, optionally inserting them as new records. Appends related to o.R.PollsStates. Sets related.R.State appropriately.

func (*State) AddTowns

func (o *State) AddTowns(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Town) error

AddTowns adds the given related objects to the existing relationships of the state, optionally inserting them as new records. Appends related to o.R.Towns. Sets related.R.State appropriately.

func (*State) Counties

func (o *State) Counties(mods ...qm.QueryMod) countyQuery

Counties retrieves all the county's Counties with an executor.

func (*State) Country

func (o *State) Country(mods ...qm.QueryMod) countryQuery

Country pointed to by the foreign key.

func (*State) Delete

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

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

func (*State) Insert

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

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

func (*State) PollsStates

func (o *State) PollsStates(mods ...qm.QueryMod) pollsStateQuery

PollsStates retrieves all the polls_state's PollsStates with an executor.

func (*State) Reload

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

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

func (*State) SetCountry

func (o *State) SetCountry(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Country) error

SetCountry of the state to the related item. Sets o.R.Country to related. Adds o to related.R.States.

func (*State) SetTimezone

func (o *State) SetTimezone(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Timezone) error

SetTimezone of the state to the related item. Sets o.R.Timezone to related. Adds o to related.R.States.

func (*State) Timezone

func (o *State) Timezone(mods ...qm.QueryMod) timezoneQuery

Timezone pointed to by the foreign key.

func (*State) Towns

func (o *State) Towns(mods ...qm.QueryMod) townQuery

Towns retrieves all the town's Towns with an executor.

func (*State) Update

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

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

func (*State) Upsert

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

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

type StateHook

type StateHook func(context.Context, boil.ContextExecutor, *State) error

StateHook is the signature for custom State hook methods

type StateSlice

type StateSlice []*State

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

func (StateSlice) DeleteAll

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

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

func (*StateSlice) ReloadAll

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

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

func (StateSlice) UpdateAll

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

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

type Street

type Street struct {
	StreetID     int64 `boil:"street_id" json:"street_id" toml:"street_id" yaml:"street_id"`
	StreetNameID int64 `boil:"street_name_id" json:"street_name_id" toml:"street_name_id" yaml:"street_name_id"`
	StreetTypeID int64 `boil:"street_type_id" json:"street_type_id" toml:"street_type_id" yaml:"street_type_id"`
	SuburbID     int64 `boil:"suburb_id" json:"suburb_id" toml:"suburb_id" yaml:"suburb_id"`

	R *streetR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L streetL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Street is an object representing the database table.

func FindStreet

func FindStreet(ctx context.Context, exec boil.ContextExecutor, streetID int64, selectCols ...string) (*Street, error)

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

func (*Street) AddAddresses

func (o *Street) AddAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Address) error

AddAddresses adds the given related objects to the existing relationships of the street, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Street appropriately.

func (*Street) Addresses

func (o *Street) Addresses(mods ...qm.QueryMod) addressQuery

Addresses retrieves all the address's Addresses with an executor.

func (*Street) Delete

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

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

func (*Street) Insert

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

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

func (*Street) Reload

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

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

func (*Street) SetStreetName

func (o *Street) SetStreetName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *StreetName) error

SetStreetName of the street to the related item. Sets o.R.StreetName to related. Adds o to related.R.Streets.

func (*Street) SetStreetType

func (o *Street) SetStreetType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *StreetType) error

SetStreetType of the street to the related item. Sets o.R.StreetType to related. Adds o to related.R.Streets.

func (*Street) SetSuburb

func (o *Street) SetSuburb(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Suburb) error

SetSuburb of the street to the related item. Sets o.R.Suburb to related. Adds o to related.R.Streets.

func (*Street) StreetName

func (o *Street) StreetName(mods ...qm.QueryMod) streetNameQuery

StreetName pointed to by the foreign key.

func (*Street) StreetType

func (o *Street) StreetType(mods ...qm.QueryMod) streetTypeQuery

StreetType pointed to by the foreign key.

func (*Street) Suburb

func (o *Street) Suburb(mods ...qm.QueryMod) suburbQuery

Suburb pointed to by the foreign key.

func (*Street) Update

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

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

func (*Street) Upsert

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

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

type StreetHook

type StreetHook func(context.Context, boil.ContextExecutor, *Street) error

StreetHook is the signature for custom Street hook methods

type StreetName

type StreetName struct {
	StreetNameID int64  `boil:"street_name_id" json:"street_name_id" toml:"street_name_id" yaml:"street_name_id"`
	StreetName   string `boil:"street_name" json:"street_name" toml:"street_name" yaml:"street_name"`

	R *streetNameR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L streetNameL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

StreetName is an object representing the database table.

func FindStreetName

func FindStreetName(ctx context.Context, exec boil.ContextExecutor, streetNameID int64, selectCols ...string) (*StreetName, error)

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

func (*StreetName) AddStreets

func (o *StreetName) AddStreets(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Street) error

AddStreets adds the given related objects to the existing relationships of the street_name, optionally inserting them as new records. Appends related to o.R.Streets. Sets related.R.StreetName appropriately.

func (*StreetName) Delete

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

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

func (*StreetName) Insert

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

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

func (*StreetName) Reload

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

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

func (*StreetName) Streets

func (o *StreetName) Streets(mods ...qm.QueryMod) streetQuery

Streets retrieves all the street's Streets with an executor.

func (*StreetName) Update

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

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

func (*StreetName) Upsert

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

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

type StreetNameHook

type StreetNameHook func(context.Context, boil.ContextExecutor, *StreetName) error

StreetNameHook is the signature for custom StreetName hook methods

type StreetNameSlice

type StreetNameSlice []*StreetName

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

func (StreetNameSlice) DeleteAll

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

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

func (*StreetNameSlice) ReloadAll

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

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

func (StreetNameSlice) UpdateAll

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

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

type StreetSlice

type StreetSlice []*Street

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

func (StreetSlice) DeleteAll

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

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

func (*StreetSlice) ReloadAll

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

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

func (StreetSlice) UpdateAll

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

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

type StreetType

type StreetType struct {
	StreetTypeID int64  `boil:"street_type_id" json:"street_type_id" toml:"street_type_id" yaml:"street_type_id"`
	StreetType   string `boil:"street_type" json:"street_type" toml:"street_type" yaml:"street_type"`

	R *streetTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L streetTypeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

StreetType is an object representing the database table.

func FindStreetType

func FindStreetType(ctx context.Context, exec boil.ContextExecutor, streetTypeID int64, selectCols ...string) (*StreetType, error)

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

func (*StreetType) AddStreets

func (o *StreetType) AddStreets(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Street) error

AddStreets adds the given related objects to the existing relationships of the street_type, optionally inserting them as new records. Appends related to o.R.Streets. Sets related.R.StreetType appropriately.

func (*StreetType) Delete

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

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

func (*StreetType) Insert

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

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

func (*StreetType) Reload

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

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

func (*StreetType) Streets

func (o *StreetType) Streets(mods ...qm.QueryMod) streetQuery

Streets retrieves all the street's Streets with an executor.

func (*StreetType) Update

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

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

func (*StreetType) Upsert

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

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

type StreetTypeHook

type StreetTypeHook func(context.Context, boil.ContextExecutor, *StreetType) error

StreetTypeHook is the signature for custom StreetType hook methods

type StreetTypeSlice

type StreetTypeSlice []*StreetType

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

func (StreetTypeSlice) DeleteAll

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

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

func (*StreetTypeSlice) ReloadAll

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

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

func (StreetTypeSlice) UpdateAll

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

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

type Suburb

type Suburb struct {
	SuburbID   int64         `boil:"suburb_id" json:"suburb_id" toml:"suburb_id" yaml:"suburb_id"`
	TownID     int64         `boil:"town_id" json:"town_id" toml:"town_id" yaml:"town_id"`
	SuburbCode string        `boil:"suburb_code" json:"suburb_code" toml:"suburb_code" yaml:"suburb_code"`
	SuburbName string        `boil:"suburb_name" json:"suburb_name" toml:"suburb_name" yaml:"suburb_name"`
	Longitude  types.Decimal `boil:"longitude" json:"longitude" toml:"longitude" yaml:"longitude"`
	Latitude   types.Decimal `boil:"latitude" json:"latitude" toml:"latitude" yaml:"latitude"`

	R *suburbR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L suburbL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Suburb is an object representing the database table.

func FindSuburb

func FindSuburb(ctx context.Context, exec boil.ContextExecutor, suburbID int64, selectCols ...string) (*Suburb, error)

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

func (*Suburb) AddStreets

func (o *Suburb) AddStreets(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Street) error

AddStreets adds the given related objects to the existing relationships of the suburb, optionally inserting them as new records. Appends related to o.R.Streets. Sets related.R.Suburb appropriately.

func (*Suburb) Delete

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

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

func (*Suburb) Insert

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

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

func (*Suburb) Reload

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

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

func (*Suburb) SetTown

func (o *Suburb) SetTown(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Town) error

SetTown of the suburb to the related item. Sets o.R.Town to related. Adds o to related.R.Suburbs.

func (*Suburb) Streets

func (o *Suburb) Streets(mods ...qm.QueryMod) streetQuery

Streets retrieves all the street's Streets with an executor.

func (*Suburb) Town

func (o *Suburb) Town(mods ...qm.QueryMod) townQuery

Town pointed to by the foreign key.

func (*Suburb) Update

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

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

func (*Suburb) Upsert

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

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

type SuburbHook

type SuburbHook func(context.Context, boil.ContextExecutor, *Suburb) error

SuburbHook is the signature for custom Suburb hook methods

type SuburbSlice

type SuburbSlice []*Suburb

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

func (SuburbSlice) DeleteAll

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

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

func (*SuburbSlice) ReloadAll

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

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

func (SuburbSlice) UpdateAll

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

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

type Suffix

type Suffix struct {
	SuffixID   int64  `boil:"suffix_id" json:"suffix_id" toml:"suffix_id" yaml:"suffix_id"`
	SuffixName string `boil:"suffix_name" json:"suffix_name" toml:"suffix_name" yaml:"suffix_name"`

	R *suffixR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L suffixL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Suffix is an object representing the database table.

func FindSuffix

func FindSuffix(ctx context.Context, exec boil.ContextExecutor, suffixID int64, selectCols ...string) (*Suffix, error)

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

func (*Suffix) AddUserAccountSuffixes

func (o *Suffix) AddUserAccountSuffixes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccountSuffix) error

AddUserAccountSuffixes adds the given related objects to the existing relationships of the suffix, optionally inserting them as new records. Appends related to o.R.UserAccountSuffixes. Sets related.R.Suffix appropriately.

func (*Suffix) Delete

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

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

func (*Suffix) Insert

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

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

func (*Suffix) Reload

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

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

func (*Suffix) Update

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

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

func (*Suffix) Upsert

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

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

func (*Suffix) UserAccountSuffixes

func (o *Suffix) UserAccountSuffixes(mods ...qm.QueryMod) userAccountSuffixQuery

UserAccountSuffixes retrieves all the user_account_suffix's UserAccountSuffixes with an executor.

type SuffixHook

type SuffixHook func(context.Context, boil.ContextExecutor, *Suffix) error

SuffixHook is the signature for custom Suffix hook methods

type SuffixSlice

type SuffixSlice []*Suffix

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

func (SuffixSlice) DeleteAll

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

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

func (*SuffixSlice) ReloadAll

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

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

func (SuffixSlice) UpdateAll

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

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

type Theme

type Theme struct {
	ThemeID     int64     `boil:"theme_id" json:"theme_id" toml:"theme_id" yaml:"theme_id"`
	Name        string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	Description string    `boil:"description" json:"description" toml:"description" yaml:"description"`
	CreatedAt   time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *themeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L themeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Theme is an object representing the database table.

func FindTheme

func FindTheme(ctx context.Context, exec boil.ContextExecutor, themeID int64, selectCols ...string) (*Theme, error)

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

func (*Theme) AddPolls

func (o *Theme) AddPolls(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Poll) error

AddPolls adds the given related objects to the existing relationships of the theme, optionally inserting them as new records. Appends related to o.R.Polls. Sets related.R.Theme appropriately.

func (*Theme) AddPollsGroups

func (o *Theme) AddPollsGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsGroup) error

AddPollsGroups adds the given related objects to the existing relationships of the theme, optionally inserting them as new records. Appends related to o.R.PollsGroups. Sets related.R.Theme appropriately.

func (*Theme) Delete

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

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

func (*Theme) Insert

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

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

func (*Theme) Polls

func (o *Theme) Polls(mods ...qm.QueryMod) pollQuery

Polls retrieves all the poll's Polls with an executor.

func (*Theme) PollsGroups

func (o *Theme) PollsGroups(mods ...qm.QueryMod) pollsGroupQuery

PollsGroups retrieves all the polls_group's PollsGroups with an executor.

func (*Theme) Reload

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

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

func (*Theme) Update

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

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

func (*Theme) Upsert

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

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

type ThemeHook

type ThemeHook func(context.Context, boil.ContextExecutor, *Theme) error

ThemeHook is the signature for custom Theme hook methods

type ThemeSlice

type ThemeSlice []*Theme

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

func (ThemeSlice) DeleteAll

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

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

func (*ThemeSlice) ReloadAll

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

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

func (ThemeSlice) UpdateAll

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

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

type Timezone

type Timezone struct {
	TimezoneID     int64  `boil:"timezone_id" json:"timezone_id" toml:"timezone_id" yaml:"timezone_id"`
	TimezoneName   string `boil:"timezone_name" json:"timezone_name" toml:"timezone_name" yaml:"timezone_name"`
	TimezoneOffset int16  `boil:"timezone_offset" json:"timezone_offset" toml:"timezone_offset" yaml:"timezone_offset"`

	R *timezoneR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L timezoneL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Timezone is an object representing the database table.

func FindTimezone

func FindTimezone(ctx context.Context, exec boil.ContextExecutor, timezoneID int64, selectCols ...string) (*Timezone, error)

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

func (*Timezone) AddStates

func (o *Timezone) AddStates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*State) error

AddStates adds the given related objects to the existing relationships of the timezone, optionally inserting them as new records. Appends related to o.R.States. Sets related.R.Timezone appropriately.

func (*Timezone) Delete

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

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

func (*Timezone) Insert

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

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

func (*Timezone) Reload

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

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

func (*Timezone) States

func (o *Timezone) States(mods ...qm.QueryMod) stateQuery

States retrieves all the state's States with an executor.

func (*Timezone) Update

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

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

func (*Timezone) Upsert

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

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

type TimezoneHook

type TimezoneHook func(context.Context, boil.ContextExecutor, *Timezone) error

TimezoneHook is the signature for custom Timezone hook methods

type TimezoneSlice

type TimezoneSlice []*Timezone

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

func (TimezoneSlice) DeleteAll

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

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

func (*TimezoneSlice) ReloadAll

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

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

func (TimezoneSlice) UpdateAll

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

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

type Title

type Title struct {
	TitleID   int64  `boil:"title_id" json:"title_id" toml:"title_id" yaml:"title_id"`
	TitleName string `boil:"title_name" json:"title_name" toml:"title_name" yaml:"title_name"`

	R *titleR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L titleL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Title is an object representing the database table.

func FindTitle

func FindTitle(ctx context.Context, exec boil.ContextExecutor, titleID int64, selectCols ...string) (*Title, error)

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

func (*Title) AddUserPersonalInfoTitles

func (o *Title) AddUserPersonalInfoTitles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfoTitle) error

AddUserPersonalInfoTitles adds the given related objects to the existing relationships of the title, optionally inserting them as new records. Appends related to o.R.UserPersonalInfoTitles. Sets related.R.Title appropriately.

func (*Title) Delete

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

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

func (*Title) Insert

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

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

func (*Title) Reload

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

Reload refetches the object from the database using the primary keys with an executor.

func (*Title) Update

func (o *Title) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Title. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Title) Upsert

func (o *Title) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Title) UserPersonalInfoTitles

func (o *Title) UserPersonalInfoTitles(mods ...qm.QueryMod) userPersonalInfoTitleQuery

UserPersonalInfoTitles retrieves all the user_personal_info_title's UserPersonalInfoTitles with an executor.

type TitleAfterLastName

type TitleAfterLastName struct {
	TitleAfterLastNameID int64  `` /* 127-byte string literal not displayed */
	TitleAfterLastName   string `boil:"title_after_last_name" json:"title_after_last_name" toml:"title_after_last_name" yaml:"title_after_last_name"`

	R *titleAfterLastNameR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L titleAfterLastNameL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

TitleAfterLastName is an object representing the database table.

func FindTitleAfterLastName

func FindTitleAfterLastName(ctx context.Context, exec boil.ContextExecutor, titleAfterLastNameID int64, selectCols ...string) (*TitleAfterLastName, error)

FindTitleAfterLastName retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*TitleAfterLastName) AddUserPersonalInfoTitleAfterLastNames

func (o *TitleAfterLastName) AddUserPersonalInfoTitleAfterLastNames(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfoTitleAfterLastName) error

AddUserPersonalInfoTitleAfterLastNames adds the given related objects to the existing relationships of the title_after_last_name, optionally inserting them as new records. Appends related to o.R.UserPersonalInfoTitleAfterLastNames. Sets related.R.TitleAfterLastName appropriately.

func (*TitleAfterLastName) Delete

Delete deletes a single TitleAfterLastName record with an executor. Delete will match against the primary key column to find the record to delete.

func (*TitleAfterLastName) Insert

func (o *TitleAfterLastName) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*TitleAfterLastName) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*TitleAfterLastName) Update

func (o *TitleAfterLastName) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the TitleAfterLastName. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*TitleAfterLastName) Upsert

func (o *TitleAfterLastName) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*TitleAfterLastName) UserPersonalInfoTitleAfterLastNames

func (o *TitleAfterLastName) UserPersonalInfoTitleAfterLastNames(mods ...qm.QueryMod) userPersonalInfoTitleAfterLastNameQuery

UserPersonalInfoTitleAfterLastNames retrieves all the user_personal_info_title_after_last_name's UserPersonalInfoTitleAfterLastNames with an executor.

type TitleAfterLastNameHook

type TitleAfterLastNameHook func(context.Context, boil.ContextExecutor, *TitleAfterLastName) error

TitleAfterLastNameHook is the signature for custom TitleAfterLastName hook methods

type TitleAfterLastNameSlice

type TitleAfterLastNameSlice []*TitleAfterLastName

TitleAfterLastNameSlice is an alias for a slice of pointers to TitleAfterLastName. This should generally be used opposed to []TitleAfterLastName.

func (TitleAfterLastNameSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*TitleAfterLastNameSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TitleAfterLastNameSlice) UpdateAll

func (o TitleAfterLastNameSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type TitleHook

type TitleHook func(context.Context, boil.ContextExecutor, *Title) error

TitleHook is the signature for custom Title hook methods

type TitleSlice

type TitleSlice []*Title

TitleSlice is an alias for a slice of pointers to Title. This should generally be used opposed to []Title.

func (TitleSlice) DeleteAll

func (o TitleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*TitleSlice) ReloadAll

func (o *TitleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TitleSlice) UpdateAll

func (o TitleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Town

type Town struct {
	TownID   int64  `boil:"town_id" json:"town_id" toml:"town_id" yaml:"town_id"`
	StateID  int64  `boil:"state_id" json:"state_id" toml:"state_id" yaml:"state_id"`
	TownCode string `boil:"town_code" json:"town_code" toml:"town_code" yaml:"town_code"`
	TownName string `boil:"town_name" json:"town_name" toml:"town_name" yaml:"town_name"`

	R *townR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L townL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Town is an object representing the database table.

func FindTown

func FindTown(ctx context.Context, exec boil.ContextExecutor, townID int64, selectCols ...string) (*Town, error)

FindTown retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Town) AddPollsTowns

func (o *Town) AddPollsTowns(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsTown) error

AddPollsTowns adds the given related objects to the existing relationships of the town, optionally inserting them as new records. Appends related to o.R.PollsTowns. Sets related.R.Town appropriately.

func (*Town) AddSuburbs

func (o *Town) AddSuburbs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Suburb) error

AddSuburbs adds the given related objects to the existing relationships of the town, optionally inserting them as new records. Appends related to o.R.Suburbs. Sets related.R.Town appropriately.

func (*Town) Delete

func (o *Town) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Town record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Town) Insert

func (o *Town) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Town) PollsTowns

func (o *Town) PollsTowns(mods ...qm.QueryMod) pollsTownQuery

PollsTowns retrieves all the polls_town's PollsTowns with an executor.

func (*Town) Reload

func (o *Town) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Town) SetState

func (o *Town) SetState(ctx context.Context, exec boil.ContextExecutor, insert bool, related *State) error

SetState of the town to the related item. Sets o.R.State to related. Adds o to related.R.Towns.

func (*Town) State

func (o *Town) State(mods ...qm.QueryMod) stateQuery

State pointed to by the foreign key.

func (*Town) Suburbs

func (o *Town) Suburbs(mods ...qm.QueryMod) suburbQuery

Suburbs retrieves all the suburb's Suburbs with an executor.

func (*Town) Update

func (o *Town) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Town. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Town) Upsert

func (o *Town) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type TownHook

type TownHook func(context.Context, boil.ContextExecutor, *Town) error

TownHook is the signature for custom Town hook methods

type TownSlice

type TownSlice []*Town

TownSlice is an alias for a slice of pointers to Town. This should generally be used opposed to []Town.

func (TownSlice) DeleteAll

func (o TownSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*TownSlice) ReloadAll

func (o *TownSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TownSlice) UpdateAll

func (o TownSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type UserAccount

type UserAccount struct {
	UserAccountID        int64       `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	UserName             string      `boil:"user_name" json:"user_name" toml:"user_name" yaml:"user_name"`
	FirstName            null.String `boil:"first_name" json:"first_name,omitempty" toml:"first_name" yaml:"first_name,omitempty"`
	MiddleNameOrInitials null.String `` /* 143-byte string literal not displayed */
	PrefixLastNameID     null.Int64  `` /* 127-byte string literal not displayed */
	LastName             null.String `boil:"last_name" json:"last_name,omitempty" toml:"last_name" yaml:"last_name,omitempty"`
	NameAfterLastNameID  null.Int64  `` /* 143-byte string literal not displayed */
	BirthDate            time.Time   `boil:"birth_date" json:"birth_date" toml:"birth_date" yaml:"birth_date"`
	CreatedAt            time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *userAccountR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userAccountL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserAccount is an object representing the database table.

func FindUserAccount

func FindUserAccount(ctx context.Context, exec boil.ContextExecutor, userAccountID int64, selectCols ...string) (*UserAccount, error)

FindUserAccount retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UserAccount) AddEmailAddresses

func (o *UserAccount) AddEmailAddresses(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EmailAddress) error

AddEmailAddresses adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.EmailAddresses. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddEmailDomains

func (o *UserAccount) AddEmailDomains(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*EmailDomain) error

AddEmailDomains adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.EmailDomains. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddFactors

func (o *UserAccount) AddFactors(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Factor) error

AddFactors adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.Factors. Sets related.R.UserAccount appropriately.

func (o *UserAccount) AddFactorsLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*FactorsLink) error

AddFactorsLinks adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.FactorsLinks. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddLabels

func (o *UserAccount) AddLabels(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Label) error

AddLabels adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.Labels. Sets related.R.UserAccount appropriately.

func (o *UserAccount) AddLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Link) error

AddLinks adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.Links. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddMessages

func (o *UserAccount) AddMessages(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Message) error

AddMessages adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.Messages. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddPolls

func (o *UserAccount) AddPolls(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Poll) error

AddPolls adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.Polls. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddPollsGroups

func (o *UserAccount) AddPollsGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsGroup) error

AddPollsGroups adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.PollsGroups. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddPollsLabels

func (o *UserAccount) AddPollsLabels(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsLabel) error

AddPollsLabels adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.PollsLabels. Sets related.R.UserAccount appropriately.

func (o *UserAccount) AddPollsLinks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsLink) error

AddPollsLinks adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.PollsLinks. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddPollsPollsGroups

func (o *UserAccount) AddPollsPollsGroups(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PollsPollsGroup) error

AddPollsPollsGroups adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.PollsPollsGroups. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddPositions

func (o *UserAccount) AddPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Position) error

AddPositions adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.Positions. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddUserAccountEthnicities

func (o *UserAccount) AddUserAccountEthnicities(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccountEthnicity) error

AddUserAccountEthnicities adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.UserAccountEthnicities. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddUserAccountSuffixes

func (o *UserAccount) AddUserAccountSuffixes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserAccountSuffix) error

AddUserAccountSuffixes adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.UserAccountSuffixes. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddUserPersonalInfos

func (o *UserAccount) AddUserPersonalInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfo) error

AddUserPersonalInfos adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.UserPersonalInfos. Sets related.R.UserAccount appropriately.

func (*UserAccount) AddVotes

func (o *UserAccount) AddVotes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Vote) error

AddVotes adds the given related objects to the existing relationships of the user_account, optionally inserting them as new records. Appends related to o.R.Votes. Sets related.R.UserAccount appropriately.

func (*UserAccount) Delete

func (o *UserAccount) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single UserAccount record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UserAccount) EmailAddresses

func (o *UserAccount) EmailAddresses(mods ...qm.QueryMod) emailAddressQuery

EmailAddresses retrieves all the email_address's EmailAddresses with an executor.

func (*UserAccount) EmailDomains

func (o *UserAccount) EmailDomains(mods ...qm.QueryMod) emailDomainQuery

EmailDomains retrieves all the email_domain's EmailDomains with an executor.

func (*UserAccount) Factors

func (o *UserAccount) Factors(mods ...qm.QueryMod) factorQuery

Factors retrieves all the factor's Factors with an executor.

func (o *UserAccount) FactorsLinks(mods ...qm.QueryMod) factorsLinkQuery

FactorsLinks retrieves all the factors_link's FactorsLinks with an executor.

func (*UserAccount) Insert

func (o *UserAccount) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UserAccount) Labels

func (o *UserAccount) Labels(mods ...qm.QueryMod) labelQuery

Labels retrieves all the label's Labels with an executor.

func (o *UserAccount) Links(mods ...qm.QueryMod) linkQuery

Links retrieves all the link's Links with an executor.

func (*UserAccount) Messages

func (o *UserAccount) Messages(mods ...qm.QueryMod) messageQuery

Messages retrieves all the message's Messages with an executor.

func (*UserAccount) NameAfterLastName

func (o *UserAccount) NameAfterLastName(mods ...qm.QueryMod) nameAfterLastNameQuery

NameAfterLastName pointed to by the foreign key.

func (*UserAccount) Polls

func (o *UserAccount) Polls(mods ...qm.QueryMod) pollQuery

Polls retrieves all the poll's Polls with an executor.

func (*UserAccount) PollsGroups

func (o *UserAccount) PollsGroups(mods ...qm.QueryMod) pollsGroupQuery

PollsGroups retrieves all the polls_group's PollsGroups with an executor.

func (*UserAccount) PollsLabels

func (o *UserAccount) PollsLabels(mods ...qm.QueryMod) pollsLabelQuery

PollsLabels retrieves all the polls_label's PollsLabels with an executor.

func (o *UserAccount) PollsLinks(mods ...qm.QueryMod) pollsLinkQuery

PollsLinks retrieves all the polls_link's PollsLinks with an executor.

func (*UserAccount) PollsPollsGroups

func (o *UserAccount) PollsPollsGroups(mods ...qm.QueryMod) pollsPollsGroupQuery

PollsPollsGroups retrieves all the polls_polls_group's PollsPollsGroups with an executor.

func (*UserAccount) Positions

func (o *UserAccount) Positions(mods ...qm.QueryMod) positionQuery

Positions retrieves all the position's Positions with an executor.

func (*UserAccount) PrefixLastName

func (o *UserAccount) PrefixLastName(mods ...qm.QueryMod) prefixLastNameQuery

PrefixLastName pointed to by the foreign key.

func (*UserAccount) Reload

func (o *UserAccount) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*UserAccount) RemoveNameAfterLastName

func (o *UserAccount) RemoveNameAfterLastName(ctx context.Context, exec boil.ContextExecutor, related *NameAfterLastName) error

RemoveNameAfterLastName relationship. Sets o.R.NameAfterLastName to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*UserAccount) RemovePrefixLastName

func (o *UserAccount) RemovePrefixLastName(ctx context.Context, exec boil.ContextExecutor, related *PrefixLastName) error

RemovePrefixLastName relationship. Sets o.R.PrefixLastName to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*UserAccount) SetNameAfterLastName

func (o *UserAccount) SetNameAfterLastName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *NameAfterLastName) error

SetNameAfterLastName of the userAccount to the related item. Sets o.R.NameAfterLastName to related. Adds o to related.R.UserAccounts.

func (*UserAccount) SetPrefixLastName

func (o *UserAccount) SetPrefixLastName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PrefixLastName) error

SetPrefixLastName of the userAccount to the related item. Sets o.R.PrefixLastName to related. Adds o to related.R.UserAccounts.

func (*UserAccount) Update

func (o *UserAccount) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the UserAccount. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UserAccount) Upsert

func (o *UserAccount) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*UserAccount) UserAccountEthnicities

func (o *UserAccount) UserAccountEthnicities(mods ...qm.QueryMod) userAccountEthnicityQuery

UserAccountEthnicities retrieves all the user_account_ethnicity's UserAccountEthnicities with an executor.

func (*UserAccount) UserAccountSuffixes

func (o *UserAccount) UserAccountSuffixes(mods ...qm.QueryMod) userAccountSuffixQuery

UserAccountSuffixes retrieves all the user_account_suffix's UserAccountSuffixes with an executor.

func (*UserAccount) UserPersonalInfos

func (o *UserAccount) UserPersonalInfos(mods ...qm.QueryMod) userPersonalInfoQuery

UserPersonalInfos retrieves all the user_personal_info's UserPersonalInfos with an executor.

func (*UserAccount) Votes

func (o *UserAccount) Votes(mods ...qm.QueryMod) voteQuery

Votes retrieves all the vote's Votes with an executor.

type UserAccountEthnicity

type UserAccountEthnicity struct {
	UserAccountEthnicityID int64      `` /* 131-byte string literal not displayed */
	UserAccountID          int64      `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	EthnicSubgroupID       int64      `boil:"ethnic_subgroup_id" json:"ethnic_subgroup_id" toml:"ethnic_subgroup_id" yaml:"ethnic_subgroup_id"`
	EthnicityPercent       null.Int16 `boil:"ethnicity_percent" json:"ethnicity_percent,omitempty" toml:"ethnicity_percent" yaml:"ethnicity_percent,omitempty"`

	R *userAccountEthnicityR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userAccountEthnicityL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserAccountEthnicity is an object representing the database table.

func FindUserAccountEthnicity

func FindUserAccountEthnicity(ctx context.Context, exec boil.ContextExecutor, userAccountEthnicityID int64, selectCols ...string) (*UserAccountEthnicity, error)

FindUserAccountEthnicity retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UserAccountEthnicity) Delete

Delete deletes a single UserAccountEthnicity record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UserAccountEthnicity) EthnicSubgroup

func (o *UserAccountEthnicity) EthnicSubgroup(mods ...qm.QueryMod) ethnicSubgroupQuery

EthnicSubgroup pointed to by the foreign key.

func (*UserAccountEthnicity) Insert

func (o *UserAccountEthnicity) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UserAccountEthnicity) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*UserAccountEthnicity) SetEthnicSubgroup

func (o *UserAccountEthnicity) SetEthnicSubgroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *EthnicSubgroup) error

SetEthnicSubgroup of the userAccountEthnicity to the related item. Sets o.R.EthnicSubgroup to related. Adds o to related.R.UserAccountEthnicities.

func (*UserAccountEthnicity) SetUserAccount

func (o *UserAccountEthnicity) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the userAccountEthnicity to the related item. Sets o.R.UserAccount to related. Adds o to related.R.UserAccountEthnicities.

func (*UserAccountEthnicity) Update

func (o *UserAccountEthnicity) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the UserAccountEthnicity. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UserAccountEthnicity) Upsert

func (o *UserAccountEthnicity) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*UserAccountEthnicity) UserAccount

func (o *UserAccountEthnicity) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type UserAccountEthnicityHook

type UserAccountEthnicityHook func(context.Context, boil.ContextExecutor, *UserAccountEthnicity) error

UserAccountEthnicityHook is the signature for custom UserAccountEthnicity hook methods

type UserAccountEthnicitySlice

type UserAccountEthnicitySlice []*UserAccountEthnicity

UserAccountEthnicitySlice is an alias for a slice of pointers to UserAccountEthnicity. This should generally be used opposed to []UserAccountEthnicity.

func (UserAccountEthnicitySlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*UserAccountEthnicitySlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UserAccountEthnicitySlice) UpdateAll

func (o UserAccountEthnicitySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type UserAccountHook

type UserAccountHook func(context.Context, boil.ContextExecutor, *UserAccount) error

UserAccountHook is the signature for custom UserAccount hook methods

type UserAccountSlice

type UserAccountSlice []*UserAccount

UserAccountSlice is an alias for a slice of pointers to UserAccount. This should generally be used opposed to []UserAccount.

func (UserAccountSlice) DeleteAll

func (o UserAccountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*UserAccountSlice) ReloadAll

func (o *UserAccountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UserAccountSlice) UpdateAll

func (o UserAccountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type UserAccountSuffix

type UserAccountSuffix struct {
	UserAccountSuffixID int64 `boil:"user_account_suffix_id" json:"user_account_suffix_id" toml:"user_account_suffix_id" yaml:"user_account_suffix_id"`
	SuffixID            int64 `boil:"suffix_id" json:"suffix_id" toml:"suffix_id" yaml:"suffix_id"`
	UserAccountID       int64 `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	SuffixPosition      int16 `boil:"suffix_position" json:"suffix_position" toml:"suffix_position" yaml:"suffix_position"`

	R *userAccountSuffixR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userAccountSuffixL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserAccountSuffix is an object representing the database table.

func FindUserAccountSuffix

func FindUserAccountSuffix(ctx context.Context, exec boil.ContextExecutor, userAccountSuffixID int64, selectCols ...string) (*UserAccountSuffix, error)

FindUserAccountSuffix retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UserAccountSuffix) Delete

Delete deletes a single UserAccountSuffix record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UserAccountSuffix) Insert

func (o *UserAccountSuffix) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UserAccountSuffix) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*UserAccountSuffix) SetSuffix

func (o *UserAccountSuffix) SetSuffix(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Suffix) error

SetSuffix of the userAccountSuffix to the related item. Sets o.R.Suffix to related. Adds o to related.R.UserAccountSuffixes.

func (*UserAccountSuffix) SetUserAccount

func (o *UserAccountSuffix) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the userAccountSuffix to the related item. Sets o.R.UserAccount to related. Adds o to related.R.UserAccountSuffixes.

func (*UserAccountSuffix) Suffix

func (o *UserAccountSuffix) Suffix(mods ...qm.QueryMod) suffixQuery

Suffix pointed to by the foreign key.

func (*UserAccountSuffix) Update

func (o *UserAccountSuffix) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the UserAccountSuffix. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UserAccountSuffix) Upsert

func (o *UserAccountSuffix) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*UserAccountSuffix) UserAccount

func (o *UserAccountSuffix) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

type UserAccountSuffixHook

type UserAccountSuffixHook func(context.Context, boil.ContextExecutor, *UserAccountSuffix) error

UserAccountSuffixHook is the signature for custom UserAccountSuffix hook methods

type UserAccountSuffixSlice

type UserAccountSuffixSlice []*UserAccountSuffix

UserAccountSuffixSlice is an alias for a slice of pointers to UserAccountSuffix. This should generally be used opposed to []UserAccountSuffix.

func (UserAccountSuffixSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*UserAccountSuffixSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UserAccountSuffixSlice) UpdateAll

func (o UserAccountSuffixSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type UserPersonalInfo

type UserPersonalInfo struct {
	UserPersonalInfoID    int64     `boil:"user_personal_info_id" json:"user_personal_info_id" toml:"user_personal_info_id" yaml:"user_personal_info_id"`
	UserAccountID         int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	EmailAddressID        int64     `boil:"email_address_id" json:"email_address_id" toml:"email_address_id" yaml:"email_address_id"`
	PasswordHashkey       string    `boil:"password_hashkey" json:"password_hashkey" toml:"password_hashkey" yaml:"password_hashkey"`
	PasswordSalt          string    `boil:"password_salt" json:"password_salt" toml:"password_salt" yaml:"password_salt"`
	PasswordHashAlgorithm string    `boil:"password_hash_algorithm" json:"password_hash_algorithm" toml:"password_hash_algorithm" yaml:"password_hash_algorithm"`
	PersonTypeID          int64     `boil:"person_type_id" json:"person_type_id" toml:"person_type_id" yaml:"person_type_id"`
	Phone                 string    `boil:"phone" json:"phone" toml:"phone" yaml:"phone"`
	AddressID             int64     `boil:"address_id" json:"address_id" toml:"address_id" yaml:"address_id"`
	UpdatedAt             time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *userPersonalInfoR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userPersonalInfoL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserPersonalInfo is an object representing the database table.

func FindUserPersonalInfo

func FindUserPersonalInfo(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoID int64, selectCols ...string) (*UserPersonalInfo, error)

FindUserPersonalInfo retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UserPersonalInfo) AddUserPersonalInfoHonors

func (o *UserPersonalInfo) AddUserPersonalInfoHonors(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfoHonor) error

AddUserPersonalInfoHonors adds the given related objects to the existing relationships of the user_personal_info, optionally inserting them as new records. Appends related to o.R.UserPersonalInfoHonors. Sets related.R.UserPersonalInfo appropriately.

func (*UserPersonalInfo) AddUserPersonalInfoTitleAfterLastNames

func (o *UserPersonalInfo) AddUserPersonalInfoTitleAfterLastNames(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfoTitleAfterLastName) error

AddUserPersonalInfoTitleAfterLastNames adds the given related objects to the existing relationships of the user_personal_info, optionally inserting them as new records. Appends related to o.R.UserPersonalInfoTitleAfterLastNames. Sets related.R.UserPersonalInfo appropriately.

func (*UserPersonalInfo) AddUserPersonalInfoTitles

func (o *UserPersonalInfo) AddUserPersonalInfoTitles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UserPersonalInfoTitle) error

AddUserPersonalInfoTitles adds the given related objects to the existing relationships of the user_personal_info, optionally inserting them as new records. Appends related to o.R.UserPersonalInfoTitles. Sets related.R.UserPersonalInfo appropriately.

func (*UserPersonalInfo) Address

func (o *UserPersonalInfo) Address(mods ...qm.QueryMod) addressQuery

Address pointed to by the foreign key.

func (*UserPersonalInfo) Delete

Delete deletes a single UserPersonalInfo record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UserPersonalInfo) Insert

func (o *UserPersonalInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UserPersonalInfo) PersonType

func (o *UserPersonalInfo) PersonType(mods ...qm.QueryMod) personTypeQuery

PersonType pointed to by the foreign key.

func (*UserPersonalInfo) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*UserPersonalInfo) SetAddress

func (o *UserPersonalInfo) SetAddress(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Address) error

SetAddress of the userPersonalInfo to the related item. Sets o.R.Address to related. Adds o to related.R.UserPersonalInfos.

func (*UserPersonalInfo) SetPersonType

func (o *UserPersonalInfo) SetPersonType(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PersonType) error

SetPersonType of the userPersonalInfo to the related item. Sets o.R.PersonType to related. Adds o to related.R.UserPersonalInfos.

func (*UserPersonalInfo) SetUserAccount

func (o *UserPersonalInfo) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the userPersonalInfo to the related item. Sets o.R.UserAccount to related. Adds o to related.R.UserPersonalInfos.

func (*UserPersonalInfo) Update

func (o *UserPersonalInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the UserPersonalInfo. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UserPersonalInfo) Upsert

func (o *UserPersonalInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*UserPersonalInfo) UserAccount

func (o *UserPersonalInfo) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

func (*UserPersonalInfo) UserPersonalInfoHonors

func (o *UserPersonalInfo) UserPersonalInfoHonors(mods ...qm.QueryMod) userPersonalInfoHonorQuery

UserPersonalInfoHonors retrieves all the user_personal_info_honor's UserPersonalInfoHonors with an executor.

func (*UserPersonalInfo) UserPersonalInfoTitleAfterLastNames

func (o *UserPersonalInfo) UserPersonalInfoTitleAfterLastNames(mods ...qm.QueryMod) userPersonalInfoTitleAfterLastNameQuery

UserPersonalInfoTitleAfterLastNames retrieves all the user_personal_info_title_after_last_name's UserPersonalInfoTitleAfterLastNames with an executor.

func (*UserPersonalInfo) UserPersonalInfoTitles

func (o *UserPersonalInfo) UserPersonalInfoTitles(mods ...qm.QueryMod) userPersonalInfoTitleQuery

UserPersonalInfoTitles retrieves all the user_personal_info_title's UserPersonalInfoTitles with an executor.

type UserPersonalInfoHonor

type UserPersonalInfoHonor struct {
	UserPersonalInfoHonorID int64 `` /* 139-byte string literal not displayed */
	HonorID                 int64 `boil:"honor_id" json:"honor_id" toml:"honor_id" yaml:"honor_id"`
	UserPersonalInfoID      int64 `boil:"user_personal_info_id" json:"user_personal_info_id" toml:"user_personal_info_id" yaml:"user_personal_info_id"`
	HonorsPosition          int16 `boil:"honors_position" json:"honors_position" toml:"honors_position" yaml:"honors_position"`

	R *userPersonalInfoHonorR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userPersonalInfoHonorL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserPersonalInfoHonor is an object representing the database table.

func FindUserPersonalInfoHonor

func FindUserPersonalInfoHonor(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoHonorID int64, selectCols ...string) (*UserPersonalInfoHonor, error)

FindUserPersonalInfoHonor retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UserPersonalInfoHonor) Delete

Delete deletes a single UserPersonalInfoHonor record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UserPersonalInfoHonor) Honor

func (o *UserPersonalInfoHonor) Honor(mods ...qm.QueryMod) honorQuery

Honor pointed to by the foreign key.

func (*UserPersonalInfoHonor) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UserPersonalInfoHonor) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*UserPersonalInfoHonor) SetHonor

func (o *UserPersonalInfoHonor) SetHonor(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Honor) error

SetHonor of the userPersonalInfoHonor to the related item. Sets o.R.Honor to related. Adds o to related.R.UserPersonalInfoHonors.

func (*UserPersonalInfoHonor) SetUserPersonalInfo

func (o *UserPersonalInfoHonor) SetUserPersonalInfo(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserPersonalInfo) error

SetUserPersonalInfo of the userPersonalInfoHonor to the related item. Sets o.R.UserPersonalInfo to related. Adds o to related.R.UserPersonalInfoHonors.

func (*UserPersonalInfoHonor) Update

func (o *UserPersonalInfoHonor) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the UserPersonalInfoHonor. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UserPersonalInfoHonor) Upsert

func (o *UserPersonalInfoHonor) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*UserPersonalInfoHonor) UserPersonalInfo

func (o *UserPersonalInfoHonor) UserPersonalInfo(mods ...qm.QueryMod) userPersonalInfoQuery

UserPersonalInfo pointed to by the foreign key.

type UserPersonalInfoHonorHook

type UserPersonalInfoHonorHook func(context.Context, boil.ContextExecutor, *UserPersonalInfoHonor) error

UserPersonalInfoHonorHook is the signature for custom UserPersonalInfoHonor hook methods

type UserPersonalInfoHonorSlice

type UserPersonalInfoHonorSlice []*UserPersonalInfoHonor

UserPersonalInfoHonorSlice is an alias for a slice of pointers to UserPersonalInfoHonor. This should generally be used opposed to []UserPersonalInfoHonor.

func (UserPersonalInfoHonorSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*UserPersonalInfoHonorSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UserPersonalInfoHonorSlice) UpdateAll

func (o UserPersonalInfoHonorSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type UserPersonalInfoHook

type UserPersonalInfoHook func(context.Context, boil.ContextExecutor, *UserPersonalInfo) error

UserPersonalInfoHook is the signature for custom UserPersonalInfo hook methods

type UserPersonalInfoSlice

type UserPersonalInfoSlice []*UserPersonalInfo

UserPersonalInfoSlice is an alias for a slice of pointers to UserPersonalInfo. This should generally be used opposed to []UserPersonalInfo.

func (UserPersonalInfoSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*UserPersonalInfoSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UserPersonalInfoSlice) UpdateAll

func (o UserPersonalInfoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type UserPersonalInfoTitle

type UserPersonalInfoTitle struct {
	UserPersonalInfoTitleID int64 `` /* 139-byte string literal not displayed */
	TitleID                 int64 `boil:"title_id" json:"title_id" toml:"title_id" yaml:"title_id"`
	UserPersonalInfoID      int64 `boil:"user_personal_info_id" json:"user_personal_info_id" toml:"user_personal_info_id" yaml:"user_personal_info_id"`
	TitlePosition           int16 `boil:"title_position" json:"title_position" toml:"title_position" yaml:"title_position"`

	R *userPersonalInfoTitleR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userPersonalInfoTitleL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserPersonalInfoTitle is an object representing the database table.

func FindUserPersonalInfoTitle

func FindUserPersonalInfoTitle(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoTitleID int64, selectCols ...string) (*UserPersonalInfoTitle, error)

FindUserPersonalInfoTitle retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UserPersonalInfoTitle) Delete

Delete deletes a single UserPersonalInfoTitle record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UserPersonalInfoTitle) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UserPersonalInfoTitle) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*UserPersonalInfoTitle) SetTitle

func (o *UserPersonalInfoTitle) SetTitle(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Title) error

SetTitle of the userPersonalInfoTitle to the related item. Sets o.R.Title to related. Adds o to related.R.UserPersonalInfoTitles.

func (*UserPersonalInfoTitle) SetUserPersonalInfo

func (o *UserPersonalInfoTitle) SetUserPersonalInfo(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserPersonalInfo) error

SetUserPersonalInfo of the userPersonalInfoTitle to the related item. Sets o.R.UserPersonalInfo to related. Adds o to related.R.UserPersonalInfoTitles.

func (*UserPersonalInfoTitle) Title

func (o *UserPersonalInfoTitle) Title(mods ...qm.QueryMod) titleQuery

Title pointed to by the foreign key.

func (*UserPersonalInfoTitle) Update

func (o *UserPersonalInfoTitle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the UserPersonalInfoTitle. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UserPersonalInfoTitle) Upsert

func (o *UserPersonalInfoTitle) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*UserPersonalInfoTitle) UserPersonalInfo

func (o *UserPersonalInfoTitle) UserPersonalInfo(mods ...qm.QueryMod) userPersonalInfoQuery

UserPersonalInfo pointed to by the foreign key.

type UserPersonalInfoTitleAfterLastName

type UserPersonalInfoTitleAfterLastName struct {
	UserPersonalInfoTitleAfterLastNameID int64 `` /* 203-byte string literal not displayed */
	TitleAfterLastNameID                 int64 `` /* 127-byte string literal not displayed */
	UserPersonalInfoID                   int64 `boil:"user_personal_info_id" json:"user_personal_info_id" toml:"user_personal_info_id" yaml:"user_personal_info_id"`
	TitleAfterLastNamePosition           int16 `` /* 151-byte string literal not displayed */

	R *userPersonalInfoTitleAfterLastNameR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userPersonalInfoTitleAfterLastNameL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserPersonalInfoTitleAfterLastName is an object representing the database table.

func FindUserPersonalInfoTitleAfterLastName

func FindUserPersonalInfoTitleAfterLastName(ctx context.Context, exec boil.ContextExecutor, userPersonalInfoTitleAfterLastNameID int64, selectCols ...string) (*UserPersonalInfoTitleAfterLastName, error)

FindUserPersonalInfoTitleAfterLastName retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UserPersonalInfoTitleAfterLastName) Delete

Delete deletes a single UserPersonalInfoTitleAfterLastName record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UserPersonalInfoTitleAfterLastName) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UserPersonalInfoTitleAfterLastName) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*UserPersonalInfoTitleAfterLastName) SetTitleAfterLastName

func (o *UserPersonalInfoTitleAfterLastName) SetTitleAfterLastName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *TitleAfterLastName) error

SetTitleAfterLastName of the userPersonalInfoTitleAfterLastName to the related item. Sets o.R.TitleAfterLastName to related. Adds o to related.R.UserPersonalInfoTitleAfterLastNames.

func (*UserPersonalInfoTitleAfterLastName) SetUserPersonalInfo

func (o *UserPersonalInfoTitleAfterLastName) SetUserPersonalInfo(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserPersonalInfo) error

SetUserPersonalInfo of the userPersonalInfoTitleAfterLastName to the related item. Sets o.R.UserPersonalInfo to related. Adds o to related.R.UserPersonalInfoTitleAfterLastNames.

func (*UserPersonalInfoTitleAfterLastName) TitleAfterLastName

func (o *UserPersonalInfoTitleAfterLastName) TitleAfterLastName(mods ...qm.QueryMod) titleAfterLastNameQuery

TitleAfterLastName pointed to by the foreign key.

func (*UserPersonalInfoTitleAfterLastName) Update

Update uses an executor to update the UserPersonalInfoTitleAfterLastName. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UserPersonalInfoTitleAfterLastName) Upsert

func (o *UserPersonalInfoTitleAfterLastName) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*UserPersonalInfoTitleAfterLastName) UserPersonalInfo

func (o *UserPersonalInfoTitleAfterLastName) UserPersonalInfo(mods ...qm.QueryMod) userPersonalInfoQuery

UserPersonalInfo pointed to by the foreign key.

type UserPersonalInfoTitleAfterLastNameHook

type UserPersonalInfoTitleAfterLastNameHook func(context.Context, boil.ContextExecutor, *UserPersonalInfoTitleAfterLastName) error

UserPersonalInfoTitleAfterLastNameHook is the signature for custom UserPersonalInfoTitleAfterLastName hook methods

type UserPersonalInfoTitleAfterLastNameSlice

type UserPersonalInfoTitleAfterLastNameSlice []*UserPersonalInfoTitleAfterLastName

UserPersonalInfoTitleAfterLastNameSlice is an alias for a slice of pointers to UserPersonalInfoTitleAfterLastName. This should generally be used opposed to []UserPersonalInfoTitleAfterLastName.

func (UserPersonalInfoTitleAfterLastNameSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*UserPersonalInfoTitleAfterLastNameSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UserPersonalInfoTitleAfterLastNameSlice) UpdateAll

UpdateAll updates all rows with the specified column values, using an executor.

type UserPersonalInfoTitleHook

type UserPersonalInfoTitleHook func(context.Context, boil.ContextExecutor, *UserPersonalInfoTitle) error

UserPersonalInfoTitleHook is the signature for custom UserPersonalInfoTitle hook methods

type UserPersonalInfoTitleSlice

type UserPersonalInfoTitleSlice []*UserPersonalInfoTitle

UserPersonalInfoTitleSlice is an alias for a slice of pointers to UserPersonalInfoTitle. This should generally be used opposed to []UserPersonalInfoTitle.

func (UserPersonalInfoTitleSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*UserPersonalInfoTitleSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UserPersonalInfoTitleSlice) UpdateAll

func (o UserPersonalInfoTitleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Vote

type Vote struct {
	VoteID                int64     `boil:"vote_id" json:"vote_id" toml:"vote_id" yaml:"vote_id"`
	UserAccountID         int64     `boil:"user_account_id" json:"user_account_id" toml:"user_account_id" yaml:"user_account_id"`
	PollID                int64     `boil:"poll_id" json:"poll_id" toml:"poll_id" yaml:"poll_id"`
	XPollFactorPositionID int64     `` /* 131-byte string literal not displayed */
	YPollFactorPositionID int64     `` /* 131-byte string literal not displayed */
	ZPollFactorPositionID int64     `` /* 131-byte string literal not displayed */
	XShare                int16     `boil:"x_share" json:"x_share" toml:"x_share" yaml:"x_share"`
	YShare                int16     `boil:"y_share" json:"y_share" toml:"y_share" yaml:"y_share"`
	ZShare                int16     `boil:"z_share" json:"z_share" toml:"z_share" yaml:"z_share"`
	CreatedAt             time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *voteR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L voteL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Vote is an object representing the database table.

func FindVote

func FindVote(ctx context.Context, exec boil.ContextExecutor, voteID int64, selectCols ...string) (*Vote, error)

FindVote retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Vote) Delete

func (o *Vote) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Vote record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Vote) Insert

func (o *Vote) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Vote) Poll

func (o *Vote) Poll(mods ...qm.QueryMod) pollQuery

Poll pointed to by the foreign key.

func (*Vote) Reload

func (o *Vote) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Vote) SetPoll

func (o *Vote) SetPoll(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Poll) error

SetPoll of the vote to the related item. Sets o.R.Poll to related. Adds o to related.R.Votes.

func (*Vote) SetUserAccount

func (o *Vote) SetUserAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *UserAccount) error

SetUserAccount of the vote to the related item. Sets o.R.UserAccount to related. Adds o to related.R.Votes.

func (*Vote) SetXPollFactorPosition

func (o *Vote) SetXPollFactorPosition(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PollsFactorsPosition) error

SetXPollFactorPosition of the vote to the related item. Sets o.R.XPollFactorPosition to related. Adds o to related.R.XPollFactorPositionVotes.

func (*Vote) SetYPollFactorPosition

func (o *Vote) SetYPollFactorPosition(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PollsFactorsPosition) error

SetYPollFactorPosition of the vote to the related item. Sets o.R.YPollFactorPosition to related. Adds o to related.R.YPollFactorPositionVotes.

func (*Vote) SetZPollFactorPosition

func (o *Vote) SetZPollFactorPosition(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PollsFactorsPosition) error

SetZPollFactorPosition of the vote to the related item. Sets o.R.ZPollFactorPosition to related. Adds o to related.R.ZPollFactorPositionVotes.

func (*Vote) Update

func (o *Vote) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Vote. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Vote) Upsert

func (o *Vote) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Vote) UserAccount

func (o *Vote) UserAccount(mods ...qm.QueryMod) userAccountQuery

UserAccount pointed to by the foreign key.

func (*Vote) XPollFactorPosition

func (o *Vote) XPollFactorPosition(mods ...qm.QueryMod) pollsFactorsPositionQuery

XPollFactorPosition pointed to by the foreign key.

func (*Vote) YPollFactorPosition

func (o *Vote) YPollFactorPosition(mods ...qm.QueryMod) pollsFactorsPositionQuery

YPollFactorPosition pointed to by the foreign key.

func (*Vote) ZPollFactorPosition

func (o *Vote) ZPollFactorPosition(mods ...qm.QueryMod) pollsFactorsPositionQuery

ZPollFactorPosition pointed to by the foreign key.

type VoteHook

type VoteHook func(context.Context, boil.ContextExecutor, *Vote) error

VoteHook is the signature for custom Vote hook methods

type VoteSlice

type VoteSlice []*Vote

VoteSlice is an alias for a slice of pointers to Vote. This should generally be used opposed to []Vote.

func (VoteSlice) DeleteAll

func (o VoteSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*VoteSlice) ReloadAll

func (o *VoteSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (VoteSlice) UpdateAll

func (o VoteSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL