Documentation ¶
Index ¶
- Variables
- func APIKeyExists(ctx context.Context, exec boil.ContextExecutor, keyID int) (bool, error)
- func APIKeys(mods ...qm.QueryMod) apiKeyQuery
- func AddAPIKeyHook(hookPoint boil.HookPoint, apiKeyHook APIKeyHook)
- func AddBlogHook(hookPoint boil.HookPoint, blogHook BlogHook)
- func AddFormationHook(hookPoint boil.HookPoint, formationHook FormationHook)
- func AddGroupHook(hookPoint boil.HookPoint, groupHook GroupHook)
- func AddLocaleHook(hookPoint boil.HookPoint, localeHook LocaleHook)
- func AddMemberHook(hookPoint boil.HookPoint, memberHook MemberHook)
- func AddMemberInfoHook(hookPoint boil.HookPoint, memberInfoHook MemberInfoHook)
- func AddMemberTagHook(hookPoint boil.HookPoint, memberTagHook MemberTagHook)
- func AddPositionHook(hookPoint boil.HookPoint, positionHook PositionHook)
- func AddSchemaMigrationHook(hookPoint boil.HookPoint, schemaMigrationHook SchemaMigrationHook)
- func AddSongHook(hookPoint boil.HookPoint, songHook SongHook)
- func AddTagHook(hookPoint boil.HookPoint, tagHook TagHook)
- func BlogExists(ctx context.Context, exec boil.ContextExecutor, blogID int) (bool, error)
- func Blogs(mods ...qm.QueryMod) blogQuery
- func FormationExists(ctx context.Context, exec boil.ContextExecutor, formationID int) (bool, error)
- func Formations(mods ...qm.QueryMod) formationQuery
- func GroupExists(ctx context.Context, exec boil.ContextExecutor, groupID int) (bool, error)
- func Groups(mods ...qm.QueryMod) groupQuery
- func LocaleExists(ctx context.Context, exec boil.ContextExecutor, localeID int) (bool, error)
- func Locales(mods ...qm.QueryMod) localeQuery
- func MemberExists(ctx context.Context, exec boil.ContextExecutor, memberID int) (bool, error)
- func MemberInfoExists(ctx context.Context, exec boil.ContextExecutor, memberInfoID int) (bool, error)
- func MemberInfos(mods ...qm.QueryMod) memberInfoQuery
- func MemberTagExists(ctx context.Context, exec boil.ContextExecutor, memberTagID int) (bool, error)
- func MemberTags(mods ...qm.QueryMod) memberTagQuery
- func Members(mods ...qm.QueryMod) memberQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func PositionExists(ctx context.Context, exec boil.ContextExecutor, positionID int) (bool, error)
- func Positions(mods ...qm.QueryMod) positionQuery
- func SchemaMigrationExists(ctx context.Context, exec boil.ContextExecutor, version int64) (bool, error)
- func SchemaMigrations(mods ...qm.QueryMod) schemaMigrationQuery
- func SongExists(ctx context.Context, exec boil.ContextExecutor, songID int) (bool, error)
- func Songs(mods ...qm.QueryMod) songQuery
- func TagExists(ctx context.Context, exec boil.ContextExecutor, tagID int) (bool, error)
- func Tags(mods ...qm.QueryMod) tagQuery
- type APIKey
- func (o *APIKey) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *APIKey) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *APIKey) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *APIKey) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *APIKey) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type APIKeyHook
- type APIKeySlice
- type Blog
- func (o *Blog) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Blog) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Blog) Member(mods ...qm.QueryMod) memberQuery
- func (o *Blog) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Blog) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
- func (o *Blog) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Blog) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type BlogHook
- type BlogSlice
- type Formation
- func (o *Formation) AddSongs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Song) error
- func (o *Formation) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Formation) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Formation) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Formation) Songs(mods ...qm.QueryMod) songQuery
- func (o *Formation) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Formation) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type FormationHook
- type FormationSlice
- type Group
- func (o *Group) AddMembers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Group) AddSongs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Song) error
- func (o *Group) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Group) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Group) Members(mods ...qm.QueryMod) memberQuery
- func (o *Group) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Group) Songs(mods ...qm.QueryMod) songQuery
- func (o *Group) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Group) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type GroupHook
- type GroupSlice
- type Locale
- func (o *Locale) AddMemberInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Locale) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Locale) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Locale) MemberInfos(mods ...qm.QueryMod) memberInfoQuery
- func (o *Locale) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Locale) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Locale) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type LocaleHook
- type LocaleSlice
- type M
- type Member
- func (o *Member) AddBlogs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Blog) error
- func (o *Member) AddMemberInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Member) AddMemberTags(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Member) AddPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Member) Blogs(mods ...qm.QueryMod) blogQuery
- func (o *Member) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Member) Group(mods ...qm.QueryMod) groupQuery
- func (o *Member) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Member) MemberInfos(mods ...qm.QueryMod) memberInfoQuery
- func (o *Member) MemberTags(mods ...qm.QueryMod) memberTagQuery
- func (o *Member) Positions(mods ...qm.QueryMod) positionQuery
- func (o *Member) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Member) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *Member) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Member) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type MemberHook
- type MemberInfo
- func (o *MemberInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MemberInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MemberInfo) Locale(mods ...qm.QueryMod) localeQuery
- func (o *MemberInfo) Member(mods ...qm.QueryMod) memberQuery
- func (o *MemberInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MemberInfo) SetLocale(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Locale) error
- func (o *MemberInfo) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
- func (o *MemberInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MemberInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type MemberInfoHook
- type MemberInfoSlice
- type MemberSlice
- type MemberTag
- func (o *MemberTag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MemberTag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MemberTag) Member(mods ...qm.QueryMod) memberQuery
- func (o *MemberTag) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MemberTag) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
- func (o *MemberTag) SetTag(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Tag) error
- func (o *MemberTag) Tag(mods ...qm.QueryMod) tagQuery
- func (o *MemberTag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MemberTag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type MemberTagHook
- type MemberTagSlice
- type Position
- func (o *Position) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Position) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Position) Member(mods ...qm.QueryMod) memberQuery
- func (o *Position) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Position) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
- func (o *Position) SetSong(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Song) error
- func (o *Position) Song(mods ...qm.QueryMod) songQuery
- func (o *Position) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Position) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type PositionHook
- type PositionSlice
- type SchemaMigration
- func (o *SchemaMigration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *SchemaMigration) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *SchemaMigration) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *SchemaMigration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *SchemaMigration) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type SchemaMigrationHook
- type SchemaMigrationSlice
- func (o SchemaMigrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *SchemaMigrationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o SchemaMigrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Song
- func (o *Song) AddPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Song) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Song) Formation(mods ...qm.QueryMod) formationQuery
- func (o *Song) Group(mods ...qm.QueryMod) groupQuery
- func (o *Song) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Song) Positions(mods ...qm.QueryMod) positionQuery
- func (o *Song) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Song) SetFormation(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Song) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
- func (o *Song) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Song) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type SongHook
- type SongSlice
- type Tag
- func (o *Tag) AddMemberTags(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Tag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Tag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Tag) MemberTags(mods ...qm.QueryMod) memberTagQuery
- func (o *Tag) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Tag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Tag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- type TagHook
- type TagSlice
Constants ¶
This section is empty.
Variables ¶
var APIKeyColumns = struct { KeyID string KeyVal string }{ KeyID: "key_id", KeyVal: "key_val", }
var APIKeyRels = struct {
}{}
APIKeyRels is where relationship names are stored.
var APIKeyTableColumns = struct { KeyID string KeyVal string }{ KeyID: "api_keys.key_id", KeyVal: "api_keys.key_val", }
var APIKeyWhere = struct { KeyID whereHelperint KeyVal whereHelperstring }{ KeyID: whereHelperint{/* contains filtered or unexported fields */}, KeyVal: whereHelperstring{/* contains filtered or unexported fields */}, }
var BlogColumns = struct { BlogID string MemberID string BlogURL string LastBlogImg string LastUpdatedAt string }{ BlogID: "blog_id", MemberID: "member_id", BlogURL: "blog_url", LastBlogImg: "last_blog_img", LastUpdatedAt: "last_updated_at", }
var BlogRels = struct { Member string }{ Member: "Member", }
BlogRels is where relationship names are stored.
var BlogTableColumns = struct { BlogID string MemberID string BlogURL string LastBlogImg string LastUpdatedAt string }{ BlogID: "blogs.blog_id", MemberID: "blogs.member_id", BlogURL: "blogs.blog_url", LastBlogImg: "blogs.last_blog_img", LastUpdatedAt: "blogs.last_updated_at", }
var BlogWhere = struct { BlogID whereHelperint MemberID whereHelperint BlogURL whereHelperstring LastBlogImg whereHelperstring LastUpdatedAt whereHelperstring }{ BlogID: whereHelperint{/* contains filtered or unexported fields */}, MemberID: whereHelperint{/* contains filtered or unexported fields */}, BlogURL: whereHelperstring{/* contains filtered or unexported fields */}, LastBlogImg: whereHelperstring{/* contains filtered or unexported fields */}, LastUpdatedAt: whereHelperstring{/* contains filtered or unexported fields */}, }
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.
var FormationColumns = struct { FormationID string FirstRowNum string SecondRowNum string ThirdRowNum string }{ FormationID: "formation_id", FirstRowNum: "first_row_num", SecondRowNum: "second_row_num", ThirdRowNum: "third_row_num", }
var FormationRels = struct { Songs string }{ Songs: "Songs", }
FormationRels is where relationship names are stored.
var FormationTableColumns = struct { FormationID string FirstRowNum string SecondRowNum string ThirdRowNum string }{ FormationID: "formations.formation_id", FirstRowNum: "formations.first_row_num", SecondRowNum: "formations.second_row_num", ThirdRowNum: "formations.third_row_num", }
var FormationWhere = struct { FormationID whereHelperint FirstRowNum whereHelpernull_Int16 SecondRowNum whereHelpernull_Int16 ThirdRowNum whereHelpernull_Int16 }{ FormationID: whereHelperint{/* contains filtered or unexported fields */}, FirstRowNum: whereHelpernull_Int16{/* contains filtered or unexported fields */}, SecondRowNum: whereHelpernull_Int16{/* contains filtered or unexported fields */}, ThirdRowNum: whereHelpernull_Int16{/* contains filtered or unexported fields */}, }
var GroupColumns = struct { GroupID string GroupName string }{ GroupID: "group_id", GroupName: "group_name", }
var GroupRels = struct { Members string Songs string }{ Members: "Members", Songs: "Songs", }
GroupRels is where relationship names are stored.
var GroupTableColumns = struct { GroupID string GroupName string }{ GroupID: "groups.group_id", GroupName: "groups.group_name", }
var GroupWhere = struct { GroupID whereHelperint GroupName whereHelperstring }{ GroupID: whereHelperint{/* contains filtered or unexported fields */}, GroupName: whereHelperstring{/* contains filtered or unexported fields */}, }
var LocaleColumns = struct { LocaleID string Name string }{ LocaleID: "locale_id", Name: "name", }
var LocaleRels = struct { MemberInfos string }{ MemberInfos: "MemberInfos", }
LocaleRels is where relationship names are stored.
var LocaleTableColumns = struct { LocaleID string Name string }{ LocaleID: "locales.locale_id", Name: "locales.name", }
var LocaleWhere = struct { LocaleID whereHelperint Name whereHelperstring }{ LocaleID: whereHelperint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, }
var MemberColumns = struct { MemberID string GroupID string NameJa string JoinedAt string LeftAt string }{ MemberID: "member_id", GroupID: "group_id", NameJa: "name_ja", JoinedAt: "joined_at", LeftAt: "left_at", }
var MemberInfoColumns = struct { MemberInfoID string MemberID string Birthday string BloodType string HeightCM string Generation string BlogURL string ImgURL string LocaleID string }{ MemberInfoID: "member_info_id", MemberID: "member_id", Birthday: "birthday", BloodType: "blood_type", HeightCM: "height_cm", Generation: "generation", BlogURL: "blog_url", ImgURL: "img_url", LocaleID: "locale_id", }
var MemberInfoRels = struct { Locale string Member string }{ Locale: "Locale", Member: "Member", }
MemberInfoRels is where relationship names are stored.
var MemberInfoTableColumns = struct { MemberInfoID string MemberID string Birthday string BloodType string HeightCM string Generation string BlogURL string ImgURL string LocaleID string }{ MemberInfoID: "member_infos.member_info_id", MemberID: "member_infos.member_id", Birthday: "member_infos.birthday", BloodType: "member_infos.blood_type", HeightCM: "member_infos.height_cm", Generation: "member_infos.generation", BlogURL: "member_infos.blog_url", ImgURL: "member_infos.img_url", LocaleID: "member_infos.locale_id", }
var MemberInfoWhere = struct { MemberInfoID whereHelperint MemberID whereHelperint Birthday whereHelpertime_Time BloodType whereHelperstring HeightCM whereHelperfloat64 Generation whereHelperstring BlogURL whereHelpernull_String ImgURL whereHelpernull_String LocaleID whereHelperint }{ MemberInfoID: whereHelperint{/* contains filtered or unexported fields */}, MemberID: whereHelperint{/* contains filtered or unexported fields */}, Birthday: whereHelpertime_Time{/* contains filtered or unexported fields */}, BloodType: whereHelperstring{/* contains filtered or unexported fields */}, HeightCM: whereHelperfloat64{/* contains filtered or unexported fields */}, Generation: whereHelperstring{/* contains filtered or unexported fields */}, BlogURL: whereHelpernull_String{/* contains filtered or unexported fields */}, ImgURL: whereHelpernull_String{/* contains filtered or unexported fields */}, LocaleID: whereHelperint{/* contains filtered or unexported fields */}, }
var MemberRels = struct { Group string Blogs string MemberInfos string MemberTags string Positions string }{ Group: "Group", Blogs: "Blogs", MemberInfos: "MemberInfos", MemberTags: "MemberTags", Positions: "Positions", }
MemberRels is where relationship names are stored.
var MemberTableColumns = struct { MemberID string GroupID string NameJa string JoinedAt string LeftAt string }{ MemberID: "members.member_id", GroupID: "members.group_id", NameJa: "members.name_ja", JoinedAt: "members.joined_at", LeftAt: "members.left_at", }
var MemberTagColumns = struct { MemberTagID string MemberID string TagID string }{ MemberTagID: "member_tag_id", MemberID: "member_id", TagID: "tag_id", }
var MemberTagRels = struct { Member string Tag string }{ Member: "Member", Tag: "Tag", }
MemberTagRels is where relationship names are stored.
var MemberTagTableColumns = struct { MemberTagID string MemberID string TagID string }{ MemberTagID: "member_tags.member_tag_id", MemberID: "member_tags.member_id", TagID: "member_tags.tag_id", }
var MemberTagWhere = struct { MemberTagID whereHelperint MemberID whereHelperint TagID whereHelperint }{ MemberTagID: whereHelperint{/* contains filtered or unexported fields */}, MemberID: whereHelperint{/* contains filtered or unexported fields */}, TagID: whereHelperint{/* contains filtered or unexported fields */}, }
var MemberWhere = struct { MemberID whereHelperint GroupID whereHelperint NameJa whereHelperstring JoinedAt whereHelpernull_Time LeftAt whereHelpernull_Time }{ MemberID: whereHelperint{/* contains filtered or unexported fields */}, GroupID: whereHelperint{/* contains filtered or unexported fields */}, NameJa: whereHelperstring{/* contains filtered or unexported fields */}, JoinedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, LeftAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var PositionColumns = struct { PositionID string SongID string MemberID string Position string IsCenter string }{ PositionID: "position_id", SongID: "song_id", MemberID: "member_id", Position: "position", IsCenter: "is_center", }
var PositionRels = struct { Member string Song string }{ Member: "Member", Song: "Song", }
PositionRels is where relationship names are stored.
var PositionTableColumns = struct { PositionID string SongID string MemberID string Position string IsCenter string }{ PositionID: "positions.position_id", SongID: "positions.song_id", MemberID: "positions.member_id", Position: "positions.position", IsCenter: "positions.is_center", }
var PositionWhere = struct { PositionID whereHelperint SongID whereHelperint MemberID whereHelperint Position whereHelperstring IsCenter whereHelpernull_Bool }{ PositionID: whereHelperint{/* contains filtered or unexported fields */}, SongID: whereHelperint{/* contains filtered or unexported fields */}, MemberID: whereHelperint{/* contains filtered or unexported fields */}, Position: whereHelperstring{/* contains filtered or unexported fields */}, IsCenter: whereHelpernull_Bool{/* contains filtered or unexported fields */}, }
var SchemaMigrationColumns = struct { Version string Dirty string }{ Version: "version", Dirty: "dirty", }
var SchemaMigrationRels = struct {
}{}
SchemaMigrationRels is where relationship names are stored.
var SchemaMigrationTableColumns = struct { Version string Dirty string }{ Version: "schema_migrations.version", Dirty: "schema_migrations.dirty", }
var SchemaMigrationWhere = struct { Version whereHelperint64 Dirty whereHelperbool }{ Version: whereHelperint64{/* contains filtered or unexported fields */}, Dirty: whereHelperbool{/* contains filtered or unexported fields */}, }
var SongColumns = struct { SongID string GroupID string FormationID string Title string Single string }{ SongID: "song_id", GroupID: "group_id", FormationID: "formation_id", Title: "title", Single: "single", }
var SongRels = struct { Formation string Group string Positions string }{ Formation: "Formation", Group: "Group", Positions: "Positions", }
SongRels is where relationship names are stored.
var SongTableColumns = struct { SongID string GroupID string FormationID string Title string Single string }{ SongID: "songs.song_id", GroupID: "songs.group_id", FormationID: "songs.formation_id", Title: "songs.title", Single: "songs.single", }
var SongWhere = struct { SongID whereHelperint GroupID whereHelperint FormationID whereHelperint Title whereHelperstring Single whereHelperstring }{ SongID: whereHelperint{/* contains filtered or unexported fields */}, GroupID: whereHelperint{/* contains filtered or unexported fields */}, FormationID: whereHelperint{/* contains filtered or unexported fields */}, Title: whereHelperstring{/* contains filtered or unexported fields */}, Single: whereHelperstring{/* contains filtered or unexported fields */}, }
var TableNames = struct { APIKeys string Blogs string Formations string Groups string Locales string MemberInfos string MemberTags string Members string Positions string SchemaMigrations string Songs string Tags string }{ APIKeys: "api_keys", Blogs: "blogs", Formations: "formations", Groups: "groups", Locales: "locales", MemberInfos: "member_infos", MemberTags: "member_tags", Members: "members", Positions: "positions", SchemaMigrations: "schema_migrations", Songs: "songs", Tags: "tags", }
var TagColumns = struct { TagID string TagName string }{ TagID: "tag_id", TagName: "tag_name", }
var TagRels = struct { MemberTags string }{ MemberTags: "MemberTags", }
TagRels is where relationship names are stored.
var TagTableColumns = struct { TagID string TagName string }{ TagID: "tags.tag_id", TagName: "tags.tag_name", }
var TagWhere = struct { TagID whereHelperint TagName whereHelperstring }{ TagID: whereHelperint{/* contains filtered or unexported fields */}, TagName: whereHelperstring{/* contains filtered or unexported fields */}, }
var ViewNames = struct {
}{}
Functions ¶
func APIKeyExists ¶
APIKeyExists checks if the APIKey row exists.
func AddAPIKeyHook ¶
func AddAPIKeyHook(hookPoint boil.HookPoint, apiKeyHook APIKeyHook)
AddAPIKeyHook registers your hook function for all future operations.
func AddBlogHook ¶
AddBlogHook registers your hook function for all future operations.
func AddFormationHook ¶
func AddFormationHook(hookPoint boil.HookPoint, formationHook FormationHook)
AddFormationHook registers your hook function for all future operations.
func AddGroupHook ¶
AddGroupHook registers your hook function for all future operations.
func AddLocaleHook ¶
func AddLocaleHook(hookPoint boil.HookPoint, localeHook LocaleHook)
AddLocaleHook registers your hook function for all future operations.
func AddMemberHook ¶
func AddMemberHook(hookPoint boil.HookPoint, memberHook MemberHook)
AddMemberHook registers your hook function for all future operations.
func AddMemberInfoHook ¶
func AddMemberInfoHook(hookPoint boil.HookPoint, memberInfoHook MemberInfoHook)
AddMemberInfoHook registers your hook function for all future operations.
func AddMemberTagHook ¶
func AddMemberTagHook(hookPoint boil.HookPoint, memberTagHook MemberTagHook)
AddMemberTagHook 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 AddSchemaMigrationHook ¶
func AddSchemaMigrationHook(hookPoint boil.HookPoint, schemaMigrationHook SchemaMigrationHook)
AddSchemaMigrationHook registers your hook function for all future operations.
func AddSongHook ¶
AddSongHook registers your hook function for all future operations.
func AddTagHook ¶
AddTagHook registers your hook function for all future operations.
func BlogExists ¶
BlogExists checks if the Blog row exists.
func FormationExists ¶
FormationExists checks if the Formation row exists.
func Formations ¶
Formations retrieves all the records using an executor.
func GroupExists ¶
GroupExists checks if the Group row exists.
func LocaleExists ¶
LocaleExists checks if the Locale row exists.
func MemberExists ¶
MemberExists checks if the Member row exists.
func MemberInfoExists ¶
func MemberInfoExists(ctx context.Context, exec boil.ContextExecutor, memberInfoID int) (bool, error)
MemberInfoExists checks if the MemberInfo row exists.
func MemberInfos ¶
MemberInfos retrieves all the records using an executor.
func MemberTagExists ¶
MemberTagExists checks if the MemberTag row exists.
func MemberTags ¶
MemberTags retrieves all the records using an executor.
func PositionExists ¶
PositionExists checks if the Position row exists.
func SchemaMigrationExists ¶
func SchemaMigrationExists(ctx context.Context, exec boil.ContextExecutor, version int64) (bool, error)
SchemaMigrationExists checks if the SchemaMigration row exists.
func SchemaMigrations ¶
SchemaMigrations retrieves all the records using an executor.
func SongExists ¶
SongExists checks if the Song row exists.
Types ¶
type APIKey ¶
type APIKey struct { KeyID int `boil:"key_id" json:"key_id" toml:"key_id" yaml:"key_id"` KeyVal string `boil:"key_val" json:"key_val" toml:"key_val" yaml:"key_val"` R *apiKeyR `boil:"-" json:"-" toml:"-" yaml:"-"` L apiKeyL `boil:"-" json:"-" toml:"-" yaml:"-"` }
APIKey is an object representing the database table.
func FindAPIKey ¶
func FindAPIKey(ctx context.Context, exec boil.ContextExecutor, keyID int, selectCols ...string) (*APIKey, error)
FindAPIKey retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*APIKey) Delete ¶
Delete deletes a single APIKey record with an executor. Delete will match against the primary key column to find the record to delete.
func (*APIKey) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*APIKey) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*APIKey) Update ¶
func (o *APIKey) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the APIKey. 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 (*APIKey) Upsert ¶
func (o *APIKey) 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 APIKeyHook ¶
APIKeyHook is the signature for custom APIKey hook methods
type APIKeySlice ¶
type APIKeySlice []*APIKey
APIKeySlice is an alias for a slice of pointers to APIKey. This should almost always be used instead of []APIKey.
func (APIKeySlice) DeleteAll ¶
func (o APIKeySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*APIKeySlice) ReloadAll ¶
func (o *APIKeySlice) 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 (APIKeySlice) UpdateAll ¶
func (o APIKeySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Blog ¶
type Blog struct { BlogID int `boil:"blog_id" json:"blog_id" toml:"blog_id" yaml:"blog_id"` MemberID int `boil:"member_id" json:"member_id" toml:"member_id" yaml:"member_id"` BlogURL string `boil:"blog_url" json:"blog_url" toml:"blog_url" yaml:"blog_url"` LastBlogImg string `boil:"last_blog_img" json:"last_blog_img" toml:"last_blog_img" yaml:"last_blog_img"` LastUpdatedAt string `boil:"last_updated_at" json:"last_updated_at" toml:"last_updated_at" yaml:"last_updated_at"` R *blogR `boil:"-" json:"-" toml:"-" yaml:"-"` L blogL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Blog is an object representing the database table.
func FindBlog ¶
func FindBlog(ctx context.Context, exec boil.ContextExecutor, blogID int, selectCols ...string) (*Blog, error)
FindBlog retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Blog) Delete ¶
Delete deletes a single Blog record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Blog) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Blog) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Blog) SetMember ¶
func (o *Blog) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
SetMember of the blog to the related item. Sets o.R.Member to related. Adds o to related.R.Blogs.
func (*Blog) Update ¶
func (o *Blog) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Blog. 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 (*Blog) Upsert ¶
func (o *Blog) 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 BlogSlice ¶
type BlogSlice []*Blog
BlogSlice is an alias for a slice of pointers to Blog. This should almost always be used instead of []Blog.
type Formation ¶
type Formation struct { FormationID int `boil:"formation_id" json:"formation_id" toml:"formation_id" yaml:"formation_id"` FirstRowNum null.Int16 `boil:"first_row_num" json:"first_row_num,omitempty" toml:"first_row_num" yaml:"first_row_num,omitempty"` SecondRowNum null.Int16 `boil:"second_row_num" json:"second_row_num,omitempty" toml:"second_row_num" yaml:"second_row_num,omitempty"` ThirdRowNum null.Int16 `boil:"third_row_num" json:"third_row_num,omitempty" toml:"third_row_num" yaml:"third_row_num,omitempty"` R *formationR `boil:"-" json:"-" toml:"-" yaml:"-"` L formationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Formation is an object representing the database table.
func FindFormation ¶
func FindFormation(ctx context.Context, exec boil.ContextExecutor, formationID int, selectCols ...string) (*Formation, error)
FindFormation retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Formation) AddSongs ¶
func (o *Formation) AddSongs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Song) error
AddSongs adds the given related objects to the existing relationships of the formation, optionally inserting them as new records. Appends related to o.R.Songs. Sets related.R.Formation appropriately.
func (*Formation) Delete ¶
Delete deletes a single Formation record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Formation) Insert ¶
func (o *Formation) 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 (*Formation) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Formation) Update ¶
func (o *Formation) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Formation. 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 (*Formation) Upsert ¶
func (o *Formation) 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 FormationHook ¶
FormationHook is the signature for custom Formation hook methods
type FormationSlice ¶
type FormationSlice []*Formation
FormationSlice is an alias for a slice of pointers to Formation. This should almost always be used instead of []Formation.
func (FormationSlice) DeleteAll ¶
func (o FormationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*FormationSlice) ReloadAll ¶
func (o *FormationSlice) 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 (FormationSlice) UpdateAll ¶
func (o FormationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Group ¶
type Group struct { GroupID int `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"` GroupName string `boil:"group_name" json:"group_name" toml:"group_name" yaml:"group_name"` R *groupR `boil:"-" json:"-" toml:"-" yaml:"-"` L groupL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Group is an object representing the database table.
func FindGroup ¶
func FindGroup(ctx context.Context, exec boil.ContextExecutor, groupID int, selectCols ...string) (*Group, error)
FindGroup retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Group) AddMembers ¶
func (o *Group) AddMembers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Member) error
AddMembers adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.Members. Sets related.R.Group appropriately.
func (*Group) AddSongs ¶
func (o *Group) AddSongs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Song) error
AddSongs adds the given related objects to the existing relationships of the group, optionally inserting them as new records. Appends related to o.R.Songs. Sets related.R.Group appropriately.
func (*Group) Delete ¶
Delete deletes a single Group record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Group) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Group) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Group) Update ¶
func (o *Group) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Group. 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 (*Group) Upsert ¶
func (o *Group) 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 GroupSlice ¶
type GroupSlice []*Group
GroupSlice is an alias for a slice of pointers to Group. This should almost always be used instead of []Group.
func (GroupSlice) DeleteAll ¶
func (o GroupSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*GroupSlice) ReloadAll ¶
func (o *GroupSlice) 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 (GroupSlice) UpdateAll ¶
func (o GroupSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Locale ¶
type Locale struct { LocaleID int `boil:"locale_id" json:"locale_id" toml:"locale_id" yaml:"locale_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` R *localeR `boil:"-" json:"-" toml:"-" yaml:"-"` L localeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Locale is an object representing the database table.
func FindLocale ¶
func FindLocale(ctx context.Context, exec boil.ContextExecutor, localeID int, selectCols ...string) (*Locale, error)
FindLocale retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Locale) AddMemberInfos ¶
func (o *Locale) AddMemberInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MemberInfo) error
AddMemberInfos adds the given related objects to the existing relationships of the locale, optionally inserting them as new records. Appends related to o.R.MemberInfos. Sets related.R.Locale appropriately.
func (*Locale) Delete ¶
Delete deletes a single Locale record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Locale) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Locale) MemberInfos ¶
MemberInfos retrieves all the member_info's MemberInfos with an executor.
func (*Locale) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Locale) Update ¶
func (o *Locale) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Locale. 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 (*Locale) Upsert ¶
func (o *Locale) 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 LocaleHook ¶
LocaleHook is the signature for custom Locale hook methods
type LocaleSlice ¶
type LocaleSlice []*Locale
LocaleSlice is an alias for a slice of pointers to Locale. This should almost always be used instead of []Locale.
func (LocaleSlice) DeleteAll ¶
func (o LocaleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*LocaleSlice) ReloadAll ¶
func (o *LocaleSlice) 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 (LocaleSlice) UpdateAll ¶
func (o LocaleSlice) 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 Member ¶
type Member struct { MemberID int `boil:"member_id" json:"member_id" toml:"member_id" yaml:"member_id"` GroupID int `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"` NameJa string `boil:"name_ja" json:"name_ja" toml:"name_ja" yaml:"name_ja"` JoinedAt null.Time `boil:"joined_at" json:"joined_at,omitempty" toml:"joined_at" yaml:"joined_at,omitempty"` LeftAt null.Time `boil:"left_at" json:"left_at,omitempty" toml:"left_at" yaml:"left_at,omitempty"` R *memberR `boil:"-" json:"-" toml:"-" yaml:"-"` L memberL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Member is an object representing the database table.
func FindMember ¶
func FindMember(ctx context.Context, exec boil.ContextExecutor, memberID int, selectCols ...string) (*Member, error)
FindMember retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Member) AddBlogs ¶
func (o *Member) AddBlogs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Blog) error
AddBlogs adds the given related objects to the existing relationships of the member, optionally inserting them as new records. Appends related to o.R.Blogs. Sets related.R.Member appropriately.
func (*Member) AddMemberInfos ¶
func (o *Member) AddMemberInfos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MemberInfo) error
AddMemberInfos adds the given related objects to the existing relationships of the member, optionally inserting them as new records. Appends related to o.R.MemberInfos. Sets related.R.Member appropriately.
func (*Member) AddMemberTags ¶
func (o *Member) AddMemberTags(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MemberTag) error
AddMemberTags adds the given related objects to the existing relationships of the member, optionally inserting them as new records. Appends related to o.R.MemberTags. Sets related.R.Member appropriately.
func (*Member) AddPositions ¶
func (o *Member) AddPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Position) error
AddPositions adds the given related objects to the existing relationships of the member, optionally inserting them as new records. Appends related to o.R.Positions. Sets related.R.Member appropriately.
func (*Member) Delete ¶
Delete deletes a single Member record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Member) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Member) MemberInfos ¶
MemberInfos retrieves all the member_info's MemberInfos with an executor.
func (*Member) MemberTags ¶
MemberTags retrieves all the member_tag's MemberTags with an executor.
func (*Member) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Member) SetGroup ¶
func (o *Member) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetGroup of the member to the related item. Sets o.R.Group to related. Adds o to related.R.Members.
func (*Member) Update ¶
func (o *Member) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Member. 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 (*Member) Upsert ¶
func (o *Member) 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 MemberHook ¶
MemberHook is the signature for custom Member hook methods
type MemberInfo ¶
type MemberInfo struct { MemberInfoID int `boil:"member_info_id" json:"member_info_id" toml:"member_info_id" yaml:"member_info_id"` MemberID int `boil:"member_id" json:"member_id" toml:"member_id" yaml:"member_id"` Birthday time.Time `boil:"birthday" json:"birthday" toml:"birthday" yaml:"birthday"` BloodType string `boil:"blood_type" json:"blood_type" toml:"blood_type" yaml:"blood_type"` HeightCM float64 `boil:"height_cm" json:"height_cm" toml:"height_cm" yaml:"height_cm"` Generation string `boil:"generation" json:"generation" toml:"generation" yaml:"generation"` BlogURL null.String `boil:"blog_url" json:"blog_url,omitempty" toml:"blog_url" yaml:"blog_url,omitempty"` ImgURL null.String `boil:"img_url" json:"img_url,omitempty" toml:"img_url" yaml:"img_url,omitempty"` LocaleID int `boil:"locale_id" json:"locale_id" toml:"locale_id" yaml:"locale_id"` R *memberInfoR `boil:"-" json:"-" toml:"-" yaml:"-"` L memberInfoL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MemberInfo is an object representing the database table.
func FindMemberInfo ¶
func FindMemberInfo(ctx context.Context, exec boil.ContextExecutor, memberInfoID int, selectCols ...string) (*MemberInfo, error)
FindMemberInfo retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MemberInfo) Delete ¶
func (o *MemberInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MemberInfo record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MemberInfo) Insert ¶
func (o *MemberInfo) 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 (*MemberInfo) Locale ¶
func (o *MemberInfo) Locale(mods ...qm.QueryMod) localeQuery
Locale pointed to by the foreign key.
func (*MemberInfo) Member ¶
func (o *MemberInfo) Member(mods ...qm.QueryMod) memberQuery
Member pointed to by the foreign key.
func (*MemberInfo) Reload ¶
func (o *MemberInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MemberInfo) SetLocale ¶
func (o *MemberInfo) SetLocale(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Locale) error
SetLocale of the memberInfo to the related item. Sets o.R.Locale to related. Adds o to related.R.MemberInfos.
func (*MemberInfo) SetMember ¶
func (o *MemberInfo) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
SetMember of the memberInfo to the related item. Sets o.R.Member to related. Adds o to related.R.MemberInfos.
func (*MemberInfo) Update ¶
func (o *MemberInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MemberInfo. 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 (*MemberInfo) Upsert ¶
func (o *MemberInfo) 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 MemberInfoHook ¶
type MemberInfoHook func(context.Context, boil.ContextExecutor, *MemberInfo) error
MemberInfoHook is the signature for custom MemberInfo hook methods
type MemberInfoSlice ¶
type MemberInfoSlice []*MemberInfo
MemberInfoSlice is an alias for a slice of pointers to MemberInfo. This should almost always be used instead of []MemberInfo.
func (MemberInfoSlice) DeleteAll ¶
func (o MemberInfoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MemberInfoSlice) ReloadAll ¶
func (o *MemberInfoSlice) 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 (MemberInfoSlice) UpdateAll ¶
func (o MemberInfoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MemberSlice ¶
type MemberSlice []*Member
MemberSlice is an alias for a slice of pointers to Member. This should almost always be used instead of []Member.
func (MemberSlice) DeleteAll ¶
func (o MemberSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MemberSlice) ReloadAll ¶
func (o *MemberSlice) 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 (MemberSlice) UpdateAll ¶
func (o MemberSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type MemberTag ¶
type MemberTag struct { MemberTagID int `boil:"member_tag_id" json:"member_tag_id" toml:"member_tag_id" yaml:"member_tag_id"` MemberID int `boil:"member_id" json:"member_id" toml:"member_id" yaml:"member_id"` TagID int `boil:"tag_id" json:"tag_id" toml:"tag_id" yaml:"tag_id"` R *memberTagR `boil:"-" json:"-" toml:"-" yaml:"-"` L memberTagL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MemberTag is an object representing the database table.
func FindMemberTag ¶
func FindMemberTag(ctx context.Context, exec boil.ContextExecutor, memberTagID int, selectCols ...string) (*MemberTag, error)
FindMemberTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MemberTag) Delete ¶
Delete deletes a single MemberTag record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MemberTag) Insert ¶
func (o *MemberTag) 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 (*MemberTag) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*MemberTag) SetMember ¶
func (o *MemberTag) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
SetMember of the memberTag to the related item. Sets o.R.Member to related. Adds o to related.R.MemberTags.
func (*MemberTag) SetTag ¶
func (o *MemberTag) SetTag(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Tag) error
SetTag of the memberTag to the related item. Sets o.R.Tag to related. Adds o to related.R.MemberTags.
func (*MemberTag) Update ¶
func (o *MemberTag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MemberTag. 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 (*MemberTag) Upsert ¶
func (o *MemberTag) 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 MemberTagHook ¶
MemberTagHook is the signature for custom MemberTag hook methods
type MemberTagSlice ¶
type MemberTagSlice []*MemberTag
MemberTagSlice is an alias for a slice of pointers to MemberTag. This should almost always be used instead of []MemberTag.
func (MemberTagSlice) DeleteAll ¶
func (o MemberTagSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MemberTagSlice) ReloadAll ¶
func (o *MemberTagSlice) 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 (MemberTagSlice) UpdateAll ¶
func (o MemberTagSlice) 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 int `boil:"position_id" json:"position_id" toml:"position_id" yaml:"position_id"` SongID int `boil:"song_id" json:"song_id" toml:"song_id" yaml:"song_id"` MemberID int `boil:"member_id" json:"member_id" toml:"member_id" yaml:"member_id"` Position string `boil:"position" json:"position" toml:"position" yaml:"position"` IsCenter null.Bool `boil:"is_center" json:"is_center,omitempty" toml:"is_center" yaml:"is_center,omitempty"` 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 int, 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) Delete ¶
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) 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 ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Position) SetMember ¶
func (o *Position) SetMember(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Member) error
SetMember of the position to the related item. Sets o.R.Member to related. Adds o to related.R.Positions.
func (*Position) SetSong ¶
func (o *Position) SetSong(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Song) error
SetSong of the position to the related item. Sets o.R.Song 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.
type PositionHook ¶
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 almost always be used instead of []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 SchemaMigration ¶
type SchemaMigration struct { Version int64 `boil:"version" json:"version" toml:"version" yaml:"version"` Dirty bool `boil:"dirty" json:"dirty" toml:"dirty" yaml:"dirty"` R *schemaMigrationR `boil:"-" json:"-" toml:"-" yaml:"-"` L schemaMigrationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
SchemaMigration is an object representing the database table.
func FindSchemaMigration ¶
func FindSchemaMigration(ctx context.Context, exec boil.ContextExecutor, version int64, selectCols ...string) (*SchemaMigration, error)
FindSchemaMigration retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*SchemaMigration) Delete ¶
func (o *SchemaMigration) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single SchemaMigration record with an executor. Delete will match against the primary key column to find the record to delete.
func (*SchemaMigration) Insert ¶
func (o *SchemaMigration) 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 (*SchemaMigration) Reload ¶
func (o *SchemaMigration) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*SchemaMigration) Update ¶
func (o *SchemaMigration) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the SchemaMigration. 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 (*SchemaMigration) Upsert ¶
func (o *SchemaMigration) 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 SchemaMigrationHook ¶
type SchemaMigrationHook func(context.Context, boil.ContextExecutor, *SchemaMigration) error
SchemaMigrationHook is the signature for custom SchemaMigration hook methods
type SchemaMigrationSlice ¶
type SchemaMigrationSlice []*SchemaMigration
SchemaMigrationSlice is an alias for a slice of pointers to SchemaMigration. This should almost always be used instead of []SchemaMigration.
func (SchemaMigrationSlice) DeleteAll ¶
func (o SchemaMigrationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*SchemaMigrationSlice) ReloadAll ¶
func (o *SchemaMigrationSlice) 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 (SchemaMigrationSlice) UpdateAll ¶
func (o SchemaMigrationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Song ¶
type Song struct { SongID int `boil:"song_id" json:"song_id" toml:"song_id" yaml:"song_id"` GroupID int `boil:"group_id" json:"group_id" toml:"group_id" yaml:"group_id"` FormationID int `boil:"formation_id" json:"formation_id" toml:"formation_id" yaml:"formation_id"` Title string `boil:"title" json:"title" toml:"title" yaml:"title"` Single string `boil:"single" json:"single" toml:"single" yaml:"single"` R *songR `boil:"-" json:"-" toml:"-" yaml:"-"` L songL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Song is an object representing the database table.
func FindSong ¶
func FindSong(ctx context.Context, exec boil.ContextExecutor, songID int, selectCols ...string) (*Song, error)
FindSong retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Song) AddPositions ¶
func (o *Song) AddPositions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Position) error
AddPositions adds the given related objects to the existing relationships of the song, optionally inserting them as new records. Appends related to o.R.Positions. Sets related.R.Song appropriately.
func (*Song) Delete ¶
Delete deletes a single Song record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Song) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Song) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Song) SetFormation ¶
func (o *Song) SetFormation(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Formation) error
SetFormation of the song to the related item. Sets o.R.Formation to related. Adds o to related.R.Songs.
func (*Song) SetGroup ¶
func (o *Song) SetGroup(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Group) error
SetGroup of the song to the related item. Sets o.R.Group to related. Adds o to related.R.Songs.
func (*Song) Update ¶
func (o *Song) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Song. 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 (*Song) Upsert ¶
func (o *Song) 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 SongSlice ¶
type SongSlice []*Song
SongSlice is an alias for a slice of pointers to Song. This should almost always be used instead of []Song.
type Tag ¶
type Tag struct { TagID int `boil:"tag_id" json:"tag_id" toml:"tag_id" yaml:"tag_id"` TagName string `boil:"tag_name" json:"tag_name" toml:"tag_name" yaml:"tag_name"` R *tagR `boil:"-" json:"-" toml:"-" yaml:"-"` L tagL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Tag is an object representing the database table.
func FindTag ¶
func FindTag(ctx context.Context, exec boil.ContextExecutor, tagID int, selectCols ...string) (*Tag, error)
FindTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Tag) AddMemberTags ¶
func (o *Tag) AddMemberTags(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*MemberTag) error
AddMemberTags adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.MemberTags. Sets related.R.Tag appropriately.
func (*Tag) Delete ¶
Delete deletes a single Tag record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Tag) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Tag) MemberTags ¶
MemberTags retrieves all the member_tag's MemberTags with an executor.
func (*Tag) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Tag) Update ¶
func (o *Tag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Tag. 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 (*Tag) Upsert ¶
func (o *Tag) 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 TagSlice ¶
type TagSlice []*Tag
TagSlice is an alias for a slice of pointers to Tag. This should almost always be used instead of []Tag.