Documentation ¶
Index ¶
- Variables
- func AuthorExists(exec boil.Executor, id int64) (bool, error)
- func AuthorExistsG(id int64) (bool, error)
- func AuthorExistsGP(id int64) bool
- func AuthorExistsP(exec boil.Executor, id int64) bool
- func AuthorI18nExists(exec boil.Executor, authorID int64, language string) (bool, error)
- func AuthorI18nExistsG(authorID int64, language string) (bool, error)
- func AuthorI18nExistsGP(authorID int64, language string) bool
- func AuthorI18nExistsP(exec boil.Executor, authorID int64, language string) bool
- func AuthorI18ns(exec boil.Executor, mods ...qm.QueryMod) authorI18nQuery
- func AuthorI18nsG(mods ...qm.QueryMod) authorI18nQuery
- func Authors(exec boil.Executor, mods ...qm.QueryMod) authorQuery
- func AuthorsG(mods ...qm.QueryMod) authorQuery
- func BlogExists(exec boil.Executor, id int64) (bool, error)
- func BlogExistsG(id int64) (bool, error)
- func BlogExistsGP(id int64) bool
- func BlogExistsP(exec boil.Executor, id int64) bool
- func BlogPostExists(exec boil.Executor, id int64) (bool, error)
- func BlogPostExistsG(id int64) (bool, error)
- func BlogPostExistsGP(id int64) bool
- func BlogPostExistsP(exec boil.Executor, id int64) bool
- func BlogPosts(exec boil.Executor, mods ...qm.QueryMod) blogPostQuery
- func BlogPostsG(mods ...qm.QueryMod) blogPostQuery
- func Blogs(exec boil.Executor, mods ...qm.QueryMod) blogQuery
- func BlogsG(mods ...qm.QueryMod) blogQuery
- func CollectionExists(exec boil.Executor, id int64) (bool, error)
- func CollectionExistsG(id int64) (bool, error)
- func CollectionExistsGP(id int64) bool
- func CollectionExistsP(exec boil.Executor, id int64) bool
- func CollectionI18nExists(exec boil.Executor, collectionID int64, language string) (bool, error)
- func CollectionI18nExistsG(collectionID int64, language string) (bool, error)
- func CollectionI18nExistsGP(collectionID int64, language string) bool
- func CollectionI18nExistsP(exec boil.Executor, collectionID int64, language string) bool
- func CollectionI18ns(exec boil.Executor, mods ...qm.QueryMod) collectionI18nQuery
- func CollectionI18nsG(mods ...qm.QueryMod) collectionI18nQuery
- func Collections(exec boil.Executor, mods ...qm.QueryMod) collectionQuery
- func CollectionsContentUnitExists(exec boil.Executor, collectionID int64, contentUnitID int64) (bool, error)
- func CollectionsContentUnitExistsG(collectionID int64, contentUnitID int64) (bool, error)
- func CollectionsContentUnitExistsGP(collectionID int64, contentUnitID int64) bool
- func CollectionsContentUnitExistsP(exec boil.Executor, collectionID int64, contentUnitID int64) bool
- func CollectionsContentUnits(exec boil.Executor, mods ...qm.QueryMod) collectionsContentUnitQuery
- func CollectionsContentUnitsG(mods ...qm.QueryMod) collectionsContentUnitQuery
- func CollectionsG(mods ...qm.QueryMod) collectionQuery
- func ContentRoleTypeExists(exec boil.Executor, id int64) (bool, error)
- func ContentRoleTypeExistsG(id int64) (bool, error)
- func ContentRoleTypeExistsGP(id int64) bool
- func ContentRoleTypeExistsP(exec boil.Executor, id int64) bool
- func ContentRoleTypes(exec boil.Executor, mods ...qm.QueryMod) contentRoleTypeQuery
- func ContentRoleTypesG(mods ...qm.QueryMod) contentRoleTypeQuery
- func ContentTypeExists(exec boil.Executor, id int64) (bool, error)
- func ContentTypeExistsG(id int64) (bool, error)
- func ContentTypeExistsGP(id int64) bool
- func ContentTypeExistsP(exec boil.Executor, id int64) bool
- func ContentTypes(exec boil.Executor, mods ...qm.QueryMod) contentTypeQuery
- func ContentTypesG(mods ...qm.QueryMod) contentTypeQuery
- func ContentUnitDerivationExists(exec boil.Executor, sourceID int64, derivedID int64) (bool, error)
- func ContentUnitDerivationExistsG(sourceID int64, derivedID int64) (bool, error)
- func ContentUnitDerivationExistsGP(sourceID int64, derivedID int64) bool
- func ContentUnitDerivationExistsP(exec boil.Executor, sourceID int64, derivedID int64) bool
- func ContentUnitDerivations(exec boil.Executor, mods ...qm.QueryMod) contentUnitDerivationQuery
- func ContentUnitDerivationsG(mods ...qm.QueryMod) contentUnitDerivationQuery
- func ContentUnitExists(exec boil.Executor, id int64) (bool, error)
- func ContentUnitExistsG(id int64) (bool, error)
- func ContentUnitExistsGP(id int64) bool
- func ContentUnitExistsP(exec boil.Executor, id int64) bool
- func ContentUnitI18nExists(exec boil.Executor, contentUnitID int64, language string) (bool, error)
- func ContentUnitI18nExistsG(contentUnitID int64, language string) (bool, error)
- func ContentUnitI18nExistsGP(contentUnitID int64, language string) bool
- func ContentUnitI18nExistsP(exec boil.Executor, contentUnitID int64, language string) bool
- func ContentUnitI18ns(exec boil.Executor, mods ...qm.QueryMod) contentUnitI18nQuery
- func ContentUnitI18nsG(mods ...qm.QueryMod) contentUnitI18nQuery
- func ContentUnits(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func ContentUnitsG(mods ...qm.QueryMod) contentUnitQuery
- func ContentUnitsPersonExists(exec boil.Executor, contentUnitID int64, personID int64) (bool, error)
- func ContentUnitsPersonExistsG(contentUnitID int64, personID int64) (bool, error)
- func ContentUnitsPersonExistsGP(contentUnitID int64, personID int64) bool
- func ContentUnitsPersonExistsP(exec boil.Executor, contentUnitID int64, personID int64) bool
- func ContentUnitsPersons(exec boil.Executor, mods ...qm.QueryMod) contentUnitsPersonQuery
- func ContentUnitsPersonsG(mods ...qm.QueryMod) contentUnitsPersonQuery
- func FileExists(exec boil.Executor, id int64) (bool, error)
- func FileExistsG(id int64) (bool, error)
- func FileExistsGP(id int64) bool
- func FileExistsP(exec boil.Executor, id int64) bool
- func Files(exec boil.Executor, mods ...qm.QueryMod) fileQuery
- func FilesG(mods ...qm.QueryMod) fileQuery
- func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query
- func NewQueryG(mods ...qm.QueryMod) *queries.Query
- func OperationExists(exec boil.Executor, id int64) (bool, error)
- func OperationExistsG(id int64) (bool, error)
- func OperationExistsGP(id int64) bool
- func OperationExistsP(exec boil.Executor, id int64) bool
- func OperationTypeExists(exec boil.Executor, id int64) (bool, error)
- func OperationTypeExistsG(id int64) (bool, error)
- func OperationTypeExistsGP(id int64) bool
- func OperationTypeExistsP(exec boil.Executor, id int64) bool
- func OperationTypes(exec boil.Executor, mods ...qm.QueryMod) operationTypeQuery
- func OperationTypesG(mods ...qm.QueryMod) operationTypeQuery
- func Operations(exec boil.Executor, mods ...qm.QueryMod) operationQuery
- func OperationsG(mods ...qm.QueryMod) operationQuery
- func PersonExists(exec boil.Executor, id int64) (bool, error)
- func PersonExistsG(id int64) (bool, error)
- func PersonExistsGP(id int64) bool
- func PersonExistsP(exec boil.Executor, id int64) bool
- func PersonI18nExists(exec boil.Executor, personID int64, language string) (bool, error)
- func PersonI18nExistsG(personID int64, language string) (bool, error)
- func PersonI18nExistsGP(personID int64, language string) bool
- func PersonI18nExistsP(exec boil.Executor, personID int64, language string) bool
- func PersonI18ns(exec boil.Executor, mods ...qm.QueryMod) personI18nQuery
- func PersonI18nsG(mods ...qm.QueryMod) personI18nQuery
- func Persons(exec boil.Executor, mods ...qm.QueryMod) personQuery
- func PersonsG(mods ...qm.QueryMod) personQuery
- func PublisherExists(exec boil.Executor, id int64) (bool, error)
- func PublisherExistsG(id int64) (bool, error)
- func PublisherExistsGP(id int64) bool
- func PublisherExistsP(exec boil.Executor, id int64) bool
- func PublisherI18nExists(exec boil.Executor, publisherID int64, language string) (bool, error)
- func PublisherI18nExistsG(publisherID int64, language string) (bool, error)
- func PublisherI18nExistsGP(publisherID int64, language string) bool
- func PublisherI18nExistsP(exec boil.Executor, publisherID int64, language string) bool
- func PublisherI18ns(exec boil.Executor, mods ...qm.QueryMod) publisherI18nQuery
- func PublisherI18nsG(mods ...qm.QueryMod) publisherI18nQuery
- func Publishers(exec boil.Executor, mods ...qm.QueryMod) publisherQuery
- func PublishersG(mods ...qm.QueryMod) publisherQuery
- func SourceExists(exec boil.Executor, id int64) (bool, error)
- func SourceExistsG(id int64) (bool, error)
- func SourceExistsGP(id int64) bool
- func SourceExistsP(exec boil.Executor, id int64) bool
- func SourceI18nExists(exec boil.Executor, sourceID int64, language string) (bool, error)
- func SourceI18nExistsG(sourceID int64, language string) (bool, error)
- func SourceI18nExistsGP(sourceID int64, language string) bool
- func SourceI18nExistsP(exec boil.Executor, sourceID int64, language string) bool
- func SourceI18ns(exec boil.Executor, mods ...qm.QueryMod) sourceI18nQuery
- func SourceI18nsG(mods ...qm.QueryMod) sourceI18nQuery
- func SourceTypeExists(exec boil.Executor, id int64) (bool, error)
- func SourceTypeExistsG(id int64) (bool, error)
- func SourceTypeExistsGP(id int64) bool
- func SourceTypeExistsP(exec boil.Executor, id int64) bool
- func SourceTypes(exec boil.Executor, mods ...qm.QueryMod) sourceTypeQuery
- func SourceTypesG(mods ...qm.QueryMod) sourceTypeQuery
- func Sources(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
- func SourcesG(mods ...qm.QueryMod) sourceQuery
- func StorageExists(exec boil.Executor, id int64) (bool, error)
- func StorageExistsG(id int64) (bool, error)
- func StorageExistsGP(id int64) bool
- func StorageExistsP(exec boil.Executor, id int64) bool
- func Storages(exec boil.Executor, mods ...qm.QueryMod) storageQuery
- func StoragesG(mods ...qm.QueryMod) storageQuery
- func TagExists(exec boil.Executor, id int64) (bool, error)
- func TagExistsG(id int64) (bool, error)
- func TagExistsGP(id int64) bool
- func TagExistsP(exec boil.Executor, id int64) bool
- func TagI18nExists(exec boil.Executor, tagID int64, language string) (bool, error)
- func TagI18nExistsG(tagID int64, language string) (bool, error)
- func TagI18nExistsGP(tagID int64, language string) bool
- func TagI18nExistsP(exec boil.Executor, tagID int64, language string) bool
- func TagI18ns(exec boil.Executor, mods ...qm.QueryMod) tagI18nQuery
- func TagI18nsG(mods ...qm.QueryMod) tagI18nQuery
- func Tags(exec boil.Executor, mods ...qm.QueryMod) tagQuery
- func TagsG(mods ...qm.QueryMod) tagQuery
- func TwitterTweetExists(exec boil.Executor, id int64) (bool, error)
- func TwitterTweetExistsG(id int64) (bool, error)
- func TwitterTweetExistsGP(id int64) bool
- func TwitterTweetExistsP(exec boil.Executor, id int64) bool
- func TwitterTweets(exec boil.Executor, mods ...qm.QueryMod) twitterTweetQuery
- func TwitterTweetsG(mods ...qm.QueryMod) twitterTweetQuery
- func TwitterUserExists(exec boil.Executor, id int64) (bool, error)
- func TwitterUserExistsG(id int64) (bool, error)
- func TwitterUserExistsGP(id int64) bool
- func TwitterUserExistsP(exec boil.Executor, id int64) bool
- func TwitterUsers(exec boil.Executor, mods ...qm.QueryMod) twitterUserQuery
- func TwitterUsersG(mods ...qm.QueryMod) twitterUserQuery
- func UserExists(exec boil.Executor, id int64) (bool, error)
- func UserExistsG(id int64) (bool, error)
- func UserExistsGP(id int64) bool
- func UserExistsP(exec boil.Executor, id int64) bool
- func Users(exec boil.Executor, mods ...qm.QueryMod) userQuery
- func UsersG(mods ...qm.QueryMod) userQuery
- type Author
- func (o *Author) AddAuthorI18ns(exec boil.Executor, insert bool, related ...*AuthorI18n) error
- func (o *Author) AddAuthorI18nsG(insert bool, related ...*AuthorI18n) error
- func (o *Author) AddAuthorI18nsGP(insert bool, related ...*AuthorI18n)
- func (o *Author) AddAuthorI18nsP(exec boil.Executor, insert bool, related ...*AuthorI18n)
- func (o *Author) AddSources(exec boil.Executor, insert bool, related ...*Source) error
- func (o *Author) AddSourcesG(insert bool, related ...*Source) error
- func (o *Author) AddSourcesGP(insert bool, related ...*Source)
- func (o *Author) AddSourcesP(exec boil.Executor, insert bool, related ...*Source)
- func (o *Author) AuthorI18ns(exec boil.Executor, mods ...qm.QueryMod) authorI18nQuery
- func (o *Author) AuthorI18nsG(mods ...qm.QueryMod) authorI18nQuery
- func (o *Author) Delete(exec boil.Executor) error
- func (o *Author) DeleteG() error
- func (o *Author) DeleteGP()
- func (o *Author) DeleteP(exec boil.Executor)
- func (o *Author) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Author) InsertG(whitelist ...string) error
- func (o *Author) InsertGP(whitelist ...string)
- func (o *Author) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Author) Reload(exec boil.Executor) error
- func (o *Author) ReloadG() error
- func (o *Author) ReloadGP()
- func (o *Author) ReloadP(exec boil.Executor)
- func (o *Author) RemoveSources(exec boil.Executor, related ...*Source) error
- func (o *Author) RemoveSourcesG(related ...*Source) error
- func (o *Author) RemoveSourcesGP(related ...*Source)
- func (o *Author) RemoveSourcesP(exec boil.Executor, related ...*Source)
- func (o *Author) SetSources(exec boil.Executor, insert bool, related ...*Source) error
- func (o *Author) SetSourcesG(insert bool, related ...*Source) error
- func (o *Author) SetSourcesGP(insert bool, related ...*Source)
- func (o *Author) SetSourcesP(exec boil.Executor, insert bool, related ...*Source)
- func (o *Author) Sources(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
- func (o *Author) SourcesG(mods ...qm.QueryMod) sourceQuery
- func (o *Author) Update(exec boil.Executor, whitelist ...string) error
- func (o *Author) UpdateG(whitelist ...string) error
- func (o *Author) UpdateGP(whitelist ...string)
- func (o *Author) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Author) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Author) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Author) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Author) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type AuthorI18n
- func FindAuthorI18n(exec boil.Executor, authorID int64, language string, selectCols ...string) (*AuthorI18n, error)
- func FindAuthorI18nG(authorID int64, language string, selectCols ...string) (*AuthorI18n, error)
- func FindAuthorI18nGP(authorID int64, language string, selectCols ...string) *AuthorI18n
- func FindAuthorI18nP(exec boil.Executor, authorID int64, language string, selectCols ...string) *AuthorI18n
- func (o *AuthorI18n) Author(exec boil.Executor, mods ...qm.QueryMod) authorQuery
- func (o *AuthorI18n) AuthorG(mods ...qm.QueryMod) authorQuery
- func (o *AuthorI18n) Delete(exec boil.Executor) error
- func (o *AuthorI18n) DeleteG() error
- func (o *AuthorI18n) DeleteGP()
- func (o *AuthorI18n) DeleteP(exec boil.Executor)
- func (o *AuthorI18n) Insert(exec boil.Executor, whitelist ...string) error
- func (o *AuthorI18n) InsertG(whitelist ...string) error
- func (o *AuthorI18n) InsertGP(whitelist ...string)
- func (o *AuthorI18n) InsertP(exec boil.Executor, whitelist ...string)
- func (o *AuthorI18n) Reload(exec boil.Executor) error
- func (o *AuthorI18n) ReloadG() error
- func (o *AuthorI18n) ReloadGP()
- func (o *AuthorI18n) ReloadP(exec boil.Executor)
- func (o *AuthorI18n) SetAuthor(exec boil.Executor, insert bool, related *Author) error
- func (o *AuthorI18n) SetAuthorG(insert bool, related *Author) error
- func (o *AuthorI18n) SetAuthorGP(insert bool, related *Author)
- func (o *AuthorI18n) SetAuthorP(exec boil.Executor, insert bool, related *Author)
- func (o *AuthorI18n) Update(exec boil.Executor, whitelist ...string) error
- func (o *AuthorI18n) UpdateG(whitelist ...string) error
- func (o *AuthorI18n) UpdateGP(whitelist ...string)
- func (o *AuthorI18n) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *AuthorI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *AuthorI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *AuthorI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *AuthorI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type AuthorI18nSlice
- func (o AuthorI18nSlice) DeleteAll(exec boil.Executor) error
- func (o AuthorI18nSlice) DeleteAllG() error
- func (o AuthorI18nSlice) DeleteAllGP()
- func (o AuthorI18nSlice) DeleteAllP(exec boil.Executor)
- func (o *AuthorI18nSlice) ReloadAll(exec boil.Executor) error
- func (o *AuthorI18nSlice) ReloadAllG() error
- func (o *AuthorI18nSlice) ReloadAllGP()
- func (o *AuthorI18nSlice) ReloadAllP(exec boil.Executor)
- func (o AuthorI18nSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o AuthorI18nSlice) UpdateAllG(cols M) error
- func (o AuthorI18nSlice) UpdateAllGP(cols M)
- func (o AuthorI18nSlice) UpdateAllP(exec boil.Executor, cols M)
- type AuthorSlice
- func (o AuthorSlice) DeleteAll(exec boil.Executor) error
- func (o AuthorSlice) DeleteAllG() error
- func (o AuthorSlice) DeleteAllGP()
- func (o AuthorSlice) DeleteAllP(exec boil.Executor)
- func (o *AuthorSlice) ReloadAll(exec boil.Executor) error
- func (o *AuthorSlice) ReloadAllG() error
- func (o *AuthorSlice) ReloadAllGP()
- func (o *AuthorSlice) ReloadAllP(exec boil.Executor)
- func (o AuthorSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o AuthorSlice) UpdateAllG(cols M) error
- func (o AuthorSlice) UpdateAllGP(cols M)
- func (o AuthorSlice) UpdateAllP(exec boil.Executor, cols M)
- type Blog
- func (o *Blog) AddBlogPosts(exec boil.Executor, insert bool, related ...*BlogPost) error
- func (o *Blog) AddBlogPostsG(insert bool, related ...*BlogPost) error
- func (o *Blog) AddBlogPostsGP(insert bool, related ...*BlogPost)
- func (o *Blog) AddBlogPostsP(exec boil.Executor, insert bool, related ...*BlogPost)
- func (o *Blog) BlogPosts(exec boil.Executor, mods ...qm.QueryMod) blogPostQuery
- func (o *Blog) BlogPostsG(mods ...qm.QueryMod) blogPostQuery
- func (o *Blog) Delete(exec boil.Executor) error
- func (o *Blog) DeleteG() error
- func (o *Blog) DeleteGP()
- func (o *Blog) DeleteP(exec boil.Executor)
- func (o *Blog) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Blog) InsertG(whitelist ...string) error
- func (o *Blog) InsertGP(whitelist ...string)
- func (o *Blog) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Blog) Reload(exec boil.Executor) error
- func (o *Blog) ReloadG() error
- func (o *Blog) ReloadGP()
- func (o *Blog) ReloadP(exec boil.Executor)
- func (o *Blog) Update(exec boil.Executor, whitelist ...string) error
- func (o *Blog) UpdateG(whitelist ...string) error
- func (o *Blog) UpdateGP(whitelist ...string)
- func (o *Blog) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Blog) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Blog) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Blog) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Blog) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type BlogPost
- func FindBlogPost(exec boil.Executor, id int64, selectCols ...string) (*BlogPost, error)
- func FindBlogPostG(id int64, selectCols ...string) (*BlogPost, error)
- func FindBlogPostGP(id int64, selectCols ...string) *BlogPost
- func FindBlogPostP(exec boil.Executor, id int64, selectCols ...string) *BlogPost
- func (o *BlogPost) Blog(exec boil.Executor, mods ...qm.QueryMod) blogQuery
- func (o *BlogPost) BlogG(mods ...qm.QueryMod) blogQuery
- func (o *BlogPost) Delete(exec boil.Executor) error
- func (o *BlogPost) DeleteG() error
- func (o *BlogPost) DeleteGP()
- func (o *BlogPost) DeleteP(exec boil.Executor)
- func (o *BlogPost) Insert(exec boil.Executor, whitelist ...string) error
- func (o *BlogPost) InsertG(whitelist ...string) error
- func (o *BlogPost) InsertGP(whitelist ...string)
- func (o *BlogPost) InsertP(exec boil.Executor, whitelist ...string)
- func (o *BlogPost) Reload(exec boil.Executor) error
- func (o *BlogPost) ReloadG() error
- func (o *BlogPost) ReloadGP()
- func (o *BlogPost) ReloadP(exec boil.Executor)
- func (o *BlogPost) SetBlog(exec boil.Executor, insert bool, related *Blog) error
- func (o *BlogPost) SetBlogG(insert bool, related *Blog) error
- func (o *BlogPost) SetBlogGP(insert bool, related *Blog)
- func (o *BlogPost) SetBlogP(exec boil.Executor, insert bool, related *Blog)
- func (o *BlogPost) Update(exec boil.Executor, whitelist ...string) error
- func (o *BlogPost) UpdateG(whitelist ...string) error
- func (o *BlogPost) UpdateGP(whitelist ...string)
- func (o *BlogPost) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *BlogPost) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *BlogPost) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *BlogPost) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *BlogPost) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type BlogPostSlice
- func (o BlogPostSlice) DeleteAll(exec boil.Executor) error
- func (o BlogPostSlice) DeleteAllG() error
- func (o BlogPostSlice) DeleteAllGP()
- func (o BlogPostSlice) DeleteAllP(exec boil.Executor)
- func (o *BlogPostSlice) ReloadAll(exec boil.Executor) error
- func (o *BlogPostSlice) ReloadAllG() error
- func (o *BlogPostSlice) ReloadAllGP()
- func (o *BlogPostSlice) ReloadAllP(exec boil.Executor)
- func (o BlogPostSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o BlogPostSlice) UpdateAllG(cols M) error
- func (o BlogPostSlice) UpdateAllGP(cols M)
- func (o BlogPostSlice) UpdateAllP(exec boil.Executor, cols M)
- type BlogSlice
- func (o BlogSlice) DeleteAll(exec boil.Executor) error
- func (o BlogSlice) DeleteAllG() error
- func (o BlogSlice) DeleteAllGP()
- func (o BlogSlice) DeleteAllP(exec boil.Executor)
- func (o *BlogSlice) ReloadAll(exec boil.Executor) error
- func (o *BlogSlice) ReloadAllG() error
- func (o *BlogSlice) ReloadAllGP()
- func (o *BlogSlice) ReloadAllP(exec boil.Executor)
- func (o BlogSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o BlogSlice) UpdateAllG(cols M) error
- func (o BlogSlice) UpdateAllGP(cols M)
- func (o BlogSlice) UpdateAllP(exec boil.Executor, cols M)
- type Collection
- func FindCollection(exec boil.Executor, id int64, selectCols ...string) (*Collection, error)
- func FindCollectionG(id int64, selectCols ...string) (*Collection, error)
- func FindCollectionGP(id int64, selectCols ...string) *Collection
- func FindCollectionP(exec boil.Executor, id int64, selectCols ...string) *Collection
- func (o *Collection) AddCollectionI18ns(exec boil.Executor, insert bool, related ...*CollectionI18n) error
- func (o *Collection) AddCollectionI18nsG(insert bool, related ...*CollectionI18n) error
- func (o *Collection) AddCollectionI18nsGP(insert bool, related ...*CollectionI18n)
- func (o *Collection) AddCollectionI18nsP(exec boil.Executor, insert bool, related ...*CollectionI18n)
- func (o *Collection) AddCollectionsContentUnits(exec boil.Executor, insert bool, related ...*CollectionsContentUnit) error
- func (o *Collection) AddCollectionsContentUnitsG(insert bool, related ...*CollectionsContentUnit) error
- func (o *Collection) AddCollectionsContentUnitsGP(insert bool, related ...*CollectionsContentUnit)
- func (o *Collection) AddCollectionsContentUnitsP(exec boil.Executor, insert bool, related ...*CollectionsContentUnit)
- func (o *Collection) CollectionI18ns(exec boil.Executor, mods ...qm.QueryMod) collectionI18nQuery
- func (o *Collection) CollectionI18nsG(mods ...qm.QueryMod) collectionI18nQuery
- func (o *Collection) CollectionsContentUnits(exec boil.Executor, mods ...qm.QueryMod) collectionsContentUnitQuery
- func (o *Collection) CollectionsContentUnitsG(mods ...qm.QueryMod) collectionsContentUnitQuery
- func (o *Collection) Delete(exec boil.Executor) error
- func (o *Collection) DeleteG() error
- func (o *Collection) DeleteGP()
- func (o *Collection) DeleteP(exec boil.Executor)
- func (o *Collection) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Collection) InsertG(whitelist ...string) error
- func (o *Collection) InsertGP(whitelist ...string)
- func (o *Collection) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Collection) Reload(exec boil.Executor) error
- func (o *Collection) ReloadG() error
- func (o *Collection) ReloadGP()
- func (o *Collection) ReloadP(exec boil.Executor)
- func (o *Collection) SetType(exec boil.Executor, insert bool, related *ContentType) error
- func (o *Collection) SetTypeG(insert bool, related *ContentType) error
- func (o *Collection) SetTypeGP(insert bool, related *ContentType)
- func (o *Collection) SetTypeP(exec boil.Executor, insert bool, related *ContentType)
- func (o *Collection) Type(exec boil.Executor, mods ...qm.QueryMod) contentTypeQuery
- func (o *Collection) TypeG(mods ...qm.QueryMod) contentTypeQuery
- func (o *Collection) Update(exec boil.Executor, whitelist ...string) error
- func (o *Collection) UpdateG(whitelist ...string) error
- func (o *Collection) UpdateGP(whitelist ...string)
- func (o *Collection) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Collection) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Collection) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Collection) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Collection) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type CollectionI18n
- func FindCollectionI18n(exec boil.Executor, collectionID int64, language string, selectCols ...string) (*CollectionI18n, error)
- func FindCollectionI18nG(collectionID int64, language string, selectCols ...string) (*CollectionI18n, error)
- func FindCollectionI18nGP(collectionID int64, language string, selectCols ...string) *CollectionI18n
- func FindCollectionI18nP(exec boil.Executor, collectionID int64, language string, selectCols ...string) *CollectionI18n
- func (o *CollectionI18n) Collection(exec boil.Executor, mods ...qm.QueryMod) collectionQuery
- func (o *CollectionI18n) CollectionG(mods ...qm.QueryMod) collectionQuery
- func (o *CollectionI18n) Delete(exec boil.Executor) error
- func (o *CollectionI18n) DeleteG() error
- func (o *CollectionI18n) DeleteGP()
- func (o *CollectionI18n) DeleteP(exec boil.Executor)
- func (o *CollectionI18n) Insert(exec boil.Executor, whitelist ...string) error
- func (o *CollectionI18n) InsertG(whitelist ...string) error
- func (o *CollectionI18n) InsertGP(whitelist ...string)
- func (o *CollectionI18n) InsertP(exec boil.Executor, whitelist ...string)
- func (o *CollectionI18n) Reload(exec boil.Executor) error
- func (o *CollectionI18n) ReloadG() error
- func (o *CollectionI18n) ReloadGP()
- func (o *CollectionI18n) ReloadP(exec boil.Executor)
- func (o *CollectionI18n) RemoveUser(exec boil.Executor, related *User) error
- func (o *CollectionI18n) RemoveUserG(related *User) error
- func (o *CollectionI18n) RemoveUserGP(related *User)
- func (o *CollectionI18n) RemoveUserP(exec boil.Executor, related *User)
- func (o *CollectionI18n) SetCollection(exec boil.Executor, insert bool, related *Collection) error
- func (o *CollectionI18n) SetCollectionG(insert bool, related *Collection) error
- func (o *CollectionI18n) SetCollectionGP(insert bool, related *Collection)
- func (o *CollectionI18n) SetCollectionP(exec boil.Executor, insert bool, related *Collection)
- func (o *CollectionI18n) SetUser(exec boil.Executor, insert bool, related *User) error
- func (o *CollectionI18n) SetUserG(insert bool, related *User) error
- func (o *CollectionI18n) SetUserGP(insert bool, related *User)
- func (o *CollectionI18n) SetUserP(exec boil.Executor, insert bool, related *User)
- func (o *CollectionI18n) Update(exec boil.Executor, whitelist ...string) error
- func (o *CollectionI18n) UpdateG(whitelist ...string) error
- func (o *CollectionI18n) UpdateGP(whitelist ...string)
- func (o *CollectionI18n) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *CollectionI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *CollectionI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *CollectionI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *CollectionI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *CollectionI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
- func (o *CollectionI18n) UserG(mods ...qm.QueryMod) userQuery
- type CollectionI18nSlice
- func (o CollectionI18nSlice) DeleteAll(exec boil.Executor) error
- func (o CollectionI18nSlice) DeleteAllG() error
- func (o CollectionI18nSlice) DeleteAllGP()
- func (o CollectionI18nSlice) DeleteAllP(exec boil.Executor)
- func (o *CollectionI18nSlice) ReloadAll(exec boil.Executor) error
- func (o *CollectionI18nSlice) ReloadAllG() error
- func (o *CollectionI18nSlice) ReloadAllGP()
- func (o *CollectionI18nSlice) ReloadAllP(exec boil.Executor)
- func (o CollectionI18nSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o CollectionI18nSlice) UpdateAllG(cols M) error
- func (o CollectionI18nSlice) UpdateAllGP(cols M)
- func (o CollectionI18nSlice) UpdateAllP(exec boil.Executor, cols M)
- type CollectionSlice
- func (o CollectionSlice) DeleteAll(exec boil.Executor) error
- func (o CollectionSlice) DeleteAllG() error
- func (o CollectionSlice) DeleteAllGP()
- func (o CollectionSlice) DeleteAllP(exec boil.Executor)
- func (o *CollectionSlice) ReloadAll(exec boil.Executor) error
- func (o *CollectionSlice) ReloadAllG() error
- func (o *CollectionSlice) ReloadAllGP()
- func (o *CollectionSlice) ReloadAllP(exec boil.Executor)
- func (o CollectionSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o CollectionSlice) UpdateAllG(cols M) error
- func (o CollectionSlice) UpdateAllGP(cols M)
- func (o CollectionSlice) UpdateAllP(exec boil.Executor, cols M)
- type CollectionsContentUnit
- func FindCollectionsContentUnit(exec boil.Executor, collectionID int64, contentUnitID int64, ...) (*CollectionsContentUnit, error)
- func FindCollectionsContentUnitG(collectionID int64, contentUnitID int64, selectCols ...string) (*CollectionsContentUnit, error)
- func FindCollectionsContentUnitGP(collectionID int64, contentUnitID int64, selectCols ...string) *CollectionsContentUnit
- func FindCollectionsContentUnitP(exec boil.Executor, collectionID int64, contentUnitID int64, ...) *CollectionsContentUnit
- func (o *CollectionsContentUnit) Collection(exec boil.Executor, mods ...qm.QueryMod) collectionQuery
- func (o *CollectionsContentUnit) CollectionG(mods ...qm.QueryMod) collectionQuery
- func (o *CollectionsContentUnit) ContentUnit(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *CollectionsContentUnit) ContentUnitG(mods ...qm.QueryMod) contentUnitQuery
- func (o *CollectionsContentUnit) Delete(exec boil.Executor) error
- func (o *CollectionsContentUnit) DeleteG() error
- func (o *CollectionsContentUnit) DeleteGP()
- func (o *CollectionsContentUnit) DeleteP(exec boil.Executor)
- func (o *CollectionsContentUnit) Insert(exec boil.Executor, whitelist ...string) error
- func (o *CollectionsContentUnit) InsertG(whitelist ...string) error
- func (o *CollectionsContentUnit) InsertGP(whitelist ...string)
- func (o *CollectionsContentUnit) InsertP(exec boil.Executor, whitelist ...string)
- func (o *CollectionsContentUnit) Reload(exec boil.Executor) error
- func (o *CollectionsContentUnit) ReloadG() error
- func (o *CollectionsContentUnit) ReloadGP()
- func (o *CollectionsContentUnit) ReloadP(exec boil.Executor)
- func (o *CollectionsContentUnit) SetCollection(exec boil.Executor, insert bool, related *Collection) error
- func (o *CollectionsContentUnit) SetCollectionG(insert bool, related *Collection) error
- func (o *CollectionsContentUnit) SetCollectionGP(insert bool, related *Collection)
- func (o *CollectionsContentUnit) SetCollectionP(exec boil.Executor, insert bool, related *Collection)
- func (o *CollectionsContentUnit) SetContentUnit(exec boil.Executor, insert bool, related *ContentUnit) error
- func (o *CollectionsContentUnit) SetContentUnitG(insert bool, related *ContentUnit) error
- func (o *CollectionsContentUnit) SetContentUnitGP(insert bool, related *ContentUnit)
- func (o *CollectionsContentUnit) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
- func (o *CollectionsContentUnit) Update(exec boil.Executor, whitelist ...string) error
- func (o *CollectionsContentUnit) UpdateG(whitelist ...string) error
- func (o *CollectionsContentUnit) UpdateGP(whitelist ...string)
- func (o *CollectionsContentUnit) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *CollectionsContentUnit) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *CollectionsContentUnit) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *CollectionsContentUnit) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *CollectionsContentUnit) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type CollectionsContentUnitSlice
- func (o CollectionsContentUnitSlice) DeleteAll(exec boil.Executor) error
- func (o CollectionsContentUnitSlice) DeleteAllG() error
- func (o CollectionsContentUnitSlice) DeleteAllGP()
- func (o CollectionsContentUnitSlice) DeleteAllP(exec boil.Executor)
- func (o *CollectionsContentUnitSlice) ReloadAll(exec boil.Executor) error
- func (o *CollectionsContentUnitSlice) ReloadAllG() error
- func (o *CollectionsContentUnitSlice) ReloadAllGP()
- func (o *CollectionsContentUnitSlice) ReloadAllP(exec boil.Executor)
- func (o CollectionsContentUnitSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o CollectionsContentUnitSlice) UpdateAllG(cols M) error
- func (o CollectionsContentUnitSlice) UpdateAllGP(cols M)
- func (o CollectionsContentUnitSlice) UpdateAllP(exec boil.Executor, cols M)
- type ContentRoleType
- func FindContentRoleType(exec boil.Executor, id int64, selectCols ...string) (*ContentRoleType, error)
- func FindContentRoleTypeG(id int64, selectCols ...string) (*ContentRoleType, error)
- func FindContentRoleTypeGP(id int64, selectCols ...string) *ContentRoleType
- func FindContentRoleTypeP(exec boil.Executor, id int64, selectCols ...string) *ContentRoleType
- func (o *ContentRoleType) AddRoleContentUnitsPersons(exec boil.Executor, insert bool, related ...*ContentUnitsPerson) error
- func (o *ContentRoleType) AddRoleContentUnitsPersonsG(insert bool, related ...*ContentUnitsPerson) error
- func (o *ContentRoleType) AddRoleContentUnitsPersonsGP(insert bool, related ...*ContentUnitsPerson)
- func (o *ContentRoleType) AddRoleContentUnitsPersonsP(exec boil.Executor, insert bool, related ...*ContentUnitsPerson)
- func (o *ContentRoleType) Delete(exec boil.Executor) error
- func (o *ContentRoleType) DeleteG() error
- func (o *ContentRoleType) DeleteGP()
- func (o *ContentRoleType) DeleteP(exec boil.Executor)
- func (o *ContentRoleType) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ContentRoleType) InsertG(whitelist ...string) error
- func (o *ContentRoleType) InsertGP(whitelist ...string)
- func (o *ContentRoleType) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ContentRoleType) Reload(exec boil.Executor) error
- func (o *ContentRoleType) ReloadG() error
- func (o *ContentRoleType) ReloadGP()
- func (o *ContentRoleType) ReloadP(exec boil.Executor)
- func (o *ContentRoleType) RoleContentUnitsPersons(exec boil.Executor, mods ...qm.QueryMod) contentUnitsPersonQuery
- func (o *ContentRoleType) RoleContentUnitsPersonsG(mods ...qm.QueryMod) contentUnitsPersonQuery
- func (o *ContentRoleType) Update(exec boil.Executor, whitelist ...string) error
- func (o *ContentRoleType) UpdateG(whitelist ...string) error
- func (o *ContentRoleType) UpdateGP(whitelist ...string)
- func (o *ContentRoleType) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ContentRoleType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *ContentRoleType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *ContentRoleType) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *ContentRoleType) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type ContentRoleTypeSlice
- func (o ContentRoleTypeSlice) DeleteAll(exec boil.Executor) error
- func (o ContentRoleTypeSlice) DeleteAllG() error
- func (o ContentRoleTypeSlice) DeleteAllGP()
- func (o ContentRoleTypeSlice) DeleteAllP(exec boil.Executor)
- func (o *ContentRoleTypeSlice) ReloadAll(exec boil.Executor) error
- func (o *ContentRoleTypeSlice) ReloadAllG() error
- func (o *ContentRoleTypeSlice) ReloadAllGP()
- func (o *ContentRoleTypeSlice) ReloadAllP(exec boil.Executor)
- func (o ContentRoleTypeSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ContentRoleTypeSlice) UpdateAllG(cols M) error
- func (o ContentRoleTypeSlice) UpdateAllGP(cols M)
- func (o ContentRoleTypeSlice) UpdateAllP(exec boil.Executor, cols M)
- type ContentType
- func FindContentType(exec boil.Executor, id int64, selectCols ...string) (*ContentType, error)
- func FindContentTypeG(id int64, selectCols ...string) (*ContentType, error)
- func FindContentTypeGP(id int64, selectCols ...string) *ContentType
- func FindContentTypeP(exec boil.Executor, id int64, selectCols ...string) *ContentType
- func (o *ContentType) AddTypeCollections(exec boil.Executor, insert bool, related ...*Collection) error
- func (o *ContentType) AddTypeCollectionsG(insert bool, related ...*Collection) error
- func (o *ContentType) AddTypeCollectionsGP(insert bool, related ...*Collection)
- func (o *ContentType) AddTypeCollectionsP(exec boil.Executor, insert bool, related ...*Collection)
- func (o *ContentType) AddTypeContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
- func (o *ContentType) AddTypeContentUnitsG(insert bool, related ...*ContentUnit) error
- func (o *ContentType) AddTypeContentUnitsGP(insert bool, related ...*ContentUnit)
- func (o *ContentType) AddTypeContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
- func (o *ContentType) Delete(exec boil.Executor) error
- func (o *ContentType) DeleteG() error
- func (o *ContentType) DeleteGP()
- func (o *ContentType) DeleteP(exec boil.Executor)
- func (o *ContentType) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ContentType) InsertG(whitelist ...string) error
- func (o *ContentType) InsertGP(whitelist ...string)
- func (o *ContentType) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ContentType) Reload(exec boil.Executor) error
- func (o *ContentType) ReloadG() error
- func (o *ContentType) ReloadGP()
- func (o *ContentType) ReloadP(exec boil.Executor)
- func (o *ContentType) TypeCollections(exec boil.Executor, mods ...qm.QueryMod) collectionQuery
- func (o *ContentType) TypeCollectionsG(mods ...qm.QueryMod) collectionQuery
- func (o *ContentType) TypeContentUnits(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentType) TypeContentUnitsG(mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentType) Update(exec boil.Executor, whitelist ...string) error
- func (o *ContentType) UpdateG(whitelist ...string) error
- func (o *ContentType) UpdateGP(whitelist ...string)
- func (o *ContentType) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ContentType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *ContentType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *ContentType) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *ContentType) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type ContentTypeSlice
- func (o ContentTypeSlice) DeleteAll(exec boil.Executor) error
- func (o ContentTypeSlice) DeleteAllG() error
- func (o ContentTypeSlice) DeleteAllGP()
- func (o ContentTypeSlice) DeleteAllP(exec boil.Executor)
- func (o *ContentTypeSlice) ReloadAll(exec boil.Executor) error
- func (o *ContentTypeSlice) ReloadAllG() error
- func (o *ContentTypeSlice) ReloadAllGP()
- func (o *ContentTypeSlice) ReloadAllP(exec boil.Executor)
- func (o ContentTypeSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ContentTypeSlice) UpdateAllG(cols M) error
- func (o ContentTypeSlice) UpdateAllGP(cols M)
- func (o ContentTypeSlice) UpdateAllP(exec boil.Executor, cols M)
- type ContentUnit
- func FindContentUnit(exec boil.Executor, id int64, selectCols ...string) (*ContentUnit, error)
- func FindContentUnitG(id int64, selectCols ...string) (*ContentUnit, error)
- func FindContentUnitGP(id int64, selectCols ...string) *ContentUnit
- func FindContentUnitP(exec boil.Executor, id int64, selectCols ...string) *ContentUnit
- func (o *ContentUnit) AddCollectionsContentUnits(exec boil.Executor, insert bool, related ...*CollectionsContentUnit) error
- func (o *ContentUnit) AddCollectionsContentUnitsG(insert bool, related ...*CollectionsContentUnit) error
- func (o *ContentUnit) AddCollectionsContentUnitsGP(insert bool, related ...*CollectionsContentUnit)
- func (o *ContentUnit) AddCollectionsContentUnitsP(exec boil.Executor, insert bool, related ...*CollectionsContentUnit)
- func (o *ContentUnit) AddContentUnitI18ns(exec boil.Executor, insert bool, related ...*ContentUnitI18n) error
- func (o *ContentUnit) AddContentUnitI18nsG(insert bool, related ...*ContentUnitI18n) error
- func (o *ContentUnit) AddContentUnitI18nsGP(insert bool, related ...*ContentUnitI18n)
- func (o *ContentUnit) AddContentUnitI18nsP(exec boil.Executor, insert bool, related ...*ContentUnitI18n)
- func (o *ContentUnit) AddContentUnitsPersons(exec boil.Executor, insert bool, related ...*ContentUnitsPerson) error
- func (o *ContentUnit) AddContentUnitsPersonsG(insert bool, related ...*ContentUnitsPerson) error
- func (o *ContentUnit) AddContentUnitsPersonsGP(insert bool, related ...*ContentUnitsPerson)
- func (o *ContentUnit) AddContentUnitsPersonsP(exec boil.Executor, insert bool, related ...*ContentUnitsPerson)
- func (o *ContentUnit) AddDerivedContentUnitDerivations(exec boil.Executor, insert bool, related ...*ContentUnitDerivation) error
- func (o *ContentUnit) AddDerivedContentUnitDerivationsG(insert bool, related ...*ContentUnitDerivation) error
- func (o *ContentUnit) AddDerivedContentUnitDerivationsGP(insert bool, related ...*ContentUnitDerivation)
- func (o *ContentUnit) AddDerivedContentUnitDerivationsP(exec boil.Executor, insert bool, related ...*ContentUnitDerivation)
- func (o *ContentUnit) AddFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *ContentUnit) AddFilesG(insert bool, related ...*File) error
- func (o *ContentUnit) AddFilesGP(insert bool, related ...*File)
- func (o *ContentUnit) AddFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *ContentUnit) AddPublishers(exec boil.Executor, insert bool, related ...*Publisher) error
- func (o *ContentUnit) AddPublishersG(insert bool, related ...*Publisher) error
- func (o *ContentUnit) AddPublishersGP(insert bool, related ...*Publisher)
- func (o *ContentUnit) AddPublishersP(exec boil.Executor, insert bool, related ...*Publisher)
- func (o *ContentUnit) AddSourceContentUnitDerivations(exec boil.Executor, insert bool, related ...*ContentUnitDerivation) error
- func (o *ContentUnit) AddSourceContentUnitDerivationsG(insert bool, related ...*ContentUnitDerivation) error
- func (o *ContentUnit) AddSourceContentUnitDerivationsGP(insert bool, related ...*ContentUnitDerivation)
- func (o *ContentUnit) AddSourceContentUnitDerivationsP(exec boil.Executor, insert bool, related ...*ContentUnitDerivation)
- func (o *ContentUnit) AddSources(exec boil.Executor, insert bool, related ...*Source) error
- func (o *ContentUnit) AddSourcesG(insert bool, related ...*Source) error
- func (o *ContentUnit) AddSourcesGP(insert bool, related ...*Source)
- func (o *ContentUnit) AddSourcesP(exec boil.Executor, insert bool, related ...*Source)
- func (o *ContentUnit) AddTags(exec boil.Executor, insert bool, related ...*Tag) error
- func (o *ContentUnit) AddTagsG(insert bool, related ...*Tag) error
- func (o *ContentUnit) AddTagsGP(insert bool, related ...*Tag)
- func (o *ContentUnit) AddTagsP(exec boil.Executor, insert bool, related ...*Tag)
- func (o *ContentUnit) CollectionsContentUnits(exec boil.Executor, mods ...qm.QueryMod) collectionsContentUnitQuery
- func (o *ContentUnit) CollectionsContentUnitsG(mods ...qm.QueryMod) collectionsContentUnitQuery
- func (o *ContentUnit) ContentUnitI18ns(exec boil.Executor, mods ...qm.QueryMod) contentUnitI18nQuery
- func (o *ContentUnit) ContentUnitI18nsG(mods ...qm.QueryMod) contentUnitI18nQuery
- func (o *ContentUnit) ContentUnitsPersons(exec boil.Executor, mods ...qm.QueryMod) contentUnitsPersonQuery
- func (o *ContentUnit) ContentUnitsPersonsG(mods ...qm.QueryMod) contentUnitsPersonQuery
- func (o *ContentUnit) Delete(exec boil.Executor) error
- func (o *ContentUnit) DeleteG() error
- func (o *ContentUnit) DeleteGP()
- func (o *ContentUnit) DeleteP(exec boil.Executor)
- func (o *ContentUnit) DerivedContentUnitDerivations(exec boil.Executor, mods ...qm.QueryMod) contentUnitDerivationQuery
- func (o *ContentUnit) DerivedContentUnitDerivationsG(mods ...qm.QueryMod) contentUnitDerivationQuery
- func (o *ContentUnit) Files(exec boil.Executor, mods ...qm.QueryMod) fileQuery
- func (o *ContentUnit) FilesG(mods ...qm.QueryMod) fileQuery
- func (o *ContentUnit) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnit) InsertG(whitelist ...string) error
- func (o *ContentUnit) InsertGP(whitelist ...string)
- func (o *ContentUnit) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnit) Publishers(exec boil.Executor, mods ...qm.QueryMod) publisherQuery
- func (o *ContentUnit) PublishersG(mods ...qm.QueryMod) publisherQuery
- func (o *ContentUnit) Reload(exec boil.Executor) error
- func (o *ContentUnit) ReloadG() error
- func (o *ContentUnit) ReloadGP()
- func (o *ContentUnit) ReloadP(exec boil.Executor)
- func (o *ContentUnit) RemoveFiles(exec boil.Executor, related ...*File) error
- func (o *ContentUnit) RemoveFilesG(related ...*File) error
- func (o *ContentUnit) RemoveFilesGP(related ...*File)
- func (o *ContentUnit) RemoveFilesP(exec boil.Executor, related ...*File)
- func (o *ContentUnit) RemovePublishers(exec boil.Executor, related ...*Publisher) error
- func (o *ContentUnit) RemovePublishersG(related ...*Publisher) error
- func (o *ContentUnit) RemovePublishersGP(related ...*Publisher)
- func (o *ContentUnit) RemovePublishersP(exec boil.Executor, related ...*Publisher)
- func (o *ContentUnit) RemoveSources(exec boil.Executor, related ...*Source) error
- func (o *ContentUnit) RemoveSourcesG(related ...*Source) error
- func (o *ContentUnit) RemoveSourcesGP(related ...*Source)
- func (o *ContentUnit) RemoveSourcesP(exec boil.Executor, related ...*Source)
- func (o *ContentUnit) RemoveTags(exec boil.Executor, related ...*Tag) error
- func (o *ContentUnit) RemoveTagsG(related ...*Tag) error
- func (o *ContentUnit) RemoveTagsGP(related ...*Tag)
- func (o *ContentUnit) RemoveTagsP(exec boil.Executor, related ...*Tag)
- func (o *ContentUnit) SetFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *ContentUnit) SetFilesG(insert bool, related ...*File) error
- func (o *ContentUnit) SetFilesGP(insert bool, related ...*File)
- func (o *ContentUnit) SetFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *ContentUnit) SetPublishers(exec boil.Executor, insert bool, related ...*Publisher) error
- func (o *ContentUnit) SetPublishersG(insert bool, related ...*Publisher) error
- func (o *ContentUnit) SetPublishersGP(insert bool, related ...*Publisher)
- func (o *ContentUnit) SetPublishersP(exec boil.Executor, insert bool, related ...*Publisher)
- func (o *ContentUnit) SetSources(exec boil.Executor, insert bool, related ...*Source) error
- func (o *ContentUnit) SetSourcesG(insert bool, related ...*Source) error
- func (o *ContentUnit) SetSourcesGP(insert bool, related ...*Source)
- func (o *ContentUnit) SetSourcesP(exec boil.Executor, insert bool, related ...*Source)
- func (o *ContentUnit) SetTags(exec boil.Executor, insert bool, related ...*Tag) error
- func (o *ContentUnit) SetTagsG(insert bool, related ...*Tag) error
- func (o *ContentUnit) SetTagsGP(insert bool, related ...*Tag)
- func (o *ContentUnit) SetTagsP(exec boil.Executor, insert bool, related ...*Tag)
- func (o *ContentUnit) SetType(exec boil.Executor, insert bool, related *ContentType) error
- func (o *ContentUnit) SetTypeG(insert bool, related *ContentType) error
- func (o *ContentUnit) SetTypeGP(insert bool, related *ContentType)
- func (o *ContentUnit) SetTypeP(exec boil.Executor, insert bool, related *ContentType)
- func (o *ContentUnit) SourceContentUnitDerivations(exec boil.Executor, mods ...qm.QueryMod) contentUnitDerivationQuery
- func (o *ContentUnit) SourceContentUnitDerivationsG(mods ...qm.QueryMod) contentUnitDerivationQuery
- func (o *ContentUnit) Sources(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
- func (o *ContentUnit) SourcesG(mods ...qm.QueryMod) sourceQuery
- func (o *ContentUnit) Tags(exec boil.Executor, mods ...qm.QueryMod) tagQuery
- func (o *ContentUnit) TagsG(mods ...qm.QueryMod) tagQuery
- func (o *ContentUnit) Type(exec boil.Executor, mods ...qm.QueryMod) contentTypeQuery
- func (o *ContentUnit) TypeG(mods ...qm.QueryMod) contentTypeQuery
- func (o *ContentUnit) Update(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnit) UpdateG(whitelist ...string) error
- func (o *ContentUnit) UpdateGP(whitelist ...string)
- func (o *ContentUnit) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnit) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *ContentUnit) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *ContentUnit) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *ContentUnit) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type ContentUnitDerivation
- func FindContentUnitDerivation(exec boil.Executor, sourceID int64, derivedID int64, selectCols ...string) (*ContentUnitDerivation, error)
- func FindContentUnitDerivationG(sourceID int64, derivedID int64, selectCols ...string) (*ContentUnitDerivation, error)
- func FindContentUnitDerivationGP(sourceID int64, derivedID int64, selectCols ...string) *ContentUnitDerivation
- func FindContentUnitDerivationP(exec boil.Executor, sourceID int64, derivedID int64, selectCols ...string) *ContentUnitDerivation
- func (o *ContentUnitDerivation) Delete(exec boil.Executor) error
- func (o *ContentUnitDerivation) DeleteG() error
- func (o *ContentUnitDerivation) DeleteGP()
- func (o *ContentUnitDerivation) DeleteP(exec boil.Executor)
- func (o *ContentUnitDerivation) Derived(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitDerivation) DerivedG(mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitDerivation) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnitDerivation) InsertG(whitelist ...string) error
- func (o *ContentUnitDerivation) InsertGP(whitelist ...string)
- func (o *ContentUnitDerivation) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnitDerivation) Reload(exec boil.Executor) error
- func (o *ContentUnitDerivation) ReloadG() error
- func (o *ContentUnitDerivation) ReloadGP()
- func (o *ContentUnitDerivation) ReloadP(exec boil.Executor)
- func (o *ContentUnitDerivation) SetDerived(exec boil.Executor, insert bool, related *ContentUnit) error
- func (o *ContentUnitDerivation) SetDerivedG(insert bool, related *ContentUnit) error
- func (o *ContentUnitDerivation) SetDerivedGP(insert bool, related *ContentUnit)
- func (o *ContentUnitDerivation) SetDerivedP(exec boil.Executor, insert bool, related *ContentUnit)
- func (o *ContentUnitDerivation) SetSource(exec boil.Executor, insert bool, related *ContentUnit) error
- func (o *ContentUnitDerivation) SetSourceG(insert bool, related *ContentUnit) error
- func (o *ContentUnitDerivation) SetSourceGP(insert bool, related *ContentUnit)
- func (o *ContentUnitDerivation) SetSourceP(exec boil.Executor, insert bool, related *ContentUnit)
- func (o *ContentUnitDerivation) Source(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitDerivation) SourceG(mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitDerivation) Update(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnitDerivation) UpdateG(whitelist ...string) error
- func (o *ContentUnitDerivation) UpdateGP(whitelist ...string)
- func (o *ContentUnitDerivation) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnitDerivation) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *ContentUnitDerivation) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *ContentUnitDerivation) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *ContentUnitDerivation) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type ContentUnitDerivationSlice
- func (o ContentUnitDerivationSlice) DeleteAll(exec boil.Executor) error
- func (o ContentUnitDerivationSlice) DeleteAllG() error
- func (o ContentUnitDerivationSlice) DeleteAllGP()
- func (o ContentUnitDerivationSlice) DeleteAllP(exec boil.Executor)
- func (o *ContentUnitDerivationSlice) ReloadAll(exec boil.Executor) error
- func (o *ContentUnitDerivationSlice) ReloadAllG() error
- func (o *ContentUnitDerivationSlice) ReloadAllGP()
- func (o *ContentUnitDerivationSlice) ReloadAllP(exec boil.Executor)
- func (o ContentUnitDerivationSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ContentUnitDerivationSlice) UpdateAllG(cols M) error
- func (o ContentUnitDerivationSlice) UpdateAllGP(cols M)
- func (o ContentUnitDerivationSlice) UpdateAllP(exec boil.Executor, cols M)
- type ContentUnitI18n
- func FindContentUnitI18n(exec boil.Executor, contentUnitID int64, language string, selectCols ...string) (*ContentUnitI18n, error)
- func FindContentUnitI18nG(contentUnitID int64, language string, selectCols ...string) (*ContentUnitI18n, error)
- func FindContentUnitI18nGP(contentUnitID int64, language string, selectCols ...string) *ContentUnitI18n
- func FindContentUnitI18nP(exec boil.Executor, contentUnitID int64, language string, selectCols ...string) *ContentUnitI18n
- func (o *ContentUnitI18n) ContentUnit(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitI18n) ContentUnitG(mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitI18n) Delete(exec boil.Executor) error
- func (o *ContentUnitI18n) DeleteG() error
- func (o *ContentUnitI18n) DeleteGP()
- func (o *ContentUnitI18n) DeleteP(exec boil.Executor)
- func (o *ContentUnitI18n) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnitI18n) InsertG(whitelist ...string) error
- func (o *ContentUnitI18n) InsertGP(whitelist ...string)
- func (o *ContentUnitI18n) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnitI18n) Reload(exec boil.Executor) error
- func (o *ContentUnitI18n) ReloadG() error
- func (o *ContentUnitI18n) ReloadGP()
- func (o *ContentUnitI18n) ReloadP(exec boil.Executor)
- func (o *ContentUnitI18n) RemoveUser(exec boil.Executor, related *User) error
- func (o *ContentUnitI18n) RemoveUserG(related *User) error
- func (o *ContentUnitI18n) RemoveUserGP(related *User)
- func (o *ContentUnitI18n) RemoveUserP(exec boil.Executor, related *User)
- func (o *ContentUnitI18n) SetContentUnit(exec boil.Executor, insert bool, related *ContentUnit) error
- func (o *ContentUnitI18n) SetContentUnitG(insert bool, related *ContentUnit) error
- func (o *ContentUnitI18n) SetContentUnitGP(insert bool, related *ContentUnit)
- func (o *ContentUnitI18n) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
- func (o *ContentUnitI18n) SetUser(exec boil.Executor, insert bool, related *User) error
- func (o *ContentUnitI18n) SetUserG(insert bool, related *User) error
- func (o *ContentUnitI18n) SetUserGP(insert bool, related *User)
- func (o *ContentUnitI18n) SetUserP(exec boil.Executor, insert bool, related *User)
- func (o *ContentUnitI18n) Update(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnitI18n) UpdateG(whitelist ...string) error
- func (o *ContentUnitI18n) UpdateGP(whitelist ...string)
- func (o *ContentUnitI18n) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnitI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *ContentUnitI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *ContentUnitI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *ContentUnitI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *ContentUnitI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
- func (o *ContentUnitI18n) UserG(mods ...qm.QueryMod) userQuery
- type ContentUnitI18nSlice
- func (o ContentUnitI18nSlice) DeleteAll(exec boil.Executor) error
- func (o ContentUnitI18nSlice) DeleteAllG() error
- func (o ContentUnitI18nSlice) DeleteAllGP()
- func (o ContentUnitI18nSlice) DeleteAllP(exec boil.Executor)
- func (o *ContentUnitI18nSlice) ReloadAll(exec boil.Executor) error
- func (o *ContentUnitI18nSlice) ReloadAllG() error
- func (o *ContentUnitI18nSlice) ReloadAllGP()
- func (o *ContentUnitI18nSlice) ReloadAllP(exec boil.Executor)
- func (o ContentUnitI18nSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ContentUnitI18nSlice) UpdateAllG(cols M) error
- func (o ContentUnitI18nSlice) UpdateAllGP(cols M)
- func (o ContentUnitI18nSlice) UpdateAllP(exec boil.Executor, cols M)
- type ContentUnitSlice
- func (o ContentUnitSlice) DeleteAll(exec boil.Executor) error
- func (o ContentUnitSlice) DeleteAllG() error
- func (o ContentUnitSlice) DeleteAllGP()
- func (o ContentUnitSlice) DeleteAllP(exec boil.Executor)
- func (o *ContentUnitSlice) ReloadAll(exec boil.Executor) error
- func (o *ContentUnitSlice) ReloadAllG() error
- func (o *ContentUnitSlice) ReloadAllGP()
- func (o *ContentUnitSlice) ReloadAllP(exec boil.Executor)
- func (o ContentUnitSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ContentUnitSlice) UpdateAllG(cols M) error
- func (o ContentUnitSlice) UpdateAllGP(cols M)
- func (o ContentUnitSlice) UpdateAllP(exec boil.Executor, cols M)
- type ContentUnitsPerson
- func FindContentUnitsPerson(exec boil.Executor, contentUnitID int64, personID int64, selectCols ...string) (*ContentUnitsPerson, error)
- func FindContentUnitsPersonG(contentUnitID int64, personID int64, selectCols ...string) (*ContentUnitsPerson, error)
- func FindContentUnitsPersonGP(contentUnitID int64, personID int64, selectCols ...string) *ContentUnitsPerson
- func FindContentUnitsPersonP(exec boil.Executor, contentUnitID int64, personID int64, selectCols ...string) *ContentUnitsPerson
- func (o *ContentUnitsPerson) ContentUnit(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitsPerson) ContentUnitG(mods ...qm.QueryMod) contentUnitQuery
- func (o *ContentUnitsPerson) Delete(exec boil.Executor) error
- func (o *ContentUnitsPerson) DeleteG() error
- func (o *ContentUnitsPerson) DeleteGP()
- func (o *ContentUnitsPerson) DeleteP(exec boil.Executor)
- func (o *ContentUnitsPerson) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnitsPerson) InsertG(whitelist ...string) error
- func (o *ContentUnitsPerson) InsertGP(whitelist ...string)
- func (o *ContentUnitsPerson) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnitsPerson) Person(exec boil.Executor, mods ...qm.QueryMod) personQuery
- func (o *ContentUnitsPerson) PersonG(mods ...qm.QueryMod) personQuery
- func (o *ContentUnitsPerson) Reload(exec boil.Executor) error
- func (o *ContentUnitsPerson) ReloadG() error
- func (o *ContentUnitsPerson) ReloadGP()
- func (o *ContentUnitsPerson) ReloadP(exec boil.Executor)
- func (o *ContentUnitsPerson) Role(exec boil.Executor, mods ...qm.QueryMod) contentRoleTypeQuery
- func (o *ContentUnitsPerson) RoleG(mods ...qm.QueryMod) contentRoleTypeQuery
- func (o *ContentUnitsPerson) SetContentUnit(exec boil.Executor, insert bool, related *ContentUnit) error
- func (o *ContentUnitsPerson) SetContentUnitG(insert bool, related *ContentUnit) error
- func (o *ContentUnitsPerson) SetContentUnitGP(insert bool, related *ContentUnit)
- func (o *ContentUnitsPerson) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
- func (o *ContentUnitsPerson) SetPerson(exec boil.Executor, insert bool, related *Person) error
- func (o *ContentUnitsPerson) SetPersonG(insert bool, related *Person) error
- func (o *ContentUnitsPerson) SetPersonGP(insert bool, related *Person)
- func (o *ContentUnitsPerson) SetPersonP(exec boil.Executor, insert bool, related *Person)
- func (o *ContentUnitsPerson) SetRole(exec boil.Executor, insert bool, related *ContentRoleType) error
- func (o *ContentUnitsPerson) SetRoleG(insert bool, related *ContentRoleType) error
- func (o *ContentUnitsPerson) SetRoleGP(insert bool, related *ContentRoleType)
- func (o *ContentUnitsPerson) SetRoleP(exec boil.Executor, insert bool, related *ContentRoleType)
- func (o *ContentUnitsPerson) Update(exec boil.Executor, whitelist ...string) error
- func (o *ContentUnitsPerson) UpdateG(whitelist ...string) error
- func (o *ContentUnitsPerson) UpdateGP(whitelist ...string)
- func (o *ContentUnitsPerson) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ContentUnitsPerson) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *ContentUnitsPerson) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *ContentUnitsPerson) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *ContentUnitsPerson) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type ContentUnitsPersonSlice
- func (o ContentUnitsPersonSlice) DeleteAll(exec boil.Executor) error
- func (o ContentUnitsPersonSlice) DeleteAllG() error
- func (o ContentUnitsPersonSlice) DeleteAllGP()
- func (o ContentUnitsPersonSlice) DeleteAllP(exec boil.Executor)
- func (o *ContentUnitsPersonSlice) ReloadAll(exec boil.Executor) error
- func (o *ContentUnitsPersonSlice) ReloadAllG() error
- func (o *ContentUnitsPersonSlice) ReloadAllGP()
- func (o *ContentUnitsPersonSlice) ReloadAllP(exec boil.Executor)
- func (o ContentUnitsPersonSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ContentUnitsPersonSlice) UpdateAllG(cols M) error
- func (o ContentUnitsPersonSlice) UpdateAllGP(cols M)
- func (o ContentUnitsPersonSlice) UpdateAllP(exec boil.Executor, cols M)
- type File
- func (o *File) AddOperations(exec boil.Executor, insert bool, related ...*Operation) error
- func (o *File) AddOperationsG(insert bool, related ...*Operation) error
- func (o *File) AddOperationsGP(insert bool, related ...*Operation)
- func (o *File) AddOperationsP(exec boil.Executor, insert bool, related ...*Operation)
- func (o *File) AddParentFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *File) AddParentFilesG(insert bool, related ...*File) error
- func (o *File) AddParentFilesGP(insert bool, related ...*File)
- func (o *File) AddParentFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *File) AddStorages(exec boil.Executor, insert bool, related ...*Storage) error
- func (o *File) AddStoragesG(insert bool, related ...*Storage) error
- func (o *File) AddStoragesGP(insert bool, related ...*Storage)
- func (o *File) AddStoragesP(exec boil.Executor, insert bool, related ...*Storage)
- func (o *File) ContentUnit(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *File) ContentUnitG(mods ...qm.QueryMod) contentUnitQuery
- func (o *File) Delete(exec boil.Executor) error
- func (o *File) DeleteG() error
- func (o *File) DeleteGP()
- func (o *File) DeleteP(exec boil.Executor)
- func (o *File) Insert(exec boil.Executor, whitelist ...string) error
- func (o *File) InsertG(whitelist ...string) error
- func (o *File) InsertGP(whitelist ...string)
- func (o *File) InsertP(exec boil.Executor, whitelist ...string)
- func (o *File) Operations(exec boil.Executor, mods ...qm.QueryMod) operationQuery
- func (o *File) OperationsG(mods ...qm.QueryMod) operationQuery
- func (o *File) Parent(exec boil.Executor, mods ...qm.QueryMod) fileQuery
- func (o *File) ParentFiles(exec boil.Executor, mods ...qm.QueryMod) fileQuery
- func (o *File) ParentFilesG(mods ...qm.QueryMod) fileQuery
- func (o *File) ParentG(mods ...qm.QueryMod) fileQuery
- func (o *File) Reload(exec boil.Executor) error
- func (o *File) ReloadG() error
- func (o *File) ReloadGP()
- func (o *File) ReloadP(exec boil.Executor)
- func (o *File) RemoveContentUnit(exec boil.Executor, related *ContentUnit) error
- func (o *File) RemoveContentUnitG(related *ContentUnit) error
- func (o *File) RemoveContentUnitGP(related *ContentUnit)
- func (o *File) RemoveContentUnitP(exec boil.Executor, related *ContentUnit)
- func (o *File) RemoveOperations(exec boil.Executor, related ...*Operation) error
- func (o *File) RemoveOperationsG(related ...*Operation) error
- func (o *File) RemoveOperationsGP(related ...*Operation)
- func (o *File) RemoveOperationsP(exec boil.Executor, related ...*Operation)
- func (o *File) RemoveParent(exec boil.Executor, related *File) error
- func (o *File) RemoveParentFiles(exec boil.Executor, related ...*File) error
- func (o *File) RemoveParentFilesG(related ...*File) error
- func (o *File) RemoveParentFilesGP(related ...*File)
- func (o *File) RemoveParentFilesP(exec boil.Executor, related ...*File)
- func (o *File) RemoveParentG(related *File) error
- func (o *File) RemoveParentGP(related *File)
- func (o *File) RemoveParentP(exec boil.Executor, related *File)
- func (o *File) RemoveStorages(exec boil.Executor, related ...*Storage) error
- func (o *File) RemoveStoragesG(related ...*Storage) error
- func (o *File) RemoveStoragesGP(related ...*Storage)
- func (o *File) RemoveStoragesP(exec boil.Executor, related ...*Storage)
- func (o *File) SetContentUnit(exec boil.Executor, insert bool, related *ContentUnit) error
- func (o *File) SetContentUnitG(insert bool, related *ContentUnit) error
- func (o *File) SetContentUnitGP(insert bool, related *ContentUnit)
- func (o *File) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
- func (o *File) SetOperations(exec boil.Executor, insert bool, related ...*Operation) error
- func (o *File) SetOperationsG(insert bool, related ...*Operation) error
- func (o *File) SetOperationsGP(insert bool, related ...*Operation)
- func (o *File) SetOperationsP(exec boil.Executor, insert bool, related ...*Operation)
- func (o *File) SetParent(exec boil.Executor, insert bool, related *File) error
- func (o *File) SetParentFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *File) SetParentFilesG(insert bool, related ...*File) error
- func (o *File) SetParentFilesGP(insert bool, related ...*File)
- func (o *File) SetParentFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *File) SetParentG(insert bool, related *File) error
- func (o *File) SetParentGP(insert bool, related *File)
- func (o *File) SetParentP(exec boil.Executor, insert bool, related *File)
- func (o *File) SetStorages(exec boil.Executor, insert bool, related ...*Storage) error
- func (o *File) SetStoragesG(insert bool, related ...*Storage) error
- func (o *File) SetStoragesGP(insert bool, related ...*Storage)
- func (o *File) SetStoragesP(exec boil.Executor, insert bool, related ...*Storage)
- func (o *File) Storages(exec boil.Executor, mods ...qm.QueryMod) storageQuery
- func (o *File) StoragesG(mods ...qm.QueryMod) storageQuery
- func (o *File) Update(exec boil.Executor, whitelist ...string) error
- func (o *File) UpdateG(whitelist ...string) error
- func (o *File) UpdateGP(whitelist ...string)
- func (o *File) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *File) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *File) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *File) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *File) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type FileSlice
- func (o FileSlice) DeleteAll(exec boil.Executor) error
- func (o FileSlice) DeleteAllG() error
- func (o FileSlice) DeleteAllGP()
- func (o FileSlice) DeleteAllP(exec boil.Executor)
- func (o *FileSlice) ReloadAll(exec boil.Executor) error
- func (o *FileSlice) ReloadAllG() error
- func (o *FileSlice) ReloadAllGP()
- func (o *FileSlice) ReloadAllP(exec boil.Executor)
- func (o FileSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o FileSlice) UpdateAllG(cols M) error
- func (o FileSlice) UpdateAllGP(cols M)
- func (o FileSlice) UpdateAllP(exec boil.Executor, cols M)
- type M
- type Operation
- func FindOperation(exec boil.Executor, id int64, selectCols ...string) (*Operation, error)
- func FindOperationG(id int64, selectCols ...string) (*Operation, error)
- func FindOperationGP(id int64, selectCols ...string) *Operation
- func FindOperationP(exec boil.Executor, id int64, selectCols ...string) *Operation
- func (o *Operation) AddFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *Operation) AddFilesG(insert bool, related ...*File) error
- func (o *Operation) AddFilesGP(insert bool, related ...*File)
- func (o *Operation) AddFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *Operation) Delete(exec boil.Executor) error
- func (o *Operation) DeleteG() error
- func (o *Operation) DeleteGP()
- func (o *Operation) DeleteP(exec boil.Executor)
- func (o *Operation) Files(exec boil.Executor, mods ...qm.QueryMod) fileQuery
- func (o *Operation) FilesG(mods ...qm.QueryMod) fileQuery
- func (o *Operation) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Operation) InsertG(whitelist ...string) error
- func (o *Operation) InsertGP(whitelist ...string)
- func (o *Operation) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Operation) Reload(exec boil.Executor) error
- func (o *Operation) ReloadG() error
- func (o *Operation) ReloadGP()
- func (o *Operation) ReloadP(exec boil.Executor)
- func (o *Operation) RemoveFiles(exec boil.Executor, related ...*File) error
- func (o *Operation) RemoveFilesG(related ...*File) error
- func (o *Operation) RemoveFilesGP(related ...*File)
- func (o *Operation) RemoveFilesP(exec boil.Executor, related ...*File)
- func (o *Operation) RemoveUser(exec boil.Executor, related *User) error
- func (o *Operation) RemoveUserG(related *User) error
- func (o *Operation) RemoveUserGP(related *User)
- func (o *Operation) RemoveUserP(exec boil.Executor, related *User)
- func (o *Operation) SetFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *Operation) SetFilesG(insert bool, related ...*File) error
- func (o *Operation) SetFilesGP(insert bool, related ...*File)
- func (o *Operation) SetFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *Operation) SetType(exec boil.Executor, insert bool, related *OperationType) error
- func (o *Operation) SetTypeG(insert bool, related *OperationType) error
- func (o *Operation) SetTypeGP(insert bool, related *OperationType)
- func (o *Operation) SetTypeP(exec boil.Executor, insert bool, related *OperationType)
- func (o *Operation) SetUser(exec boil.Executor, insert bool, related *User) error
- func (o *Operation) SetUserG(insert bool, related *User) error
- func (o *Operation) SetUserGP(insert bool, related *User)
- func (o *Operation) SetUserP(exec boil.Executor, insert bool, related *User)
- func (o *Operation) Type(exec boil.Executor, mods ...qm.QueryMod) operationTypeQuery
- func (o *Operation) TypeG(mods ...qm.QueryMod) operationTypeQuery
- func (o *Operation) Update(exec boil.Executor, whitelist ...string) error
- func (o *Operation) UpdateG(whitelist ...string) error
- func (o *Operation) UpdateGP(whitelist ...string)
- func (o *Operation) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Operation) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Operation) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Operation) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Operation) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *Operation) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
- func (o *Operation) UserG(mods ...qm.QueryMod) userQuery
- type OperationSlice
- func (o OperationSlice) DeleteAll(exec boil.Executor) error
- func (o OperationSlice) DeleteAllG() error
- func (o OperationSlice) DeleteAllGP()
- func (o OperationSlice) DeleteAllP(exec boil.Executor)
- func (o *OperationSlice) ReloadAll(exec boil.Executor) error
- func (o *OperationSlice) ReloadAllG() error
- func (o *OperationSlice) ReloadAllGP()
- func (o *OperationSlice) ReloadAllP(exec boil.Executor)
- func (o OperationSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OperationSlice) UpdateAllG(cols M) error
- func (o OperationSlice) UpdateAllGP(cols M)
- func (o OperationSlice) UpdateAllP(exec boil.Executor, cols M)
- type OperationType
- func FindOperationType(exec boil.Executor, id int64, selectCols ...string) (*OperationType, error)
- func FindOperationTypeG(id int64, selectCols ...string) (*OperationType, error)
- func FindOperationTypeGP(id int64, selectCols ...string) *OperationType
- func FindOperationTypeP(exec boil.Executor, id int64, selectCols ...string) *OperationType
- func (o *OperationType) AddTypeOperations(exec boil.Executor, insert bool, related ...*Operation) error
- func (o *OperationType) AddTypeOperationsG(insert bool, related ...*Operation) error
- func (o *OperationType) AddTypeOperationsGP(insert bool, related ...*Operation)
- func (o *OperationType) AddTypeOperationsP(exec boil.Executor, insert bool, related ...*Operation)
- func (o *OperationType) Delete(exec boil.Executor) error
- func (o *OperationType) DeleteG() error
- func (o *OperationType) DeleteGP()
- func (o *OperationType) DeleteP(exec boil.Executor)
- func (o *OperationType) Insert(exec boil.Executor, whitelist ...string) error
- func (o *OperationType) InsertG(whitelist ...string) error
- func (o *OperationType) InsertGP(whitelist ...string)
- func (o *OperationType) InsertP(exec boil.Executor, whitelist ...string)
- func (o *OperationType) Reload(exec boil.Executor) error
- func (o *OperationType) ReloadG() error
- func (o *OperationType) ReloadGP()
- func (o *OperationType) ReloadP(exec boil.Executor)
- func (o *OperationType) TypeOperations(exec boil.Executor, mods ...qm.QueryMod) operationQuery
- func (o *OperationType) TypeOperationsG(mods ...qm.QueryMod) operationQuery
- func (o *OperationType) Update(exec boil.Executor, whitelist ...string) error
- func (o *OperationType) UpdateG(whitelist ...string) error
- func (o *OperationType) UpdateGP(whitelist ...string)
- func (o *OperationType) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *OperationType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *OperationType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *OperationType) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *OperationType) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type OperationTypeSlice
- func (o OperationTypeSlice) DeleteAll(exec boil.Executor) error
- func (o OperationTypeSlice) DeleteAllG() error
- func (o OperationTypeSlice) DeleteAllGP()
- func (o OperationTypeSlice) DeleteAllP(exec boil.Executor)
- func (o *OperationTypeSlice) ReloadAll(exec boil.Executor) error
- func (o *OperationTypeSlice) ReloadAllG() error
- func (o *OperationTypeSlice) ReloadAllGP()
- func (o *OperationTypeSlice) ReloadAllP(exec boil.Executor)
- func (o OperationTypeSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OperationTypeSlice) UpdateAllG(cols M) error
- func (o OperationTypeSlice) UpdateAllGP(cols M)
- func (o OperationTypeSlice) UpdateAllP(exec boil.Executor, cols M)
- type Person
- func (o *Person) AddContentUnitsPersons(exec boil.Executor, insert bool, related ...*ContentUnitsPerson) error
- func (o *Person) AddContentUnitsPersonsG(insert bool, related ...*ContentUnitsPerson) error
- func (o *Person) AddContentUnitsPersonsGP(insert bool, related ...*ContentUnitsPerson)
- func (o *Person) AddContentUnitsPersonsP(exec boil.Executor, insert bool, related ...*ContentUnitsPerson)
- func (o *Person) AddPersonI18ns(exec boil.Executor, insert bool, related ...*PersonI18n) error
- func (o *Person) AddPersonI18nsG(insert bool, related ...*PersonI18n) error
- func (o *Person) AddPersonI18nsGP(insert bool, related ...*PersonI18n)
- func (o *Person) AddPersonI18nsP(exec boil.Executor, insert bool, related ...*PersonI18n)
- func (o *Person) ContentUnitsPersons(exec boil.Executor, mods ...qm.QueryMod) contentUnitsPersonQuery
- func (o *Person) ContentUnitsPersonsG(mods ...qm.QueryMod) contentUnitsPersonQuery
- func (o *Person) Delete(exec boil.Executor) error
- func (o *Person) DeleteG() error
- func (o *Person) DeleteGP()
- func (o *Person) DeleteP(exec boil.Executor)
- func (o *Person) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Person) InsertG(whitelist ...string) error
- func (o *Person) InsertGP(whitelist ...string)
- func (o *Person) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Person) PersonI18ns(exec boil.Executor, mods ...qm.QueryMod) personI18nQuery
- func (o *Person) PersonI18nsG(mods ...qm.QueryMod) personI18nQuery
- func (o *Person) Reload(exec boil.Executor) error
- func (o *Person) ReloadG() error
- func (o *Person) ReloadGP()
- func (o *Person) ReloadP(exec boil.Executor)
- func (o *Person) Update(exec boil.Executor, whitelist ...string) error
- func (o *Person) UpdateG(whitelist ...string) error
- func (o *Person) UpdateGP(whitelist ...string)
- func (o *Person) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Person) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Person) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Person) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Person) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type PersonI18n
- func FindPersonI18n(exec boil.Executor, personID int64, language string, selectCols ...string) (*PersonI18n, error)
- func FindPersonI18nG(personID int64, language string, selectCols ...string) (*PersonI18n, error)
- func FindPersonI18nGP(personID int64, language string, selectCols ...string) *PersonI18n
- func FindPersonI18nP(exec boil.Executor, personID int64, language string, selectCols ...string) *PersonI18n
- func (o *PersonI18n) Delete(exec boil.Executor) error
- func (o *PersonI18n) DeleteG() error
- func (o *PersonI18n) DeleteGP()
- func (o *PersonI18n) DeleteP(exec boil.Executor)
- func (o *PersonI18n) Insert(exec boil.Executor, whitelist ...string) error
- func (o *PersonI18n) InsertG(whitelist ...string) error
- func (o *PersonI18n) InsertGP(whitelist ...string)
- func (o *PersonI18n) InsertP(exec boil.Executor, whitelist ...string)
- func (o *PersonI18n) Person(exec boil.Executor, mods ...qm.QueryMod) personQuery
- func (o *PersonI18n) PersonG(mods ...qm.QueryMod) personQuery
- func (o *PersonI18n) Reload(exec boil.Executor) error
- func (o *PersonI18n) ReloadG() error
- func (o *PersonI18n) ReloadGP()
- func (o *PersonI18n) ReloadP(exec boil.Executor)
- func (o *PersonI18n) RemoveUser(exec boil.Executor, related *User) error
- func (o *PersonI18n) RemoveUserG(related *User) error
- func (o *PersonI18n) RemoveUserGP(related *User)
- func (o *PersonI18n) RemoveUserP(exec boil.Executor, related *User)
- func (o *PersonI18n) SetPerson(exec boil.Executor, insert bool, related *Person) error
- func (o *PersonI18n) SetPersonG(insert bool, related *Person) error
- func (o *PersonI18n) SetPersonGP(insert bool, related *Person)
- func (o *PersonI18n) SetPersonP(exec boil.Executor, insert bool, related *Person)
- func (o *PersonI18n) SetUser(exec boil.Executor, insert bool, related *User) error
- func (o *PersonI18n) SetUserG(insert bool, related *User) error
- func (o *PersonI18n) SetUserGP(insert bool, related *User)
- func (o *PersonI18n) SetUserP(exec boil.Executor, insert bool, related *User)
- func (o *PersonI18n) Update(exec boil.Executor, whitelist ...string) error
- func (o *PersonI18n) UpdateG(whitelist ...string) error
- func (o *PersonI18n) UpdateGP(whitelist ...string)
- func (o *PersonI18n) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *PersonI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *PersonI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *PersonI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *PersonI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *PersonI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
- func (o *PersonI18n) UserG(mods ...qm.QueryMod) userQuery
- type PersonI18nSlice
- func (o PersonI18nSlice) DeleteAll(exec boil.Executor) error
- func (o PersonI18nSlice) DeleteAllG() error
- func (o PersonI18nSlice) DeleteAllGP()
- func (o PersonI18nSlice) DeleteAllP(exec boil.Executor)
- func (o *PersonI18nSlice) ReloadAll(exec boil.Executor) error
- func (o *PersonI18nSlice) ReloadAllG() error
- func (o *PersonI18nSlice) ReloadAllGP()
- func (o *PersonI18nSlice) ReloadAllP(exec boil.Executor)
- func (o PersonI18nSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o PersonI18nSlice) UpdateAllG(cols M) error
- func (o PersonI18nSlice) UpdateAllGP(cols M)
- func (o PersonI18nSlice) UpdateAllP(exec boil.Executor, cols M)
- type PersonSlice
- func (o PersonSlice) DeleteAll(exec boil.Executor) error
- func (o PersonSlice) DeleteAllG() error
- func (o PersonSlice) DeleteAllGP()
- func (o PersonSlice) DeleteAllP(exec boil.Executor)
- func (o *PersonSlice) ReloadAll(exec boil.Executor) error
- func (o *PersonSlice) ReloadAllG() error
- func (o *PersonSlice) ReloadAllGP()
- func (o *PersonSlice) ReloadAllP(exec boil.Executor)
- func (o PersonSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o PersonSlice) UpdateAllG(cols M) error
- func (o PersonSlice) UpdateAllGP(cols M)
- func (o PersonSlice) UpdateAllP(exec boil.Executor, cols M)
- type Publisher
- func FindPublisher(exec boil.Executor, id int64, selectCols ...string) (*Publisher, error)
- func FindPublisherG(id int64, selectCols ...string) (*Publisher, error)
- func FindPublisherGP(id int64, selectCols ...string) *Publisher
- func FindPublisherP(exec boil.Executor, id int64, selectCols ...string) *Publisher
- func (o *Publisher) AddContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
- func (o *Publisher) AddContentUnitsG(insert bool, related ...*ContentUnit) error
- func (o *Publisher) AddContentUnitsGP(insert bool, related ...*ContentUnit)
- func (o *Publisher) AddContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
- func (o *Publisher) AddPublisherI18ns(exec boil.Executor, insert bool, related ...*PublisherI18n) error
- func (o *Publisher) AddPublisherI18nsG(insert bool, related ...*PublisherI18n) error
- func (o *Publisher) AddPublisherI18nsGP(insert bool, related ...*PublisherI18n)
- func (o *Publisher) AddPublisherI18nsP(exec boil.Executor, insert bool, related ...*PublisherI18n)
- func (o *Publisher) ContentUnits(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *Publisher) ContentUnitsG(mods ...qm.QueryMod) contentUnitQuery
- func (o *Publisher) Delete(exec boil.Executor) error
- func (o *Publisher) DeleteG() error
- func (o *Publisher) DeleteGP()
- func (o *Publisher) DeleteP(exec boil.Executor)
- func (o *Publisher) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Publisher) InsertG(whitelist ...string) error
- func (o *Publisher) InsertGP(whitelist ...string)
- func (o *Publisher) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Publisher) PublisherI18ns(exec boil.Executor, mods ...qm.QueryMod) publisherI18nQuery
- func (o *Publisher) PublisherI18nsG(mods ...qm.QueryMod) publisherI18nQuery
- func (o *Publisher) Reload(exec boil.Executor) error
- func (o *Publisher) ReloadG() error
- func (o *Publisher) ReloadGP()
- func (o *Publisher) ReloadP(exec boil.Executor)
- func (o *Publisher) RemoveContentUnits(exec boil.Executor, related ...*ContentUnit) error
- func (o *Publisher) RemoveContentUnitsG(related ...*ContentUnit) error
- func (o *Publisher) RemoveContentUnitsGP(related ...*ContentUnit)
- func (o *Publisher) RemoveContentUnitsP(exec boil.Executor, related ...*ContentUnit)
- func (o *Publisher) SetContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
- func (o *Publisher) SetContentUnitsG(insert bool, related ...*ContentUnit) error
- func (o *Publisher) SetContentUnitsGP(insert bool, related ...*ContentUnit)
- func (o *Publisher) SetContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
- func (o *Publisher) Update(exec boil.Executor, whitelist ...string) error
- func (o *Publisher) UpdateG(whitelist ...string) error
- func (o *Publisher) UpdateGP(whitelist ...string)
- func (o *Publisher) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Publisher) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Publisher) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Publisher) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Publisher) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type PublisherI18n
- func FindPublisherI18n(exec boil.Executor, publisherID int64, language string, selectCols ...string) (*PublisherI18n, error)
- func FindPublisherI18nG(publisherID int64, language string, selectCols ...string) (*PublisherI18n, error)
- func FindPublisherI18nGP(publisherID int64, language string, selectCols ...string) *PublisherI18n
- func FindPublisherI18nP(exec boil.Executor, publisherID int64, language string, selectCols ...string) *PublisherI18n
- func (o *PublisherI18n) Delete(exec boil.Executor) error
- func (o *PublisherI18n) DeleteG() error
- func (o *PublisherI18n) DeleteGP()
- func (o *PublisherI18n) DeleteP(exec boil.Executor)
- func (o *PublisherI18n) Insert(exec boil.Executor, whitelist ...string) error
- func (o *PublisherI18n) InsertG(whitelist ...string) error
- func (o *PublisherI18n) InsertGP(whitelist ...string)
- func (o *PublisherI18n) InsertP(exec boil.Executor, whitelist ...string)
- func (o *PublisherI18n) Publisher(exec boil.Executor, mods ...qm.QueryMod) publisherQuery
- func (o *PublisherI18n) PublisherG(mods ...qm.QueryMod) publisherQuery
- func (o *PublisherI18n) Reload(exec boil.Executor) error
- func (o *PublisherI18n) ReloadG() error
- func (o *PublisherI18n) ReloadGP()
- func (o *PublisherI18n) ReloadP(exec boil.Executor)
- func (o *PublisherI18n) RemoveUser(exec boil.Executor, related *User) error
- func (o *PublisherI18n) RemoveUserG(related *User) error
- func (o *PublisherI18n) RemoveUserGP(related *User)
- func (o *PublisherI18n) RemoveUserP(exec boil.Executor, related *User)
- func (o *PublisherI18n) SetPublisher(exec boil.Executor, insert bool, related *Publisher) error
- func (o *PublisherI18n) SetPublisherG(insert bool, related *Publisher) error
- func (o *PublisherI18n) SetPublisherGP(insert bool, related *Publisher)
- func (o *PublisherI18n) SetPublisherP(exec boil.Executor, insert bool, related *Publisher)
- func (o *PublisherI18n) SetUser(exec boil.Executor, insert bool, related *User) error
- func (o *PublisherI18n) SetUserG(insert bool, related *User) error
- func (o *PublisherI18n) SetUserGP(insert bool, related *User)
- func (o *PublisherI18n) SetUserP(exec boil.Executor, insert bool, related *User)
- func (o *PublisherI18n) Update(exec boil.Executor, whitelist ...string) error
- func (o *PublisherI18n) UpdateG(whitelist ...string) error
- func (o *PublisherI18n) UpdateGP(whitelist ...string)
- func (o *PublisherI18n) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *PublisherI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *PublisherI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *PublisherI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *PublisherI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *PublisherI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
- func (o *PublisherI18n) UserG(mods ...qm.QueryMod) userQuery
- type PublisherI18nSlice
- func (o PublisherI18nSlice) DeleteAll(exec boil.Executor) error
- func (o PublisherI18nSlice) DeleteAllG() error
- func (o PublisherI18nSlice) DeleteAllGP()
- func (o PublisherI18nSlice) DeleteAllP(exec boil.Executor)
- func (o *PublisherI18nSlice) ReloadAll(exec boil.Executor) error
- func (o *PublisherI18nSlice) ReloadAllG() error
- func (o *PublisherI18nSlice) ReloadAllGP()
- func (o *PublisherI18nSlice) ReloadAllP(exec boil.Executor)
- func (o PublisherI18nSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o PublisherI18nSlice) UpdateAllG(cols M) error
- func (o PublisherI18nSlice) UpdateAllGP(cols M)
- func (o PublisherI18nSlice) UpdateAllP(exec boil.Executor, cols M)
- type PublisherSlice
- func (o PublisherSlice) DeleteAll(exec boil.Executor) error
- func (o PublisherSlice) DeleteAllG() error
- func (o PublisherSlice) DeleteAllGP()
- func (o PublisherSlice) DeleteAllP(exec boil.Executor)
- func (o *PublisherSlice) ReloadAll(exec boil.Executor) error
- func (o *PublisherSlice) ReloadAllG() error
- func (o *PublisherSlice) ReloadAllGP()
- func (o *PublisherSlice) ReloadAllP(exec boil.Executor)
- func (o PublisherSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o PublisherSlice) UpdateAllG(cols M) error
- func (o PublisherSlice) UpdateAllGP(cols M)
- func (o PublisherSlice) UpdateAllP(exec boil.Executor, cols M)
- type Source
- func (o *Source) AddAuthors(exec boil.Executor, insert bool, related ...*Author) error
- func (o *Source) AddAuthorsG(insert bool, related ...*Author) error
- func (o *Source) AddAuthorsGP(insert bool, related ...*Author)
- func (o *Source) AddAuthorsP(exec boil.Executor, insert bool, related ...*Author)
- func (o *Source) AddContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
- func (o *Source) AddContentUnitsG(insert bool, related ...*ContentUnit) error
- func (o *Source) AddContentUnitsGP(insert bool, related ...*ContentUnit)
- func (o *Source) AddContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
- func (o *Source) AddParentSources(exec boil.Executor, insert bool, related ...*Source) error
- func (o *Source) AddParentSourcesG(insert bool, related ...*Source) error
- func (o *Source) AddParentSourcesGP(insert bool, related ...*Source)
- func (o *Source) AddParentSourcesP(exec boil.Executor, insert bool, related ...*Source)
- func (o *Source) AddSourceI18ns(exec boil.Executor, insert bool, related ...*SourceI18n) error
- func (o *Source) AddSourceI18nsG(insert bool, related ...*SourceI18n) error
- func (o *Source) AddSourceI18nsGP(insert bool, related ...*SourceI18n)
- func (o *Source) AddSourceI18nsP(exec boil.Executor, insert bool, related ...*SourceI18n)
- func (o *Source) Authors(exec boil.Executor, mods ...qm.QueryMod) authorQuery
- func (o *Source) AuthorsG(mods ...qm.QueryMod) authorQuery
- func (o *Source) ContentUnits(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *Source) ContentUnitsG(mods ...qm.QueryMod) contentUnitQuery
- func (o *Source) Delete(exec boil.Executor) error
- func (o *Source) DeleteG() error
- func (o *Source) DeleteGP()
- func (o *Source) DeleteP(exec boil.Executor)
- func (o *Source) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Source) InsertG(whitelist ...string) error
- func (o *Source) InsertGP(whitelist ...string)
- func (o *Source) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Source) Parent(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
- func (o *Source) ParentG(mods ...qm.QueryMod) sourceQuery
- func (o *Source) ParentSources(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
- func (o *Source) ParentSourcesG(mods ...qm.QueryMod) sourceQuery
- func (o *Source) Reload(exec boil.Executor) error
- func (o *Source) ReloadG() error
- func (o *Source) ReloadGP()
- func (o *Source) ReloadP(exec boil.Executor)
- func (o *Source) RemoveAuthors(exec boil.Executor, related ...*Author) error
- func (o *Source) RemoveAuthorsG(related ...*Author) error
- func (o *Source) RemoveAuthorsGP(related ...*Author)
- func (o *Source) RemoveAuthorsP(exec boil.Executor, related ...*Author)
- func (o *Source) RemoveContentUnits(exec boil.Executor, related ...*ContentUnit) error
- func (o *Source) RemoveContentUnitsG(related ...*ContentUnit) error
- func (o *Source) RemoveContentUnitsGP(related ...*ContentUnit)
- func (o *Source) RemoveContentUnitsP(exec boil.Executor, related ...*ContentUnit)
- func (o *Source) RemoveParent(exec boil.Executor, related *Source) error
- func (o *Source) RemoveParentG(related *Source) error
- func (o *Source) RemoveParentGP(related *Source)
- func (o *Source) RemoveParentP(exec boil.Executor, related *Source)
- func (o *Source) RemoveParentSources(exec boil.Executor, related ...*Source) error
- func (o *Source) RemoveParentSourcesG(related ...*Source) error
- func (o *Source) RemoveParentSourcesGP(related ...*Source)
- func (o *Source) RemoveParentSourcesP(exec boil.Executor, related ...*Source)
- func (o *Source) SetAuthors(exec boil.Executor, insert bool, related ...*Author) error
- func (o *Source) SetAuthorsG(insert bool, related ...*Author) error
- func (o *Source) SetAuthorsGP(insert bool, related ...*Author)
- func (o *Source) SetAuthorsP(exec boil.Executor, insert bool, related ...*Author)
- func (o *Source) SetContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
- func (o *Source) SetContentUnitsG(insert bool, related ...*ContentUnit) error
- func (o *Source) SetContentUnitsGP(insert bool, related ...*ContentUnit)
- func (o *Source) SetContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
- func (o *Source) SetParent(exec boil.Executor, insert bool, related *Source) error
- func (o *Source) SetParentG(insert bool, related *Source) error
- func (o *Source) SetParentGP(insert bool, related *Source)
- func (o *Source) SetParentP(exec boil.Executor, insert bool, related *Source)
- func (o *Source) SetParentSources(exec boil.Executor, insert bool, related ...*Source) error
- func (o *Source) SetParentSourcesG(insert bool, related ...*Source) error
- func (o *Source) SetParentSourcesGP(insert bool, related ...*Source)
- func (o *Source) SetParentSourcesP(exec boil.Executor, insert bool, related ...*Source)
- func (o *Source) SetType(exec boil.Executor, insert bool, related *SourceType) error
- func (o *Source) SetTypeG(insert bool, related *SourceType) error
- func (o *Source) SetTypeGP(insert bool, related *SourceType)
- func (o *Source) SetTypeP(exec boil.Executor, insert bool, related *SourceType)
- func (o *Source) SourceI18ns(exec boil.Executor, mods ...qm.QueryMod) sourceI18nQuery
- func (o *Source) SourceI18nsG(mods ...qm.QueryMod) sourceI18nQuery
- func (o *Source) Type(exec boil.Executor, mods ...qm.QueryMod) sourceTypeQuery
- func (o *Source) TypeG(mods ...qm.QueryMod) sourceTypeQuery
- func (o *Source) Update(exec boil.Executor, whitelist ...string) error
- func (o *Source) UpdateG(whitelist ...string) error
- func (o *Source) UpdateGP(whitelist ...string)
- func (o *Source) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Source) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Source) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Source) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Source) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type SourceI18n
- func FindSourceI18n(exec boil.Executor, sourceID int64, language string, selectCols ...string) (*SourceI18n, error)
- func FindSourceI18nG(sourceID int64, language string, selectCols ...string) (*SourceI18n, error)
- func FindSourceI18nGP(sourceID int64, language string, selectCols ...string) *SourceI18n
- func FindSourceI18nP(exec boil.Executor, sourceID int64, language string, selectCols ...string) *SourceI18n
- func (o *SourceI18n) Delete(exec boil.Executor) error
- func (o *SourceI18n) DeleteG() error
- func (o *SourceI18n) DeleteGP()
- func (o *SourceI18n) DeleteP(exec boil.Executor)
- func (o *SourceI18n) Insert(exec boil.Executor, whitelist ...string) error
- func (o *SourceI18n) InsertG(whitelist ...string) error
- func (o *SourceI18n) InsertGP(whitelist ...string)
- func (o *SourceI18n) InsertP(exec boil.Executor, whitelist ...string)
- func (o *SourceI18n) Reload(exec boil.Executor) error
- func (o *SourceI18n) ReloadG() error
- func (o *SourceI18n) ReloadGP()
- func (o *SourceI18n) ReloadP(exec boil.Executor)
- func (o *SourceI18n) SetSource(exec boil.Executor, insert bool, related *Source) error
- func (o *SourceI18n) SetSourceG(insert bool, related *Source) error
- func (o *SourceI18n) SetSourceGP(insert bool, related *Source)
- func (o *SourceI18n) SetSourceP(exec boil.Executor, insert bool, related *Source)
- func (o *SourceI18n) Source(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
- func (o *SourceI18n) SourceG(mods ...qm.QueryMod) sourceQuery
- func (o *SourceI18n) Update(exec boil.Executor, whitelist ...string) error
- func (o *SourceI18n) UpdateG(whitelist ...string) error
- func (o *SourceI18n) UpdateGP(whitelist ...string)
- func (o *SourceI18n) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *SourceI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *SourceI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *SourceI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *SourceI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type SourceI18nSlice
- func (o SourceI18nSlice) DeleteAll(exec boil.Executor) error
- func (o SourceI18nSlice) DeleteAllG() error
- func (o SourceI18nSlice) DeleteAllGP()
- func (o SourceI18nSlice) DeleteAllP(exec boil.Executor)
- func (o *SourceI18nSlice) ReloadAll(exec boil.Executor) error
- func (o *SourceI18nSlice) ReloadAllG() error
- func (o *SourceI18nSlice) ReloadAllGP()
- func (o *SourceI18nSlice) ReloadAllP(exec boil.Executor)
- func (o SourceI18nSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o SourceI18nSlice) UpdateAllG(cols M) error
- func (o SourceI18nSlice) UpdateAllGP(cols M)
- func (o SourceI18nSlice) UpdateAllP(exec boil.Executor, cols M)
- type SourceSlice
- func (o SourceSlice) DeleteAll(exec boil.Executor) error
- func (o SourceSlice) DeleteAllG() error
- func (o SourceSlice) DeleteAllGP()
- func (o SourceSlice) DeleteAllP(exec boil.Executor)
- func (o *SourceSlice) ReloadAll(exec boil.Executor) error
- func (o *SourceSlice) ReloadAllG() error
- func (o *SourceSlice) ReloadAllGP()
- func (o *SourceSlice) ReloadAllP(exec boil.Executor)
- func (o SourceSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o SourceSlice) UpdateAllG(cols M) error
- func (o SourceSlice) UpdateAllGP(cols M)
- func (o SourceSlice) UpdateAllP(exec boil.Executor, cols M)
- type SourceType
- func FindSourceType(exec boil.Executor, id int64, selectCols ...string) (*SourceType, error)
- func FindSourceTypeG(id int64, selectCols ...string) (*SourceType, error)
- func FindSourceTypeGP(id int64, selectCols ...string) *SourceType
- func FindSourceTypeP(exec boil.Executor, id int64, selectCols ...string) *SourceType
- func (o *SourceType) AddTypeSources(exec boil.Executor, insert bool, related ...*Source) error
- func (o *SourceType) AddTypeSourcesG(insert bool, related ...*Source) error
- func (o *SourceType) AddTypeSourcesGP(insert bool, related ...*Source)
- func (o *SourceType) AddTypeSourcesP(exec boil.Executor, insert bool, related ...*Source)
- func (o *SourceType) Delete(exec boil.Executor) error
- func (o *SourceType) DeleteG() error
- func (o *SourceType) DeleteGP()
- func (o *SourceType) DeleteP(exec boil.Executor)
- func (o *SourceType) Insert(exec boil.Executor, whitelist ...string) error
- func (o *SourceType) InsertG(whitelist ...string) error
- func (o *SourceType) InsertGP(whitelist ...string)
- func (o *SourceType) InsertP(exec boil.Executor, whitelist ...string)
- func (o *SourceType) Reload(exec boil.Executor) error
- func (o *SourceType) ReloadG() error
- func (o *SourceType) ReloadGP()
- func (o *SourceType) ReloadP(exec boil.Executor)
- func (o *SourceType) TypeSources(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
- func (o *SourceType) TypeSourcesG(mods ...qm.QueryMod) sourceQuery
- func (o *SourceType) Update(exec boil.Executor, whitelist ...string) error
- func (o *SourceType) UpdateG(whitelist ...string) error
- func (o *SourceType) UpdateGP(whitelist ...string)
- func (o *SourceType) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *SourceType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *SourceType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *SourceType) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *SourceType) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type SourceTypeSlice
- func (o SourceTypeSlice) DeleteAll(exec boil.Executor) error
- func (o SourceTypeSlice) DeleteAllG() error
- func (o SourceTypeSlice) DeleteAllGP()
- func (o SourceTypeSlice) DeleteAllP(exec boil.Executor)
- func (o *SourceTypeSlice) ReloadAll(exec boil.Executor) error
- func (o *SourceTypeSlice) ReloadAllG() error
- func (o *SourceTypeSlice) ReloadAllGP()
- func (o *SourceTypeSlice) ReloadAllP(exec boil.Executor)
- func (o SourceTypeSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o SourceTypeSlice) UpdateAllG(cols M) error
- func (o SourceTypeSlice) UpdateAllGP(cols M)
- func (o SourceTypeSlice) UpdateAllP(exec boil.Executor, cols M)
- type Storage
- func (o *Storage) AddFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *Storage) AddFilesG(insert bool, related ...*File) error
- func (o *Storage) AddFilesGP(insert bool, related ...*File)
- func (o *Storage) AddFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *Storage) Delete(exec boil.Executor) error
- func (o *Storage) DeleteG() error
- func (o *Storage) DeleteGP()
- func (o *Storage) DeleteP(exec boil.Executor)
- func (o *Storage) Files(exec boil.Executor, mods ...qm.QueryMod) fileQuery
- func (o *Storage) FilesG(mods ...qm.QueryMod) fileQuery
- func (o *Storage) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Storage) InsertG(whitelist ...string) error
- func (o *Storage) InsertGP(whitelist ...string)
- func (o *Storage) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Storage) Reload(exec boil.Executor) error
- func (o *Storage) ReloadG() error
- func (o *Storage) ReloadGP()
- func (o *Storage) ReloadP(exec boil.Executor)
- func (o *Storage) RemoveFiles(exec boil.Executor, related ...*File) error
- func (o *Storage) RemoveFilesG(related ...*File) error
- func (o *Storage) RemoveFilesGP(related ...*File)
- func (o *Storage) RemoveFilesP(exec boil.Executor, related ...*File)
- func (o *Storage) SetFiles(exec boil.Executor, insert bool, related ...*File) error
- func (o *Storage) SetFilesG(insert bool, related ...*File) error
- func (o *Storage) SetFilesGP(insert bool, related ...*File)
- func (o *Storage) SetFilesP(exec boil.Executor, insert bool, related ...*File)
- func (o *Storage) Update(exec boil.Executor, whitelist ...string) error
- func (o *Storage) UpdateG(whitelist ...string) error
- func (o *Storage) UpdateGP(whitelist ...string)
- func (o *Storage) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Storage) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Storage) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Storage) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Storage) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type StorageSlice
- func (o StorageSlice) DeleteAll(exec boil.Executor) error
- func (o StorageSlice) DeleteAllG() error
- func (o StorageSlice) DeleteAllGP()
- func (o StorageSlice) DeleteAllP(exec boil.Executor)
- func (o *StorageSlice) ReloadAll(exec boil.Executor) error
- func (o *StorageSlice) ReloadAllG() error
- func (o *StorageSlice) ReloadAllGP()
- func (o *StorageSlice) ReloadAllP(exec boil.Executor)
- func (o StorageSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o StorageSlice) UpdateAllG(cols M) error
- func (o StorageSlice) UpdateAllGP(cols M)
- func (o StorageSlice) UpdateAllP(exec boil.Executor, cols M)
- type Tag
- func (o *Tag) AddContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
- func (o *Tag) AddContentUnitsG(insert bool, related ...*ContentUnit) error
- func (o *Tag) AddContentUnitsGP(insert bool, related ...*ContentUnit)
- func (o *Tag) AddContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
- func (o *Tag) AddParentTags(exec boil.Executor, insert bool, related ...*Tag) error
- func (o *Tag) AddParentTagsG(insert bool, related ...*Tag) error
- func (o *Tag) AddParentTagsGP(insert bool, related ...*Tag)
- func (o *Tag) AddParentTagsP(exec boil.Executor, insert bool, related ...*Tag)
- func (o *Tag) AddTagI18ns(exec boil.Executor, insert bool, related ...*TagI18n) error
- func (o *Tag) AddTagI18nsG(insert bool, related ...*TagI18n) error
- func (o *Tag) AddTagI18nsGP(insert bool, related ...*TagI18n)
- func (o *Tag) AddTagI18nsP(exec boil.Executor, insert bool, related ...*TagI18n)
- func (o *Tag) ContentUnits(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
- func (o *Tag) ContentUnitsG(mods ...qm.QueryMod) contentUnitQuery
- func (o *Tag) Delete(exec boil.Executor) error
- func (o *Tag) DeleteG() error
- func (o *Tag) DeleteGP()
- func (o *Tag) DeleteP(exec boil.Executor)
- func (o *Tag) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Tag) InsertG(whitelist ...string) error
- func (o *Tag) InsertGP(whitelist ...string)
- func (o *Tag) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Tag) Parent(exec boil.Executor, mods ...qm.QueryMod) tagQuery
- func (o *Tag) ParentG(mods ...qm.QueryMod) tagQuery
- func (o *Tag) ParentTags(exec boil.Executor, mods ...qm.QueryMod) tagQuery
- func (o *Tag) ParentTagsG(mods ...qm.QueryMod) tagQuery
- func (o *Tag) Reload(exec boil.Executor) error
- func (o *Tag) ReloadG() error
- func (o *Tag) ReloadGP()
- func (o *Tag) ReloadP(exec boil.Executor)
- func (o *Tag) RemoveContentUnits(exec boil.Executor, related ...*ContentUnit) error
- func (o *Tag) RemoveContentUnitsG(related ...*ContentUnit) error
- func (o *Tag) RemoveContentUnitsGP(related ...*ContentUnit)
- func (o *Tag) RemoveContentUnitsP(exec boil.Executor, related ...*ContentUnit)
- func (o *Tag) RemoveParent(exec boil.Executor, related *Tag) error
- func (o *Tag) RemoveParentG(related *Tag) error
- func (o *Tag) RemoveParentGP(related *Tag)
- func (o *Tag) RemoveParentP(exec boil.Executor, related *Tag)
- func (o *Tag) RemoveParentTags(exec boil.Executor, related ...*Tag) error
- func (o *Tag) RemoveParentTagsG(related ...*Tag) error
- func (o *Tag) RemoveParentTagsGP(related ...*Tag)
- func (o *Tag) RemoveParentTagsP(exec boil.Executor, related ...*Tag)
- func (o *Tag) SetContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
- func (o *Tag) SetContentUnitsG(insert bool, related ...*ContentUnit) error
- func (o *Tag) SetContentUnitsGP(insert bool, related ...*ContentUnit)
- func (o *Tag) SetContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
- func (o *Tag) SetParent(exec boil.Executor, insert bool, related *Tag) error
- func (o *Tag) SetParentG(insert bool, related *Tag) error
- func (o *Tag) SetParentGP(insert bool, related *Tag)
- func (o *Tag) SetParentP(exec boil.Executor, insert bool, related *Tag)
- func (o *Tag) SetParentTags(exec boil.Executor, insert bool, related ...*Tag) error
- func (o *Tag) SetParentTagsG(insert bool, related ...*Tag) error
- func (o *Tag) SetParentTagsGP(insert bool, related ...*Tag)
- func (o *Tag) SetParentTagsP(exec boil.Executor, insert bool, related ...*Tag)
- func (o *Tag) TagI18ns(exec boil.Executor, mods ...qm.QueryMod) tagI18nQuery
- func (o *Tag) TagI18nsG(mods ...qm.QueryMod) tagI18nQuery
- func (o *Tag) Update(exec boil.Executor, whitelist ...string) error
- func (o *Tag) UpdateG(whitelist ...string) error
- func (o *Tag) UpdateGP(whitelist ...string)
- func (o *Tag) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Tag) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Tag) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Tag) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Tag) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type TagI18n
- func FindTagI18n(exec boil.Executor, tagID int64, language string, selectCols ...string) (*TagI18n, error)
- func FindTagI18nG(tagID int64, language string, selectCols ...string) (*TagI18n, error)
- func FindTagI18nGP(tagID int64, language string, selectCols ...string) *TagI18n
- func FindTagI18nP(exec boil.Executor, tagID int64, language string, selectCols ...string) *TagI18n
- func (o *TagI18n) Delete(exec boil.Executor) error
- func (o *TagI18n) DeleteG() error
- func (o *TagI18n) DeleteGP()
- func (o *TagI18n) DeleteP(exec boil.Executor)
- func (o *TagI18n) Insert(exec boil.Executor, whitelist ...string) error
- func (o *TagI18n) InsertG(whitelist ...string) error
- func (o *TagI18n) InsertGP(whitelist ...string)
- func (o *TagI18n) InsertP(exec boil.Executor, whitelist ...string)
- func (o *TagI18n) Reload(exec boil.Executor) error
- func (o *TagI18n) ReloadG() error
- func (o *TagI18n) ReloadGP()
- func (o *TagI18n) ReloadP(exec boil.Executor)
- func (o *TagI18n) RemoveUser(exec boil.Executor, related *User) error
- func (o *TagI18n) RemoveUserG(related *User) error
- func (o *TagI18n) RemoveUserGP(related *User)
- func (o *TagI18n) RemoveUserP(exec boil.Executor, related *User)
- func (o *TagI18n) SetTag(exec boil.Executor, insert bool, related *Tag) error
- func (o *TagI18n) SetTagG(insert bool, related *Tag) error
- func (o *TagI18n) SetTagGP(insert bool, related *Tag)
- func (o *TagI18n) SetTagP(exec boil.Executor, insert bool, related *Tag)
- func (o *TagI18n) SetUser(exec boil.Executor, insert bool, related *User) error
- func (o *TagI18n) SetUserG(insert bool, related *User) error
- func (o *TagI18n) SetUserGP(insert bool, related *User)
- func (o *TagI18n) SetUserP(exec boil.Executor, insert bool, related *User)
- func (o *TagI18n) Tag(exec boil.Executor, mods ...qm.QueryMod) tagQuery
- func (o *TagI18n) TagG(mods ...qm.QueryMod) tagQuery
- func (o *TagI18n) Update(exec boil.Executor, whitelist ...string) error
- func (o *TagI18n) UpdateG(whitelist ...string) error
- func (o *TagI18n) UpdateGP(whitelist ...string)
- func (o *TagI18n) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *TagI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *TagI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *TagI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *TagI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *TagI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
- func (o *TagI18n) UserG(mods ...qm.QueryMod) userQuery
- type TagI18nSlice
- func (o TagI18nSlice) DeleteAll(exec boil.Executor) error
- func (o TagI18nSlice) DeleteAllG() error
- func (o TagI18nSlice) DeleteAllGP()
- func (o TagI18nSlice) DeleteAllP(exec boil.Executor)
- func (o *TagI18nSlice) ReloadAll(exec boil.Executor) error
- func (o *TagI18nSlice) ReloadAllG() error
- func (o *TagI18nSlice) ReloadAllGP()
- func (o *TagI18nSlice) ReloadAllP(exec boil.Executor)
- func (o TagI18nSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o TagI18nSlice) UpdateAllG(cols M) error
- func (o TagI18nSlice) UpdateAllGP(cols M)
- func (o TagI18nSlice) UpdateAllP(exec boil.Executor, cols M)
- type TagSlice
- func (o TagSlice) DeleteAll(exec boil.Executor) error
- func (o TagSlice) DeleteAllG() error
- func (o TagSlice) DeleteAllGP()
- func (o TagSlice) DeleteAllP(exec boil.Executor)
- func (o *TagSlice) ReloadAll(exec boil.Executor) error
- func (o *TagSlice) ReloadAllG() error
- func (o *TagSlice) ReloadAllGP()
- func (o *TagSlice) ReloadAllP(exec boil.Executor)
- func (o TagSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o TagSlice) UpdateAllG(cols M) error
- func (o TagSlice) UpdateAllGP(cols M)
- func (o TagSlice) UpdateAllP(exec boil.Executor, cols M)
- type TwitterTweet
- func FindTwitterTweet(exec boil.Executor, id int64, selectCols ...string) (*TwitterTweet, error)
- func FindTwitterTweetG(id int64, selectCols ...string) (*TwitterTweet, error)
- func FindTwitterTweetGP(id int64, selectCols ...string) *TwitterTweet
- func FindTwitterTweetP(exec boil.Executor, id int64, selectCols ...string) *TwitterTweet
- func (o *TwitterTweet) Delete(exec boil.Executor) error
- func (o *TwitterTweet) DeleteG() error
- func (o *TwitterTweet) DeleteGP()
- func (o *TwitterTweet) DeleteP(exec boil.Executor)
- func (o *TwitterTweet) Insert(exec boil.Executor, whitelist ...string) error
- func (o *TwitterTweet) InsertG(whitelist ...string) error
- func (o *TwitterTweet) InsertGP(whitelist ...string)
- func (o *TwitterTweet) InsertP(exec boil.Executor, whitelist ...string)
- func (o *TwitterTweet) Reload(exec boil.Executor) error
- func (o *TwitterTweet) ReloadG() error
- func (o *TwitterTweet) ReloadGP()
- func (o *TwitterTweet) ReloadP(exec boil.Executor)
- func (o *TwitterTweet) SetUser(exec boil.Executor, insert bool, related *TwitterUser) error
- func (o *TwitterTweet) SetUserG(insert bool, related *TwitterUser) error
- func (o *TwitterTweet) SetUserGP(insert bool, related *TwitterUser)
- func (o *TwitterTweet) SetUserP(exec boil.Executor, insert bool, related *TwitterUser)
- func (o *TwitterTweet) Update(exec boil.Executor, whitelist ...string) error
- func (o *TwitterTweet) UpdateG(whitelist ...string) error
- func (o *TwitterTweet) UpdateGP(whitelist ...string)
- func (o *TwitterTweet) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *TwitterTweet) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *TwitterTweet) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *TwitterTweet) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *TwitterTweet) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *TwitterTweet) User(exec boil.Executor, mods ...qm.QueryMod) twitterUserQuery
- func (o *TwitterTweet) UserG(mods ...qm.QueryMod) twitterUserQuery
- type TwitterTweetSlice
- func (o TwitterTweetSlice) DeleteAll(exec boil.Executor) error
- func (o TwitterTweetSlice) DeleteAllG() error
- func (o TwitterTweetSlice) DeleteAllGP()
- func (o TwitterTweetSlice) DeleteAllP(exec boil.Executor)
- func (o *TwitterTweetSlice) ReloadAll(exec boil.Executor) error
- func (o *TwitterTweetSlice) ReloadAllG() error
- func (o *TwitterTweetSlice) ReloadAllGP()
- func (o *TwitterTweetSlice) ReloadAllP(exec boil.Executor)
- func (o TwitterTweetSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o TwitterTweetSlice) UpdateAllG(cols M) error
- func (o TwitterTweetSlice) UpdateAllGP(cols M)
- func (o TwitterTweetSlice) UpdateAllP(exec boil.Executor, cols M)
- type TwitterUser
- func FindTwitterUser(exec boil.Executor, id int64, selectCols ...string) (*TwitterUser, error)
- func FindTwitterUserG(id int64, selectCols ...string) (*TwitterUser, error)
- func FindTwitterUserGP(id int64, selectCols ...string) *TwitterUser
- func FindTwitterUserP(exec boil.Executor, id int64, selectCols ...string) *TwitterUser
- func (o *TwitterUser) AddUserTwitterTweets(exec boil.Executor, insert bool, related ...*TwitterTweet) error
- func (o *TwitterUser) AddUserTwitterTweetsG(insert bool, related ...*TwitterTweet) error
- func (o *TwitterUser) AddUserTwitterTweetsGP(insert bool, related ...*TwitterTweet)
- func (o *TwitterUser) AddUserTwitterTweetsP(exec boil.Executor, insert bool, related ...*TwitterTweet)
- func (o *TwitterUser) Delete(exec boil.Executor) error
- func (o *TwitterUser) DeleteG() error
- func (o *TwitterUser) DeleteGP()
- func (o *TwitterUser) DeleteP(exec boil.Executor)
- func (o *TwitterUser) Insert(exec boil.Executor, whitelist ...string) error
- func (o *TwitterUser) InsertG(whitelist ...string) error
- func (o *TwitterUser) InsertGP(whitelist ...string)
- func (o *TwitterUser) InsertP(exec boil.Executor, whitelist ...string)
- func (o *TwitterUser) Reload(exec boil.Executor) error
- func (o *TwitterUser) ReloadG() error
- func (o *TwitterUser) ReloadGP()
- func (o *TwitterUser) ReloadP(exec boil.Executor)
- func (o *TwitterUser) Update(exec boil.Executor, whitelist ...string) error
- func (o *TwitterUser) UpdateG(whitelist ...string) error
- func (o *TwitterUser) UpdateGP(whitelist ...string)
- func (o *TwitterUser) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *TwitterUser) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *TwitterUser) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *TwitterUser) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *TwitterUser) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- func (o *TwitterUser) UserTwitterTweets(exec boil.Executor, mods ...qm.QueryMod) twitterTweetQuery
- func (o *TwitterUser) UserTwitterTweetsG(mods ...qm.QueryMod) twitterTweetQuery
- type TwitterUserSlice
- func (o TwitterUserSlice) DeleteAll(exec boil.Executor) error
- func (o TwitterUserSlice) DeleteAllG() error
- func (o TwitterUserSlice) DeleteAllGP()
- func (o TwitterUserSlice) DeleteAllP(exec boil.Executor)
- func (o *TwitterUserSlice) ReloadAll(exec boil.Executor) error
- func (o *TwitterUserSlice) ReloadAllG() error
- func (o *TwitterUserSlice) ReloadAllGP()
- func (o *TwitterUserSlice) ReloadAllP(exec boil.Executor)
- func (o TwitterUserSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o TwitterUserSlice) UpdateAllG(cols M) error
- func (o TwitterUserSlice) UpdateAllGP(cols M)
- func (o TwitterUserSlice) UpdateAllP(exec boil.Executor, cols M)
- type User
- func (o *User) AddCollectionI18ns(exec boil.Executor, insert bool, related ...*CollectionI18n) error
- func (o *User) AddCollectionI18nsG(insert bool, related ...*CollectionI18n) error
- func (o *User) AddCollectionI18nsGP(insert bool, related ...*CollectionI18n)
- func (o *User) AddCollectionI18nsP(exec boil.Executor, insert bool, related ...*CollectionI18n)
- func (o *User) AddContentUnitI18ns(exec boil.Executor, insert bool, related ...*ContentUnitI18n) error
- func (o *User) AddContentUnitI18nsG(insert bool, related ...*ContentUnitI18n) error
- func (o *User) AddContentUnitI18nsGP(insert bool, related ...*ContentUnitI18n)
- func (o *User) AddContentUnitI18nsP(exec boil.Executor, insert bool, related ...*ContentUnitI18n)
- func (o *User) AddOperations(exec boil.Executor, insert bool, related ...*Operation) error
- func (o *User) AddOperationsG(insert bool, related ...*Operation) error
- func (o *User) AddOperationsGP(insert bool, related ...*Operation)
- func (o *User) AddOperationsP(exec boil.Executor, insert bool, related ...*Operation)
- func (o *User) AddPersonI18ns(exec boil.Executor, insert bool, related ...*PersonI18n) error
- func (o *User) AddPersonI18nsG(insert bool, related ...*PersonI18n) error
- func (o *User) AddPersonI18nsGP(insert bool, related ...*PersonI18n)
- func (o *User) AddPersonI18nsP(exec boil.Executor, insert bool, related ...*PersonI18n)
- func (o *User) AddPublisherI18ns(exec boil.Executor, insert bool, related ...*PublisherI18n) error
- func (o *User) AddPublisherI18nsG(insert bool, related ...*PublisherI18n) error
- func (o *User) AddPublisherI18nsGP(insert bool, related ...*PublisherI18n)
- func (o *User) AddPublisherI18nsP(exec boil.Executor, insert bool, related ...*PublisherI18n)
- func (o *User) AddTagI18ns(exec boil.Executor, insert bool, related ...*TagI18n) error
- func (o *User) AddTagI18nsG(insert bool, related ...*TagI18n) error
- func (o *User) AddTagI18nsGP(insert bool, related ...*TagI18n)
- func (o *User) AddTagI18nsP(exec boil.Executor, insert bool, related ...*TagI18n)
- func (o *User) CollectionI18ns(exec boil.Executor, mods ...qm.QueryMod) collectionI18nQuery
- func (o *User) CollectionI18nsG(mods ...qm.QueryMod) collectionI18nQuery
- func (o *User) ContentUnitI18ns(exec boil.Executor, mods ...qm.QueryMod) contentUnitI18nQuery
- func (o *User) ContentUnitI18nsG(mods ...qm.QueryMod) contentUnitI18nQuery
- func (o *User) Delete(exec boil.Executor) error
- func (o *User) DeleteG() error
- func (o *User) DeleteGP()
- func (o *User) DeleteP(exec boil.Executor)
- func (o *User) Insert(exec boil.Executor, whitelist ...string) error
- func (o *User) InsertG(whitelist ...string) error
- func (o *User) InsertGP(whitelist ...string)
- func (o *User) InsertP(exec boil.Executor, whitelist ...string)
- func (o *User) Operations(exec boil.Executor, mods ...qm.QueryMod) operationQuery
- func (o *User) OperationsG(mods ...qm.QueryMod) operationQuery
- func (o *User) PersonI18ns(exec boil.Executor, mods ...qm.QueryMod) personI18nQuery
- func (o *User) PersonI18nsG(mods ...qm.QueryMod) personI18nQuery
- func (o *User) PublisherI18ns(exec boil.Executor, mods ...qm.QueryMod) publisherI18nQuery
- func (o *User) PublisherI18nsG(mods ...qm.QueryMod) publisherI18nQuery
- func (o *User) Reload(exec boil.Executor) error
- func (o *User) ReloadG() error
- func (o *User) ReloadGP()
- func (o *User) ReloadP(exec boil.Executor)
- func (o *User) RemoveCollectionI18ns(exec boil.Executor, related ...*CollectionI18n) error
- func (o *User) RemoveCollectionI18nsG(related ...*CollectionI18n) error
- func (o *User) RemoveCollectionI18nsGP(related ...*CollectionI18n)
- func (o *User) RemoveCollectionI18nsP(exec boil.Executor, related ...*CollectionI18n)
- func (o *User) RemoveContentUnitI18ns(exec boil.Executor, related ...*ContentUnitI18n) error
- func (o *User) RemoveContentUnitI18nsG(related ...*ContentUnitI18n) error
- func (o *User) RemoveContentUnitI18nsGP(related ...*ContentUnitI18n)
- func (o *User) RemoveContentUnitI18nsP(exec boil.Executor, related ...*ContentUnitI18n)
- func (o *User) RemoveOperations(exec boil.Executor, related ...*Operation) error
- func (o *User) RemoveOperationsG(related ...*Operation) error
- func (o *User) RemoveOperationsGP(related ...*Operation)
- func (o *User) RemoveOperationsP(exec boil.Executor, related ...*Operation)
- func (o *User) RemovePersonI18ns(exec boil.Executor, related ...*PersonI18n) error
- func (o *User) RemovePersonI18nsG(related ...*PersonI18n) error
- func (o *User) RemovePersonI18nsGP(related ...*PersonI18n)
- func (o *User) RemovePersonI18nsP(exec boil.Executor, related ...*PersonI18n)
- func (o *User) RemovePublisherI18ns(exec boil.Executor, related ...*PublisherI18n) error
- func (o *User) RemovePublisherI18nsG(related ...*PublisherI18n) error
- func (o *User) RemovePublisherI18nsGP(related ...*PublisherI18n)
- func (o *User) RemovePublisherI18nsP(exec boil.Executor, related ...*PublisherI18n)
- func (o *User) RemoveTagI18ns(exec boil.Executor, related ...*TagI18n) error
- func (o *User) RemoveTagI18nsG(related ...*TagI18n) error
- func (o *User) RemoveTagI18nsGP(related ...*TagI18n)
- func (o *User) RemoveTagI18nsP(exec boil.Executor, related ...*TagI18n)
- func (o *User) SetCollectionI18ns(exec boil.Executor, insert bool, related ...*CollectionI18n) error
- func (o *User) SetCollectionI18nsG(insert bool, related ...*CollectionI18n) error
- func (o *User) SetCollectionI18nsGP(insert bool, related ...*CollectionI18n)
- func (o *User) SetCollectionI18nsP(exec boil.Executor, insert bool, related ...*CollectionI18n)
- func (o *User) SetContentUnitI18ns(exec boil.Executor, insert bool, related ...*ContentUnitI18n) error
- func (o *User) SetContentUnitI18nsG(insert bool, related ...*ContentUnitI18n) error
- func (o *User) SetContentUnitI18nsGP(insert bool, related ...*ContentUnitI18n)
- func (o *User) SetContentUnitI18nsP(exec boil.Executor, insert bool, related ...*ContentUnitI18n)
- func (o *User) SetOperations(exec boil.Executor, insert bool, related ...*Operation) error
- func (o *User) SetOperationsG(insert bool, related ...*Operation) error
- func (o *User) SetOperationsGP(insert bool, related ...*Operation)
- func (o *User) SetOperationsP(exec boil.Executor, insert bool, related ...*Operation)
- func (o *User) SetPersonI18ns(exec boil.Executor, insert bool, related ...*PersonI18n) error
- func (o *User) SetPersonI18nsG(insert bool, related ...*PersonI18n) error
- func (o *User) SetPersonI18nsGP(insert bool, related ...*PersonI18n)
- func (o *User) SetPersonI18nsP(exec boil.Executor, insert bool, related ...*PersonI18n)
- func (o *User) SetPublisherI18ns(exec boil.Executor, insert bool, related ...*PublisherI18n) error
- func (o *User) SetPublisherI18nsG(insert bool, related ...*PublisherI18n) error
- func (o *User) SetPublisherI18nsGP(insert bool, related ...*PublisherI18n)
- func (o *User) SetPublisherI18nsP(exec boil.Executor, insert bool, related ...*PublisherI18n)
- func (o *User) SetTagI18ns(exec boil.Executor, insert bool, related ...*TagI18n) error
- func (o *User) SetTagI18nsG(insert bool, related ...*TagI18n) error
- func (o *User) SetTagI18nsGP(insert bool, related ...*TagI18n)
- func (o *User) SetTagI18nsP(exec boil.Executor, insert bool, related ...*TagI18n)
- func (o *User) TagI18ns(exec boil.Executor, mods ...qm.QueryMod) tagI18nQuery
- func (o *User) TagI18nsG(mods ...qm.QueryMod) tagI18nQuery
- func (o *User) Update(exec boil.Executor, whitelist ...string) error
- func (o *User) UpdateG(whitelist ...string) error
- func (o *User) UpdateGP(whitelist ...string)
- func (o *User) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *User) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *User) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *User) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *User) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type UserSlice
- func (o UserSlice) DeleteAll(exec boil.Executor) error
- func (o UserSlice) DeleteAllG() error
- func (o UserSlice) DeleteAllGP()
- func (o UserSlice) DeleteAllP(exec boil.Executor)
- func (o *UserSlice) ReloadAll(exec boil.Executor) error
- func (o *UserSlice) ReloadAllG() error
- func (o *UserSlice) ReloadAllGP()
- func (o *UserSlice) ReloadAllP(exec boil.Executor)
- func (o UserSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o UserSlice) UpdateAllG(cols M) error
- func (o UserSlice) UpdateAllGP(cols M)
- func (o UserSlice) UpdateAllP(exec boil.Executor, cols M)
Constants ¶
This section is empty.
Variables ¶
var AuthorColumns = struct { ID string Code string Name string FullName string CreatedAt string }{ ID: "id", Code: "code", Name: "name", FullName: "full_name", CreatedAt: "created_at", }
var AuthorI18nColumns = struct { AuthorID string Language string Name string FullName string CreatedAt string }{ AuthorID: "author_id", Language: "language", Name: "name", FullName: "full_name", CreatedAt: "created_at", }
var BlogColumns = struct { ID string Name string URL string }{ ID: "id", Name: "name", URL: "url", }
var BlogPostColumns = struct { ID string BlogID string WPID string Title string Content string PostedAt string CreatedAt string Link string Filtered string }{ ID: "id", BlogID: "blog_id", WPID: "wp_id", Title: "title", Content: "content", PostedAt: "posted_at", CreatedAt: "created_at", Link: "link", Filtered: "filtered", }
var CollectionColumns = struct { ID string UID string TypeID string CreatedAt string Properties string Secure string Published string }{ ID: "id", UID: "uid", TypeID: "type_id", CreatedAt: "created_at", Properties: "properties", Secure: "secure", Published: "published", }
var CollectionI18nColumns = struct { CollectionID string Language string OriginalLanguage string Name string Description string UserID string CreatedAt string }{ CollectionID: "collection_id", Language: "language", OriginalLanguage: "original_language", Name: "name", Description: "description", UserID: "user_id", CreatedAt: "created_at", }
var CollectionsContentUnitColumns = struct { CollectionID string ContentUnitID string Name string Position string }{ CollectionID: "collection_id", ContentUnitID: "content_unit_id", Name: "name", Position: "position", }
var ContentRoleTypeColumns = struct { ID string Name string Description string }{ ID: "id", Name: "name", Description: "description", }
var ContentTypeColumns = struct { ID string Name string Description string }{ ID: "id", Name: "name", Description: "description", }
var ContentUnitColumns = struct { ID string UID string TypeID string CreatedAt string Properties string Secure string Published string }{ ID: "id", UID: "uid", TypeID: "type_id", CreatedAt: "created_at", Properties: "properties", Secure: "secure", Published: "published", }
var ContentUnitDerivationColumns = struct { SourceID string DerivedID string Name string }{ SourceID: "source_id", DerivedID: "derived_id", Name: "name", }
var ContentUnitI18nColumns = struct { ContentUnitID string Language string OriginalLanguage string Name string Description string UserID string CreatedAt string }{ ContentUnitID: "content_unit_id", Language: "language", OriginalLanguage: "original_language", Name: "name", Description: "description", UserID: "user_id", CreatedAt: "created_at", }
var ContentUnitsPersonColumns = struct { ContentUnitID string PersonID string RoleID string }{ ContentUnitID: "content_unit_id", PersonID: "person_id", RoleID: "role_id", }
var ErrSyncFail = errors.New("mdbmodels: 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 FileColumns = struct { ID string UID string Name string Size string Type string SubType string MimeType string Sha1 string ContentUnitID string CreatedAt string Language string BackupCount string FirstBackupTime string Properties string ParentID string FileCreatedAt string Secure string Published string RemovedAt string }{ ID: "id", UID: "uid", Name: "name", Size: "size", Type: "type", SubType: "sub_type", MimeType: "mime_type", Sha1: "sha1", ContentUnitID: "content_unit_id", CreatedAt: "created_at", Language: "language", BackupCount: "backup_count", FirstBackupTime: "first_backup_time", Properties: "properties", ParentID: "parent_id", FileCreatedAt: "file_created_at", Secure: "secure", Published: "published", RemovedAt: "removed_at", }
var OperationColumns = struct { ID string UID string TypeID string CreatedAt string Station string UserID string Details string Properties string }{ ID: "id", UID: "uid", TypeID: "type_id", CreatedAt: "created_at", Station: "station", UserID: "user_id", Details: "details", Properties: "properties", }
var OperationTypeColumns = struct { ID string Name string Description string }{ ID: "id", Name: "name", Description: "description", }
var PersonColumns = struct { ID string UID string Pattern string }{ ID: "id", UID: "uid", Pattern: "pattern", }
var PersonI18nColumns = struct { PersonID string Language string OriginalLanguage string Name string Description string UserID string CreatedAt string }{ PersonID: "person_id", Language: "language", OriginalLanguage: "original_language", Name: "name", Description: "description", UserID: "user_id", CreatedAt: "created_at", }
var PublisherColumns = struct { ID string UID string Pattern string }{ ID: "id", UID: "uid", Pattern: "pattern", }
var PublisherI18nColumns = struct { PublisherID string Language string OriginalLanguage string Name string Description string UserID string CreatedAt string }{ PublisherID: "publisher_id", Language: "language", OriginalLanguage: "original_language", Name: "name", Description: "description", UserID: "user_id", CreatedAt: "created_at", }
var SourceColumns = struct { ID string UID string ParentID string Pattern string TypeID string Position string Name string Description string CreatedAt string Properties string }{ ID: "id", UID: "uid", ParentID: "parent_id", Pattern: "pattern", TypeID: "type_id", Position: "position", Name: "name", Description: "description", CreatedAt: "created_at", Properties: "properties", }
var SourceI18nColumns = struct { SourceID string Language string Name string Description string CreatedAt string }{ SourceID: "source_id", Language: "language", Name: "name", Description: "description", CreatedAt: "created_at", }
var SourceTypeColumns = struct { ID string Name string }{ ID: "id", Name: "name", }
var StorageColumns = struct { ID string Name string Country string Location string Status string Access string }{ ID: "id", Name: "name", Country: "country", Location: "location", Status: "status", Access: "access", }
var TableNames = struct { AuthorI18n string Authors string AuthorsSources string BlogPosts string Blogs string CollectionI18n string Collections string CollectionsContentUnits string ContentRoleTypes string ContentTypes string ContentUnitDerivations string ContentUnitI18n string ContentUnits string ContentUnitsPersons string ContentUnitsPublishers string ContentUnitsSources string ContentUnitsTags string Files string FilesOperations string FilesStorages string OperationTypes string Operations string PersonI18n string Persons string PublisherI18n string Publishers string SourceI18n string SourceTypes string Sources string Storages string TagI18n string Tags string TwitterTweets string TwitterUsers string Users string }{ AuthorI18n: "author_i18n", Authors: "authors", AuthorsSources: "authors_sources", BlogPosts: "blog_posts", Blogs: "blogs", CollectionI18n: "collection_i18n", Collections: "collections", CollectionsContentUnits: "collections_content_units", ContentRoleTypes: "content_role_types", ContentTypes: "content_types", ContentUnitDerivations: "content_unit_derivations", ContentUnitI18n: "content_unit_i18n", ContentUnits: "content_units", ContentUnitsPersons: "content_units_persons", ContentUnitsPublishers: "content_units_publishers", ContentUnitsSources: "content_units_sources", ContentUnitsTags: "content_units_tags", Files: "files", FilesOperations: "files_operations", FilesStorages: "files_storages", OperationTypes: "operation_types", Operations: "operations", PersonI18n: "person_i18n", Persons: "persons", PublisherI18n: "publisher_i18n", Publishers: "publishers", SourceI18n: "source_i18n", SourceTypes: "source_types", Sources: "sources", Storages: "storages", TagI18n: "tag_i18n", Tags: "tags", TwitterTweets: "twitter_tweets", TwitterUsers: "twitter_users", Users: "users", }
var TagColumns = struct { ID string Description string ParentID string UID string Pattern string }{ ID: "id", Description: "description", ParentID: "parent_id", UID: "uid", Pattern: "pattern", }
var TagI18nColumns = struct { TagID string Language string OriginalLanguage string Label string UserID string CreatedAt string }{ TagID: "tag_id", Language: "language", OriginalLanguage: "original_language", Label: "label", UserID: "user_id", CreatedAt: "created_at", }
var TwitterTweetColumns = struct { ID string UserID string TwitterID string FullText string TweetAt string Raw string CreatedAt string }{ ID: "id", UserID: "user_id", TwitterID: "twitter_id", FullText: "full_text", TweetAt: "tweet_at", Raw: "raw", CreatedAt: "created_at", }
var TwitterUserColumns = struct { ID string Username string AccountID string DisplayName string }{ ID: "id", Username: "username", AccountID: "account_id", DisplayName: "display_name", }
var UserColumns = struct { ID string Email string Name string Phone string Comments string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", Email: "email", Name: "name", Phone: "phone", Comments: "comments", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
Functions ¶
func AuthorExists ¶
AuthorExists checks if the Author row exists.
func AuthorExistsG ¶
AuthorExistsG checks if the Author row exists.
func AuthorExistsGP ¶
AuthorExistsGP checks if the Author row exists. Panics on error.
func AuthorExistsP ¶
AuthorExistsP checks if the Author row exists. Panics on error.
func AuthorI18nExists ¶
AuthorI18nExists checks if the AuthorI18n row exists.
func AuthorI18nExistsG ¶
AuthorI18nExistsG checks if the AuthorI18n row exists.
func AuthorI18nExistsGP ¶
AuthorI18nExistsGP checks if the AuthorI18n row exists. Panics on error.
func AuthorI18nExistsP ¶
AuthorI18nExistsP checks if the AuthorI18n row exists. Panics on error.
func AuthorI18ns ¶
AuthorI18ns retrieves all the records using an executor.
func AuthorI18nsG ¶
AuthorI18nsG retrieves all records.
func BlogExists ¶ added in v1.0.1
BlogExists checks if the Blog row exists.
func BlogExistsG ¶ added in v1.0.1
BlogExistsG checks if the Blog row exists.
func BlogExistsGP ¶ added in v1.0.1
BlogExistsGP checks if the Blog row exists. Panics on error.
func BlogExistsP ¶ added in v1.0.1
BlogExistsP checks if the Blog row exists. Panics on error.
func BlogPostExists ¶ added in v1.0.1
BlogPostExists checks if the BlogPost row exists.
func BlogPostExistsG ¶ added in v1.0.1
BlogPostExistsG checks if the BlogPost row exists.
func BlogPostExistsGP ¶ added in v1.0.1
BlogPostExistsGP checks if the BlogPost row exists. Panics on error.
func BlogPostExistsP ¶ added in v1.0.1
BlogPostExistsP checks if the BlogPost row exists. Panics on error.
func BlogPostsG ¶ added in v1.0.1
BlogPostsG retrieves all records.
func CollectionExists ¶
CollectionExists checks if the Collection row exists.
func CollectionExistsG ¶
CollectionExistsG checks if the Collection row exists.
func CollectionExistsGP ¶
CollectionExistsGP checks if the Collection row exists. Panics on error.
func CollectionExistsP ¶
CollectionExistsP checks if the Collection row exists. Panics on error.
func CollectionI18nExists ¶
CollectionI18nExists checks if the CollectionI18n row exists.
func CollectionI18nExistsG ¶
CollectionI18nExistsG checks if the CollectionI18n row exists.
func CollectionI18nExistsGP ¶
CollectionI18nExistsGP checks if the CollectionI18n row exists. Panics on error.
func CollectionI18nExistsP ¶
CollectionI18nExistsP checks if the CollectionI18n row exists. Panics on error.
func CollectionI18ns ¶
CollectionI18ns retrieves all the records using an executor.
func CollectionI18nsG ¶
CollectionI18nsG retrieves all records.
func Collections ¶
Collections retrieves all the records using an executor.
func CollectionsContentUnitExists ¶
func CollectionsContentUnitExists(exec boil.Executor, collectionID int64, contentUnitID int64) (bool, error)
CollectionsContentUnitExists checks if the CollectionsContentUnit row exists.
func CollectionsContentUnitExistsG ¶
CollectionsContentUnitExistsG checks if the CollectionsContentUnit row exists.
func CollectionsContentUnitExistsGP ¶
CollectionsContentUnitExistsGP checks if the CollectionsContentUnit row exists. Panics on error.
func CollectionsContentUnitExistsP ¶
func CollectionsContentUnitExistsP(exec boil.Executor, collectionID int64, contentUnitID int64) bool
CollectionsContentUnitExistsP checks if the CollectionsContentUnit row exists. Panics on error.
func CollectionsContentUnits ¶
CollectionsContentUnits retrieves all the records using an executor.
func CollectionsContentUnitsG ¶
CollectionsContentUnitsG retrieves all records.
func CollectionsG ¶
CollectionsG retrieves all records.
func ContentRoleTypeExists ¶
ContentRoleTypeExists checks if the ContentRoleType row exists.
func ContentRoleTypeExistsG ¶
ContentRoleTypeExistsG checks if the ContentRoleType row exists.
func ContentRoleTypeExistsGP ¶
ContentRoleTypeExistsGP checks if the ContentRoleType row exists. Panics on error.
func ContentRoleTypeExistsP ¶
ContentRoleTypeExistsP checks if the ContentRoleType row exists. Panics on error.
func ContentRoleTypes ¶
ContentRoleTypes retrieves all the records using an executor.
func ContentRoleTypesG ¶
ContentRoleTypesG retrieves all records.
func ContentTypeExists ¶
ContentTypeExists checks if the ContentType row exists.
func ContentTypeExistsG ¶
ContentTypeExistsG checks if the ContentType row exists.
func ContentTypeExistsGP ¶
ContentTypeExistsGP checks if the ContentType row exists. Panics on error.
func ContentTypeExistsP ¶
ContentTypeExistsP checks if the ContentType row exists. Panics on error.
func ContentTypes ¶
ContentTypes retrieves all the records using an executor.
func ContentTypesG ¶
ContentTypesG retrieves all records.
func ContentUnitDerivationExists ¶
ContentUnitDerivationExists checks if the ContentUnitDerivation row exists.
func ContentUnitDerivationExistsG ¶
ContentUnitDerivationExistsG checks if the ContentUnitDerivation row exists.
func ContentUnitDerivationExistsGP ¶
ContentUnitDerivationExistsGP checks if the ContentUnitDerivation row exists. Panics on error.
func ContentUnitDerivationExistsP ¶
ContentUnitDerivationExistsP checks if the ContentUnitDerivation row exists. Panics on error.
func ContentUnitDerivations ¶
ContentUnitDerivations retrieves all the records using an executor.
func ContentUnitDerivationsG ¶
ContentUnitDerivationsG retrieves all records.
func ContentUnitExists ¶
ContentUnitExists checks if the ContentUnit row exists.
func ContentUnitExistsG ¶
ContentUnitExistsG checks if the ContentUnit row exists.
func ContentUnitExistsGP ¶
ContentUnitExistsGP checks if the ContentUnit row exists. Panics on error.
func ContentUnitExistsP ¶
ContentUnitExistsP checks if the ContentUnit row exists. Panics on error.
func ContentUnitI18nExists ¶
ContentUnitI18nExists checks if the ContentUnitI18n row exists.
func ContentUnitI18nExistsG ¶
ContentUnitI18nExistsG checks if the ContentUnitI18n row exists.
func ContentUnitI18nExistsGP ¶
ContentUnitI18nExistsGP checks if the ContentUnitI18n row exists. Panics on error.
func ContentUnitI18nExistsP ¶
ContentUnitI18nExistsP checks if the ContentUnitI18n row exists. Panics on error.
func ContentUnitI18ns ¶
ContentUnitI18ns retrieves all the records using an executor.
func ContentUnitI18nsG ¶
ContentUnitI18nsG retrieves all records.
func ContentUnits ¶
ContentUnits retrieves all the records using an executor.
func ContentUnitsG ¶
ContentUnitsG retrieves all records.
func ContentUnitsPersonExists ¶
func ContentUnitsPersonExists(exec boil.Executor, contentUnitID int64, personID int64) (bool, error)
ContentUnitsPersonExists checks if the ContentUnitsPerson row exists.
func ContentUnitsPersonExistsG ¶
ContentUnitsPersonExistsG checks if the ContentUnitsPerson row exists.
func ContentUnitsPersonExistsGP ¶
ContentUnitsPersonExistsGP checks if the ContentUnitsPerson row exists. Panics on error.
func ContentUnitsPersonExistsP ¶
ContentUnitsPersonExistsP checks if the ContentUnitsPerson row exists. Panics on error.
func ContentUnitsPersons ¶
ContentUnitsPersons retrieves all the records using an executor.
func ContentUnitsPersonsG ¶
ContentUnitsPersonsG retrieves all records.
func FileExists ¶
FileExists checks if the File row exists.
func FileExistsG ¶
FileExistsG checks if the File row exists.
func FileExistsGP ¶
FileExistsGP checks if the File row exists. Panics on error.
func FileExistsP ¶
FileExistsP checks if the File row exists. Panics on error.
func OperationExists ¶
OperationExists checks if the Operation row exists.
func OperationExistsG ¶
OperationExistsG checks if the Operation row exists.
func OperationExistsGP ¶
OperationExistsGP checks if the Operation row exists. Panics on error.
func OperationExistsP ¶
OperationExistsP checks if the Operation row exists. Panics on error.
func OperationTypeExists ¶
OperationTypeExists checks if the OperationType row exists.
func OperationTypeExistsG ¶
OperationTypeExistsG checks if the OperationType row exists.
func OperationTypeExistsGP ¶
OperationTypeExistsGP checks if the OperationType row exists. Panics on error.
func OperationTypeExistsP ¶
OperationTypeExistsP checks if the OperationType row exists. Panics on error.
func OperationTypes ¶
OperationTypes retrieves all the records using an executor.
func OperationTypesG ¶
OperationTypesG retrieves all records.
func Operations ¶
Operations retrieves all the records using an executor.
func OperationsG ¶
OperationsG retrieves all records.
func PersonExists ¶
PersonExists checks if the Person row exists.
func PersonExistsG ¶
PersonExistsG checks if the Person row exists.
func PersonExistsGP ¶
PersonExistsGP checks if the Person row exists. Panics on error.
func PersonExistsP ¶
PersonExistsP checks if the Person row exists. Panics on error.
func PersonI18nExists ¶
PersonI18nExists checks if the PersonI18n row exists.
func PersonI18nExistsG ¶
PersonI18nExistsG checks if the PersonI18n row exists.
func PersonI18nExistsGP ¶
PersonI18nExistsGP checks if the PersonI18n row exists. Panics on error.
func PersonI18nExistsP ¶
PersonI18nExistsP checks if the PersonI18n row exists. Panics on error.
func PersonI18ns ¶
PersonI18ns retrieves all the records using an executor.
func PersonI18nsG ¶
PersonI18nsG retrieves all records.
func PublisherExists ¶
PublisherExists checks if the Publisher row exists.
func PublisherExistsG ¶
PublisherExistsG checks if the Publisher row exists.
func PublisherExistsGP ¶
PublisherExistsGP checks if the Publisher row exists. Panics on error.
func PublisherExistsP ¶
PublisherExistsP checks if the Publisher row exists. Panics on error.
func PublisherI18nExists ¶
PublisherI18nExists checks if the PublisherI18n row exists.
func PublisherI18nExistsG ¶
PublisherI18nExistsG checks if the PublisherI18n row exists.
func PublisherI18nExistsGP ¶
PublisherI18nExistsGP checks if the PublisherI18n row exists. Panics on error.
func PublisherI18nExistsP ¶
PublisherI18nExistsP checks if the PublisherI18n row exists. Panics on error.
func PublisherI18ns ¶
PublisherI18ns retrieves all the records using an executor.
func PublisherI18nsG ¶
PublisherI18nsG retrieves all records.
func Publishers ¶
Publishers retrieves all the records using an executor.
func PublishersG ¶
PublishersG retrieves all records.
func SourceExists ¶
SourceExists checks if the Source row exists.
func SourceExistsG ¶
SourceExistsG checks if the Source row exists.
func SourceExistsGP ¶
SourceExistsGP checks if the Source row exists. Panics on error.
func SourceExistsP ¶
SourceExistsP checks if the Source row exists. Panics on error.
func SourceI18nExists ¶
SourceI18nExists checks if the SourceI18n row exists.
func SourceI18nExistsG ¶
SourceI18nExistsG checks if the SourceI18n row exists.
func SourceI18nExistsGP ¶
SourceI18nExistsGP checks if the SourceI18n row exists. Panics on error.
func SourceI18nExistsP ¶
SourceI18nExistsP checks if the SourceI18n row exists. Panics on error.
func SourceI18ns ¶
SourceI18ns retrieves all the records using an executor.
func SourceI18nsG ¶
SourceI18nsG retrieves all records.
func SourceTypeExists ¶
SourceTypeExists checks if the SourceType row exists.
func SourceTypeExistsG ¶
SourceTypeExistsG checks if the SourceType row exists.
func SourceTypeExistsGP ¶
SourceTypeExistsGP checks if the SourceType row exists. Panics on error.
func SourceTypeExistsP ¶
SourceTypeExistsP checks if the SourceType row exists. Panics on error.
func SourceTypes ¶
SourceTypes retrieves all the records using an executor.
func SourceTypesG ¶
SourceTypesG retrieves all records.
func StorageExists ¶
StorageExists checks if the Storage row exists.
func StorageExistsG ¶
StorageExistsG checks if the Storage row exists.
func StorageExistsGP ¶
StorageExistsGP checks if the Storage row exists. Panics on error.
func StorageExistsP ¶
StorageExistsP checks if the Storage row exists. Panics on error.
func TagExistsGP ¶
TagExistsGP checks if the Tag row exists. Panics on error.
func TagExistsP ¶
TagExistsP checks if the Tag row exists. Panics on error.
func TagI18nExists ¶
TagI18nExists checks if the TagI18n row exists.
func TagI18nExistsG ¶
TagI18nExistsG checks if the TagI18n row exists.
func TagI18nExistsGP ¶
TagI18nExistsGP checks if the TagI18n row exists. Panics on error.
func TagI18nExistsP ¶
TagI18nExistsP checks if the TagI18n row exists. Panics on error.
func TwitterTweetExists ¶ added in v0.9.9
TwitterTweetExists checks if the TwitterTweet row exists.
func TwitterTweetExistsG ¶ added in v0.9.9
TwitterTweetExistsG checks if the TwitterTweet row exists.
func TwitterTweetExistsGP ¶ added in v0.9.9
TwitterTweetExistsGP checks if the TwitterTweet row exists. Panics on error.
func TwitterTweetExistsP ¶ added in v0.9.9
TwitterTweetExistsP checks if the TwitterTweet row exists. Panics on error.
func TwitterTweets ¶ added in v0.9.9
TwitterTweets retrieves all the records using an executor.
func TwitterTweetsG ¶ added in v0.9.9
TwitterTweetsG retrieves all records.
func TwitterUserExists ¶ added in v0.9.9
TwitterUserExists checks if the TwitterUser row exists.
func TwitterUserExistsG ¶ added in v0.9.9
TwitterUserExistsG checks if the TwitterUser row exists.
func TwitterUserExistsGP ¶ added in v0.9.9
TwitterUserExistsGP checks if the TwitterUser row exists. Panics on error.
func TwitterUserExistsP ¶ added in v0.9.9
TwitterUserExistsP checks if the TwitterUser row exists. Panics on error.
func TwitterUsers ¶ added in v0.9.9
TwitterUsers retrieves all the records using an executor.
func TwitterUsersG ¶ added in v0.9.9
TwitterUsersG retrieves all records.
func UserExists ¶
UserExists checks if the User row exists.
func UserExistsG ¶
UserExistsG checks if the User row exists.
func UserExistsGP ¶
UserExistsGP checks if the User row exists. Panics on error.
func UserExistsP ¶
UserExistsP checks if the User row exists. Panics on error.
Types ¶
type Author ¶
type Author struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Code string `boil:"code" json:"code" toml:"code" yaml:"code"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` FullName null.String `boil:"full_name" json:"full_name,omitempty" toml:"full_name" yaml:"full_name,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *authorR `boil:"-" json:"-" toml:"-" yaml:"-"` L authorL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Author is an object representing the database table.
func FindAuthor ¶
FindAuthor retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAuthorG ¶
FindAuthorG retrieves a single record by ID.
func FindAuthorGP ¶
FindAuthorGP retrieves a single record by ID, and panics on error.
func FindAuthorP ¶
FindAuthorP retrieves a single record by ID with an executor, and panics on error.
func (*Author) AddAuthorI18ns ¶
AddAuthorI18ns adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.AuthorI18ns. Sets related.R.Author appropriately.
func (*Author) AddAuthorI18nsG ¶
func (o *Author) AddAuthorI18nsG(insert bool, related ...*AuthorI18n) error
AddAuthorI18nsG adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.AuthorI18ns. Sets related.R.Author appropriately. Uses the global database handle.
func (*Author) AddAuthorI18nsGP ¶
func (o *Author) AddAuthorI18nsGP(insert bool, related ...*AuthorI18n)
AddAuthorI18nsGP adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.AuthorI18ns. Sets related.R.Author appropriately. Uses the global database handle and panics on error.
func (*Author) AddAuthorI18nsP ¶
func (o *Author) AddAuthorI18nsP(exec boil.Executor, insert bool, related ...*AuthorI18n)
AddAuthorI18nsP adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.AuthorI18ns. Sets related.R.Author appropriately. Panics on error.
func (*Author) AddSources ¶
AddSources adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.Authors appropriately.
func (*Author) AddSourcesG ¶
AddSourcesG adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.Authors appropriately. Uses the global database handle.
func (*Author) AddSourcesGP ¶
AddSourcesGP adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.Authors appropriately. Uses the global database handle and panics on error.
func (*Author) AddSourcesP ¶
AddSourcesP adds the given related objects to the existing relationships of the author, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.Authors appropriately. Panics on error.
func (*Author) AuthorI18ns ¶
AuthorI18ns retrieves all the author_i18n's author i18n with an executor.
func (*Author) AuthorI18nsG ¶
AuthorI18nsG retrieves all the author_i18n's author i18n.
func (*Author) Delete ¶
Delete deletes a single Author record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Author) DeleteG ¶
DeleteG deletes a single Author record. DeleteG will match against the primary key column to find the record to delete.
func (*Author) DeleteGP ¶
func (o *Author) DeleteGP()
DeleteGP deletes a single Author record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Author) DeleteP ¶
DeleteP deletes a single Author record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Author) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Author) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Author) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Author) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Author) ReloadGP ¶
func (o *Author) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Author) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Author) RemoveSources ¶
RemoveSources relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.Authors.
func (*Author) RemoveSourcesG ¶
RemoveSourcesG relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.Authors. Uses the global database handle.
func (*Author) RemoveSourcesGP ¶
RemoveSourcesGP relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.Authors. Uses the global database handle and panics on error.
func (*Author) RemoveSourcesP ¶
RemoveSourcesP relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.Authors. Panics on error.
func (*Author) SetSources ¶
SetSources removes all previously related items of the author replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Authors's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.Authors's Sources accordingly.
func (*Author) SetSourcesG ¶
SetSourcesG removes all previously related items of the author replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Authors's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.Authors's Sources accordingly. Uses the global database handle.
func (*Author) SetSourcesGP ¶
SetSourcesGP removes all previously related items of the author replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Authors's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.Authors's Sources accordingly. Uses the global database handle and panics on error.
func (*Author) SetSourcesP ¶
SetSourcesP removes all previously related items of the author replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Authors's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.Authors's Sources accordingly. Panics on error.
func (*Author) Update ¶
Update uses an executor to update the Author. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Author) UpdateG ¶
UpdateG a single Author record. See Update for whitelist behavior description.
func (*Author) UpdateGP ¶
UpdateGP a single Author record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Author) UpdateP ¶
UpdateP uses an executor to update the Author, and panics on error. See Update for whitelist behavior description.
func (*Author) Upsert ¶
func (o *Author) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Author) UpsertG ¶
func (o *Author) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type AuthorI18n ¶
type AuthorI18n struct { AuthorID int64 `boil:"author_id" json:"author_id" toml:"author_id" yaml:"author_id"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` FullName null.String `boil:"full_name" json:"full_name,omitempty" toml:"full_name" yaml:"full_name,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *authorI18nR `boil:"-" json:"-" toml:"-" yaml:"-"` L authorI18nL `boil:"-" json:"-" toml:"-" yaml:"-"` }
AuthorI18n is an object representing the database table.
func FindAuthorI18n ¶
func FindAuthorI18n(exec boil.Executor, authorID int64, language string, selectCols ...string) (*AuthorI18n, error)
FindAuthorI18n retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAuthorI18nG ¶
func FindAuthorI18nG(authorID int64, language string, selectCols ...string) (*AuthorI18n, error)
FindAuthorI18nG retrieves a single record by ID.
func FindAuthorI18nGP ¶
func FindAuthorI18nGP(authorID int64, language string, selectCols ...string) *AuthorI18n
FindAuthorI18nGP retrieves a single record by ID, and panics on error.
func FindAuthorI18nP ¶
func FindAuthorI18nP(exec boil.Executor, authorID int64, language string, selectCols ...string) *AuthorI18n
FindAuthorI18nP retrieves a single record by ID with an executor, and panics on error.
func (*AuthorI18n) Author ¶
func (o *AuthorI18n) Author(exec boil.Executor, mods ...qm.QueryMod) authorQuery
Author pointed to by the foreign key.
func (*AuthorI18n) AuthorG ¶
func (o *AuthorI18n) AuthorG(mods ...qm.QueryMod) authorQuery
AuthorG pointed to by the foreign key.
func (*AuthorI18n) Delete ¶
func (o *AuthorI18n) Delete(exec boil.Executor) error
Delete deletes a single AuthorI18n record with an executor. Delete will match against the primary key column to find the record to delete.
func (*AuthorI18n) DeleteG ¶
func (o *AuthorI18n) DeleteG() error
DeleteG deletes a single AuthorI18n record. DeleteG will match against the primary key column to find the record to delete.
func (*AuthorI18n) DeleteGP ¶
func (o *AuthorI18n) DeleteGP()
DeleteGP deletes a single AuthorI18n record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*AuthorI18n) DeleteP ¶
func (o *AuthorI18n) DeleteP(exec boil.Executor)
DeleteP deletes a single AuthorI18n record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*AuthorI18n) Insert ¶
func (o *AuthorI18n) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*AuthorI18n) InsertG ¶
func (o *AuthorI18n) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*AuthorI18n) InsertGP ¶
func (o *AuthorI18n) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*AuthorI18n) InsertP ¶
func (o *AuthorI18n) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*AuthorI18n) Reload ¶
func (o *AuthorI18n) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*AuthorI18n) ReloadG ¶
func (o *AuthorI18n) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*AuthorI18n) ReloadGP ¶
func (o *AuthorI18n) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*AuthorI18n) ReloadP ¶
func (o *AuthorI18n) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*AuthorI18n) SetAuthor ¶
SetAuthor of the author_i18n to the related item. Sets o.R.Author to related. Adds o to related.R.AuthorI18ns.
func (*AuthorI18n) SetAuthorG ¶
func (o *AuthorI18n) SetAuthorG(insert bool, related *Author) error
SetAuthorG of the author_i18n to the related item. Sets o.R.Author to related. Adds o to related.R.AuthorI18ns. Uses the global database handle.
func (*AuthorI18n) SetAuthorGP ¶
func (o *AuthorI18n) SetAuthorGP(insert bool, related *Author)
SetAuthorGP of the author_i18n to the related item. Sets o.R.Author to related. Adds o to related.R.AuthorI18ns. Uses the global database handle and panics on error.
func (*AuthorI18n) SetAuthorP ¶
func (o *AuthorI18n) SetAuthorP(exec boil.Executor, insert bool, related *Author)
SetAuthorP of the author_i18n to the related item. Sets o.R.Author to related. Adds o to related.R.AuthorI18ns. Panics on error.
func (*AuthorI18n) Update ¶
func (o *AuthorI18n) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the AuthorI18n. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*AuthorI18n) UpdateG ¶
func (o *AuthorI18n) UpdateG(whitelist ...string) error
UpdateG a single AuthorI18n record. See Update for whitelist behavior description.
func (*AuthorI18n) UpdateGP ¶
func (o *AuthorI18n) UpdateGP(whitelist ...string)
UpdateGP a single AuthorI18n record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*AuthorI18n) UpdateP ¶
func (o *AuthorI18n) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the AuthorI18n, and panics on error. See Update for whitelist behavior description.
func (*AuthorI18n) Upsert ¶
func (o *AuthorI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*AuthorI18n) UpsertG ¶
func (o *AuthorI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type AuthorI18nSlice ¶
type AuthorI18nSlice []*AuthorI18n
AuthorI18nSlice is an alias for a slice of pointers to AuthorI18n. This should generally be used opposed to []AuthorI18n.
func (AuthorI18nSlice) DeleteAll ¶
func (o AuthorI18nSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (AuthorI18nSlice) DeleteAllG ¶
func (o AuthorI18nSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (AuthorI18nSlice) DeleteAllGP ¶
func (o AuthorI18nSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (AuthorI18nSlice) DeleteAllP ¶
func (o AuthorI18nSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*AuthorI18nSlice) ReloadAll ¶
func (o *AuthorI18nSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuthorI18nSlice) ReloadAllG ¶
func (o *AuthorI18nSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuthorI18nSlice) ReloadAllGP ¶
func (o *AuthorI18nSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*AuthorI18nSlice) ReloadAllP ¶
func (o *AuthorI18nSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (AuthorI18nSlice) UpdateAll ¶
func (o AuthorI18nSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (AuthorI18nSlice) UpdateAllG ¶
func (o AuthorI18nSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (AuthorI18nSlice) UpdateAllGP ¶
func (o AuthorI18nSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (AuthorI18nSlice) UpdateAllP ¶
func (o AuthorI18nSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type AuthorSlice ¶
type AuthorSlice []*Author
AuthorSlice is an alias for a slice of pointers to Author. This should generally be used opposed to []Author.
func (AuthorSlice) DeleteAll ¶
func (o AuthorSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (AuthorSlice) DeleteAllG ¶
func (o AuthorSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (AuthorSlice) DeleteAllGP ¶
func (o AuthorSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (AuthorSlice) DeleteAllP ¶
func (o AuthorSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*AuthorSlice) ReloadAll ¶
func (o *AuthorSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuthorSlice) ReloadAllG ¶
func (o *AuthorSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuthorSlice) ReloadAllGP ¶
func (o *AuthorSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*AuthorSlice) ReloadAllP ¶
func (o *AuthorSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (AuthorSlice) UpdateAll ¶
func (o AuthorSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (AuthorSlice) UpdateAllG ¶
func (o AuthorSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (AuthorSlice) UpdateAllGP ¶
func (o AuthorSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (AuthorSlice) UpdateAllP ¶
func (o AuthorSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Blog ¶ added in v1.0.1
type Blog struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` URL string `boil:"url" json:"url" toml:"url" yaml:"url"` R *blogR `boil:"-" json:"-" toml:"-" yaml:"-"` L blogL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Blog is an object representing the database table.
func FindBlog ¶ added in v1.0.1
FindBlog retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindBlogGP ¶ added in v1.0.1
FindBlogGP retrieves a single record by ID, and panics on error.
func FindBlogP ¶ added in v1.0.1
FindBlogP retrieves a single record by ID with an executor, and panics on error.
func (*Blog) AddBlogPosts ¶ added in v1.0.1
AddBlogPosts adds the given related objects to the existing relationships of the blog, optionally inserting them as new records. Appends related to o.R.BlogPosts. Sets related.R.Blog appropriately.
func (*Blog) AddBlogPostsG ¶ added in v1.0.1
AddBlogPostsG adds the given related objects to the existing relationships of the blog, optionally inserting them as new records. Appends related to o.R.BlogPosts. Sets related.R.Blog appropriately. Uses the global database handle.
func (*Blog) AddBlogPostsGP ¶ added in v1.0.1
AddBlogPostsGP adds the given related objects to the existing relationships of the blog, optionally inserting them as new records. Appends related to o.R.BlogPosts. Sets related.R.Blog appropriately. Uses the global database handle and panics on error.
func (*Blog) AddBlogPostsP ¶ added in v1.0.1
AddBlogPostsP adds the given related objects to the existing relationships of the blog, optionally inserting them as new records. Appends related to o.R.BlogPosts. Sets related.R.Blog appropriately. Panics on error.
func (*Blog) BlogPosts ¶ added in v1.0.1
BlogPosts retrieves all the blog_post's blog posts with an executor.
func (*Blog) BlogPostsG ¶ added in v1.0.1
BlogPostsG retrieves all the blog_post's blog posts.
func (*Blog) Delete ¶ added in v1.0.1
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) DeleteG ¶ added in v1.0.1
DeleteG deletes a single Blog record. DeleteG will match against the primary key column to find the record to delete.
func (*Blog) DeleteGP ¶ added in v1.0.1
func (o *Blog) DeleteGP()
DeleteGP deletes a single Blog record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Blog) DeleteP ¶ added in v1.0.1
DeleteP deletes a single Blog record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Blog) Insert ¶ added in v1.0.1
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Blog) InsertG ¶ added in v1.0.1
InsertG a single record. See Insert for whitelist behavior description.
func (*Blog) InsertGP ¶ added in v1.0.1
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Blog) InsertP ¶ added in v1.0.1
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Blog) Reload ¶ added in v1.0.1
Reload refetches the object from the database using the primary keys with an executor.
func (*Blog) ReloadG ¶ added in v1.0.1
ReloadG refetches the object from the database using the primary keys.
func (*Blog) ReloadGP ¶ added in v1.0.1
func (o *Blog) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Blog) ReloadP ¶ added in v1.0.1
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Blog) Update ¶ added in v1.0.1
Update uses an executor to update the Blog. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Blog) UpdateG ¶ added in v1.0.1
UpdateG a single Blog record. See Update for whitelist behavior description.
func (*Blog) UpdateGP ¶ added in v1.0.1
UpdateGP a single Blog record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Blog) UpdateP ¶ added in v1.0.1
UpdateP uses an executor to update the Blog, and panics on error. See Update for whitelist behavior description.
func (*Blog) Upsert ¶ added in v1.0.1
func (o *Blog) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Blog) UpsertG ¶ added in v1.0.1
func (o *Blog) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type BlogPost ¶ added in v1.0.1
type BlogPost struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` BlogID int64 `boil:"blog_id" json:"blog_id" toml:"blog_id" yaml:"blog_id"` WPID int64 `boil:"wp_id" json:"wp_id" toml:"wp_id" yaml:"wp_id"` Title string `boil:"title" json:"title" toml:"title" yaml:"title"` Content string `boil:"content" json:"content" toml:"content" yaml:"content"` PostedAt time.Time `boil:"posted_at" json:"posted_at" toml:"posted_at" yaml:"posted_at"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` Link string `boil:"link" json:"link" toml:"link" yaml:"link"` Filtered bool `boil:"filtered" json:"filtered" toml:"filtered" yaml:"filtered"` R *blogPostR `boil:"-" json:"-" toml:"-" yaml:"-"` L blogPostL `boil:"-" json:"-" toml:"-" yaml:"-"` }
BlogPost is an object representing the database table.
func FindBlogPost ¶ added in v1.0.1
FindBlogPost retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindBlogPostG ¶ added in v1.0.1
FindBlogPostG retrieves a single record by ID.
func FindBlogPostGP ¶ added in v1.0.1
FindBlogPostGP retrieves a single record by ID, and panics on error.
func FindBlogPostP ¶ added in v1.0.1
FindBlogPostP retrieves a single record by ID with an executor, and panics on error.
func (*BlogPost) Delete ¶ added in v1.0.1
Delete deletes a single BlogPost record with an executor. Delete will match against the primary key column to find the record to delete.
func (*BlogPost) DeleteG ¶ added in v1.0.1
DeleteG deletes a single BlogPost record. DeleteG will match against the primary key column to find the record to delete.
func (*BlogPost) DeleteGP ¶ added in v1.0.1
func (o *BlogPost) DeleteGP()
DeleteGP deletes a single BlogPost record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*BlogPost) DeleteP ¶ added in v1.0.1
DeleteP deletes a single BlogPost record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*BlogPost) Insert ¶ added in v1.0.1
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*BlogPost) InsertG ¶ added in v1.0.1
InsertG a single record. See Insert for whitelist behavior description.
func (*BlogPost) InsertGP ¶ added in v1.0.1
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*BlogPost) InsertP ¶ added in v1.0.1
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*BlogPost) Reload ¶ added in v1.0.1
Reload refetches the object from the database using the primary keys with an executor.
func (*BlogPost) ReloadG ¶ added in v1.0.1
ReloadG refetches the object from the database using the primary keys.
func (*BlogPost) ReloadGP ¶ added in v1.0.1
func (o *BlogPost) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*BlogPost) ReloadP ¶ added in v1.0.1
ReloadP refetches the object from the database with an executor. Panics on error.
func (*BlogPost) SetBlog ¶ added in v1.0.1
SetBlog of the blog_post to the related item. Sets o.R.Blog to related. Adds o to related.R.BlogPosts.
func (*BlogPost) SetBlogG ¶ added in v1.0.1
SetBlogG of the blog_post to the related item. Sets o.R.Blog to related. Adds o to related.R.BlogPosts. Uses the global database handle.
func (*BlogPost) SetBlogGP ¶ added in v1.0.1
SetBlogGP of the blog_post to the related item. Sets o.R.Blog to related. Adds o to related.R.BlogPosts. Uses the global database handle and panics on error.
func (*BlogPost) SetBlogP ¶ added in v1.0.1
SetBlogP of the blog_post to the related item. Sets o.R.Blog to related. Adds o to related.R.BlogPosts. Panics on error.
func (*BlogPost) Update ¶ added in v1.0.1
Update uses an executor to update the BlogPost. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*BlogPost) UpdateG ¶ added in v1.0.1
UpdateG a single BlogPost record. See Update for whitelist behavior description.
func (*BlogPost) UpdateGP ¶ added in v1.0.1
UpdateGP a single BlogPost record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*BlogPost) UpdateP ¶ added in v1.0.1
UpdateP uses an executor to update the BlogPost, and panics on error. See Update for whitelist behavior description.
func (*BlogPost) Upsert ¶ added in v1.0.1
func (o *BlogPost) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*BlogPost) UpsertG ¶ added in v1.0.1
func (o *BlogPost) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type BlogPostSlice ¶ added in v1.0.1
type BlogPostSlice []*BlogPost
BlogPostSlice is an alias for a slice of pointers to BlogPost. This should generally be used opposed to []BlogPost.
func (BlogPostSlice) DeleteAll ¶ added in v1.0.1
func (o BlogPostSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (BlogPostSlice) DeleteAllG ¶ added in v1.0.1
func (o BlogPostSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (BlogPostSlice) DeleteAllGP ¶ added in v1.0.1
func (o BlogPostSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (BlogPostSlice) DeleteAllP ¶ added in v1.0.1
func (o BlogPostSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*BlogPostSlice) ReloadAll ¶ added in v1.0.1
func (o *BlogPostSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*BlogPostSlice) ReloadAllG ¶ added in v1.0.1
func (o *BlogPostSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*BlogPostSlice) ReloadAllGP ¶ added in v1.0.1
func (o *BlogPostSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*BlogPostSlice) ReloadAllP ¶ added in v1.0.1
func (o *BlogPostSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (BlogPostSlice) UpdateAll ¶ added in v1.0.1
func (o BlogPostSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (BlogPostSlice) UpdateAllG ¶ added in v1.0.1
func (o BlogPostSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (BlogPostSlice) UpdateAllGP ¶ added in v1.0.1
func (o BlogPostSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (BlogPostSlice) UpdateAllP ¶ added in v1.0.1
func (o BlogPostSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type BlogSlice ¶ added in v1.0.1
type BlogSlice []*Blog
BlogSlice is an alias for a slice of pointers to Blog. This should generally be used opposed to []Blog.
func (BlogSlice) DeleteAll ¶ added in v1.0.1
DeleteAll deletes all rows in the slice, using an executor.
func (BlogSlice) DeleteAllG ¶ added in v1.0.1
DeleteAllG deletes all rows in the slice.
func (BlogSlice) DeleteAllGP ¶ added in v1.0.1
func (o BlogSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (BlogSlice) DeleteAllP ¶ added in v1.0.1
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*BlogSlice) ReloadAll ¶ added in v1.0.1
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*BlogSlice) ReloadAllG ¶ added in v1.0.1
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*BlogSlice) ReloadAllGP ¶ added in v1.0.1
func (o *BlogSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*BlogSlice) ReloadAllP ¶ added in v1.0.1
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (BlogSlice) UpdateAll ¶ added in v1.0.1
UpdateAll updates all rows with the specified column values, using an executor.
func (BlogSlice) UpdateAllG ¶ added in v1.0.1
UpdateAllG updates all rows with the specified column values.
func (BlogSlice) UpdateAllGP ¶ added in v1.0.1
UpdateAllGP updates all rows with the specified column values, and panics on error.
type Collection ¶
type Collection struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` TypeID int64 `boil:"type_id" json:"type_id" toml:"type_id" yaml:"type_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` Properties null.JSON `boil:"properties" json:"properties,omitempty" toml:"properties" yaml:"properties,omitempty"` Secure int16 `boil:"secure" json:"secure" toml:"secure" yaml:"secure"` Published bool `boil:"published" json:"published" toml:"published" yaml:"published"` R *collectionR `boil:"-" json:"-" toml:"-" yaml:"-"` L collectionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Collection is an object representing the database table.
func FindCollection ¶
FindCollection retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindCollectionG ¶
func FindCollectionG(id int64, selectCols ...string) (*Collection, error)
FindCollectionG retrieves a single record by ID.
func FindCollectionGP ¶
func FindCollectionGP(id int64, selectCols ...string) *Collection
FindCollectionGP retrieves a single record by ID, and panics on error.
func FindCollectionP ¶
func FindCollectionP(exec boil.Executor, id int64, selectCols ...string) *Collection
FindCollectionP retrieves a single record by ID with an executor, and panics on error.
func (*Collection) AddCollectionI18ns ¶
func (o *Collection) AddCollectionI18ns(exec boil.Executor, insert bool, related ...*CollectionI18n) error
AddCollectionI18ns adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.Collection appropriately.
func (*Collection) AddCollectionI18nsG ¶
func (o *Collection) AddCollectionI18nsG(insert bool, related ...*CollectionI18n) error
AddCollectionI18nsG adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.Collection appropriately. Uses the global database handle.
func (*Collection) AddCollectionI18nsGP ¶
func (o *Collection) AddCollectionI18nsGP(insert bool, related ...*CollectionI18n)
AddCollectionI18nsGP adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.Collection appropriately. Uses the global database handle and panics on error.
func (*Collection) AddCollectionI18nsP ¶
func (o *Collection) AddCollectionI18nsP(exec boil.Executor, insert bool, related ...*CollectionI18n)
AddCollectionI18nsP adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.Collection appropriately. Panics on error.
func (*Collection) AddCollectionsContentUnits ¶
func (o *Collection) AddCollectionsContentUnits(exec boil.Executor, insert bool, related ...*CollectionsContentUnit) error
AddCollectionsContentUnits adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.Collection appropriately.
func (*Collection) AddCollectionsContentUnitsG ¶
func (o *Collection) AddCollectionsContentUnitsG(insert bool, related ...*CollectionsContentUnit) error
AddCollectionsContentUnitsG adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.Collection appropriately. Uses the global database handle.
func (*Collection) AddCollectionsContentUnitsGP ¶
func (o *Collection) AddCollectionsContentUnitsGP(insert bool, related ...*CollectionsContentUnit)
AddCollectionsContentUnitsGP adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.Collection appropriately. Uses the global database handle and panics on error.
func (*Collection) AddCollectionsContentUnitsP ¶
func (o *Collection) AddCollectionsContentUnitsP(exec boil.Executor, insert bool, related ...*CollectionsContentUnit)
AddCollectionsContentUnitsP adds the given related objects to the existing relationships of the collection, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.Collection appropriately. Panics on error.
func (*Collection) CollectionI18ns ¶
func (o *Collection) CollectionI18ns(exec boil.Executor, mods ...qm.QueryMod) collectionI18nQuery
CollectionI18ns retrieves all the collection_i18n's collection i18n with an executor.
func (*Collection) CollectionI18nsG ¶
func (o *Collection) CollectionI18nsG(mods ...qm.QueryMod) collectionI18nQuery
CollectionI18nsG retrieves all the collection_i18n's collection i18n.
func (*Collection) CollectionsContentUnits ¶
func (o *Collection) CollectionsContentUnits(exec boil.Executor, mods ...qm.QueryMod) collectionsContentUnitQuery
CollectionsContentUnits retrieves all the collections_content_unit's collections content units with an executor.
func (*Collection) CollectionsContentUnitsG ¶
func (o *Collection) CollectionsContentUnitsG(mods ...qm.QueryMod) collectionsContentUnitQuery
CollectionsContentUnitsG retrieves all the collections_content_unit's collections content units.
func (*Collection) Delete ¶
func (o *Collection) Delete(exec boil.Executor) error
Delete deletes a single Collection record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Collection) DeleteG ¶
func (o *Collection) DeleteG() error
DeleteG deletes a single Collection record. DeleteG will match against the primary key column to find the record to delete.
func (*Collection) DeleteGP ¶
func (o *Collection) DeleteGP()
DeleteGP deletes a single Collection record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Collection) DeleteP ¶
func (o *Collection) DeleteP(exec boil.Executor)
DeleteP deletes a single Collection record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Collection) Insert ¶
func (o *Collection) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Collection) InsertG ¶
func (o *Collection) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*Collection) InsertGP ¶
func (o *Collection) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Collection) InsertP ¶
func (o *Collection) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Collection) Reload ¶
func (o *Collection) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Collection) ReloadG ¶
func (o *Collection) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*Collection) ReloadGP ¶
func (o *Collection) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Collection) ReloadP ¶
func (o *Collection) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Collection) SetType ¶
func (o *Collection) SetType(exec boil.Executor, insert bool, related *ContentType) error
SetType of the collection to the related item. Sets o.R.Type to related. Adds o to related.R.TypeCollections.
func (*Collection) SetTypeG ¶
func (o *Collection) SetTypeG(insert bool, related *ContentType) error
SetTypeG of the collection to the related item. Sets o.R.Type to related. Adds o to related.R.TypeCollections. Uses the global database handle.
func (*Collection) SetTypeGP ¶
func (o *Collection) SetTypeGP(insert bool, related *ContentType)
SetTypeGP of the collection to the related item. Sets o.R.Type to related. Adds o to related.R.TypeCollections. Uses the global database handle and panics on error.
func (*Collection) SetTypeP ¶
func (o *Collection) SetTypeP(exec boil.Executor, insert bool, related *ContentType)
SetTypeP of the collection to the related item. Sets o.R.Type to related. Adds o to related.R.TypeCollections. Panics on error.
func (*Collection) Type ¶
func (o *Collection) Type(exec boil.Executor, mods ...qm.QueryMod) contentTypeQuery
Type pointed to by the foreign key.
func (*Collection) TypeG ¶
func (o *Collection) TypeG(mods ...qm.QueryMod) contentTypeQuery
TypeG pointed to by the foreign key.
func (*Collection) Update ¶
func (o *Collection) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the Collection. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Collection) UpdateG ¶
func (o *Collection) UpdateG(whitelist ...string) error
UpdateG a single Collection record. See Update for whitelist behavior description.
func (*Collection) UpdateGP ¶
func (o *Collection) UpdateGP(whitelist ...string)
UpdateGP a single Collection record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Collection) UpdateP ¶
func (o *Collection) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the Collection, and panics on error. See Update for whitelist behavior description.
func (*Collection) Upsert ¶
func (o *Collection) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Collection) UpsertG ¶
func (o *Collection) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type CollectionI18n ¶
type CollectionI18n struct { CollectionID int64 `boil:"collection_id" json:"collection_id" toml:"collection_id" yaml:"collection_id"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` OriginalLanguage null.String `boil:"original_language" json:"original_language,omitempty" toml:"original_language" yaml:"original_language,omitempty"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *collectionI18nR `boil:"-" json:"-" toml:"-" yaml:"-"` L collectionI18nL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CollectionI18n is an object representing the database table.
func FindCollectionI18n ¶
func FindCollectionI18n(exec boil.Executor, collectionID int64, language string, selectCols ...string) (*CollectionI18n, error)
FindCollectionI18n retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindCollectionI18nG ¶
func FindCollectionI18nG(collectionID int64, language string, selectCols ...string) (*CollectionI18n, error)
FindCollectionI18nG retrieves a single record by ID.
func FindCollectionI18nGP ¶
func FindCollectionI18nGP(collectionID int64, language string, selectCols ...string) *CollectionI18n
FindCollectionI18nGP retrieves a single record by ID, and panics on error.
func FindCollectionI18nP ¶
func FindCollectionI18nP(exec boil.Executor, collectionID int64, language string, selectCols ...string) *CollectionI18n
FindCollectionI18nP retrieves a single record by ID with an executor, and panics on error.
func (*CollectionI18n) Collection ¶
func (o *CollectionI18n) Collection(exec boil.Executor, mods ...qm.QueryMod) collectionQuery
Collection pointed to by the foreign key.
func (*CollectionI18n) CollectionG ¶
func (o *CollectionI18n) CollectionG(mods ...qm.QueryMod) collectionQuery
CollectionG pointed to by the foreign key.
func (*CollectionI18n) Delete ¶
func (o *CollectionI18n) Delete(exec boil.Executor) error
Delete deletes a single CollectionI18n record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CollectionI18n) DeleteG ¶
func (o *CollectionI18n) DeleteG() error
DeleteG deletes a single CollectionI18n record. DeleteG will match against the primary key column to find the record to delete.
func (*CollectionI18n) DeleteGP ¶
func (o *CollectionI18n) DeleteGP()
DeleteGP deletes a single CollectionI18n record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*CollectionI18n) DeleteP ¶
func (o *CollectionI18n) DeleteP(exec boil.Executor)
DeleteP deletes a single CollectionI18n record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*CollectionI18n) Insert ¶
func (o *CollectionI18n) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*CollectionI18n) InsertG ¶
func (o *CollectionI18n) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*CollectionI18n) InsertGP ¶
func (o *CollectionI18n) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*CollectionI18n) InsertP ¶
func (o *CollectionI18n) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*CollectionI18n) Reload ¶
func (o *CollectionI18n) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CollectionI18n) ReloadG ¶
func (o *CollectionI18n) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*CollectionI18n) ReloadGP ¶
func (o *CollectionI18n) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*CollectionI18n) ReloadP ¶
func (o *CollectionI18n) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*CollectionI18n) RemoveUser ¶
func (o *CollectionI18n) RemoveUser(exec boil.Executor, related *User) error
RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*CollectionI18n) RemoveUserG ¶
func (o *CollectionI18n) RemoveUserG(related *User) error
RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*CollectionI18n) RemoveUserGP ¶
func (o *CollectionI18n) RemoveUserGP(related *User)
RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*CollectionI18n) RemoveUserP ¶
func (o *CollectionI18n) RemoveUserP(exec boil.Executor, related *User)
RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*CollectionI18n) SetCollection ¶
func (o *CollectionI18n) SetCollection(exec boil.Executor, insert bool, related *Collection) error
SetCollection of the collection_i18n to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionI18ns.
func (*CollectionI18n) SetCollectionG ¶
func (o *CollectionI18n) SetCollectionG(insert bool, related *Collection) error
SetCollectionG of the collection_i18n to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionI18ns. Uses the global database handle.
func (*CollectionI18n) SetCollectionGP ¶
func (o *CollectionI18n) SetCollectionGP(insert bool, related *Collection)
SetCollectionGP of the collection_i18n to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionI18ns. Uses the global database handle and panics on error.
func (*CollectionI18n) SetCollectionP ¶
func (o *CollectionI18n) SetCollectionP(exec boil.Executor, insert bool, related *Collection)
SetCollectionP of the collection_i18n to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionI18ns. Panics on error.
func (*CollectionI18n) SetUser ¶
SetUser of the collection_i18n to the related item. Sets o.R.User to related. Adds o to related.R.CollectionI18ns.
func (*CollectionI18n) SetUserG ¶
func (o *CollectionI18n) SetUserG(insert bool, related *User) error
SetUserG of the collection_i18n to the related item. Sets o.R.User to related. Adds o to related.R.CollectionI18ns. Uses the global database handle.
func (*CollectionI18n) SetUserGP ¶
func (o *CollectionI18n) SetUserGP(insert bool, related *User)
SetUserGP of the collection_i18n to the related item. Sets o.R.User to related. Adds o to related.R.CollectionI18ns. Uses the global database handle and panics on error.
func (*CollectionI18n) SetUserP ¶
func (o *CollectionI18n) SetUserP(exec boil.Executor, insert bool, related *User)
SetUserP of the collection_i18n to the related item. Sets o.R.User to related. Adds o to related.R.CollectionI18ns. Panics on error.
func (*CollectionI18n) Update ¶
func (o *CollectionI18n) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the CollectionI18n. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*CollectionI18n) UpdateG ¶
func (o *CollectionI18n) UpdateG(whitelist ...string) error
UpdateG a single CollectionI18n record. See Update for whitelist behavior description.
func (*CollectionI18n) UpdateGP ¶
func (o *CollectionI18n) UpdateGP(whitelist ...string)
UpdateGP a single CollectionI18n record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*CollectionI18n) UpdateP ¶
func (o *CollectionI18n) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the CollectionI18n, and panics on error. See Update for whitelist behavior description.
func (*CollectionI18n) Upsert ¶
func (o *CollectionI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*CollectionI18n) UpsertG ¶
func (o *CollectionI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*CollectionI18n) UpsertGP ¶
func (o *CollectionI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*CollectionI18n) UpsertP ¶
func (o *CollectionI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*CollectionI18n) User ¶
func (o *CollectionI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
func (*CollectionI18n) UserG ¶
func (o *CollectionI18n) UserG(mods ...qm.QueryMod) userQuery
UserG pointed to by the foreign key.
type CollectionI18nSlice ¶
type CollectionI18nSlice []*CollectionI18n
CollectionI18nSlice is an alias for a slice of pointers to CollectionI18n. This should generally be used opposed to []CollectionI18n.
func (CollectionI18nSlice) DeleteAll ¶
func (o CollectionI18nSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (CollectionI18nSlice) DeleteAllG ¶
func (o CollectionI18nSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (CollectionI18nSlice) DeleteAllGP ¶
func (o CollectionI18nSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (CollectionI18nSlice) DeleteAllP ¶
func (o CollectionI18nSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*CollectionI18nSlice) ReloadAll ¶
func (o *CollectionI18nSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CollectionI18nSlice) ReloadAllG ¶
func (o *CollectionI18nSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CollectionI18nSlice) ReloadAllGP ¶
func (o *CollectionI18nSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*CollectionI18nSlice) ReloadAllP ¶
func (o *CollectionI18nSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (CollectionI18nSlice) UpdateAll ¶
func (o CollectionI18nSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (CollectionI18nSlice) UpdateAllG ¶
func (o CollectionI18nSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (CollectionI18nSlice) UpdateAllGP ¶
func (o CollectionI18nSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (CollectionI18nSlice) UpdateAllP ¶
func (o CollectionI18nSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type CollectionSlice ¶
type CollectionSlice []*Collection
CollectionSlice is an alias for a slice of pointers to Collection. This should generally be used opposed to []Collection.
func (CollectionSlice) DeleteAll ¶
func (o CollectionSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (CollectionSlice) DeleteAllG ¶
func (o CollectionSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (CollectionSlice) DeleteAllGP ¶
func (o CollectionSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (CollectionSlice) DeleteAllP ¶
func (o CollectionSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*CollectionSlice) ReloadAll ¶
func (o *CollectionSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CollectionSlice) ReloadAllG ¶
func (o *CollectionSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CollectionSlice) ReloadAllGP ¶
func (o *CollectionSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*CollectionSlice) ReloadAllP ¶
func (o *CollectionSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (CollectionSlice) UpdateAll ¶
func (o CollectionSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (CollectionSlice) UpdateAllG ¶
func (o CollectionSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (CollectionSlice) UpdateAllGP ¶
func (o CollectionSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (CollectionSlice) UpdateAllP ¶
func (o CollectionSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type CollectionsContentUnit ¶
type CollectionsContentUnit struct { CollectionID int64 `boil:"collection_id" json:"collection_id" toml:"collection_id" yaml:"collection_id"` ContentUnitID int64 `boil:"content_unit_id" json:"content_unit_id" toml:"content_unit_id" yaml:"content_unit_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Position int `boil:"position" json:"position" toml:"position" yaml:"position"` R *collectionsContentUnitR `boil:"-" json:"-" toml:"-" yaml:"-"` L collectionsContentUnitL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CollectionsContentUnit is an object representing the database table.
func FindCollectionsContentUnit ¶
func FindCollectionsContentUnit(exec boil.Executor, collectionID int64, contentUnitID int64, selectCols ...string) (*CollectionsContentUnit, error)
FindCollectionsContentUnit retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindCollectionsContentUnitG ¶
func FindCollectionsContentUnitG(collectionID int64, contentUnitID int64, selectCols ...string) (*CollectionsContentUnit, error)
FindCollectionsContentUnitG retrieves a single record by ID.
func FindCollectionsContentUnitGP ¶
func FindCollectionsContentUnitGP(collectionID int64, contentUnitID int64, selectCols ...string) *CollectionsContentUnit
FindCollectionsContentUnitGP retrieves a single record by ID, and panics on error.
func FindCollectionsContentUnitP ¶
func FindCollectionsContentUnitP(exec boil.Executor, collectionID int64, contentUnitID int64, selectCols ...string) *CollectionsContentUnit
FindCollectionsContentUnitP retrieves a single record by ID with an executor, and panics on error.
func (*CollectionsContentUnit) Collection ¶
func (o *CollectionsContentUnit) Collection(exec boil.Executor, mods ...qm.QueryMod) collectionQuery
Collection pointed to by the foreign key.
func (*CollectionsContentUnit) CollectionG ¶
func (o *CollectionsContentUnit) CollectionG(mods ...qm.QueryMod) collectionQuery
CollectionG pointed to by the foreign key.
func (*CollectionsContentUnit) ContentUnit ¶
func (o *CollectionsContentUnit) ContentUnit(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
ContentUnit pointed to by the foreign key.
func (*CollectionsContentUnit) ContentUnitG ¶
func (o *CollectionsContentUnit) ContentUnitG(mods ...qm.QueryMod) contentUnitQuery
ContentUnitG pointed to by the foreign key.
func (*CollectionsContentUnit) Delete ¶
func (o *CollectionsContentUnit) Delete(exec boil.Executor) error
Delete deletes a single CollectionsContentUnit record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CollectionsContentUnit) DeleteG ¶
func (o *CollectionsContentUnit) DeleteG() error
DeleteG deletes a single CollectionsContentUnit record. DeleteG will match against the primary key column to find the record to delete.
func (*CollectionsContentUnit) DeleteGP ¶
func (o *CollectionsContentUnit) DeleteGP()
DeleteGP deletes a single CollectionsContentUnit record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*CollectionsContentUnit) DeleteP ¶
func (o *CollectionsContentUnit) DeleteP(exec boil.Executor)
DeleteP deletes a single CollectionsContentUnit record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*CollectionsContentUnit) Insert ¶
func (o *CollectionsContentUnit) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*CollectionsContentUnit) InsertG ¶
func (o *CollectionsContentUnit) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*CollectionsContentUnit) InsertGP ¶
func (o *CollectionsContentUnit) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*CollectionsContentUnit) InsertP ¶
func (o *CollectionsContentUnit) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*CollectionsContentUnit) Reload ¶
func (o *CollectionsContentUnit) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CollectionsContentUnit) ReloadG ¶
func (o *CollectionsContentUnit) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*CollectionsContentUnit) ReloadGP ¶
func (o *CollectionsContentUnit) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*CollectionsContentUnit) ReloadP ¶
func (o *CollectionsContentUnit) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*CollectionsContentUnit) SetCollection ¶
func (o *CollectionsContentUnit) SetCollection(exec boil.Executor, insert bool, related *Collection) error
SetCollection of the collections_content_unit to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionsContentUnits.
func (*CollectionsContentUnit) SetCollectionG ¶
func (o *CollectionsContentUnit) SetCollectionG(insert bool, related *Collection) error
SetCollectionG of the collections_content_unit to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionsContentUnits. Uses the global database handle.
func (*CollectionsContentUnit) SetCollectionGP ¶
func (o *CollectionsContentUnit) SetCollectionGP(insert bool, related *Collection)
SetCollectionGP of the collections_content_unit to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionsContentUnits. Uses the global database handle and panics on error.
func (*CollectionsContentUnit) SetCollectionP ¶
func (o *CollectionsContentUnit) SetCollectionP(exec boil.Executor, insert bool, related *Collection)
SetCollectionP of the collections_content_unit to the related item. Sets o.R.Collection to related. Adds o to related.R.CollectionsContentUnits. Panics on error.
func (*CollectionsContentUnit) SetContentUnit ¶
func (o *CollectionsContentUnit) SetContentUnit(exec boil.Executor, insert bool, related *ContentUnit) error
SetContentUnit of the collections_content_unit to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.CollectionsContentUnits.
func (*CollectionsContentUnit) SetContentUnitG ¶
func (o *CollectionsContentUnit) SetContentUnitG(insert bool, related *ContentUnit) error
SetContentUnitG of the collections_content_unit to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.CollectionsContentUnits. Uses the global database handle.
func (*CollectionsContentUnit) SetContentUnitGP ¶
func (o *CollectionsContentUnit) SetContentUnitGP(insert bool, related *ContentUnit)
SetContentUnitGP of the collections_content_unit to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.CollectionsContentUnits. Uses the global database handle and panics on error.
func (*CollectionsContentUnit) SetContentUnitP ¶
func (o *CollectionsContentUnit) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
SetContentUnitP of the collections_content_unit to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.CollectionsContentUnits. Panics on error.
func (*CollectionsContentUnit) Update ¶
func (o *CollectionsContentUnit) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the CollectionsContentUnit. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*CollectionsContentUnit) UpdateG ¶
func (o *CollectionsContentUnit) UpdateG(whitelist ...string) error
UpdateG a single CollectionsContentUnit record. See Update for whitelist behavior description.
func (*CollectionsContentUnit) UpdateGP ¶
func (o *CollectionsContentUnit) UpdateGP(whitelist ...string)
UpdateGP a single CollectionsContentUnit record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*CollectionsContentUnit) UpdateP ¶
func (o *CollectionsContentUnit) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the CollectionsContentUnit, and panics on error. See Update for whitelist behavior description.
func (*CollectionsContentUnit) Upsert ¶
func (o *CollectionsContentUnit) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*CollectionsContentUnit) UpsertG ¶
func (o *CollectionsContentUnit) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*CollectionsContentUnit) UpsertGP ¶
func (o *CollectionsContentUnit) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*CollectionsContentUnit) UpsertP ¶
func (o *CollectionsContentUnit) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type CollectionsContentUnitSlice ¶
type CollectionsContentUnitSlice []*CollectionsContentUnit
CollectionsContentUnitSlice is an alias for a slice of pointers to CollectionsContentUnit. This should generally be used opposed to []CollectionsContentUnit.
func (CollectionsContentUnitSlice) DeleteAll ¶
func (o CollectionsContentUnitSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (CollectionsContentUnitSlice) DeleteAllG ¶
func (o CollectionsContentUnitSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (CollectionsContentUnitSlice) DeleteAllGP ¶
func (o CollectionsContentUnitSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (CollectionsContentUnitSlice) DeleteAllP ¶
func (o CollectionsContentUnitSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*CollectionsContentUnitSlice) ReloadAll ¶
func (o *CollectionsContentUnitSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CollectionsContentUnitSlice) ReloadAllG ¶
func (o *CollectionsContentUnitSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CollectionsContentUnitSlice) ReloadAllGP ¶
func (o *CollectionsContentUnitSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*CollectionsContentUnitSlice) ReloadAllP ¶
func (o *CollectionsContentUnitSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (CollectionsContentUnitSlice) UpdateAll ¶
func (o CollectionsContentUnitSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (CollectionsContentUnitSlice) UpdateAllG ¶
func (o CollectionsContentUnitSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (CollectionsContentUnitSlice) UpdateAllGP ¶
func (o CollectionsContentUnitSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (CollectionsContentUnitSlice) UpdateAllP ¶
func (o CollectionsContentUnitSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ContentRoleType ¶
type ContentRoleType struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` R *contentRoleTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L contentRoleTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ContentRoleType is an object representing the database table.
func FindContentRoleType ¶
func FindContentRoleType(exec boil.Executor, id int64, selectCols ...string) (*ContentRoleType, error)
FindContentRoleType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindContentRoleTypeG ¶
func FindContentRoleTypeG(id int64, selectCols ...string) (*ContentRoleType, error)
FindContentRoleTypeG retrieves a single record by ID.
func FindContentRoleTypeGP ¶
func FindContentRoleTypeGP(id int64, selectCols ...string) *ContentRoleType
FindContentRoleTypeGP retrieves a single record by ID, and panics on error.
func FindContentRoleTypeP ¶
func FindContentRoleTypeP(exec boil.Executor, id int64, selectCols ...string) *ContentRoleType
FindContentRoleTypeP retrieves a single record by ID with an executor, and panics on error.
func (*ContentRoleType) AddRoleContentUnitsPersons ¶
func (o *ContentRoleType) AddRoleContentUnitsPersons(exec boil.Executor, insert bool, related ...*ContentUnitsPerson) error
AddRoleContentUnitsPersons adds the given related objects to the existing relationships of the content_role_type, optionally inserting them as new records. Appends related to o.R.RoleContentUnitsPersons. Sets related.R.Role appropriately.
func (*ContentRoleType) AddRoleContentUnitsPersonsG ¶
func (o *ContentRoleType) AddRoleContentUnitsPersonsG(insert bool, related ...*ContentUnitsPerson) error
AddRoleContentUnitsPersonsG adds the given related objects to the existing relationships of the content_role_type, optionally inserting them as new records. Appends related to o.R.RoleContentUnitsPersons. Sets related.R.Role appropriately. Uses the global database handle.
func (*ContentRoleType) AddRoleContentUnitsPersonsGP ¶
func (o *ContentRoleType) AddRoleContentUnitsPersonsGP(insert bool, related ...*ContentUnitsPerson)
AddRoleContentUnitsPersonsGP adds the given related objects to the existing relationships of the content_role_type, optionally inserting them as new records. Appends related to o.R.RoleContentUnitsPersons. Sets related.R.Role appropriately. Uses the global database handle and panics on error.
func (*ContentRoleType) AddRoleContentUnitsPersonsP ¶
func (o *ContentRoleType) AddRoleContentUnitsPersonsP(exec boil.Executor, insert bool, related ...*ContentUnitsPerson)
AddRoleContentUnitsPersonsP adds the given related objects to the existing relationships of the content_role_type, optionally inserting them as new records. Appends related to o.R.RoleContentUnitsPersons. Sets related.R.Role appropriately. Panics on error.
func (*ContentRoleType) Delete ¶
func (o *ContentRoleType) Delete(exec boil.Executor) error
Delete deletes a single ContentRoleType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ContentRoleType) DeleteG ¶
func (o *ContentRoleType) DeleteG() error
DeleteG deletes a single ContentRoleType record. DeleteG will match against the primary key column to find the record to delete.
func (*ContentRoleType) DeleteGP ¶
func (o *ContentRoleType) DeleteGP()
DeleteGP deletes a single ContentRoleType record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentRoleType) DeleteP ¶
func (o *ContentRoleType) DeleteP(exec boil.Executor)
DeleteP deletes a single ContentRoleType record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentRoleType) Insert ¶
func (o *ContentRoleType) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ContentRoleType) InsertG ¶
func (o *ContentRoleType) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ContentRoleType) InsertGP ¶
func (o *ContentRoleType) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ContentRoleType) InsertP ¶
func (o *ContentRoleType) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ContentRoleType) Reload ¶
func (o *ContentRoleType) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ContentRoleType) ReloadG ¶
func (o *ContentRoleType) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ContentRoleType) ReloadGP ¶
func (o *ContentRoleType) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ContentRoleType) ReloadP ¶
func (o *ContentRoleType) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ContentRoleType) RoleContentUnitsPersons ¶
func (o *ContentRoleType) RoleContentUnitsPersons(exec boil.Executor, mods ...qm.QueryMod) contentUnitsPersonQuery
RoleContentUnitsPersons retrieves all the content_units_person's content units persons with an executor via role_id column.
func (*ContentRoleType) RoleContentUnitsPersonsG ¶
func (o *ContentRoleType) RoleContentUnitsPersonsG(mods ...qm.QueryMod) contentUnitsPersonQuery
RoleContentUnitsPersonsG retrieves all the content_units_person's content units persons via role_id column.
func (*ContentRoleType) Update ¶
func (o *ContentRoleType) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ContentRoleType. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ContentRoleType) UpdateG ¶
func (o *ContentRoleType) UpdateG(whitelist ...string) error
UpdateG a single ContentRoleType record. See Update for whitelist behavior description.
func (*ContentRoleType) UpdateGP ¶
func (o *ContentRoleType) UpdateGP(whitelist ...string)
UpdateGP a single ContentRoleType record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ContentRoleType) UpdateP ¶
func (o *ContentRoleType) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ContentRoleType, and panics on error. See Update for whitelist behavior description.
func (*ContentRoleType) Upsert ¶
func (o *ContentRoleType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ContentRoleType) UpsertG ¶
func (o *ContentRoleType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type ContentRoleTypeSlice ¶
type ContentRoleTypeSlice []*ContentRoleType
ContentRoleTypeSlice is an alias for a slice of pointers to ContentRoleType. This should generally be used opposed to []ContentRoleType.
func (ContentRoleTypeSlice) DeleteAll ¶
func (o ContentRoleTypeSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ContentRoleTypeSlice) DeleteAllG ¶
func (o ContentRoleTypeSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ContentRoleTypeSlice) DeleteAllGP ¶
func (o ContentRoleTypeSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ContentRoleTypeSlice) DeleteAllP ¶
func (o ContentRoleTypeSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ContentRoleTypeSlice) ReloadAll ¶
func (o *ContentRoleTypeSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentRoleTypeSlice) ReloadAllG ¶
func (o *ContentRoleTypeSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentRoleTypeSlice) ReloadAllGP ¶
func (o *ContentRoleTypeSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ContentRoleTypeSlice) ReloadAllP ¶
func (o *ContentRoleTypeSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ContentRoleTypeSlice) UpdateAll ¶
func (o ContentRoleTypeSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ContentRoleTypeSlice) UpdateAllG ¶
func (o ContentRoleTypeSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ContentRoleTypeSlice) UpdateAllGP ¶
func (o ContentRoleTypeSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ContentRoleTypeSlice) UpdateAllP ¶
func (o ContentRoleTypeSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ContentType ¶
type ContentType struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` R *contentTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L contentTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ContentType is an object representing the database table.
func FindContentType ¶
FindContentType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindContentTypeG ¶
func FindContentTypeG(id int64, selectCols ...string) (*ContentType, error)
FindContentTypeG retrieves a single record by ID.
func FindContentTypeGP ¶
func FindContentTypeGP(id int64, selectCols ...string) *ContentType
FindContentTypeGP retrieves a single record by ID, and panics on error.
func FindContentTypeP ¶
func FindContentTypeP(exec boil.Executor, id int64, selectCols ...string) *ContentType
FindContentTypeP retrieves a single record by ID with an executor, and panics on error.
func (*ContentType) AddTypeCollections ¶
func (o *ContentType) AddTypeCollections(exec boil.Executor, insert bool, related ...*Collection) error
AddTypeCollections adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeCollections. Sets related.R.Type appropriately.
func (*ContentType) AddTypeCollectionsG ¶
func (o *ContentType) AddTypeCollectionsG(insert bool, related ...*Collection) error
AddTypeCollectionsG adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeCollections. Sets related.R.Type appropriately. Uses the global database handle.
func (*ContentType) AddTypeCollectionsGP ¶
func (o *ContentType) AddTypeCollectionsGP(insert bool, related ...*Collection)
AddTypeCollectionsGP adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeCollections. Sets related.R.Type appropriately. Uses the global database handle and panics on error.
func (*ContentType) AddTypeCollectionsP ¶
func (o *ContentType) AddTypeCollectionsP(exec boil.Executor, insert bool, related ...*Collection)
AddTypeCollectionsP adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeCollections. Sets related.R.Type appropriately. Panics on error.
func (*ContentType) AddTypeContentUnits ¶
func (o *ContentType) AddTypeContentUnits(exec boil.Executor, insert bool, related ...*ContentUnit) error
AddTypeContentUnits adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeContentUnits. Sets related.R.Type appropriately.
func (*ContentType) AddTypeContentUnitsG ¶
func (o *ContentType) AddTypeContentUnitsG(insert bool, related ...*ContentUnit) error
AddTypeContentUnitsG adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeContentUnits. Sets related.R.Type appropriately. Uses the global database handle.
func (*ContentType) AddTypeContentUnitsGP ¶
func (o *ContentType) AddTypeContentUnitsGP(insert bool, related ...*ContentUnit)
AddTypeContentUnitsGP adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeContentUnits. Sets related.R.Type appropriately. Uses the global database handle and panics on error.
func (*ContentType) AddTypeContentUnitsP ¶
func (o *ContentType) AddTypeContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
AddTypeContentUnitsP adds the given related objects to the existing relationships of the content_type, optionally inserting them as new records. Appends related to o.R.TypeContentUnits. Sets related.R.Type appropriately. Panics on error.
func (*ContentType) Delete ¶
func (o *ContentType) Delete(exec boil.Executor) error
Delete deletes a single ContentType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ContentType) DeleteG ¶
func (o *ContentType) DeleteG() error
DeleteG deletes a single ContentType record. DeleteG will match against the primary key column to find the record to delete.
func (*ContentType) DeleteGP ¶
func (o *ContentType) DeleteGP()
DeleteGP deletes a single ContentType record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentType) DeleteP ¶
func (o *ContentType) DeleteP(exec boil.Executor)
DeleteP deletes a single ContentType record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentType) Insert ¶
func (o *ContentType) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ContentType) InsertG ¶
func (o *ContentType) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ContentType) InsertGP ¶
func (o *ContentType) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ContentType) InsertP ¶
func (o *ContentType) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ContentType) Reload ¶
func (o *ContentType) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ContentType) ReloadG ¶
func (o *ContentType) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ContentType) ReloadGP ¶
func (o *ContentType) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ContentType) ReloadP ¶
func (o *ContentType) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ContentType) TypeCollections ¶
func (o *ContentType) TypeCollections(exec boil.Executor, mods ...qm.QueryMod) collectionQuery
TypeCollections retrieves all the collection's collections with an executor via type_id column.
func (*ContentType) TypeCollectionsG ¶
func (o *ContentType) TypeCollectionsG(mods ...qm.QueryMod) collectionQuery
TypeCollectionsG retrieves all the collection's collections via type_id column.
func (*ContentType) TypeContentUnits ¶
func (o *ContentType) TypeContentUnits(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
TypeContentUnits retrieves all the content_unit's content units with an executor via type_id column.
func (*ContentType) TypeContentUnitsG ¶
func (o *ContentType) TypeContentUnitsG(mods ...qm.QueryMod) contentUnitQuery
TypeContentUnitsG retrieves all the content_unit's content units via type_id column.
func (*ContentType) Update ¶
func (o *ContentType) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ContentType. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ContentType) UpdateG ¶
func (o *ContentType) UpdateG(whitelist ...string) error
UpdateG a single ContentType record. See Update for whitelist behavior description.
func (*ContentType) UpdateGP ¶
func (o *ContentType) UpdateGP(whitelist ...string)
UpdateGP a single ContentType record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ContentType) UpdateP ¶
func (o *ContentType) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ContentType, and panics on error. See Update for whitelist behavior description.
func (*ContentType) Upsert ¶
func (o *ContentType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ContentType) UpsertG ¶
func (o *ContentType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type ContentTypeSlice ¶
type ContentTypeSlice []*ContentType
ContentTypeSlice is an alias for a slice of pointers to ContentType. This should generally be used opposed to []ContentType.
func (ContentTypeSlice) DeleteAll ¶
func (o ContentTypeSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ContentTypeSlice) DeleteAllG ¶
func (o ContentTypeSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ContentTypeSlice) DeleteAllGP ¶
func (o ContentTypeSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ContentTypeSlice) DeleteAllP ¶
func (o ContentTypeSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ContentTypeSlice) ReloadAll ¶
func (o *ContentTypeSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentTypeSlice) ReloadAllG ¶
func (o *ContentTypeSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentTypeSlice) ReloadAllGP ¶
func (o *ContentTypeSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ContentTypeSlice) ReloadAllP ¶
func (o *ContentTypeSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ContentTypeSlice) UpdateAll ¶
func (o ContentTypeSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ContentTypeSlice) UpdateAllG ¶
func (o ContentTypeSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ContentTypeSlice) UpdateAllGP ¶
func (o ContentTypeSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ContentTypeSlice) UpdateAllP ¶
func (o ContentTypeSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ContentUnit ¶
type ContentUnit struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` TypeID int64 `boil:"type_id" json:"type_id" toml:"type_id" yaml:"type_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` Properties null.JSON `boil:"properties" json:"properties,omitempty" toml:"properties" yaml:"properties,omitempty"` Secure int16 `boil:"secure" json:"secure" toml:"secure" yaml:"secure"` Published bool `boil:"published" json:"published" toml:"published" yaml:"published"` R *contentUnitR `boil:"-" json:"-" toml:"-" yaml:"-"` L contentUnitL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ContentUnit is an object representing the database table.
func FindContentUnit ¶
FindContentUnit retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindContentUnitG ¶
func FindContentUnitG(id int64, selectCols ...string) (*ContentUnit, error)
FindContentUnitG retrieves a single record by ID.
func FindContentUnitGP ¶
func FindContentUnitGP(id int64, selectCols ...string) *ContentUnit
FindContentUnitGP retrieves a single record by ID, and panics on error.
func FindContentUnitP ¶
func FindContentUnitP(exec boil.Executor, id int64, selectCols ...string) *ContentUnit
FindContentUnitP retrieves a single record by ID with an executor, and panics on error.
func (*ContentUnit) AddCollectionsContentUnits ¶
func (o *ContentUnit) AddCollectionsContentUnits(exec boil.Executor, insert bool, related ...*CollectionsContentUnit) error
AddCollectionsContentUnits adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.ContentUnit appropriately.
func (*ContentUnit) AddCollectionsContentUnitsG ¶
func (o *ContentUnit) AddCollectionsContentUnitsG(insert bool, related ...*CollectionsContentUnit) error
AddCollectionsContentUnitsG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.ContentUnit appropriately. Uses the global database handle.
func (*ContentUnit) AddCollectionsContentUnitsGP ¶
func (o *ContentUnit) AddCollectionsContentUnitsGP(insert bool, related ...*CollectionsContentUnit)
AddCollectionsContentUnitsGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.ContentUnit appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddCollectionsContentUnitsP ¶
func (o *ContentUnit) AddCollectionsContentUnitsP(exec boil.Executor, insert bool, related ...*CollectionsContentUnit)
AddCollectionsContentUnitsP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.CollectionsContentUnits. Sets related.R.ContentUnit appropriately. Panics on error.
func (*ContentUnit) AddContentUnitI18ns ¶
func (o *ContentUnit) AddContentUnitI18ns(exec boil.Executor, insert bool, related ...*ContentUnitI18n) error
AddContentUnitI18ns adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.ContentUnit appropriately.
func (*ContentUnit) AddContentUnitI18nsG ¶
func (o *ContentUnit) AddContentUnitI18nsG(insert bool, related ...*ContentUnitI18n) error
AddContentUnitI18nsG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.ContentUnit appropriately. Uses the global database handle.
func (*ContentUnit) AddContentUnitI18nsGP ¶
func (o *ContentUnit) AddContentUnitI18nsGP(insert bool, related ...*ContentUnitI18n)
AddContentUnitI18nsGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.ContentUnit appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddContentUnitI18nsP ¶
func (o *ContentUnit) AddContentUnitI18nsP(exec boil.Executor, insert bool, related ...*ContentUnitI18n)
AddContentUnitI18nsP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.ContentUnit appropriately. Panics on error.
func (*ContentUnit) AddContentUnitsPersons ¶
func (o *ContentUnit) AddContentUnitsPersons(exec boil.Executor, insert bool, related ...*ContentUnitsPerson) error
AddContentUnitsPersons adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.ContentUnit appropriately.
func (*ContentUnit) AddContentUnitsPersonsG ¶
func (o *ContentUnit) AddContentUnitsPersonsG(insert bool, related ...*ContentUnitsPerson) error
AddContentUnitsPersonsG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.ContentUnit appropriately. Uses the global database handle.
func (*ContentUnit) AddContentUnitsPersonsGP ¶
func (o *ContentUnit) AddContentUnitsPersonsGP(insert bool, related ...*ContentUnitsPerson)
AddContentUnitsPersonsGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.ContentUnit appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddContentUnitsPersonsP ¶
func (o *ContentUnit) AddContentUnitsPersonsP(exec boil.Executor, insert bool, related ...*ContentUnitsPerson)
AddContentUnitsPersonsP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.ContentUnit appropriately. Panics on error.
func (*ContentUnit) AddDerivedContentUnitDerivations ¶
func (o *ContentUnit) AddDerivedContentUnitDerivations(exec boil.Executor, insert bool, related ...*ContentUnitDerivation) error
AddDerivedContentUnitDerivations adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.DerivedContentUnitDerivations. Sets related.R.Derived appropriately.
func (*ContentUnit) AddDerivedContentUnitDerivationsG ¶
func (o *ContentUnit) AddDerivedContentUnitDerivationsG(insert bool, related ...*ContentUnitDerivation) error
AddDerivedContentUnitDerivationsG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.DerivedContentUnitDerivations. Sets related.R.Derived appropriately. Uses the global database handle.
func (*ContentUnit) AddDerivedContentUnitDerivationsGP ¶
func (o *ContentUnit) AddDerivedContentUnitDerivationsGP(insert bool, related ...*ContentUnitDerivation)
AddDerivedContentUnitDerivationsGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.DerivedContentUnitDerivations. Sets related.R.Derived appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddDerivedContentUnitDerivationsP ¶
func (o *ContentUnit) AddDerivedContentUnitDerivationsP(exec boil.Executor, insert bool, related ...*ContentUnitDerivation)
AddDerivedContentUnitDerivationsP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.DerivedContentUnitDerivations. Sets related.R.Derived appropriately. Panics on error.
func (*ContentUnit) AddFiles ¶
AddFiles adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.ContentUnit appropriately.
func (*ContentUnit) AddFilesG ¶
func (o *ContentUnit) AddFilesG(insert bool, related ...*File) error
AddFilesG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.ContentUnit appropriately. Uses the global database handle.
func (*ContentUnit) AddFilesGP ¶
func (o *ContentUnit) AddFilesGP(insert bool, related ...*File)
AddFilesGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.ContentUnit appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddFilesP ¶
func (o *ContentUnit) AddFilesP(exec boil.Executor, insert bool, related ...*File)
AddFilesP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.ContentUnit appropriately. Panics on error.
func (*ContentUnit) AddPublishers ¶
AddPublishers adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Publishers. Sets related.R.ContentUnits appropriately.
func (*ContentUnit) AddPublishersG ¶
func (o *ContentUnit) AddPublishersG(insert bool, related ...*Publisher) error
AddPublishersG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Publishers. Sets related.R.ContentUnits appropriately. Uses the global database handle.
func (*ContentUnit) AddPublishersGP ¶
func (o *ContentUnit) AddPublishersGP(insert bool, related ...*Publisher)
AddPublishersGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Publishers. Sets related.R.ContentUnits appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddPublishersP ¶
func (o *ContentUnit) AddPublishersP(exec boil.Executor, insert bool, related ...*Publisher)
AddPublishersP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Publishers. Sets related.R.ContentUnits appropriately. Panics on error.
func (*ContentUnit) AddSourceContentUnitDerivations ¶
func (o *ContentUnit) AddSourceContentUnitDerivations(exec boil.Executor, insert bool, related ...*ContentUnitDerivation) error
AddSourceContentUnitDerivations adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.SourceContentUnitDerivations. Sets related.R.Source appropriately.
func (*ContentUnit) AddSourceContentUnitDerivationsG ¶
func (o *ContentUnit) AddSourceContentUnitDerivationsG(insert bool, related ...*ContentUnitDerivation) error
AddSourceContentUnitDerivationsG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.SourceContentUnitDerivations. Sets related.R.Source appropriately. Uses the global database handle.
func (*ContentUnit) AddSourceContentUnitDerivationsGP ¶
func (o *ContentUnit) AddSourceContentUnitDerivationsGP(insert bool, related ...*ContentUnitDerivation)
AddSourceContentUnitDerivationsGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.SourceContentUnitDerivations. Sets related.R.Source appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddSourceContentUnitDerivationsP ¶
func (o *ContentUnit) AddSourceContentUnitDerivationsP(exec boil.Executor, insert bool, related ...*ContentUnitDerivation)
AddSourceContentUnitDerivationsP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.SourceContentUnitDerivations. Sets related.R.Source appropriately. Panics on error.
func (*ContentUnit) AddSources ¶
AddSources adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.ContentUnits appropriately.
func (*ContentUnit) AddSourcesG ¶
func (o *ContentUnit) AddSourcesG(insert bool, related ...*Source) error
AddSourcesG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.ContentUnits appropriately. Uses the global database handle.
func (*ContentUnit) AddSourcesGP ¶
func (o *ContentUnit) AddSourcesGP(insert bool, related ...*Source)
AddSourcesGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.ContentUnits appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddSourcesP ¶
func (o *ContentUnit) AddSourcesP(exec boil.Executor, insert bool, related ...*Source)
AddSourcesP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Sources. Sets related.R.ContentUnits appropriately. Panics on error.
func (*ContentUnit) AddTags ¶
AddTags adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Tags. Sets related.R.ContentUnits appropriately.
func (*ContentUnit) AddTagsG ¶
func (o *ContentUnit) AddTagsG(insert bool, related ...*Tag) error
AddTagsG adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Tags. Sets related.R.ContentUnits appropriately. Uses the global database handle.
func (*ContentUnit) AddTagsGP ¶
func (o *ContentUnit) AddTagsGP(insert bool, related ...*Tag)
AddTagsGP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Tags. Sets related.R.ContentUnits appropriately. Uses the global database handle and panics on error.
func (*ContentUnit) AddTagsP ¶
func (o *ContentUnit) AddTagsP(exec boil.Executor, insert bool, related ...*Tag)
AddTagsP adds the given related objects to the existing relationships of the content_unit, optionally inserting them as new records. Appends related to o.R.Tags. Sets related.R.ContentUnits appropriately. Panics on error.
func (*ContentUnit) CollectionsContentUnits ¶
func (o *ContentUnit) CollectionsContentUnits(exec boil.Executor, mods ...qm.QueryMod) collectionsContentUnitQuery
CollectionsContentUnits retrieves all the collections_content_unit's collections content units with an executor.
func (*ContentUnit) CollectionsContentUnitsG ¶
func (o *ContentUnit) CollectionsContentUnitsG(mods ...qm.QueryMod) collectionsContentUnitQuery
CollectionsContentUnitsG retrieves all the collections_content_unit's collections content units.
func (*ContentUnit) ContentUnitI18ns ¶
func (o *ContentUnit) ContentUnitI18ns(exec boil.Executor, mods ...qm.QueryMod) contentUnitI18nQuery
ContentUnitI18ns retrieves all the content_unit_i18n's content unit i18n with an executor.
func (*ContentUnit) ContentUnitI18nsG ¶
func (o *ContentUnit) ContentUnitI18nsG(mods ...qm.QueryMod) contentUnitI18nQuery
ContentUnitI18nsG retrieves all the content_unit_i18n's content unit i18n.
func (*ContentUnit) ContentUnitsPersons ¶
func (o *ContentUnit) ContentUnitsPersons(exec boil.Executor, mods ...qm.QueryMod) contentUnitsPersonQuery
ContentUnitsPersons retrieves all the content_units_person's content units persons with an executor.
func (*ContentUnit) ContentUnitsPersonsG ¶
func (o *ContentUnit) ContentUnitsPersonsG(mods ...qm.QueryMod) contentUnitsPersonQuery
ContentUnitsPersonsG retrieves all the content_units_person's content units persons.
func (*ContentUnit) Delete ¶
func (o *ContentUnit) Delete(exec boil.Executor) error
Delete deletes a single ContentUnit record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ContentUnit) DeleteG ¶
func (o *ContentUnit) DeleteG() error
DeleteG deletes a single ContentUnit record. DeleteG will match against the primary key column to find the record to delete.
func (*ContentUnit) DeleteGP ¶
func (o *ContentUnit) DeleteGP()
DeleteGP deletes a single ContentUnit record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnit) DeleteP ¶
func (o *ContentUnit) DeleteP(exec boil.Executor)
DeleteP deletes a single ContentUnit record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnit) DerivedContentUnitDerivations ¶
func (o *ContentUnit) DerivedContentUnitDerivations(exec boil.Executor, mods ...qm.QueryMod) contentUnitDerivationQuery
DerivedContentUnitDerivations retrieves all the content_unit_derivation's content unit derivations with an executor via derived_id column.
func (*ContentUnit) DerivedContentUnitDerivationsG ¶
func (o *ContentUnit) DerivedContentUnitDerivationsG(mods ...qm.QueryMod) contentUnitDerivationQuery
DerivedContentUnitDerivationsG retrieves all the content_unit_derivation's content unit derivations via derived_id column.
func (*ContentUnit) Files ¶
func (o *ContentUnit) Files(exec boil.Executor, mods ...qm.QueryMod) fileQuery
Files retrieves all the file's files with an executor.
func (*ContentUnit) FilesG ¶
func (o *ContentUnit) FilesG(mods ...qm.QueryMod) fileQuery
FilesG retrieves all the file's files.
func (*ContentUnit) Insert ¶
func (o *ContentUnit) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ContentUnit) InsertG ¶
func (o *ContentUnit) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ContentUnit) InsertGP ¶
func (o *ContentUnit) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnit) InsertP ¶
func (o *ContentUnit) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnit) Publishers ¶
func (o *ContentUnit) Publishers(exec boil.Executor, mods ...qm.QueryMod) publisherQuery
Publishers retrieves all the publisher's publishers with an executor.
func (*ContentUnit) PublishersG ¶
func (o *ContentUnit) PublishersG(mods ...qm.QueryMod) publisherQuery
PublishersG retrieves all the publisher's publishers.
func (*ContentUnit) Reload ¶
func (o *ContentUnit) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ContentUnit) ReloadG ¶
func (o *ContentUnit) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ContentUnit) ReloadGP ¶
func (o *ContentUnit) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ContentUnit) ReloadP ¶
func (o *ContentUnit) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ContentUnit) RemoveFiles ¶
func (o *ContentUnit) RemoveFiles(exec boil.Executor, related ...*File) error
RemoveFiles relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnit.
func (*ContentUnit) RemoveFilesG ¶
func (o *ContentUnit) RemoveFilesG(related ...*File) error
RemoveFilesG relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnit. Uses the global database handle.
func (*ContentUnit) RemoveFilesGP ¶
func (o *ContentUnit) RemoveFilesGP(related ...*File)
RemoveFilesGP relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnit. Uses the global database handle and panics on error.
func (*ContentUnit) RemoveFilesP ¶
func (o *ContentUnit) RemoveFilesP(exec boil.Executor, related ...*File)
RemoveFilesP relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnit. Panics on error.
func (*ContentUnit) RemovePublishers ¶
func (o *ContentUnit) RemovePublishers(exec boil.Executor, related ...*Publisher) error
RemovePublishers relationships from objects passed in. Removes related items from R.Publishers (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits.
func (*ContentUnit) RemovePublishersG ¶
func (o *ContentUnit) RemovePublishersG(related ...*Publisher) error
RemovePublishersG relationships from objects passed in. Removes related items from R.Publishers (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Uses the global database handle.
func (*ContentUnit) RemovePublishersGP ¶
func (o *ContentUnit) RemovePublishersGP(related ...*Publisher)
RemovePublishersGP relationships from objects passed in. Removes related items from R.Publishers (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Uses the global database handle and panics on error.
func (*ContentUnit) RemovePublishersP ¶
func (o *ContentUnit) RemovePublishersP(exec boil.Executor, related ...*Publisher)
RemovePublishersP relationships from objects passed in. Removes related items from R.Publishers (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Panics on error.
func (*ContentUnit) RemoveSources ¶
func (o *ContentUnit) RemoveSources(exec boil.Executor, related ...*Source) error
RemoveSources relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits.
func (*ContentUnit) RemoveSourcesG ¶
func (o *ContentUnit) RemoveSourcesG(related ...*Source) error
RemoveSourcesG relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Uses the global database handle.
func (*ContentUnit) RemoveSourcesGP ¶
func (o *ContentUnit) RemoveSourcesGP(related ...*Source)
RemoveSourcesGP relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Uses the global database handle and panics on error.
func (*ContentUnit) RemoveSourcesP ¶
func (o *ContentUnit) RemoveSourcesP(exec boil.Executor, related ...*Source)
RemoveSourcesP relationships from objects passed in. Removes related items from R.Sources (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Panics on error.
func (*ContentUnit) RemoveTags ¶
func (o *ContentUnit) RemoveTags(exec boil.Executor, related ...*Tag) error
RemoveTags relationships from objects passed in. Removes related items from R.Tags (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits.
func (*ContentUnit) RemoveTagsG ¶
func (o *ContentUnit) RemoveTagsG(related ...*Tag) error
RemoveTagsG relationships from objects passed in. Removes related items from R.Tags (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Uses the global database handle.
func (*ContentUnit) RemoveTagsGP ¶
func (o *ContentUnit) RemoveTagsGP(related ...*Tag)
RemoveTagsGP relationships from objects passed in. Removes related items from R.Tags (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Uses the global database handle and panics on error.
func (*ContentUnit) RemoveTagsP ¶
func (o *ContentUnit) RemoveTagsP(exec boil.Executor, related ...*Tag)
RemoveTagsP relationships from objects passed in. Removes related items from R.Tags (uses pointer comparison, removal does not keep order) Sets related.R.ContentUnits. Panics on error.
func (*ContentUnit) SetFiles ¶
SetFiles removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnit's Files accordingly. Replaces o.R.Files with related. Sets related.R.ContentUnit's Files accordingly.
func (*ContentUnit) SetFilesG ¶
func (o *ContentUnit) SetFilesG(insert bool, related ...*File) error
SetFilesG removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnit's Files accordingly. Replaces o.R.Files with related. Sets related.R.ContentUnit's Files accordingly. Uses the global database handle.
func (*ContentUnit) SetFilesGP ¶
func (o *ContentUnit) SetFilesGP(insert bool, related ...*File)
SetFilesGP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnit's Files accordingly. Replaces o.R.Files with related. Sets related.R.ContentUnit's Files accordingly. Uses the global database handle and panics on error.
func (*ContentUnit) SetFilesP ¶
func (o *ContentUnit) SetFilesP(exec boil.Executor, insert bool, related ...*File)
SetFilesP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnit's Files accordingly. Replaces o.R.Files with related. Sets related.R.ContentUnit's Files accordingly. Panics on error.
func (*ContentUnit) SetPublishers ¶
SetPublishers removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Publishers accordingly. Replaces o.R.Publishers with related. Sets related.R.ContentUnits's Publishers accordingly.
func (*ContentUnit) SetPublishersG ¶
func (o *ContentUnit) SetPublishersG(insert bool, related ...*Publisher) error
SetPublishersG removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Publishers accordingly. Replaces o.R.Publishers with related. Sets related.R.ContentUnits's Publishers accordingly. Uses the global database handle.
func (*ContentUnit) SetPublishersGP ¶
func (o *ContentUnit) SetPublishersGP(insert bool, related ...*Publisher)
SetPublishersGP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Publishers accordingly. Replaces o.R.Publishers with related. Sets related.R.ContentUnits's Publishers accordingly. Uses the global database handle and panics on error.
func (*ContentUnit) SetPublishersP ¶
func (o *ContentUnit) SetPublishersP(exec boil.Executor, insert bool, related ...*Publisher)
SetPublishersP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Publishers accordingly. Replaces o.R.Publishers with related. Sets related.R.ContentUnits's Publishers accordingly. Panics on error.
func (*ContentUnit) SetSources ¶
SetSources removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.ContentUnits's Sources accordingly.
func (*ContentUnit) SetSourcesG ¶
func (o *ContentUnit) SetSourcesG(insert bool, related ...*Source) error
SetSourcesG removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.ContentUnits's Sources accordingly. Uses the global database handle.
func (*ContentUnit) SetSourcesGP ¶
func (o *ContentUnit) SetSourcesGP(insert bool, related ...*Source)
SetSourcesGP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.ContentUnits's Sources accordingly. Uses the global database handle and panics on error.
func (*ContentUnit) SetSourcesP ¶
func (o *ContentUnit) SetSourcesP(exec boil.Executor, insert bool, related ...*Source)
SetSourcesP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Sources accordingly. Replaces o.R.Sources with related. Sets related.R.ContentUnits's Sources accordingly. Panics on error.
func (*ContentUnit) SetTags ¶
SetTags removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Tags accordingly. Replaces o.R.Tags with related. Sets related.R.ContentUnits's Tags accordingly.
func (*ContentUnit) SetTagsG ¶
func (o *ContentUnit) SetTagsG(insert bool, related ...*Tag) error
SetTagsG removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Tags accordingly. Replaces o.R.Tags with related. Sets related.R.ContentUnits's Tags accordingly. Uses the global database handle.
func (*ContentUnit) SetTagsGP ¶
func (o *ContentUnit) SetTagsGP(insert bool, related ...*Tag)
SetTagsGP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Tags accordingly. Replaces o.R.Tags with related. Sets related.R.ContentUnits's Tags accordingly. Uses the global database handle and panics on error.
func (*ContentUnit) SetTagsP ¶
func (o *ContentUnit) SetTagsP(exec boil.Executor, insert bool, related ...*Tag)
SetTagsP removes all previously related items of the content_unit replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ContentUnits's Tags accordingly. Replaces o.R.Tags with related. Sets related.R.ContentUnits's Tags accordingly. Panics on error.
func (*ContentUnit) SetType ¶
func (o *ContentUnit) SetType(exec boil.Executor, insert bool, related *ContentType) error
SetType of the content_unit to the related item. Sets o.R.Type to related. Adds o to related.R.TypeContentUnits.
func (*ContentUnit) SetTypeG ¶
func (o *ContentUnit) SetTypeG(insert bool, related *ContentType) error
SetTypeG of the content_unit to the related item. Sets o.R.Type to related. Adds o to related.R.TypeContentUnits. Uses the global database handle.
func (*ContentUnit) SetTypeGP ¶
func (o *ContentUnit) SetTypeGP(insert bool, related *ContentType)
SetTypeGP of the content_unit to the related item. Sets o.R.Type to related. Adds o to related.R.TypeContentUnits. Uses the global database handle and panics on error.
func (*ContentUnit) SetTypeP ¶
func (o *ContentUnit) SetTypeP(exec boil.Executor, insert bool, related *ContentType)
SetTypeP of the content_unit to the related item. Sets o.R.Type to related. Adds o to related.R.TypeContentUnits. Panics on error.
func (*ContentUnit) SourceContentUnitDerivations ¶
func (o *ContentUnit) SourceContentUnitDerivations(exec boil.Executor, mods ...qm.QueryMod) contentUnitDerivationQuery
SourceContentUnitDerivations retrieves all the content_unit_derivation's content unit derivations with an executor via source_id column.
func (*ContentUnit) SourceContentUnitDerivationsG ¶
func (o *ContentUnit) SourceContentUnitDerivationsG(mods ...qm.QueryMod) contentUnitDerivationQuery
SourceContentUnitDerivationsG retrieves all the content_unit_derivation's content unit derivations via source_id column.
func (*ContentUnit) Sources ¶
func (o *ContentUnit) Sources(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
Sources retrieves all the source's sources with an executor.
func (*ContentUnit) SourcesG ¶
func (o *ContentUnit) SourcesG(mods ...qm.QueryMod) sourceQuery
SourcesG retrieves all the source's sources.
func (*ContentUnit) Tags ¶
func (o *ContentUnit) Tags(exec boil.Executor, mods ...qm.QueryMod) tagQuery
Tags retrieves all the tag's tags with an executor.
func (*ContentUnit) TagsG ¶
func (o *ContentUnit) TagsG(mods ...qm.QueryMod) tagQuery
TagsG retrieves all the tag's tags.
func (*ContentUnit) Type ¶
func (o *ContentUnit) Type(exec boil.Executor, mods ...qm.QueryMod) contentTypeQuery
Type pointed to by the foreign key.
func (*ContentUnit) TypeG ¶
func (o *ContentUnit) TypeG(mods ...qm.QueryMod) contentTypeQuery
TypeG pointed to by the foreign key.
func (*ContentUnit) Update ¶
func (o *ContentUnit) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ContentUnit. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ContentUnit) UpdateG ¶
func (o *ContentUnit) UpdateG(whitelist ...string) error
UpdateG a single ContentUnit record. See Update for whitelist behavior description.
func (*ContentUnit) UpdateGP ¶
func (o *ContentUnit) UpdateGP(whitelist ...string)
UpdateGP a single ContentUnit record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ContentUnit) UpdateP ¶
func (o *ContentUnit) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ContentUnit, and panics on error. See Update for whitelist behavior description.
func (*ContentUnit) Upsert ¶
func (o *ContentUnit) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ContentUnit) UpsertG ¶
func (o *ContentUnit) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type ContentUnitDerivation ¶
type ContentUnitDerivation struct { SourceID int64 `boil:"source_id" json:"source_id" toml:"source_id" yaml:"source_id"` DerivedID int64 `boil:"derived_id" json:"derived_id" toml:"derived_id" yaml:"derived_id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` R *contentUnitDerivationR `boil:"-" json:"-" toml:"-" yaml:"-"` L contentUnitDerivationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ContentUnitDerivation is an object representing the database table.
func FindContentUnitDerivation ¶
func FindContentUnitDerivation(exec boil.Executor, sourceID int64, derivedID int64, selectCols ...string) (*ContentUnitDerivation, error)
FindContentUnitDerivation retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindContentUnitDerivationG ¶
func FindContentUnitDerivationG(sourceID int64, derivedID int64, selectCols ...string) (*ContentUnitDerivation, error)
FindContentUnitDerivationG retrieves a single record by ID.
func FindContentUnitDerivationGP ¶
func FindContentUnitDerivationGP(sourceID int64, derivedID int64, selectCols ...string) *ContentUnitDerivation
FindContentUnitDerivationGP retrieves a single record by ID, and panics on error.
func FindContentUnitDerivationP ¶
func FindContentUnitDerivationP(exec boil.Executor, sourceID int64, derivedID int64, selectCols ...string) *ContentUnitDerivation
FindContentUnitDerivationP retrieves a single record by ID with an executor, and panics on error.
func (*ContentUnitDerivation) Delete ¶
func (o *ContentUnitDerivation) Delete(exec boil.Executor) error
Delete deletes a single ContentUnitDerivation record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ContentUnitDerivation) DeleteG ¶
func (o *ContentUnitDerivation) DeleteG() error
DeleteG deletes a single ContentUnitDerivation record. DeleteG will match against the primary key column to find the record to delete.
func (*ContentUnitDerivation) DeleteGP ¶
func (o *ContentUnitDerivation) DeleteGP()
DeleteGP deletes a single ContentUnitDerivation record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnitDerivation) DeleteP ¶
func (o *ContentUnitDerivation) DeleteP(exec boil.Executor)
DeleteP deletes a single ContentUnitDerivation record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnitDerivation) Derived ¶
func (o *ContentUnitDerivation) Derived(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
Derived pointed to by the foreign key.
func (*ContentUnitDerivation) DerivedG ¶
func (o *ContentUnitDerivation) DerivedG(mods ...qm.QueryMod) contentUnitQuery
DerivedG pointed to by the foreign key.
func (*ContentUnitDerivation) Insert ¶
func (o *ContentUnitDerivation) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ContentUnitDerivation) InsertG ¶
func (o *ContentUnitDerivation) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ContentUnitDerivation) InsertGP ¶
func (o *ContentUnitDerivation) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnitDerivation) InsertP ¶
func (o *ContentUnitDerivation) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnitDerivation) Reload ¶
func (o *ContentUnitDerivation) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ContentUnitDerivation) ReloadG ¶
func (o *ContentUnitDerivation) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ContentUnitDerivation) ReloadGP ¶
func (o *ContentUnitDerivation) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ContentUnitDerivation) ReloadP ¶
func (o *ContentUnitDerivation) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ContentUnitDerivation) SetDerived ¶
func (o *ContentUnitDerivation) SetDerived(exec boil.Executor, insert bool, related *ContentUnit) error
SetDerived of the content_unit_derivation to the related item. Sets o.R.Derived to related. Adds o to related.R.DerivedContentUnitDerivations.
func (*ContentUnitDerivation) SetDerivedG ¶
func (o *ContentUnitDerivation) SetDerivedG(insert bool, related *ContentUnit) error
SetDerivedG of the content_unit_derivation to the related item. Sets o.R.Derived to related. Adds o to related.R.DerivedContentUnitDerivations. Uses the global database handle.
func (*ContentUnitDerivation) SetDerivedGP ¶
func (o *ContentUnitDerivation) SetDerivedGP(insert bool, related *ContentUnit)
SetDerivedGP of the content_unit_derivation to the related item. Sets o.R.Derived to related. Adds o to related.R.DerivedContentUnitDerivations. Uses the global database handle and panics on error.
func (*ContentUnitDerivation) SetDerivedP ¶
func (o *ContentUnitDerivation) SetDerivedP(exec boil.Executor, insert bool, related *ContentUnit)
SetDerivedP of the content_unit_derivation to the related item. Sets o.R.Derived to related. Adds o to related.R.DerivedContentUnitDerivations. Panics on error.
func (*ContentUnitDerivation) SetSource ¶
func (o *ContentUnitDerivation) SetSource(exec boil.Executor, insert bool, related *ContentUnit) error
SetSource of the content_unit_derivation to the related item. Sets o.R.Source to related. Adds o to related.R.SourceContentUnitDerivations.
func (*ContentUnitDerivation) SetSourceG ¶
func (o *ContentUnitDerivation) SetSourceG(insert bool, related *ContentUnit) error
SetSourceG of the content_unit_derivation to the related item. Sets o.R.Source to related. Adds o to related.R.SourceContentUnitDerivations. Uses the global database handle.
func (*ContentUnitDerivation) SetSourceGP ¶
func (o *ContentUnitDerivation) SetSourceGP(insert bool, related *ContentUnit)
SetSourceGP of the content_unit_derivation to the related item. Sets o.R.Source to related. Adds o to related.R.SourceContentUnitDerivations. Uses the global database handle and panics on error.
func (*ContentUnitDerivation) SetSourceP ¶
func (o *ContentUnitDerivation) SetSourceP(exec boil.Executor, insert bool, related *ContentUnit)
SetSourceP of the content_unit_derivation to the related item. Sets o.R.Source to related. Adds o to related.R.SourceContentUnitDerivations. Panics on error.
func (*ContentUnitDerivation) Source ¶
func (o *ContentUnitDerivation) Source(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
Source pointed to by the foreign key.
func (*ContentUnitDerivation) SourceG ¶
func (o *ContentUnitDerivation) SourceG(mods ...qm.QueryMod) contentUnitQuery
SourceG pointed to by the foreign key.
func (*ContentUnitDerivation) Update ¶
func (o *ContentUnitDerivation) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ContentUnitDerivation. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ContentUnitDerivation) UpdateG ¶
func (o *ContentUnitDerivation) UpdateG(whitelist ...string) error
UpdateG a single ContentUnitDerivation record. See Update for whitelist behavior description.
func (*ContentUnitDerivation) UpdateGP ¶
func (o *ContentUnitDerivation) UpdateGP(whitelist ...string)
UpdateGP a single ContentUnitDerivation record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ContentUnitDerivation) UpdateP ¶
func (o *ContentUnitDerivation) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ContentUnitDerivation, and panics on error. See Update for whitelist behavior description.
func (*ContentUnitDerivation) Upsert ¶
func (o *ContentUnitDerivation) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ContentUnitDerivation) UpsertG ¶
func (o *ContentUnitDerivation) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*ContentUnitDerivation) UpsertGP ¶
func (o *ContentUnitDerivation) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*ContentUnitDerivation) UpsertP ¶
func (o *ContentUnitDerivation) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type ContentUnitDerivationSlice ¶
type ContentUnitDerivationSlice []*ContentUnitDerivation
ContentUnitDerivationSlice is an alias for a slice of pointers to ContentUnitDerivation. This should generally be used opposed to []ContentUnitDerivation.
func (ContentUnitDerivationSlice) DeleteAll ¶
func (o ContentUnitDerivationSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ContentUnitDerivationSlice) DeleteAllG ¶
func (o ContentUnitDerivationSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ContentUnitDerivationSlice) DeleteAllGP ¶
func (o ContentUnitDerivationSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ContentUnitDerivationSlice) DeleteAllP ¶
func (o ContentUnitDerivationSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ContentUnitDerivationSlice) ReloadAll ¶
func (o *ContentUnitDerivationSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitDerivationSlice) ReloadAllG ¶
func (o *ContentUnitDerivationSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitDerivationSlice) ReloadAllGP ¶
func (o *ContentUnitDerivationSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ContentUnitDerivationSlice) ReloadAllP ¶
func (o *ContentUnitDerivationSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ContentUnitDerivationSlice) UpdateAll ¶
func (o ContentUnitDerivationSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ContentUnitDerivationSlice) UpdateAllG ¶
func (o ContentUnitDerivationSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ContentUnitDerivationSlice) UpdateAllGP ¶
func (o ContentUnitDerivationSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ContentUnitDerivationSlice) UpdateAllP ¶
func (o ContentUnitDerivationSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ContentUnitI18n ¶
type ContentUnitI18n struct { ContentUnitID int64 `boil:"content_unit_id" json:"content_unit_id" toml:"content_unit_id" yaml:"content_unit_id"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` OriginalLanguage null.String `boil:"original_language" json:"original_language,omitempty" toml:"original_language" yaml:"original_language,omitempty"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *contentUnitI18nR `boil:"-" json:"-" toml:"-" yaml:"-"` L contentUnitI18nL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ContentUnitI18n is an object representing the database table.
func FindContentUnitI18n ¶
func FindContentUnitI18n(exec boil.Executor, contentUnitID int64, language string, selectCols ...string) (*ContentUnitI18n, error)
FindContentUnitI18n retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindContentUnitI18nG ¶
func FindContentUnitI18nG(contentUnitID int64, language string, selectCols ...string) (*ContentUnitI18n, error)
FindContentUnitI18nG retrieves a single record by ID.
func FindContentUnitI18nGP ¶
func FindContentUnitI18nGP(contentUnitID int64, language string, selectCols ...string) *ContentUnitI18n
FindContentUnitI18nGP retrieves a single record by ID, and panics on error.
func FindContentUnitI18nP ¶
func FindContentUnitI18nP(exec boil.Executor, contentUnitID int64, language string, selectCols ...string) *ContentUnitI18n
FindContentUnitI18nP retrieves a single record by ID with an executor, and panics on error.
func (*ContentUnitI18n) ContentUnit ¶
func (o *ContentUnitI18n) ContentUnit(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
ContentUnit pointed to by the foreign key.
func (*ContentUnitI18n) ContentUnitG ¶
func (o *ContentUnitI18n) ContentUnitG(mods ...qm.QueryMod) contentUnitQuery
ContentUnitG pointed to by the foreign key.
func (*ContentUnitI18n) Delete ¶
func (o *ContentUnitI18n) Delete(exec boil.Executor) error
Delete deletes a single ContentUnitI18n record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ContentUnitI18n) DeleteG ¶
func (o *ContentUnitI18n) DeleteG() error
DeleteG deletes a single ContentUnitI18n record. DeleteG will match against the primary key column to find the record to delete.
func (*ContentUnitI18n) DeleteGP ¶
func (o *ContentUnitI18n) DeleteGP()
DeleteGP deletes a single ContentUnitI18n record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnitI18n) DeleteP ¶
func (o *ContentUnitI18n) DeleteP(exec boil.Executor)
DeleteP deletes a single ContentUnitI18n record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnitI18n) Insert ¶
func (o *ContentUnitI18n) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ContentUnitI18n) InsertG ¶
func (o *ContentUnitI18n) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ContentUnitI18n) InsertGP ¶
func (o *ContentUnitI18n) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnitI18n) InsertP ¶
func (o *ContentUnitI18n) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnitI18n) Reload ¶
func (o *ContentUnitI18n) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ContentUnitI18n) ReloadG ¶
func (o *ContentUnitI18n) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ContentUnitI18n) ReloadGP ¶
func (o *ContentUnitI18n) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ContentUnitI18n) ReloadP ¶
func (o *ContentUnitI18n) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ContentUnitI18n) RemoveUser ¶
func (o *ContentUnitI18n) RemoveUser(exec boil.Executor, related *User) error
RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*ContentUnitI18n) RemoveUserG ¶
func (o *ContentUnitI18n) RemoveUserG(related *User) error
RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*ContentUnitI18n) RemoveUserGP ¶
func (o *ContentUnitI18n) RemoveUserGP(related *User)
RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*ContentUnitI18n) RemoveUserP ¶
func (o *ContentUnitI18n) RemoveUserP(exec boil.Executor, related *User)
RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*ContentUnitI18n) SetContentUnit ¶
func (o *ContentUnitI18n) SetContentUnit(exec boil.Executor, insert bool, related *ContentUnit) error
SetContentUnit of the content_unit_i18n to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitI18ns.
func (*ContentUnitI18n) SetContentUnitG ¶
func (o *ContentUnitI18n) SetContentUnitG(insert bool, related *ContentUnit) error
SetContentUnitG of the content_unit_i18n to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitI18ns. Uses the global database handle.
func (*ContentUnitI18n) SetContentUnitGP ¶
func (o *ContentUnitI18n) SetContentUnitGP(insert bool, related *ContentUnit)
SetContentUnitGP of the content_unit_i18n to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitI18ns. Uses the global database handle and panics on error.
func (*ContentUnitI18n) SetContentUnitP ¶
func (o *ContentUnitI18n) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
SetContentUnitP of the content_unit_i18n to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitI18ns. Panics on error.
func (*ContentUnitI18n) SetUser ¶
SetUser of the content_unit_i18n to the related item. Sets o.R.User to related. Adds o to related.R.ContentUnitI18ns.
func (*ContentUnitI18n) SetUserG ¶
func (o *ContentUnitI18n) SetUserG(insert bool, related *User) error
SetUserG of the content_unit_i18n to the related item. Sets o.R.User to related. Adds o to related.R.ContentUnitI18ns. Uses the global database handle.
func (*ContentUnitI18n) SetUserGP ¶
func (o *ContentUnitI18n) SetUserGP(insert bool, related *User)
SetUserGP of the content_unit_i18n to the related item. Sets o.R.User to related. Adds o to related.R.ContentUnitI18ns. Uses the global database handle and panics on error.
func (*ContentUnitI18n) SetUserP ¶
func (o *ContentUnitI18n) SetUserP(exec boil.Executor, insert bool, related *User)
SetUserP of the content_unit_i18n to the related item. Sets o.R.User to related. Adds o to related.R.ContentUnitI18ns. Panics on error.
func (*ContentUnitI18n) Update ¶
func (o *ContentUnitI18n) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ContentUnitI18n. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ContentUnitI18n) UpdateG ¶
func (o *ContentUnitI18n) UpdateG(whitelist ...string) error
UpdateG a single ContentUnitI18n record. See Update for whitelist behavior description.
func (*ContentUnitI18n) UpdateGP ¶
func (o *ContentUnitI18n) UpdateGP(whitelist ...string)
UpdateGP a single ContentUnitI18n record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ContentUnitI18n) UpdateP ¶
func (o *ContentUnitI18n) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ContentUnitI18n, and panics on error. See Update for whitelist behavior description.
func (*ContentUnitI18n) Upsert ¶
func (o *ContentUnitI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ContentUnitI18n) UpsertG ¶
func (o *ContentUnitI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*ContentUnitI18n) UpsertGP ¶
func (o *ContentUnitI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*ContentUnitI18n) UpsertP ¶
func (o *ContentUnitI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*ContentUnitI18n) User ¶
func (o *ContentUnitI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
func (*ContentUnitI18n) UserG ¶
func (o *ContentUnitI18n) UserG(mods ...qm.QueryMod) userQuery
UserG pointed to by the foreign key.
type ContentUnitI18nSlice ¶
type ContentUnitI18nSlice []*ContentUnitI18n
ContentUnitI18nSlice is an alias for a slice of pointers to ContentUnitI18n. This should generally be used opposed to []ContentUnitI18n.
func (ContentUnitI18nSlice) DeleteAll ¶
func (o ContentUnitI18nSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ContentUnitI18nSlice) DeleteAllG ¶
func (o ContentUnitI18nSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ContentUnitI18nSlice) DeleteAllGP ¶
func (o ContentUnitI18nSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ContentUnitI18nSlice) DeleteAllP ¶
func (o ContentUnitI18nSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ContentUnitI18nSlice) ReloadAll ¶
func (o *ContentUnitI18nSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitI18nSlice) ReloadAllG ¶
func (o *ContentUnitI18nSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitI18nSlice) ReloadAllGP ¶
func (o *ContentUnitI18nSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ContentUnitI18nSlice) ReloadAllP ¶
func (o *ContentUnitI18nSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ContentUnitI18nSlice) UpdateAll ¶
func (o ContentUnitI18nSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ContentUnitI18nSlice) UpdateAllG ¶
func (o ContentUnitI18nSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ContentUnitI18nSlice) UpdateAllGP ¶
func (o ContentUnitI18nSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ContentUnitI18nSlice) UpdateAllP ¶
func (o ContentUnitI18nSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ContentUnitSlice ¶
type ContentUnitSlice []*ContentUnit
ContentUnitSlice is an alias for a slice of pointers to ContentUnit. This should generally be used opposed to []ContentUnit.
func (ContentUnitSlice) DeleteAll ¶
func (o ContentUnitSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ContentUnitSlice) DeleteAllG ¶
func (o ContentUnitSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ContentUnitSlice) DeleteAllGP ¶
func (o ContentUnitSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ContentUnitSlice) DeleteAllP ¶
func (o ContentUnitSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ContentUnitSlice) ReloadAll ¶
func (o *ContentUnitSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitSlice) ReloadAllG ¶
func (o *ContentUnitSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitSlice) ReloadAllGP ¶
func (o *ContentUnitSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ContentUnitSlice) ReloadAllP ¶
func (o *ContentUnitSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ContentUnitSlice) UpdateAll ¶
func (o ContentUnitSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ContentUnitSlice) UpdateAllG ¶
func (o ContentUnitSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ContentUnitSlice) UpdateAllGP ¶
func (o ContentUnitSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ContentUnitSlice) UpdateAllP ¶
func (o ContentUnitSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ContentUnitsPerson ¶
type ContentUnitsPerson struct { ContentUnitID int64 `boil:"content_unit_id" json:"content_unit_id" toml:"content_unit_id" yaml:"content_unit_id"` PersonID int64 `boil:"person_id" json:"person_id" toml:"person_id" yaml:"person_id"` RoleID int64 `boil:"role_id" json:"role_id" toml:"role_id" yaml:"role_id"` R *contentUnitsPersonR `boil:"-" json:"-" toml:"-" yaml:"-"` L contentUnitsPersonL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ContentUnitsPerson is an object representing the database table.
func FindContentUnitsPerson ¶
func FindContentUnitsPerson(exec boil.Executor, contentUnitID int64, personID int64, selectCols ...string) (*ContentUnitsPerson, error)
FindContentUnitsPerson retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindContentUnitsPersonG ¶
func FindContentUnitsPersonG(contentUnitID int64, personID int64, selectCols ...string) (*ContentUnitsPerson, error)
FindContentUnitsPersonG retrieves a single record by ID.
func FindContentUnitsPersonGP ¶
func FindContentUnitsPersonGP(contentUnitID int64, personID int64, selectCols ...string) *ContentUnitsPerson
FindContentUnitsPersonGP retrieves a single record by ID, and panics on error.
func FindContentUnitsPersonP ¶
func FindContentUnitsPersonP(exec boil.Executor, contentUnitID int64, personID int64, selectCols ...string) *ContentUnitsPerson
FindContentUnitsPersonP retrieves a single record by ID with an executor, and panics on error.
func (*ContentUnitsPerson) ContentUnit ¶
func (o *ContentUnitsPerson) ContentUnit(exec boil.Executor, mods ...qm.QueryMod) contentUnitQuery
ContentUnit pointed to by the foreign key.
func (*ContentUnitsPerson) ContentUnitG ¶
func (o *ContentUnitsPerson) ContentUnitG(mods ...qm.QueryMod) contentUnitQuery
ContentUnitG pointed to by the foreign key.
func (*ContentUnitsPerson) Delete ¶
func (o *ContentUnitsPerson) Delete(exec boil.Executor) error
Delete deletes a single ContentUnitsPerson record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ContentUnitsPerson) DeleteG ¶
func (o *ContentUnitsPerson) DeleteG() error
DeleteG deletes a single ContentUnitsPerson record. DeleteG will match against the primary key column to find the record to delete.
func (*ContentUnitsPerson) DeleteGP ¶
func (o *ContentUnitsPerson) DeleteGP()
DeleteGP deletes a single ContentUnitsPerson record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnitsPerson) DeleteP ¶
func (o *ContentUnitsPerson) DeleteP(exec boil.Executor)
DeleteP deletes a single ContentUnitsPerson record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ContentUnitsPerson) Insert ¶
func (o *ContentUnitsPerson) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ContentUnitsPerson) InsertG ¶
func (o *ContentUnitsPerson) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ContentUnitsPerson) InsertGP ¶
func (o *ContentUnitsPerson) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnitsPerson) InsertP ¶
func (o *ContentUnitsPerson) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ContentUnitsPerson) Person ¶
func (o *ContentUnitsPerson) Person(exec boil.Executor, mods ...qm.QueryMod) personQuery
Person pointed to by the foreign key.
func (*ContentUnitsPerson) PersonG ¶
func (o *ContentUnitsPerson) PersonG(mods ...qm.QueryMod) personQuery
PersonG pointed to by the foreign key.
func (*ContentUnitsPerson) Reload ¶
func (o *ContentUnitsPerson) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ContentUnitsPerson) ReloadG ¶
func (o *ContentUnitsPerson) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ContentUnitsPerson) ReloadGP ¶
func (o *ContentUnitsPerson) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ContentUnitsPerson) ReloadP ¶
func (o *ContentUnitsPerson) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ContentUnitsPerson) Role ¶
func (o *ContentUnitsPerson) Role(exec boil.Executor, mods ...qm.QueryMod) contentRoleTypeQuery
Role pointed to by the foreign key.
func (*ContentUnitsPerson) RoleG ¶
func (o *ContentUnitsPerson) RoleG(mods ...qm.QueryMod) contentRoleTypeQuery
RoleG pointed to by the foreign key.
func (*ContentUnitsPerson) SetContentUnit ¶
func (o *ContentUnitsPerson) SetContentUnit(exec boil.Executor, insert bool, related *ContentUnit) error
SetContentUnit of the content_units_person to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitsPersons.
func (*ContentUnitsPerson) SetContentUnitG ¶
func (o *ContentUnitsPerson) SetContentUnitG(insert bool, related *ContentUnit) error
SetContentUnitG of the content_units_person to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitsPersons. Uses the global database handle.
func (*ContentUnitsPerson) SetContentUnitGP ¶
func (o *ContentUnitsPerson) SetContentUnitGP(insert bool, related *ContentUnit)
SetContentUnitGP of the content_units_person to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitsPersons. Uses the global database handle and panics on error.
func (*ContentUnitsPerson) SetContentUnitP ¶
func (o *ContentUnitsPerson) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
SetContentUnitP of the content_units_person to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.ContentUnitsPersons. Panics on error.
func (*ContentUnitsPerson) SetPerson ¶
SetPerson of the content_units_person to the related item. Sets o.R.Person to related. Adds o to related.R.ContentUnitsPersons.
func (*ContentUnitsPerson) SetPersonG ¶
func (o *ContentUnitsPerson) SetPersonG(insert bool, related *Person) error
SetPersonG of the content_units_person to the related item. Sets o.R.Person to related. Adds o to related.R.ContentUnitsPersons. Uses the global database handle.
func (*ContentUnitsPerson) SetPersonGP ¶
func (o *ContentUnitsPerson) SetPersonGP(insert bool, related *Person)
SetPersonGP of the content_units_person to the related item. Sets o.R.Person to related. Adds o to related.R.ContentUnitsPersons. Uses the global database handle and panics on error.
func (*ContentUnitsPerson) SetPersonP ¶
func (o *ContentUnitsPerson) SetPersonP(exec boil.Executor, insert bool, related *Person)
SetPersonP of the content_units_person to the related item. Sets o.R.Person to related. Adds o to related.R.ContentUnitsPersons. Panics on error.
func (*ContentUnitsPerson) SetRole ¶
func (o *ContentUnitsPerson) SetRole(exec boil.Executor, insert bool, related *ContentRoleType) error
SetRole of the content_units_person to the related item. Sets o.R.Role to related. Adds o to related.R.RoleContentUnitsPersons.
func (*ContentUnitsPerson) SetRoleG ¶
func (o *ContentUnitsPerson) SetRoleG(insert bool, related *ContentRoleType) error
SetRoleG of the content_units_person to the related item. Sets o.R.Role to related. Adds o to related.R.RoleContentUnitsPersons. Uses the global database handle.
func (*ContentUnitsPerson) SetRoleGP ¶
func (o *ContentUnitsPerson) SetRoleGP(insert bool, related *ContentRoleType)
SetRoleGP of the content_units_person to the related item. Sets o.R.Role to related. Adds o to related.R.RoleContentUnitsPersons. Uses the global database handle and panics on error.
func (*ContentUnitsPerson) SetRoleP ¶
func (o *ContentUnitsPerson) SetRoleP(exec boil.Executor, insert bool, related *ContentRoleType)
SetRoleP of the content_units_person to the related item. Sets o.R.Role to related. Adds o to related.R.RoleContentUnitsPersons. Panics on error.
func (*ContentUnitsPerson) Update ¶
func (o *ContentUnitsPerson) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ContentUnitsPerson. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ContentUnitsPerson) UpdateG ¶
func (o *ContentUnitsPerson) UpdateG(whitelist ...string) error
UpdateG a single ContentUnitsPerson record. See Update for whitelist behavior description.
func (*ContentUnitsPerson) UpdateGP ¶
func (o *ContentUnitsPerson) UpdateGP(whitelist ...string)
UpdateGP a single ContentUnitsPerson record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ContentUnitsPerson) UpdateP ¶
func (o *ContentUnitsPerson) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ContentUnitsPerson, and panics on error. See Update for whitelist behavior description.
func (*ContentUnitsPerson) Upsert ¶
func (o *ContentUnitsPerson) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ContentUnitsPerson) UpsertG ¶
func (o *ContentUnitsPerson) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*ContentUnitsPerson) UpsertGP ¶
func (o *ContentUnitsPerson) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*ContentUnitsPerson) UpsertP ¶
func (o *ContentUnitsPerson) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type ContentUnitsPersonSlice ¶
type ContentUnitsPersonSlice []*ContentUnitsPerson
ContentUnitsPersonSlice is an alias for a slice of pointers to ContentUnitsPerson. This should generally be used opposed to []ContentUnitsPerson.
func (ContentUnitsPersonSlice) DeleteAll ¶
func (o ContentUnitsPersonSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ContentUnitsPersonSlice) DeleteAllG ¶
func (o ContentUnitsPersonSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ContentUnitsPersonSlice) DeleteAllGP ¶
func (o ContentUnitsPersonSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ContentUnitsPersonSlice) DeleteAllP ¶
func (o ContentUnitsPersonSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ContentUnitsPersonSlice) ReloadAll ¶
func (o *ContentUnitsPersonSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitsPersonSlice) ReloadAllG ¶
func (o *ContentUnitsPersonSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ContentUnitsPersonSlice) ReloadAllGP ¶
func (o *ContentUnitsPersonSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ContentUnitsPersonSlice) ReloadAllP ¶
func (o *ContentUnitsPersonSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ContentUnitsPersonSlice) UpdateAll ¶
func (o ContentUnitsPersonSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ContentUnitsPersonSlice) UpdateAllG ¶
func (o ContentUnitsPersonSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ContentUnitsPersonSlice) UpdateAllGP ¶
func (o ContentUnitsPersonSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ContentUnitsPersonSlice) UpdateAllP ¶
func (o ContentUnitsPersonSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type File ¶
type File struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Size int64 `boil:"size" json:"size" toml:"size" yaml:"size"` Type string `boil:"type" json:"type" toml:"type" yaml:"type"` SubType string `boil:"sub_type" json:"sub_type" toml:"sub_type" yaml:"sub_type"` MimeType null.String `boil:"mime_type" json:"mime_type,omitempty" toml:"mime_type" yaml:"mime_type,omitempty"` Sha1 null.Bytes `boil:"sha1" json:"sha1,omitempty" toml:"sha1" yaml:"sha1,omitempty"` ContentUnitID null.Int64 `boil:"content_unit_id" json:"content_unit_id,omitempty" toml:"content_unit_id" yaml:"content_unit_id,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` Language null.String `boil:"language" json:"language,omitempty" toml:"language" yaml:"language,omitempty"` BackupCount null.Int16 `boil:"backup_count" json:"backup_count,omitempty" toml:"backup_count" yaml:"backup_count,omitempty"` FirstBackupTime null.Time `boil:"first_backup_time" json:"first_backup_time,omitempty" toml:"first_backup_time" yaml:"first_backup_time,omitempty"` Properties null.JSON `boil:"properties" json:"properties,omitempty" toml:"properties" yaml:"properties,omitempty"` ParentID null.Int64 `boil:"parent_id" json:"parent_id,omitempty" toml:"parent_id" yaml:"parent_id,omitempty"` FileCreatedAt null.Time `boil:"file_created_at" json:"file_created_at,omitempty" toml:"file_created_at" yaml:"file_created_at,omitempty"` Secure int16 `boil:"secure" json:"secure" toml:"secure" yaml:"secure"` Published bool `boil:"published" json:"published" toml:"published" yaml:"published"` RemovedAt null.Time `boil:"removed_at" json:"removed_at,omitempty" toml:"removed_at" yaml:"removed_at,omitempty"` R *fileR `boil:"-" json:"-" toml:"-" yaml:"-"` L fileL `boil:"-" json:"-" toml:"-" yaml:"-"` }
File is an object representing the database table.
func FindFile ¶
FindFile retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindFileGP ¶
FindFileGP retrieves a single record by ID, and panics on error.
func (*File) AddOperations ¶
AddOperations adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.Files appropriately.
func (*File) AddOperationsG ¶
AddOperationsG adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.Files appropriately. Uses the global database handle.
func (*File) AddOperationsGP ¶
AddOperationsGP adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.Files appropriately. Uses the global database handle and panics on error.
func (*File) AddOperationsP ¶
AddOperationsP adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.Files appropriately. Panics on error.
func (*File) AddParentFiles ¶
AddParentFiles adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.ParentFiles. Sets related.R.Parent appropriately.
func (*File) AddParentFilesG ¶
AddParentFilesG adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.ParentFiles. Sets related.R.Parent appropriately. Uses the global database handle.
func (*File) AddParentFilesGP ¶
AddParentFilesGP adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.ParentFiles. Sets related.R.Parent appropriately. Uses the global database handle and panics on error.
func (*File) AddParentFilesP ¶
AddParentFilesP adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.ParentFiles. Sets related.R.Parent appropriately. Panics on error.
func (*File) AddStorages ¶
AddStorages adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Storages. Sets related.R.Files appropriately.
func (*File) AddStoragesG ¶
AddStoragesG adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Storages. Sets related.R.Files appropriately. Uses the global database handle.
func (*File) AddStoragesGP ¶
AddStoragesGP adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Storages. Sets related.R.Files appropriately. Uses the global database handle and panics on error.
func (*File) AddStoragesP ¶
AddStoragesP adds the given related objects to the existing relationships of the file, optionally inserting them as new records. Appends related to o.R.Storages. Sets related.R.Files appropriately. Panics on error.
func (*File) ContentUnit ¶
ContentUnit pointed to by the foreign key.
func (*File) ContentUnitG ¶
ContentUnitG pointed to by the foreign key.
func (*File) Delete ¶
Delete deletes a single File record with an executor. Delete will match against the primary key column to find the record to delete.
func (*File) DeleteG ¶
DeleteG deletes a single File record. DeleteG will match against the primary key column to find the record to delete.
func (*File) DeleteGP ¶
func (o *File) DeleteGP()
DeleteGP deletes a single File record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*File) DeleteP ¶
DeleteP deletes a single File record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*File) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*File) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*File) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*File) Operations ¶
Operations retrieves all the operation's operations with an executor.
func (*File) OperationsG ¶
OperationsG retrieves all the operation's operations.
func (*File) ParentFiles ¶
ParentFiles retrieves all the file's files with an executor via parent_id column.
func (*File) ParentFilesG ¶
ParentFilesG retrieves all the file's files via parent_id column.
func (*File) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*File) ReloadGP ¶
func (o *File) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*File) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*File) RemoveContentUnit ¶
func (o *File) RemoveContentUnit(exec boil.Executor, related *ContentUnit) error
RemoveContentUnit relationship. Sets o.R.ContentUnit to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*File) RemoveContentUnitG ¶
func (o *File) RemoveContentUnitG(related *ContentUnit) error
RemoveContentUnitG relationship. Sets o.R.ContentUnit to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*File) RemoveContentUnitGP ¶
func (o *File) RemoveContentUnitGP(related *ContentUnit)
RemoveContentUnitGP relationship. Sets o.R.ContentUnit to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*File) RemoveContentUnitP ¶
func (o *File) RemoveContentUnitP(exec boil.Executor, related *ContentUnit)
RemoveContentUnitP relationship. Sets o.R.ContentUnit to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*File) RemoveOperations ¶
RemoveOperations relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.Files.
func (*File) RemoveOperationsG ¶
RemoveOperationsG relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.Files. Uses the global database handle.
func (*File) RemoveOperationsGP ¶
RemoveOperationsGP relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.Files. Uses the global database handle and panics on error.
func (*File) RemoveOperationsP ¶
RemoveOperationsP relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.Files. Panics on error.
func (*File) RemoveParent ¶
RemoveParent relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*File) RemoveParentFiles ¶
RemoveParentFiles relationships from objects passed in. Removes related items from R.ParentFiles (uses pointer comparison, removal does not keep order) Sets related.R.Parent.
func (*File) RemoveParentFilesG ¶
RemoveParentFilesG relationships from objects passed in. Removes related items from R.ParentFiles (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle.
func (*File) RemoveParentFilesGP ¶
RemoveParentFilesGP relationships from objects passed in. Removes related items from R.ParentFiles (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle and panics on error.
func (*File) RemoveParentFilesP ¶
RemoveParentFilesP relationships from objects passed in. Removes related items from R.ParentFiles (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Panics on error.
func (*File) RemoveParentG ¶
RemoveParentG relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*File) RemoveParentGP ¶
RemoveParentGP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*File) RemoveParentP ¶
RemoveParentP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*File) RemoveStorages ¶
RemoveStorages relationships from objects passed in. Removes related items from R.Storages (uses pointer comparison, removal does not keep order) Sets related.R.Files.
func (*File) RemoveStoragesG ¶
RemoveStoragesG relationships from objects passed in. Removes related items from R.Storages (uses pointer comparison, removal does not keep order) Sets related.R.Files. Uses the global database handle.
func (*File) RemoveStoragesGP ¶
RemoveStoragesGP relationships from objects passed in. Removes related items from R.Storages (uses pointer comparison, removal does not keep order) Sets related.R.Files. Uses the global database handle and panics on error.
func (*File) RemoveStoragesP ¶
RemoveStoragesP relationships from objects passed in. Removes related items from R.Storages (uses pointer comparison, removal does not keep order) Sets related.R.Files. Panics on error.
func (*File) SetContentUnit ¶
SetContentUnit of the file to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.Files.
func (*File) SetContentUnitG ¶
func (o *File) SetContentUnitG(insert bool, related *ContentUnit) error
SetContentUnitG of the file to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.Files. Uses the global database handle.
func (*File) SetContentUnitGP ¶
func (o *File) SetContentUnitGP(insert bool, related *ContentUnit)
SetContentUnitGP of the file to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.Files. Uses the global database handle and panics on error.
func (*File) SetContentUnitP ¶
func (o *File) SetContentUnitP(exec boil.Executor, insert bool, related *ContentUnit)
SetContentUnitP of the file to the related item. Sets o.R.ContentUnit to related. Adds o to related.R.Files. Panics on error.
func (*File) SetOperations ¶
SetOperations removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.Files's Operations accordingly.
func (*File) SetOperationsG ¶
SetOperationsG removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.Files's Operations accordingly. Uses the global database handle.
func (*File) SetOperationsGP ¶
SetOperationsGP removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.Files's Operations accordingly. Uses the global database handle and panics on error.
func (*File) SetOperationsP ¶
SetOperationsP removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.Files's Operations accordingly. Panics on error.
func (*File) SetParent ¶
SetParent of the file to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentFiles.
func (*File) SetParentFiles ¶
SetParentFiles removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentFiles accordingly. Replaces o.R.ParentFiles with related. Sets related.R.Parent's ParentFiles accordingly.
func (*File) SetParentFilesG ¶
SetParentFilesG removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentFiles accordingly. Replaces o.R.ParentFiles with related. Sets related.R.Parent's ParentFiles accordingly. Uses the global database handle.
func (*File) SetParentFilesGP ¶
SetParentFilesGP removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentFiles accordingly. Replaces o.R.ParentFiles with related. Sets related.R.Parent's ParentFiles accordingly. Uses the global database handle and panics on error.
func (*File) SetParentFilesP ¶
SetParentFilesP removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentFiles accordingly. Replaces o.R.ParentFiles with related. Sets related.R.Parent's ParentFiles accordingly. Panics on error.
func (*File) SetParentG ¶
SetParentG of the file to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentFiles. Uses the global database handle.
func (*File) SetParentGP ¶
SetParentGP of the file to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentFiles. Uses the global database handle and panics on error.
func (*File) SetParentP ¶
SetParentP of the file to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentFiles. Panics on error.
func (*File) SetStorages ¶
SetStorages removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Storages accordingly. Replaces o.R.Storages with related. Sets related.R.Files's Storages accordingly.
func (*File) SetStoragesG ¶
SetStoragesG removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Storages accordingly. Replaces o.R.Storages with related. Sets related.R.Files's Storages accordingly. Uses the global database handle.
func (*File) SetStoragesGP ¶
SetStoragesGP removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Storages accordingly. Replaces o.R.Storages with related. Sets related.R.Files's Storages accordingly. Uses the global database handle and panics on error.
func (*File) SetStoragesP ¶
SetStoragesP removes all previously related items of the file replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Files's Storages accordingly. Replaces o.R.Storages with related. Sets related.R.Files's Storages accordingly. Panics on error.
func (*File) Update ¶
Update uses an executor to update the File. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*File) UpdateGP ¶
UpdateGP a single File record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*File) UpdateP ¶
UpdateP uses an executor to update the File, and panics on error. See Update for whitelist behavior description.
func (*File) Upsert ¶
func (o *File) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*File) UpsertG ¶
func (o *File) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type FileSlice ¶
type FileSlice []*File
FileSlice is an alias for a slice of pointers to File. This should generally be used opposed to []File.
func (FileSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (FileSlice) DeleteAllGP ¶
func (o FileSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (FileSlice) DeleteAllP ¶
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*FileSlice) ReloadAll ¶
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*FileSlice) ReloadAllG ¶
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*FileSlice) ReloadAllGP ¶
func (o *FileSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*FileSlice) ReloadAllP ¶
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (FileSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (FileSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
func (FileSlice) UpdateAllGP ¶
UpdateAllGP updates all rows with the specified column values, and panics on error.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Operation ¶
type Operation struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` TypeID int64 `boil:"type_id" json:"type_id" toml:"type_id" yaml:"type_id"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` Station null.String `boil:"station" json:"station,omitempty" toml:"station" yaml:"station,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` Details null.String `boil:"details" json:"details,omitempty" toml:"details" yaml:"details,omitempty"` Properties null.JSON `boil:"properties" json:"properties,omitempty" toml:"properties" yaml:"properties,omitempty"` R *operationR `boil:"-" json:"-" toml:"-" yaml:"-"` L operationL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Operation is an object representing the database table.
func FindOperation ¶
FindOperation retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOperationG ¶
FindOperationG retrieves a single record by ID.
func FindOperationGP ¶
FindOperationGP retrieves a single record by ID, and panics on error.
func FindOperationP ¶
FindOperationP retrieves a single record by ID with an executor, and panics on error.
func (*Operation) AddFiles ¶
AddFiles adds the given related objects to the existing relationships of the operation, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Operations appropriately.
func (*Operation) AddFilesG ¶
AddFilesG adds the given related objects to the existing relationships of the operation, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Operations appropriately. Uses the global database handle.
func (*Operation) AddFilesGP ¶
AddFilesGP adds the given related objects to the existing relationships of the operation, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Operations appropriately. Uses the global database handle and panics on error.
func (*Operation) AddFilesP ¶
AddFilesP adds the given related objects to the existing relationships of the operation, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Operations appropriately. Panics on error.
func (*Operation) Delete ¶
Delete deletes a single Operation record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Operation) DeleteG ¶
DeleteG deletes a single Operation record. DeleteG will match against the primary key column to find the record to delete.
func (*Operation) DeleteGP ¶
func (o *Operation) DeleteGP()
DeleteGP deletes a single Operation record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Operation) DeleteP ¶
DeleteP deletes a single Operation record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Operation) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Operation) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Operation) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Operation) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Operation) ReloadGP ¶
func (o *Operation) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Operation) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Operation) RemoveFiles ¶
RemoveFiles relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Operations.
func (*Operation) RemoveFilesG ¶
RemoveFilesG relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Operations. Uses the global database handle.
func (*Operation) RemoveFilesGP ¶
RemoveFilesGP relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Operations. Uses the global database handle and panics on error.
func (*Operation) RemoveFilesP ¶
RemoveFilesP relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Operations. Panics on error.
func (*Operation) RemoveUser ¶
RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Operation) RemoveUserG ¶
RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Operation) RemoveUserGP ¶
RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Operation) RemoveUserP ¶
RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Operation) SetFiles ¶
SetFiles removes all previously related items of the operation replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Operations's Files accordingly. Replaces o.R.Files with related. Sets related.R.Operations's Files accordingly.
func (*Operation) SetFilesG ¶
SetFilesG removes all previously related items of the operation replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Operations's Files accordingly. Replaces o.R.Files with related. Sets related.R.Operations's Files accordingly. Uses the global database handle.
func (*Operation) SetFilesGP ¶
SetFilesGP removes all previously related items of the operation replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Operations's Files accordingly. Replaces o.R.Files with related. Sets related.R.Operations's Files accordingly. Uses the global database handle and panics on error.
func (*Operation) SetFilesP ¶
SetFilesP removes all previously related items of the operation replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Operations's Files accordingly. Replaces o.R.Files with related. Sets related.R.Operations's Files accordingly. Panics on error.
func (*Operation) SetType ¶
SetType of the operation to the related item. Sets o.R.Type to related. Adds o to related.R.TypeOperations.
func (*Operation) SetTypeG ¶
func (o *Operation) SetTypeG(insert bool, related *OperationType) error
SetTypeG of the operation to the related item. Sets o.R.Type to related. Adds o to related.R.TypeOperations. Uses the global database handle.
func (*Operation) SetTypeGP ¶
func (o *Operation) SetTypeGP(insert bool, related *OperationType)
SetTypeGP of the operation to the related item. Sets o.R.Type to related. Adds o to related.R.TypeOperations. Uses the global database handle and panics on error.
func (*Operation) SetTypeP ¶
func (o *Operation) SetTypeP(exec boil.Executor, insert bool, related *OperationType)
SetTypeP of the operation to the related item. Sets o.R.Type to related. Adds o to related.R.TypeOperations. Panics on error.
func (*Operation) SetUser ¶
SetUser of the operation to the related item. Sets o.R.User to related. Adds o to related.R.Operations.
func (*Operation) SetUserG ¶
SetUserG of the operation to the related item. Sets o.R.User to related. Adds o to related.R.Operations. Uses the global database handle.
func (*Operation) SetUserGP ¶
SetUserGP of the operation to the related item. Sets o.R.User to related. Adds o to related.R.Operations. Uses the global database handle and panics on error.
func (*Operation) SetUserP ¶
SetUserP of the operation to the related item. Sets o.R.User to related. Adds o to related.R.Operations. Panics on error.
func (*Operation) Update ¶
Update uses an executor to update the Operation. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Operation) UpdateG ¶
UpdateG a single Operation record. See Update for whitelist behavior description.
func (*Operation) UpdateGP ¶
UpdateGP a single Operation record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Operation) UpdateP ¶
UpdateP uses an executor to update the Operation, and panics on error. See Update for whitelist behavior description.
func (*Operation) Upsert ¶
func (o *Operation) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Operation) UpsertG ¶
func (o *Operation) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*Operation) UpsertGP ¶
func (o *Operation) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*Operation) UpsertP ¶
func (o *Operation) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type OperationSlice ¶
type OperationSlice []*Operation
OperationSlice is an alias for a slice of pointers to Operation. This should generally be used opposed to []Operation.
func (OperationSlice) DeleteAll ¶
func (o OperationSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OperationSlice) DeleteAllG ¶
func (o OperationSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OperationSlice) DeleteAllGP ¶
func (o OperationSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OperationSlice) DeleteAllP ¶
func (o OperationSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OperationSlice) ReloadAll ¶
func (o *OperationSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OperationSlice) ReloadAllG ¶
func (o *OperationSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OperationSlice) ReloadAllGP ¶
func (o *OperationSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OperationSlice) ReloadAllP ¶
func (o *OperationSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OperationSlice) UpdateAll ¶
func (o OperationSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OperationSlice) UpdateAllG ¶
func (o OperationSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OperationSlice) UpdateAllGP ¶
func (o OperationSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OperationSlice) UpdateAllP ¶
func (o OperationSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type OperationType ¶
type OperationType struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` R *operationTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L operationTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
OperationType is an object representing the database table.
func FindOperationType ¶
FindOperationType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOperationTypeG ¶
func FindOperationTypeG(id int64, selectCols ...string) (*OperationType, error)
FindOperationTypeG retrieves a single record by ID.
func FindOperationTypeGP ¶
func FindOperationTypeGP(id int64, selectCols ...string) *OperationType
FindOperationTypeGP retrieves a single record by ID, and panics on error.
func FindOperationTypeP ¶
func FindOperationTypeP(exec boil.Executor, id int64, selectCols ...string) *OperationType
FindOperationTypeP retrieves a single record by ID with an executor, and panics on error.
func (*OperationType) AddTypeOperations ¶
func (o *OperationType) AddTypeOperations(exec boil.Executor, insert bool, related ...*Operation) error
AddTypeOperations adds the given related objects to the existing relationships of the operation_type, optionally inserting them as new records. Appends related to o.R.TypeOperations. Sets related.R.Type appropriately.
func (*OperationType) AddTypeOperationsG ¶
func (o *OperationType) AddTypeOperationsG(insert bool, related ...*Operation) error
AddTypeOperationsG adds the given related objects to the existing relationships of the operation_type, optionally inserting them as new records. Appends related to o.R.TypeOperations. Sets related.R.Type appropriately. Uses the global database handle.
func (*OperationType) AddTypeOperationsGP ¶
func (o *OperationType) AddTypeOperationsGP(insert bool, related ...*Operation)
AddTypeOperationsGP adds the given related objects to the existing relationships of the operation_type, optionally inserting them as new records. Appends related to o.R.TypeOperations. Sets related.R.Type appropriately. Uses the global database handle and panics on error.
func (*OperationType) AddTypeOperationsP ¶
func (o *OperationType) AddTypeOperationsP(exec boil.Executor, insert bool, related ...*Operation)
AddTypeOperationsP adds the given related objects to the existing relationships of the operation_type, optionally inserting them as new records. Appends related to o.R.TypeOperations. Sets related.R.Type appropriately. Panics on error.
func (*OperationType) Delete ¶
func (o *OperationType) Delete(exec boil.Executor) error
Delete deletes a single OperationType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*OperationType) DeleteG ¶
func (o *OperationType) DeleteG() error
DeleteG deletes a single OperationType record. DeleteG will match against the primary key column to find the record to delete.
func (*OperationType) DeleteGP ¶
func (o *OperationType) DeleteGP()
DeleteGP deletes a single OperationType record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*OperationType) DeleteP ¶
func (o *OperationType) DeleteP(exec boil.Executor)
DeleteP deletes a single OperationType record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*OperationType) Insert ¶
func (o *OperationType) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*OperationType) InsertG ¶
func (o *OperationType) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*OperationType) InsertGP ¶
func (o *OperationType) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*OperationType) InsertP ¶
func (o *OperationType) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*OperationType) Reload ¶
func (o *OperationType) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*OperationType) ReloadG ¶
func (o *OperationType) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*OperationType) ReloadGP ¶
func (o *OperationType) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*OperationType) ReloadP ¶
func (o *OperationType) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*OperationType) TypeOperations ¶
func (o *OperationType) TypeOperations(exec boil.Executor, mods ...qm.QueryMod) operationQuery
TypeOperations retrieves all the operation's operations with an executor via type_id column.
func (*OperationType) TypeOperationsG ¶
func (o *OperationType) TypeOperationsG(mods ...qm.QueryMod) operationQuery
TypeOperationsG retrieves all the operation's operations via type_id column.
func (*OperationType) Update ¶
func (o *OperationType) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the OperationType. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*OperationType) UpdateG ¶
func (o *OperationType) UpdateG(whitelist ...string) error
UpdateG a single OperationType record. See Update for whitelist behavior description.
func (*OperationType) UpdateGP ¶
func (o *OperationType) UpdateGP(whitelist ...string)
UpdateGP a single OperationType record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*OperationType) UpdateP ¶
func (o *OperationType) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the OperationType, and panics on error. See Update for whitelist behavior description.
func (*OperationType) Upsert ¶
func (o *OperationType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*OperationType) UpsertG ¶
func (o *OperationType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type OperationTypeSlice ¶
type OperationTypeSlice []*OperationType
OperationTypeSlice is an alias for a slice of pointers to OperationType. This should generally be used opposed to []OperationType.
func (OperationTypeSlice) DeleteAll ¶
func (o OperationTypeSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OperationTypeSlice) DeleteAllG ¶
func (o OperationTypeSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OperationTypeSlice) DeleteAllGP ¶
func (o OperationTypeSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OperationTypeSlice) DeleteAllP ¶
func (o OperationTypeSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OperationTypeSlice) ReloadAll ¶
func (o *OperationTypeSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OperationTypeSlice) ReloadAllG ¶
func (o *OperationTypeSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OperationTypeSlice) ReloadAllGP ¶
func (o *OperationTypeSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OperationTypeSlice) ReloadAllP ¶
func (o *OperationTypeSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OperationTypeSlice) UpdateAll ¶
func (o OperationTypeSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OperationTypeSlice) UpdateAllG ¶
func (o OperationTypeSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OperationTypeSlice) UpdateAllGP ¶
func (o OperationTypeSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OperationTypeSlice) UpdateAllP ¶
func (o OperationTypeSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Person ¶
type Person struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` Pattern null.String `boil:"pattern" json:"pattern,omitempty" toml:"pattern" yaml:"pattern,omitempty"` R *personR `boil:"-" json:"-" toml:"-" yaml:"-"` L personL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Person is an object representing the database table.
func FindPerson ¶
FindPerson retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPersonG ¶
FindPersonG retrieves a single record by ID.
func FindPersonGP ¶
FindPersonGP retrieves a single record by ID, and panics on error.
func FindPersonP ¶
FindPersonP retrieves a single record by ID with an executor, and panics on error.
func (*Person) AddContentUnitsPersons ¶
func (o *Person) AddContentUnitsPersons(exec boil.Executor, insert bool, related ...*ContentUnitsPerson) error
AddContentUnitsPersons adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.Person appropriately.
func (*Person) AddContentUnitsPersonsG ¶
func (o *Person) AddContentUnitsPersonsG(insert bool, related ...*ContentUnitsPerson) error
AddContentUnitsPersonsG adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.Person appropriately. Uses the global database handle.
func (*Person) AddContentUnitsPersonsGP ¶
func (o *Person) AddContentUnitsPersonsGP(insert bool, related ...*ContentUnitsPerson)
AddContentUnitsPersonsGP adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.Person appropriately. Uses the global database handle and panics on error.
func (*Person) AddContentUnitsPersonsP ¶
func (o *Person) AddContentUnitsPersonsP(exec boil.Executor, insert bool, related ...*ContentUnitsPerson)
AddContentUnitsPersonsP adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.ContentUnitsPersons. Sets related.R.Person appropriately. Panics on error.
func (*Person) AddPersonI18ns ¶
AddPersonI18ns adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.Person appropriately.
func (*Person) AddPersonI18nsG ¶
func (o *Person) AddPersonI18nsG(insert bool, related ...*PersonI18n) error
AddPersonI18nsG adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.Person appropriately. Uses the global database handle.
func (*Person) AddPersonI18nsGP ¶
func (o *Person) AddPersonI18nsGP(insert bool, related ...*PersonI18n)
AddPersonI18nsGP adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.Person appropriately. Uses the global database handle and panics on error.
func (*Person) AddPersonI18nsP ¶
func (o *Person) AddPersonI18nsP(exec boil.Executor, insert bool, related ...*PersonI18n)
AddPersonI18nsP adds the given related objects to the existing relationships of the person, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.Person appropriately. Panics on error.
func (*Person) ContentUnitsPersons ¶
func (o *Person) ContentUnitsPersons(exec boil.Executor, mods ...qm.QueryMod) contentUnitsPersonQuery
ContentUnitsPersons retrieves all the content_units_person's content units persons with an executor.
func (*Person) ContentUnitsPersonsG ¶
ContentUnitsPersonsG retrieves all the content_units_person's content units persons.
func (*Person) Delete ¶
Delete deletes a single Person record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Person) DeleteG ¶
DeleteG deletes a single Person record. DeleteG will match against the primary key column to find the record to delete.
func (*Person) DeleteGP ¶
func (o *Person) DeleteGP()
DeleteGP deletes a single Person record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Person) DeleteP ¶
DeleteP deletes a single Person record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Person) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Person) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Person) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Person) PersonI18ns ¶
PersonI18ns retrieves all the person_i18n's person i18n with an executor.
func (*Person) PersonI18nsG ¶
PersonI18nsG retrieves all the person_i18n's person i18n.
func (*Person) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Person) ReloadGP ¶
func (o *Person) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Person) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Person) Update ¶
Update uses an executor to update the Person. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Person) UpdateG ¶
UpdateG a single Person record. See Update for whitelist behavior description.
func (*Person) UpdateGP ¶
UpdateGP a single Person record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Person) UpdateP ¶
UpdateP uses an executor to update the Person, and panics on error. See Update for whitelist behavior description.
func (*Person) Upsert ¶
func (o *Person) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Person) UpsertG ¶
func (o *Person) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type PersonI18n ¶
type PersonI18n struct { PersonID int64 `boil:"person_id" json:"person_id" toml:"person_id" yaml:"person_id"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` OriginalLanguage null.String `boil:"original_language" json:"original_language,omitempty" toml:"original_language" yaml:"original_language,omitempty"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *personI18nR `boil:"-" json:"-" toml:"-" yaml:"-"` L personI18nL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PersonI18n is an object representing the database table.
func FindPersonI18n ¶
func FindPersonI18n(exec boil.Executor, personID int64, language string, selectCols ...string) (*PersonI18n, error)
FindPersonI18n retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPersonI18nG ¶
func FindPersonI18nG(personID int64, language string, selectCols ...string) (*PersonI18n, error)
FindPersonI18nG retrieves a single record by ID.
func FindPersonI18nGP ¶
func FindPersonI18nGP(personID int64, language string, selectCols ...string) *PersonI18n
FindPersonI18nGP retrieves a single record by ID, and panics on error.
func FindPersonI18nP ¶
func FindPersonI18nP(exec boil.Executor, personID int64, language string, selectCols ...string) *PersonI18n
FindPersonI18nP retrieves a single record by ID with an executor, and panics on error.
func (*PersonI18n) Delete ¶
func (o *PersonI18n) Delete(exec boil.Executor) error
Delete deletes a single PersonI18n record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PersonI18n) DeleteG ¶
func (o *PersonI18n) DeleteG() error
DeleteG deletes a single PersonI18n record. DeleteG will match against the primary key column to find the record to delete.
func (*PersonI18n) DeleteGP ¶
func (o *PersonI18n) DeleteGP()
DeleteGP deletes a single PersonI18n record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*PersonI18n) DeleteP ¶
func (o *PersonI18n) DeleteP(exec boil.Executor)
DeleteP deletes a single PersonI18n record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PersonI18n) Insert ¶
func (o *PersonI18n) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*PersonI18n) InsertG ¶
func (o *PersonI18n) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*PersonI18n) InsertGP ¶
func (o *PersonI18n) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*PersonI18n) InsertP ¶
func (o *PersonI18n) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PersonI18n) Person ¶
func (o *PersonI18n) Person(exec boil.Executor, mods ...qm.QueryMod) personQuery
Person pointed to by the foreign key.
func (*PersonI18n) PersonG ¶
func (o *PersonI18n) PersonG(mods ...qm.QueryMod) personQuery
PersonG pointed to by the foreign key.
func (*PersonI18n) Reload ¶
func (o *PersonI18n) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PersonI18n) ReloadG ¶
func (o *PersonI18n) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*PersonI18n) ReloadGP ¶
func (o *PersonI18n) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*PersonI18n) ReloadP ¶
func (o *PersonI18n) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PersonI18n) RemoveUser ¶
func (o *PersonI18n) RemoveUser(exec boil.Executor, related *User) error
RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*PersonI18n) RemoveUserG ¶
func (o *PersonI18n) RemoveUserG(related *User) error
RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*PersonI18n) RemoveUserGP ¶
func (o *PersonI18n) RemoveUserGP(related *User)
RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*PersonI18n) RemoveUserP ¶
func (o *PersonI18n) RemoveUserP(exec boil.Executor, related *User)
RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*PersonI18n) SetPerson ¶
SetPerson of the person_i18n to the related item. Sets o.R.Person to related. Adds o to related.R.PersonI18ns.
func (*PersonI18n) SetPersonG ¶
func (o *PersonI18n) SetPersonG(insert bool, related *Person) error
SetPersonG of the person_i18n to the related item. Sets o.R.Person to related. Adds o to related.R.PersonI18ns. Uses the global database handle.
func (*PersonI18n) SetPersonGP ¶
func (o *PersonI18n) SetPersonGP(insert bool, related *Person)
SetPersonGP of the person_i18n to the related item. Sets o.R.Person to related. Adds o to related.R.PersonI18ns. Uses the global database handle and panics on error.
func (*PersonI18n) SetPersonP ¶
func (o *PersonI18n) SetPersonP(exec boil.Executor, insert bool, related *Person)
SetPersonP of the person_i18n to the related item. Sets o.R.Person to related. Adds o to related.R.PersonI18ns. Panics on error.
func (*PersonI18n) SetUser ¶
SetUser of the person_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PersonI18ns.
func (*PersonI18n) SetUserG ¶
func (o *PersonI18n) SetUserG(insert bool, related *User) error
SetUserG of the person_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PersonI18ns. Uses the global database handle.
func (*PersonI18n) SetUserGP ¶
func (o *PersonI18n) SetUserGP(insert bool, related *User)
SetUserGP of the person_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PersonI18ns. Uses the global database handle and panics on error.
func (*PersonI18n) SetUserP ¶
func (o *PersonI18n) SetUserP(exec boil.Executor, insert bool, related *User)
SetUserP of the person_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PersonI18ns. Panics on error.
func (*PersonI18n) Update ¶
func (o *PersonI18n) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the PersonI18n. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PersonI18n) UpdateG ¶
func (o *PersonI18n) UpdateG(whitelist ...string) error
UpdateG a single PersonI18n record. See Update for whitelist behavior description.
func (*PersonI18n) UpdateGP ¶
func (o *PersonI18n) UpdateGP(whitelist ...string)
UpdateGP a single PersonI18n record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*PersonI18n) UpdateP ¶
func (o *PersonI18n) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the PersonI18n, and panics on error. See Update for whitelist behavior description.
func (*PersonI18n) Upsert ¶
func (o *PersonI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*PersonI18n) UpsertG ¶
func (o *PersonI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*PersonI18n) UpsertGP ¶
func (o *PersonI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*PersonI18n) UpsertP ¶
func (o *PersonI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*PersonI18n) User ¶
func (o *PersonI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
func (*PersonI18n) UserG ¶
func (o *PersonI18n) UserG(mods ...qm.QueryMod) userQuery
UserG pointed to by the foreign key.
type PersonI18nSlice ¶
type PersonI18nSlice []*PersonI18n
PersonI18nSlice is an alias for a slice of pointers to PersonI18n. This should generally be used opposed to []PersonI18n.
func (PersonI18nSlice) DeleteAll ¶
func (o PersonI18nSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (PersonI18nSlice) DeleteAllG ¶
func (o PersonI18nSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (PersonI18nSlice) DeleteAllGP ¶
func (o PersonI18nSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (PersonI18nSlice) DeleteAllP ¶
func (o PersonI18nSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PersonI18nSlice) ReloadAll ¶
func (o *PersonI18nSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PersonI18nSlice) ReloadAllG ¶
func (o *PersonI18nSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PersonI18nSlice) ReloadAllGP ¶
func (o *PersonI18nSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*PersonI18nSlice) ReloadAllP ¶
func (o *PersonI18nSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PersonI18nSlice) UpdateAll ¶
func (o PersonI18nSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (PersonI18nSlice) UpdateAllG ¶
func (o PersonI18nSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (PersonI18nSlice) UpdateAllGP ¶
func (o PersonI18nSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (PersonI18nSlice) UpdateAllP ¶
func (o PersonI18nSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type PersonSlice ¶
type PersonSlice []*Person
PersonSlice is an alias for a slice of pointers to Person. This should generally be used opposed to []Person.
func (PersonSlice) DeleteAll ¶
func (o PersonSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (PersonSlice) DeleteAllG ¶
func (o PersonSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (PersonSlice) DeleteAllGP ¶
func (o PersonSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (PersonSlice) DeleteAllP ¶
func (o PersonSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PersonSlice) ReloadAll ¶
func (o *PersonSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PersonSlice) ReloadAllG ¶
func (o *PersonSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PersonSlice) ReloadAllGP ¶
func (o *PersonSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*PersonSlice) ReloadAllP ¶
func (o *PersonSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PersonSlice) UpdateAll ¶
func (o PersonSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (PersonSlice) UpdateAllG ¶
func (o PersonSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (PersonSlice) UpdateAllGP ¶
func (o PersonSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (PersonSlice) UpdateAllP ¶
func (o PersonSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Publisher ¶
type Publisher struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` Pattern null.String `boil:"pattern" json:"pattern,omitempty" toml:"pattern" yaml:"pattern,omitempty"` R *publisherR `boil:"-" json:"-" toml:"-" yaml:"-"` L publisherL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Publisher is an object representing the database table.
func FindPublisher ¶
FindPublisher retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPublisherG ¶
FindPublisherG retrieves a single record by ID.
func FindPublisherGP ¶
FindPublisherGP retrieves a single record by ID, and panics on error.
func FindPublisherP ¶
FindPublisherP retrieves a single record by ID with an executor, and panics on error.
func (*Publisher) AddContentUnits ¶
AddContentUnits adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Publishers appropriately.
func (*Publisher) AddContentUnitsG ¶
func (o *Publisher) AddContentUnitsG(insert bool, related ...*ContentUnit) error
AddContentUnitsG adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Publishers appropriately. Uses the global database handle.
func (*Publisher) AddContentUnitsGP ¶
func (o *Publisher) AddContentUnitsGP(insert bool, related ...*ContentUnit)
AddContentUnitsGP adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Publishers appropriately. Uses the global database handle and panics on error.
func (*Publisher) AddContentUnitsP ¶
func (o *Publisher) AddContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
AddContentUnitsP adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Publishers appropriately. Panics on error.
func (*Publisher) AddPublisherI18ns ¶
func (o *Publisher) AddPublisherI18ns(exec boil.Executor, insert bool, related ...*PublisherI18n) error
AddPublisherI18ns adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.Publisher appropriately.
func (*Publisher) AddPublisherI18nsG ¶
func (o *Publisher) AddPublisherI18nsG(insert bool, related ...*PublisherI18n) error
AddPublisherI18nsG adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.Publisher appropriately. Uses the global database handle.
func (*Publisher) AddPublisherI18nsGP ¶
func (o *Publisher) AddPublisherI18nsGP(insert bool, related ...*PublisherI18n)
AddPublisherI18nsGP adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.Publisher appropriately. Uses the global database handle and panics on error.
func (*Publisher) AddPublisherI18nsP ¶
func (o *Publisher) AddPublisherI18nsP(exec boil.Executor, insert bool, related ...*PublisherI18n)
AddPublisherI18nsP adds the given related objects to the existing relationships of the publisher, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.Publisher appropriately. Panics on error.
func (*Publisher) ContentUnits ¶
ContentUnits retrieves all the content_unit's content units with an executor.
func (*Publisher) ContentUnitsG ¶
ContentUnitsG retrieves all the content_unit's content units.
func (*Publisher) Delete ¶
Delete deletes a single Publisher record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Publisher) DeleteG ¶
DeleteG deletes a single Publisher record. DeleteG will match against the primary key column to find the record to delete.
func (*Publisher) DeleteGP ¶
func (o *Publisher) DeleteGP()
DeleteGP deletes a single Publisher record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Publisher) DeleteP ¶
DeleteP deletes a single Publisher record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Publisher) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Publisher) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Publisher) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Publisher) PublisherI18ns ¶
PublisherI18ns retrieves all the publisher_i18n's publisher i18n with an executor.
func (*Publisher) PublisherI18nsG ¶
PublisherI18nsG retrieves all the publisher_i18n's publisher i18n.
func (*Publisher) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Publisher) ReloadGP ¶
func (o *Publisher) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Publisher) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Publisher) RemoveContentUnits ¶
func (o *Publisher) RemoveContentUnits(exec boil.Executor, related ...*ContentUnit) error
RemoveContentUnits relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Publishers.
func (*Publisher) RemoveContentUnitsG ¶
func (o *Publisher) RemoveContentUnitsG(related ...*ContentUnit) error
RemoveContentUnitsG relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Publishers. Uses the global database handle.
func (*Publisher) RemoveContentUnitsGP ¶
func (o *Publisher) RemoveContentUnitsGP(related ...*ContentUnit)
RemoveContentUnitsGP relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Publishers. Uses the global database handle and panics on error.
func (*Publisher) RemoveContentUnitsP ¶
func (o *Publisher) RemoveContentUnitsP(exec boil.Executor, related ...*ContentUnit)
RemoveContentUnitsP relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Publishers. Panics on error.
func (*Publisher) SetContentUnits ¶
SetContentUnits removes all previously related items of the publisher replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publishers's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Publishers's ContentUnits accordingly.
func (*Publisher) SetContentUnitsG ¶
func (o *Publisher) SetContentUnitsG(insert bool, related ...*ContentUnit) error
SetContentUnitsG removes all previously related items of the publisher replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publishers's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Publishers's ContentUnits accordingly. Uses the global database handle.
func (*Publisher) SetContentUnitsGP ¶
func (o *Publisher) SetContentUnitsGP(insert bool, related ...*ContentUnit)
SetContentUnitsGP removes all previously related items of the publisher replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publishers's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Publishers's ContentUnits accordingly. Uses the global database handle and panics on error.
func (*Publisher) SetContentUnitsP ¶
func (o *Publisher) SetContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
SetContentUnitsP removes all previously related items of the publisher replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publishers's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Publishers's ContentUnits accordingly. Panics on error.
func (*Publisher) Update ¶
Update uses an executor to update the Publisher. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Publisher) UpdateG ¶
UpdateG a single Publisher record. See Update for whitelist behavior description.
func (*Publisher) UpdateGP ¶
UpdateGP a single Publisher record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Publisher) UpdateP ¶
UpdateP uses an executor to update the Publisher, and panics on error. See Update for whitelist behavior description.
func (*Publisher) Upsert ¶
func (o *Publisher) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Publisher) UpsertG ¶
func (o *Publisher) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type PublisherI18n ¶
type PublisherI18n struct { PublisherID int64 `boil:"publisher_id" json:"publisher_id" toml:"publisher_id" yaml:"publisher_id"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` OriginalLanguage null.String `boil:"original_language" json:"original_language,omitempty" toml:"original_language" yaml:"original_language,omitempty"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *publisherI18nR `boil:"-" json:"-" toml:"-" yaml:"-"` L publisherI18nL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PublisherI18n is an object representing the database table.
func FindPublisherI18n ¶
func FindPublisherI18n(exec boil.Executor, publisherID int64, language string, selectCols ...string) (*PublisherI18n, error)
FindPublisherI18n retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPublisherI18nG ¶
func FindPublisherI18nG(publisherID int64, language string, selectCols ...string) (*PublisherI18n, error)
FindPublisherI18nG retrieves a single record by ID.
func FindPublisherI18nGP ¶
func FindPublisherI18nGP(publisherID int64, language string, selectCols ...string) *PublisherI18n
FindPublisherI18nGP retrieves a single record by ID, and panics on error.
func FindPublisherI18nP ¶
func FindPublisherI18nP(exec boil.Executor, publisherID int64, language string, selectCols ...string) *PublisherI18n
FindPublisherI18nP retrieves a single record by ID with an executor, and panics on error.
func (*PublisherI18n) Delete ¶
func (o *PublisherI18n) Delete(exec boil.Executor) error
Delete deletes a single PublisherI18n record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PublisherI18n) DeleteG ¶
func (o *PublisherI18n) DeleteG() error
DeleteG deletes a single PublisherI18n record. DeleteG will match against the primary key column to find the record to delete.
func (*PublisherI18n) DeleteGP ¶
func (o *PublisherI18n) DeleteGP()
DeleteGP deletes a single PublisherI18n record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*PublisherI18n) DeleteP ¶
func (o *PublisherI18n) DeleteP(exec boil.Executor)
DeleteP deletes a single PublisherI18n record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PublisherI18n) Insert ¶
func (o *PublisherI18n) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*PublisherI18n) InsertG ¶
func (o *PublisherI18n) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*PublisherI18n) InsertGP ¶
func (o *PublisherI18n) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*PublisherI18n) InsertP ¶
func (o *PublisherI18n) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PublisherI18n) Publisher ¶
func (o *PublisherI18n) Publisher(exec boil.Executor, mods ...qm.QueryMod) publisherQuery
Publisher pointed to by the foreign key.
func (*PublisherI18n) PublisherG ¶
func (o *PublisherI18n) PublisherG(mods ...qm.QueryMod) publisherQuery
PublisherG pointed to by the foreign key.
func (*PublisherI18n) Reload ¶
func (o *PublisherI18n) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PublisherI18n) ReloadG ¶
func (o *PublisherI18n) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*PublisherI18n) ReloadGP ¶
func (o *PublisherI18n) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*PublisherI18n) ReloadP ¶
func (o *PublisherI18n) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PublisherI18n) RemoveUser ¶
func (o *PublisherI18n) RemoveUser(exec boil.Executor, related *User) error
RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*PublisherI18n) RemoveUserG ¶
func (o *PublisherI18n) RemoveUserG(related *User) error
RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*PublisherI18n) RemoveUserGP ¶
func (o *PublisherI18n) RemoveUserGP(related *User)
RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*PublisherI18n) RemoveUserP ¶
func (o *PublisherI18n) RemoveUserP(exec boil.Executor, related *User)
RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*PublisherI18n) SetPublisher ¶
SetPublisher of the publisher_i18n to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherI18ns.
func (*PublisherI18n) SetPublisherG ¶
func (o *PublisherI18n) SetPublisherG(insert bool, related *Publisher) error
SetPublisherG of the publisher_i18n to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherI18ns. Uses the global database handle.
func (*PublisherI18n) SetPublisherGP ¶
func (o *PublisherI18n) SetPublisherGP(insert bool, related *Publisher)
SetPublisherGP of the publisher_i18n to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherI18ns. Uses the global database handle and panics on error.
func (*PublisherI18n) SetPublisherP ¶
func (o *PublisherI18n) SetPublisherP(exec boil.Executor, insert bool, related *Publisher)
SetPublisherP of the publisher_i18n to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherI18ns. Panics on error.
func (*PublisherI18n) SetUser ¶
SetUser of the publisher_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PublisherI18ns.
func (*PublisherI18n) SetUserG ¶
func (o *PublisherI18n) SetUserG(insert bool, related *User) error
SetUserG of the publisher_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PublisherI18ns. Uses the global database handle.
func (*PublisherI18n) SetUserGP ¶
func (o *PublisherI18n) SetUserGP(insert bool, related *User)
SetUserGP of the publisher_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PublisherI18ns. Uses the global database handle and panics on error.
func (*PublisherI18n) SetUserP ¶
func (o *PublisherI18n) SetUserP(exec boil.Executor, insert bool, related *User)
SetUserP of the publisher_i18n to the related item. Sets o.R.User to related. Adds o to related.R.PublisherI18ns. Panics on error.
func (*PublisherI18n) Update ¶
func (o *PublisherI18n) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the PublisherI18n. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PublisherI18n) UpdateG ¶
func (o *PublisherI18n) UpdateG(whitelist ...string) error
UpdateG a single PublisherI18n record. See Update for whitelist behavior description.
func (*PublisherI18n) UpdateGP ¶
func (o *PublisherI18n) UpdateGP(whitelist ...string)
UpdateGP a single PublisherI18n record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*PublisherI18n) UpdateP ¶
func (o *PublisherI18n) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the PublisherI18n, and panics on error. See Update for whitelist behavior description.
func (*PublisherI18n) Upsert ¶
func (o *PublisherI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*PublisherI18n) UpsertG ¶
func (o *PublisherI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*PublisherI18n) UpsertGP ¶
func (o *PublisherI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*PublisherI18n) UpsertP ¶
func (o *PublisherI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*PublisherI18n) User ¶
func (o *PublisherI18n) User(exec boil.Executor, mods ...qm.QueryMod) userQuery
User pointed to by the foreign key.
func (*PublisherI18n) UserG ¶
func (o *PublisherI18n) UserG(mods ...qm.QueryMod) userQuery
UserG pointed to by the foreign key.
type PublisherI18nSlice ¶
type PublisherI18nSlice []*PublisherI18n
PublisherI18nSlice is an alias for a slice of pointers to PublisherI18n. This should generally be used opposed to []PublisherI18n.
func (PublisherI18nSlice) DeleteAll ¶
func (o PublisherI18nSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (PublisherI18nSlice) DeleteAllG ¶
func (o PublisherI18nSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (PublisherI18nSlice) DeleteAllGP ¶
func (o PublisherI18nSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (PublisherI18nSlice) DeleteAllP ¶
func (o PublisherI18nSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PublisherI18nSlice) ReloadAll ¶
func (o *PublisherI18nSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PublisherI18nSlice) ReloadAllG ¶
func (o *PublisherI18nSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PublisherI18nSlice) ReloadAllGP ¶
func (o *PublisherI18nSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*PublisherI18nSlice) ReloadAllP ¶
func (o *PublisherI18nSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PublisherI18nSlice) UpdateAll ¶
func (o PublisherI18nSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (PublisherI18nSlice) UpdateAllG ¶
func (o PublisherI18nSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (PublisherI18nSlice) UpdateAllGP ¶
func (o PublisherI18nSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (PublisherI18nSlice) UpdateAllP ¶
func (o PublisherI18nSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type PublisherSlice ¶
type PublisherSlice []*Publisher
PublisherSlice is an alias for a slice of pointers to Publisher. This should generally be used opposed to []Publisher.
func (PublisherSlice) DeleteAll ¶
func (o PublisherSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (PublisherSlice) DeleteAllG ¶
func (o PublisherSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (PublisherSlice) DeleteAllGP ¶
func (o PublisherSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (PublisherSlice) DeleteAllP ¶
func (o PublisherSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PublisherSlice) ReloadAll ¶
func (o *PublisherSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PublisherSlice) ReloadAllG ¶
func (o *PublisherSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PublisherSlice) ReloadAllGP ¶
func (o *PublisherSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*PublisherSlice) ReloadAllP ¶
func (o *PublisherSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PublisherSlice) UpdateAll ¶
func (o PublisherSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (PublisherSlice) UpdateAllG ¶
func (o PublisherSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (PublisherSlice) UpdateAllGP ¶
func (o PublisherSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (PublisherSlice) UpdateAllP ¶
func (o PublisherSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Source ¶
type Source struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` ParentID null.Int64 `boil:"parent_id" json:"parent_id,omitempty" toml:"parent_id" yaml:"parent_id,omitempty"` Pattern null.String `boil:"pattern" json:"pattern,omitempty" toml:"pattern" yaml:"pattern,omitempty"` TypeID int64 `boil:"type_id" json:"type_id" toml:"type_id" yaml:"type_id"` Position null.Int `boil:"position" json:"position,omitempty" toml:"position" yaml:"position,omitempty"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` Properties null.JSON `boil:"properties" json:"properties,omitempty" toml:"properties" yaml:"properties,omitempty"` R *sourceR `boil:"-" json:"-" toml:"-" yaml:"-"` L sourceL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Source is an object representing the database table.
func FindSource ¶
FindSource retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindSourceG ¶
FindSourceG retrieves a single record by ID.
func FindSourceGP ¶
FindSourceGP retrieves a single record by ID, and panics on error.
func FindSourceP ¶
FindSourceP retrieves a single record by ID with an executor, and panics on error.
func (*Source) AddAuthors ¶
AddAuthors adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.Authors. Sets related.R.Sources appropriately.
func (*Source) AddAuthorsG ¶
AddAuthorsG adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.Authors. Sets related.R.Sources appropriately. Uses the global database handle.
func (*Source) AddAuthorsGP ¶
AddAuthorsGP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.Authors. Sets related.R.Sources appropriately. Uses the global database handle and panics on error.
func (*Source) AddAuthorsP ¶
AddAuthorsP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.Authors. Sets related.R.Sources appropriately. Panics on error.
func (*Source) AddContentUnits ¶
AddContentUnits adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Sources appropriately.
func (*Source) AddContentUnitsG ¶
func (o *Source) AddContentUnitsG(insert bool, related ...*ContentUnit) error
AddContentUnitsG adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Sources appropriately. Uses the global database handle.
func (*Source) AddContentUnitsGP ¶
func (o *Source) AddContentUnitsGP(insert bool, related ...*ContentUnit)
AddContentUnitsGP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Sources appropriately. Uses the global database handle and panics on error.
func (*Source) AddContentUnitsP ¶
func (o *Source) AddContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
AddContentUnitsP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Sources appropriately. Panics on error.
func (*Source) AddParentSources ¶
AddParentSources adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ParentSources. Sets related.R.Parent appropriately.
func (*Source) AddParentSourcesG ¶
AddParentSourcesG adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ParentSources. Sets related.R.Parent appropriately. Uses the global database handle.
func (*Source) AddParentSourcesGP ¶
AddParentSourcesGP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ParentSources. Sets related.R.Parent appropriately. Uses the global database handle and panics on error.
func (*Source) AddParentSourcesP ¶
AddParentSourcesP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.ParentSources. Sets related.R.Parent appropriately. Panics on error.
func (*Source) AddSourceI18ns ¶
AddSourceI18ns adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.SourceI18ns. Sets related.R.Source appropriately.
func (*Source) AddSourceI18nsG ¶
func (o *Source) AddSourceI18nsG(insert bool, related ...*SourceI18n) error
AddSourceI18nsG adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.SourceI18ns. Sets related.R.Source appropriately. Uses the global database handle.
func (*Source) AddSourceI18nsGP ¶
func (o *Source) AddSourceI18nsGP(insert bool, related ...*SourceI18n)
AddSourceI18nsGP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.SourceI18ns. Sets related.R.Source appropriately. Uses the global database handle and panics on error.
func (*Source) AddSourceI18nsP ¶
func (o *Source) AddSourceI18nsP(exec boil.Executor, insert bool, related ...*SourceI18n)
AddSourceI18nsP adds the given related objects to the existing relationships of the source, optionally inserting them as new records. Appends related to o.R.SourceI18ns. Sets related.R.Source appropriately. Panics on error.
func (*Source) ContentUnits ¶
ContentUnits retrieves all the content_unit's content units with an executor.
func (*Source) ContentUnitsG ¶
ContentUnitsG retrieves all the content_unit's content units.
func (*Source) Delete ¶
Delete deletes a single Source record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Source) DeleteG ¶
DeleteG deletes a single Source record. DeleteG will match against the primary key column to find the record to delete.
func (*Source) DeleteGP ¶
func (o *Source) DeleteGP()
DeleteGP deletes a single Source record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Source) DeleteP ¶
DeleteP deletes a single Source record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Source) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Source) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Source) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Source) ParentSources ¶
ParentSources retrieves all the source's sources with an executor via parent_id column.
func (*Source) ParentSourcesG ¶
ParentSourcesG retrieves all the source's sources via parent_id column.
func (*Source) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Source) ReloadGP ¶
func (o *Source) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Source) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Source) RemoveAuthors ¶
RemoveAuthors relationships from objects passed in. Removes related items from R.Authors (uses pointer comparison, removal does not keep order) Sets related.R.Sources.
func (*Source) RemoveAuthorsG ¶
RemoveAuthorsG relationships from objects passed in. Removes related items from R.Authors (uses pointer comparison, removal does not keep order) Sets related.R.Sources. Uses the global database handle.
func (*Source) RemoveAuthorsGP ¶
RemoveAuthorsGP relationships from objects passed in. Removes related items from R.Authors (uses pointer comparison, removal does not keep order) Sets related.R.Sources. Uses the global database handle and panics on error.
func (*Source) RemoveAuthorsP ¶
RemoveAuthorsP relationships from objects passed in. Removes related items from R.Authors (uses pointer comparison, removal does not keep order) Sets related.R.Sources. Panics on error.
func (*Source) RemoveContentUnits ¶
func (o *Source) RemoveContentUnits(exec boil.Executor, related ...*ContentUnit) error
RemoveContentUnits relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Sources.
func (*Source) RemoveContentUnitsG ¶
func (o *Source) RemoveContentUnitsG(related ...*ContentUnit) error
RemoveContentUnitsG relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Sources. Uses the global database handle.
func (*Source) RemoveContentUnitsGP ¶
func (o *Source) RemoveContentUnitsGP(related ...*ContentUnit)
RemoveContentUnitsGP relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Sources. Uses the global database handle and panics on error.
func (*Source) RemoveContentUnitsP ¶
func (o *Source) RemoveContentUnitsP(exec boil.Executor, related ...*ContentUnit)
RemoveContentUnitsP relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Sources. Panics on error.
func (*Source) RemoveParent ¶
RemoveParent relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Source) RemoveParentG ¶
RemoveParentG relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Source) RemoveParentGP ¶
RemoveParentGP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Source) RemoveParentP ¶
RemoveParentP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Source) RemoveParentSources ¶
RemoveParentSources relationships from objects passed in. Removes related items from R.ParentSources (uses pointer comparison, removal does not keep order) Sets related.R.Parent.
func (*Source) RemoveParentSourcesG ¶
RemoveParentSourcesG relationships from objects passed in. Removes related items from R.ParentSources (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle.
func (*Source) RemoveParentSourcesGP ¶
RemoveParentSourcesGP relationships from objects passed in. Removes related items from R.ParentSources (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle and panics on error.
func (*Source) RemoveParentSourcesP ¶
RemoveParentSourcesP relationships from objects passed in. Removes related items from R.ParentSources (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Panics on error.
func (*Source) SetAuthors ¶
SetAuthors removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's Authors accordingly. Replaces o.R.Authors with related. Sets related.R.Sources's Authors accordingly.
func (*Source) SetAuthorsG ¶
SetAuthorsG removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's Authors accordingly. Replaces o.R.Authors with related. Sets related.R.Sources's Authors accordingly. Uses the global database handle.
func (*Source) SetAuthorsGP ¶
SetAuthorsGP removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's Authors accordingly. Replaces o.R.Authors with related. Sets related.R.Sources's Authors accordingly. Uses the global database handle and panics on error.
func (*Source) SetAuthorsP ¶
SetAuthorsP removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's Authors accordingly. Replaces o.R.Authors with related. Sets related.R.Sources's Authors accordingly. Panics on error.
func (*Source) SetContentUnits ¶
SetContentUnits removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Sources's ContentUnits accordingly.
func (*Source) SetContentUnitsG ¶
func (o *Source) SetContentUnitsG(insert bool, related ...*ContentUnit) error
SetContentUnitsG removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Sources's ContentUnits accordingly. Uses the global database handle.
func (*Source) SetContentUnitsGP ¶
func (o *Source) SetContentUnitsGP(insert bool, related ...*ContentUnit)
SetContentUnitsGP removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Sources's ContentUnits accordingly. Uses the global database handle and panics on error.
func (*Source) SetContentUnitsP ¶
func (o *Source) SetContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
SetContentUnitsP removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Sources's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Sources's ContentUnits accordingly. Panics on error.
func (*Source) SetParent ¶
SetParent of the source to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentSources.
func (*Source) SetParentG ¶
SetParentG of the source to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentSources. Uses the global database handle.
func (*Source) SetParentGP ¶
SetParentGP of the source to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentSources. Uses the global database handle and panics on error.
func (*Source) SetParentP ¶
SetParentP of the source to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentSources. Panics on error.
func (*Source) SetParentSources ¶
SetParentSources removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentSources accordingly. Replaces o.R.ParentSources with related. Sets related.R.Parent's ParentSources accordingly.
func (*Source) SetParentSourcesG ¶
SetParentSourcesG removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentSources accordingly. Replaces o.R.ParentSources with related. Sets related.R.Parent's ParentSources accordingly. Uses the global database handle.
func (*Source) SetParentSourcesGP ¶
SetParentSourcesGP removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentSources accordingly. Replaces o.R.ParentSources with related. Sets related.R.Parent's ParentSources accordingly. Uses the global database handle and panics on error.
func (*Source) SetParentSourcesP ¶
SetParentSourcesP removes all previously related items of the source replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentSources accordingly. Replaces o.R.ParentSources with related. Sets related.R.Parent's ParentSources accordingly. Panics on error.
func (*Source) SetType ¶
SetType of the source to the related item. Sets o.R.Type to related. Adds o to related.R.TypeSources.
func (*Source) SetTypeG ¶
func (o *Source) SetTypeG(insert bool, related *SourceType) error
SetTypeG of the source to the related item. Sets o.R.Type to related. Adds o to related.R.TypeSources. Uses the global database handle.
func (*Source) SetTypeGP ¶
func (o *Source) SetTypeGP(insert bool, related *SourceType)
SetTypeGP of the source to the related item. Sets o.R.Type to related. Adds o to related.R.TypeSources. Uses the global database handle and panics on error.
func (*Source) SetTypeP ¶
func (o *Source) SetTypeP(exec boil.Executor, insert bool, related *SourceType)
SetTypeP of the source to the related item. Sets o.R.Type to related. Adds o to related.R.TypeSources. Panics on error.
func (*Source) SourceI18ns ¶
SourceI18ns retrieves all the source_i18n's source i18n with an executor.
func (*Source) SourceI18nsG ¶
SourceI18nsG retrieves all the source_i18n's source i18n.
func (*Source) Update ¶
Update uses an executor to update the Source. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Source) UpdateG ¶
UpdateG a single Source record. See Update for whitelist behavior description.
func (*Source) UpdateGP ¶
UpdateGP a single Source record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Source) UpdateP ¶
UpdateP uses an executor to update the Source, and panics on error. See Update for whitelist behavior description.
func (*Source) Upsert ¶
func (o *Source) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Source) UpsertG ¶
func (o *Source) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type SourceI18n ¶
type SourceI18n struct { SourceID int64 `boil:"source_id" json:"source_id" toml:"source_id" yaml:"source_id"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *sourceI18nR `boil:"-" json:"-" toml:"-" yaml:"-"` L sourceI18nL `boil:"-" json:"-" toml:"-" yaml:"-"` }
SourceI18n is an object representing the database table.
func FindSourceI18n ¶
func FindSourceI18n(exec boil.Executor, sourceID int64, language string, selectCols ...string) (*SourceI18n, error)
FindSourceI18n retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindSourceI18nG ¶
func FindSourceI18nG(sourceID int64, language string, selectCols ...string) (*SourceI18n, error)
FindSourceI18nG retrieves a single record by ID.
func FindSourceI18nGP ¶
func FindSourceI18nGP(sourceID int64, language string, selectCols ...string) *SourceI18n
FindSourceI18nGP retrieves a single record by ID, and panics on error.
func FindSourceI18nP ¶
func FindSourceI18nP(exec boil.Executor, sourceID int64, language string, selectCols ...string) *SourceI18n
FindSourceI18nP retrieves a single record by ID with an executor, and panics on error.
func (*SourceI18n) Delete ¶
func (o *SourceI18n) Delete(exec boil.Executor) error
Delete deletes a single SourceI18n record with an executor. Delete will match against the primary key column to find the record to delete.
func (*SourceI18n) DeleteG ¶
func (o *SourceI18n) DeleteG() error
DeleteG deletes a single SourceI18n record. DeleteG will match against the primary key column to find the record to delete.
func (*SourceI18n) DeleteGP ¶
func (o *SourceI18n) DeleteGP()
DeleteGP deletes a single SourceI18n record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*SourceI18n) DeleteP ¶
func (o *SourceI18n) DeleteP(exec boil.Executor)
DeleteP deletes a single SourceI18n record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*SourceI18n) Insert ¶
func (o *SourceI18n) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*SourceI18n) InsertG ¶
func (o *SourceI18n) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*SourceI18n) InsertGP ¶
func (o *SourceI18n) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*SourceI18n) InsertP ¶
func (o *SourceI18n) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*SourceI18n) Reload ¶
func (o *SourceI18n) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*SourceI18n) ReloadG ¶
func (o *SourceI18n) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*SourceI18n) ReloadGP ¶
func (o *SourceI18n) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*SourceI18n) ReloadP ¶
func (o *SourceI18n) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*SourceI18n) SetSource ¶
SetSource of the source_i18n to the related item. Sets o.R.Source to related. Adds o to related.R.SourceI18ns.
func (*SourceI18n) SetSourceG ¶
func (o *SourceI18n) SetSourceG(insert bool, related *Source) error
SetSourceG of the source_i18n to the related item. Sets o.R.Source to related. Adds o to related.R.SourceI18ns. Uses the global database handle.
func (*SourceI18n) SetSourceGP ¶
func (o *SourceI18n) SetSourceGP(insert bool, related *Source)
SetSourceGP of the source_i18n to the related item. Sets o.R.Source to related. Adds o to related.R.SourceI18ns. Uses the global database handle and panics on error.
func (*SourceI18n) SetSourceP ¶
func (o *SourceI18n) SetSourceP(exec boil.Executor, insert bool, related *Source)
SetSourceP of the source_i18n to the related item. Sets o.R.Source to related. Adds o to related.R.SourceI18ns. Panics on error.
func (*SourceI18n) Source ¶
func (o *SourceI18n) Source(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
Source pointed to by the foreign key.
func (*SourceI18n) SourceG ¶
func (o *SourceI18n) SourceG(mods ...qm.QueryMod) sourceQuery
SourceG pointed to by the foreign key.
func (*SourceI18n) Update ¶
func (o *SourceI18n) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the SourceI18n. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*SourceI18n) UpdateG ¶
func (o *SourceI18n) UpdateG(whitelist ...string) error
UpdateG a single SourceI18n record. See Update for whitelist behavior description.
func (*SourceI18n) UpdateGP ¶
func (o *SourceI18n) UpdateGP(whitelist ...string)
UpdateGP a single SourceI18n record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*SourceI18n) UpdateP ¶
func (o *SourceI18n) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the SourceI18n, and panics on error. See Update for whitelist behavior description.
func (*SourceI18n) Upsert ¶
func (o *SourceI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*SourceI18n) UpsertG ¶
func (o *SourceI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type SourceI18nSlice ¶
type SourceI18nSlice []*SourceI18n
SourceI18nSlice is an alias for a slice of pointers to SourceI18n. This should generally be used opposed to []SourceI18n.
func (SourceI18nSlice) DeleteAll ¶
func (o SourceI18nSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (SourceI18nSlice) DeleteAllG ¶
func (o SourceI18nSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (SourceI18nSlice) DeleteAllGP ¶
func (o SourceI18nSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (SourceI18nSlice) DeleteAllP ¶
func (o SourceI18nSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*SourceI18nSlice) ReloadAll ¶
func (o *SourceI18nSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SourceI18nSlice) ReloadAllG ¶
func (o *SourceI18nSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SourceI18nSlice) ReloadAllGP ¶
func (o *SourceI18nSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*SourceI18nSlice) ReloadAllP ¶
func (o *SourceI18nSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (SourceI18nSlice) UpdateAll ¶
func (o SourceI18nSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (SourceI18nSlice) UpdateAllG ¶
func (o SourceI18nSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (SourceI18nSlice) UpdateAllGP ¶
func (o SourceI18nSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (SourceI18nSlice) UpdateAllP ¶
func (o SourceI18nSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type SourceSlice ¶
type SourceSlice []*Source
SourceSlice is an alias for a slice of pointers to Source. This should generally be used opposed to []Source.
func (SourceSlice) DeleteAll ¶
func (o SourceSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (SourceSlice) DeleteAllG ¶
func (o SourceSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (SourceSlice) DeleteAllGP ¶
func (o SourceSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (SourceSlice) DeleteAllP ¶
func (o SourceSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*SourceSlice) ReloadAll ¶
func (o *SourceSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SourceSlice) ReloadAllG ¶
func (o *SourceSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SourceSlice) ReloadAllGP ¶
func (o *SourceSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*SourceSlice) ReloadAllP ¶
func (o *SourceSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (SourceSlice) UpdateAll ¶
func (o SourceSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (SourceSlice) UpdateAllG ¶
func (o SourceSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (SourceSlice) UpdateAllGP ¶
func (o SourceSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (SourceSlice) UpdateAllP ¶
func (o SourceSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type SourceType ¶
type SourceType struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` R *sourceTypeR `boil:"-" json:"-" toml:"-" yaml:"-"` L sourceTypeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
SourceType is an object representing the database table.
func FindSourceType ¶
FindSourceType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindSourceTypeG ¶
func FindSourceTypeG(id int64, selectCols ...string) (*SourceType, error)
FindSourceTypeG retrieves a single record by ID.
func FindSourceTypeGP ¶
func FindSourceTypeGP(id int64, selectCols ...string) *SourceType
FindSourceTypeGP retrieves a single record by ID, and panics on error.
func FindSourceTypeP ¶
func FindSourceTypeP(exec boil.Executor, id int64, selectCols ...string) *SourceType
FindSourceTypeP retrieves a single record by ID with an executor, and panics on error.
func (*SourceType) AddTypeSources ¶
AddTypeSources adds the given related objects to the existing relationships of the source_type, optionally inserting them as new records. Appends related to o.R.TypeSources. Sets related.R.Type appropriately.
func (*SourceType) AddTypeSourcesG ¶
func (o *SourceType) AddTypeSourcesG(insert bool, related ...*Source) error
AddTypeSourcesG adds the given related objects to the existing relationships of the source_type, optionally inserting them as new records. Appends related to o.R.TypeSources. Sets related.R.Type appropriately. Uses the global database handle.
func (*SourceType) AddTypeSourcesGP ¶
func (o *SourceType) AddTypeSourcesGP(insert bool, related ...*Source)
AddTypeSourcesGP adds the given related objects to the existing relationships of the source_type, optionally inserting them as new records. Appends related to o.R.TypeSources. Sets related.R.Type appropriately. Uses the global database handle and panics on error.
func (*SourceType) AddTypeSourcesP ¶
func (o *SourceType) AddTypeSourcesP(exec boil.Executor, insert bool, related ...*Source)
AddTypeSourcesP adds the given related objects to the existing relationships of the source_type, optionally inserting them as new records. Appends related to o.R.TypeSources. Sets related.R.Type appropriately. Panics on error.
func (*SourceType) Delete ¶
func (o *SourceType) Delete(exec boil.Executor) error
Delete deletes a single SourceType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*SourceType) DeleteG ¶
func (o *SourceType) DeleteG() error
DeleteG deletes a single SourceType record. DeleteG will match against the primary key column to find the record to delete.
func (*SourceType) DeleteGP ¶
func (o *SourceType) DeleteGP()
DeleteGP deletes a single SourceType record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*SourceType) DeleteP ¶
func (o *SourceType) DeleteP(exec boil.Executor)
DeleteP deletes a single SourceType record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*SourceType) Insert ¶
func (o *SourceType) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*SourceType) InsertG ¶
func (o *SourceType) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*SourceType) InsertGP ¶
func (o *SourceType) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*SourceType) InsertP ¶
func (o *SourceType) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*SourceType) Reload ¶
func (o *SourceType) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*SourceType) ReloadG ¶
func (o *SourceType) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*SourceType) ReloadGP ¶
func (o *SourceType) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*SourceType) ReloadP ¶
func (o *SourceType) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*SourceType) TypeSources ¶
func (o *SourceType) TypeSources(exec boil.Executor, mods ...qm.QueryMod) sourceQuery
TypeSources retrieves all the source's sources with an executor via type_id column.
func (*SourceType) TypeSourcesG ¶
func (o *SourceType) TypeSourcesG(mods ...qm.QueryMod) sourceQuery
TypeSourcesG retrieves all the source's sources via type_id column.
func (*SourceType) Update ¶
func (o *SourceType) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the SourceType. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*SourceType) UpdateG ¶
func (o *SourceType) UpdateG(whitelist ...string) error
UpdateG a single SourceType record. See Update for whitelist behavior description.
func (*SourceType) UpdateGP ¶
func (o *SourceType) UpdateGP(whitelist ...string)
UpdateGP a single SourceType record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*SourceType) UpdateP ¶
func (o *SourceType) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the SourceType, and panics on error. See Update for whitelist behavior description.
func (*SourceType) Upsert ¶
func (o *SourceType) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*SourceType) UpsertG ¶
func (o *SourceType) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type SourceTypeSlice ¶
type SourceTypeSlice []*SourceType
SourceTypeSlice is an alias for a slice of pointers to SourceType. This should generally be used opposed to []SourceType.
func (SourceTypeSlice) DeleteAll ¶
func (o SourceTypeSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (SourceTypeSlice) DeleteAllG ¶
func (o SourceTypeSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (SourceTypeSlice) DeleteAllGP ¶
func (o SourceTypeSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (SourceTypeSlice) DeleteAllP ¶
func (o SourceTypeSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*SourceTypeSlice) ReloadAll ¶
func (o *SourceTypeSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SourceTypeSlice) ReloadAllG ¶
func (o *SourceTypeSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SourceTypeSlice) ReloadAllGP ¶
func (o *SourceTypeSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*SourceTypeSlice) ReloadAllP ¶
func (o *SourceTypeSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (SourceTypeSlice) UpdateAll ¶
func (o SourceTypeSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (SourceTypeSlice) UpdateAllG ¶
func (o SourceTypeSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (SourceTypeSlice) UpdateAllGP ¶
func (o SourceTypeSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (SourceTypeSlice) UpdateAllP ¶
func (o SourceTypeSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Storage ¶
type Storage struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Country string `boil:"country" json:"country" toml:"country" yaml:"country"` Location string `boil:"location" json:"location" toml:"location" yaml:"location"` Status string `boil:"status" json:"status" toml:"status" yaml:"status"` Access string `boil:"access" json:"access" toml:"access" yaml:"access"` R *storageR `boil:"-" json:"-" toml:"-" yaml:"-"` L storageL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Storage is an object representing the database table.
func FindStorage ¶
FindStorage retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindStorageG ¶
FindStorageG retrieves a single record by ID.
func FindStorageGP ¶
FindStorageGP retrieves a single record by ID, and panics on error.
func FindStorageP ¶
FindStorageP retrieves a single record by ID with an executor, and panics on error.
func (*Storage) AddFiles ¶
AddFiles adds the given related objects to the existing relationships of the storage, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Storages appropriately.
func (*Storage) AddFilesG ¶
AddFilesG adds the given related objects to the existing relationships of the storage, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Storages appropriately. Uses the global database handle.
func (*Storage) AddFilesGP ¶
AddFilesGP adds the given related objects to the existing relationships of the storage, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Storages appropriately. Uses the global database handle and panics on error.
func (*Storage) AddFilesP ¶
AddFilesP adds the given related objects to the existing relationships of the storage, optionally inserting them as new records. Appends related to o.R.Files. Sets related.R.Storages appropriately. Panics on error.
func (*Storage) Delete ¶
Delete deletes a single Storage record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Storage) DeleteG ¶
DeleteG deletes a single Storage record. DeleteG will match against the primary key column to find the record to delete.
func (*Storage) DeleteGP ¶
func (o *Storage) DeleteGP()
DeleteGP deletes a single Storage record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Storage) DeleteP ¶
DeleteP deletes a single Storage record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Storage) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Storage) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Storage) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Storage) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Storage) ReloadGP ¶
func (o *Storage) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Storage) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Storage) RemoveFiles ¶
RemoveFiles relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Storages.
func (*Storage) RemoveFilesG ¶
RemoveFilesG relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Storages. Uses the global database handle.
func (*Storage) RemoveFilesGP ¶
RemoveFilesGP relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Storages. Uses the global database handle and panics on error.
func (*Storage) RemoveFilesP ¶
RemoveFilesP relationships from objects passed in. Removes related items from R.Files (uses pointer comparison, removal does not keep order) Sets related.R.Storages. Panics on error.
func (*Storage) SetFiles ¶
SetFiles removes all previously related items of the storage replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Storages's Files accordingly. Replaces o.R.Files with related. Sets related.R.Storages's Files accordingly.
func (*Storage) SetFilesG ¶
SetFilesG removes all previously related items of the storage replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Storages's Files accordingly. Replaces o.R.Files with related. Sets related.R.Storages's Files accordingly. Uses the global database handle.
func (*Storage) SetFilesGP ¶
SetFilesGP removes all previously related items of the storage replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Storages's Files accordingly. Replaces o.R.Files with related. Sets related.R.Storages's Files accordingly. Uses the global database handle and panics on error.
func (*Storage) SetFilesP ¶
SetFilesP removes all previously related items of the storage replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Storages's Files accordingly. Replaces o.R.Files with related. Sets related.R.Storages's Files accordingly. Panics on error.
func (*Storage) Update ¶
Update uses an executor to update the Storage. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Storage) UpdateG ¶
UpdateG a single Storage record. See Update for whitelist behavior description.
func (*Storage) UpdateGP ¶
UpdateGP a single Storage record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Storage) UpdateP ¶
UpdateP uses an executor to update the Storage, and panics on error. See Update for whitelist behavior description.
func (*Storage) Upsert ¶
func (o *Storage) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Storage) UpsertG ¶
func (o *Storage) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type StorageSlice ¶
type StorageSlice []*Storage
StorageSlice is an alias for a slice of pointers to Storage. This should generally be used opposed to []Storage.
func (StorageSlice) DeleteAll ¶
func (o StorageSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (StorageSlice) DeleteAllG ¶
func (o StorageSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (StorageSlice) DeleteAllGP ¶
func (o StorageSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (StorageSlice) DeleteAllP ¶
func (o StorageSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*StorageSlice) ReloadAll ¶
func (o *StorageSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*StorageSlice) ReloadAllG ¶
func (o *StorageSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*StorageSlice) ReloadAllGP ¶
func (o *StorageSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*StorageSlice) ReloadAllP ¶
func (o *StorageSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (StorageSlice) UpdateAll ¶
func (o StorageSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (StorageSlice) UpdateAllG ¶
func (o StorageSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (StorageSlice) UpdateAllGP ¶
func (o StorageSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (StorageSlice) UpdateAllP ¶
func (o StorageSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Tag ¶
type Tag struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` ParentID null.Int64 `boil:"parent_id" json:"parent_id,omitempty" toml:"parent_id" yaml:"parent_id,omitempty"` UID string `boil:"uid" json:"uid" toml:"uid" yaml:"uid"` Pattern null.String `boil:"pattern" json:"pattern,omitempty" toml:"pattern" yaml:"pattern,omitempty"` R *tagR `boil:"-" json:"-" toml:"-" yaml:"-"` L tagL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Tag is an object representing the database table.
func FindTag ¶
FindTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Tag) AddContentUnits ¶
AddContentUnits adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Tags appropriately.
func (*Tag) AddContentUnitsG ¶
func (o *Tag) AddContentUnitsG(insert bool, related ...*ContentUnit) error
AddContentUnitsG adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Tags appropriately. Uses the global database handle.
func (*Tag) AddContentUnitsGP ¶
func (o *Tag) AddContentUnitsGP(insert bool, related ...*ContentUnit)
AddContentUnitsGP adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Tags appropriately. Uses the global database handle and panics on error.
func (*Tag) AddContentUnitsP ¶
func (o *Tag) AddContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
AddContentUnitsP adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ContentUnits. Sets related.R.Tags appropriately. Panics on error.
func (*Tag) AddParentTags ¶
AddParentTags adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ParentTags. Sets related.R.Parent appropriately.
func (*Tag) AddParentTagsG ¶
AddParentTagsG adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ParentTags. Sets related.R.Parent appropriately. Uses the global database handle.
func (*Tag) AddParentTagsGP ¶
AddParentTagsGP adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ParentTags. Sets related.R.Parent appropriately. Uses the global database handle and panics on error.
func (*Tag) AddParentTagsP ¶
AddParentTagsP adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.ParentTags. Sets related.R.Parent appropriately. Panics on error.
func (*Tag) AddTagI18ns ¶
AddTagI18ns adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.Tag appropriately.
func (*Tag) AddTagI18nsG ¶
AddTagI18nsG adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.Tag appropriately. Uses the global database handle.
func (*Tag) AddTagI18nsGP ¶
AddTagI18nsGP adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.Tag appropriately. Uses the global database handle and panics on error.
func (*Tag) AddTagI18nsP ¶
AddTagI18nsP adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.Tag appropriately. Panics on error.
func (*Tag) ContentUnits ¶
ContentUnits retrieves all the content_unit's content units with an executor.
func (*Tag) ContentUnitsG ¶
ContentUnitsG retrieves all the content_unit's content units.
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) DeleteG ¶
DeleteG deletes a single Tag record. DeleteG will match against the primary key column to find the record to delete.
func (*Tag) DeleteGP ¶
func (o *Tag) DeleteGP()
DeleteGP deletes a single Tag record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Tag) DeleteP ¶
DeleteP deletes a single Tag record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Tag) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Tag) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Tag) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Tag) ParentTags ¶
ParentTags retrieves all the tag's tags with an executor via parent_id column.
func (*Tag) ParentTagsG ¶
ParentTagsG retrieves all the tag's tags via parent_id column.
func (*Tag) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Tag) ReloadGP ¶
func (o *Tag) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Tag) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Tag) RemoveContentUnits ¶
func (o *Tag) RemoveContentUnits(exec boil.Executor, related ...*ContentUnit) error
RemoveContentUnits relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Tags.
func (*Tag) RemoveContentUnitsG ¶
func (o *Tag) RemoveContentUnitsG(related ...*ContentUnit) error
RemoveContentUnitsG relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Tags. Uses the global database handle.
func (*Tag) RemoveContentUnitsGP ¶
func (o *Tag) RemoveContentUnitsGP(related ...*ContentUnit)
RemoveContentUnitsGP relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Tags. Uses the global database handle and panics on error.
func (*Tag) RemoveContentUnitsP ¶
func (o *Tag) RemoveContentUnitsP(exec boil.Executor, related ...*ContentUnit)
RemoveContentUnitsP relationships from objects passed in. Removes related items from R.ContentUnits (uses pointer comparison, removal does not keep order) Sets related.R.Tags. Panics on error.
func (*Tag) RemoveParent ¶
RemoveParent relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Tag) RemoveParentG ¶
RemoveParentG relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Tag) RemoveParentGP ¶
RemoveParentGP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Tag) RemoveParentP ¶
RemoveParentP relationship. Sets o.R.Parent to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Tag) RemoveParentTags ¶
RemoveParentTags relationships from objects passed in. Removes related items from R.ParentTags (uses pointer comparison, removal does not keep order) Sets related.R.Parent.
func (*Tag) RemoveParentTagsG ¶
RemoveParentTagsG relationships from objects passed in. Removes related items from R.ParentTags (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle.
func (*Tag) RemoveParentTagsGP ¶
RemoveParentTagsGP relationships from objects passed in. Removes related items from R.ParentTags (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Uses the global database handle and panics on error.
func (*Tag) RemoveParentTagsP ¶
RemoveParentTagsP relationships from objects passed in. Removes related items from R.ParentTags (uses pointer comparison, removal does not keep order) Sets related.R.Parent. Panics on error.
func (*Tag) SetContentUnits ¶
SetContentUnits removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Tags's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Tags's ContentUnits accordingly.
func (*Tag) SetContentUnitsG ¶
func (o *Tag) SetContentUnitsG(insert bool, related ...*ContentUnit) error
SetContentUnitsG removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Tags's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Tags's ContentUnits accordingly. Uses the global database handle.
func (*Tag) SetContentUnitsGP ¶
func (o *Tag) SetContentUnitsGP(insert bool, related ...*ContentUnit)
SetContentUnitsGP removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Tags's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Tags's ContentUnits accordingly. Uses the global database handle and panics on error.
func (*Tag) SetContentUnitsP ¶
func (o *Tag) SetContentUnitsP(exec boil.Executor, insert bool, related ...*ContentUnit)
SetContentUnitsP removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Tags's ContentUnits accordingly. Replaces o.R.ContentUnits with related. Sets related.R.Tags's ContentUnits accordingly. Panics on error.
func (*Tag) SetParent ¶
SetParent of the tag to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentTags.
func (*Tag) SetParentG ¶
SetParentG of the tag to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentTags. Uses the global database handle.
func (*Tag) SetParentGP ¶
SetParentGP of the tag to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentTags. Uses the global database handle and panics on error.
func (*Tag) SetParentP ¶
SetParentP of the tag to the related item. Sets o.R.Parent to related. Adds o to related.R.ParentTags. Panics on error.
func (*Tag) SetParentTags ¶
SetParentTags removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentTags accordingly. Replaces o.R.ParentTags with related. Sets related.R.Parent's ParentTags accordingly.
func (*Tag) SetParentTagsG ¶
SetParentTagsG removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentTags accordingly. Replaces o.R.ParentTags with related. Sets related.R.Parent's ParentTags accordingly. Uses the global database handle.
func (*Tag) SetParentTagsGP ¶
SetParentTagsGP removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentTags accordingly. Replaces o.R.ParentTags with related. Sets related.R.Parent's ParentTags accordingly. Uses the global database handle and panics on error.
func (*Tag) SetParentTagsP ¶
SetParentTagsP removes all previously related items of the tag replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Parent's ParentTags accordingly. Replaces o.R.ParentTags with related. Sets related.R.Parent's ParentTags accordingly. Panics on error.
func (*Tag) Update ¶
Update uses an executor to update the Tag. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Tag) UpdateGP ¶
UpdateGP a single Tag record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Tag) UpdateP ¶
UpdateP uses an executor to update the Tag, and panics on error. See Update for whitelist behavior description.
func (*Tag) Upsert ¶
func (o *Tag) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Tag) UpsertG ¶
func (o *Tag) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type TagI18n ¶
type TagI18n struct { TagID int64 `boil:"tag_id" json:"tag_id" toml:"tag_id" yaml:"tag_id"` Language string `boil:"language" json:"language" toml:"language" yaml:"language"` OriginalLanguage null.String `boil:"original_language" json:"original_language,omitempty" toml:"original_language" yaml:"original_language,omitempty"` Label null.String `boil:"label" json:"label,omitempty" toml:"label" yaml:"label,omitempty"` UserID null.Int64 `boil:"user_id" json:"user_id,omitempty" toml:"user_id" yaml:"user_id,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *tagI18nR `boil:"-" json:"-" toml:"-" yaml:"-"` L tagI18nL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TagI18n is an object representing the database table.
func FindTagI18n ¶
func FindTagI18n(exec boil.Executor, tagID int64, language string, selectCols ...string) (*TagI18n, error)
FindTagI18n retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindTagI18nG ¶
FindTagI18nG retrieves a single record by ID.
func FindTagI18nGP ¶
FindTagI18nGP retrieves a single record by ID, and panics on error.
func FindTagI18nP ¶
FindTagI18nP retrieves a single record by ID with an executor, and panics on error.
func (*TagI18n) Delete ¶
Delete deletes a single TagI18n record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TagI18n) DeleteG ¶
DeleteG deletes a single TagI18n record. DeleteG will match against the primary key column to find the record to delete.
func (*TagI18n) DeleteGP ¶
func (o *TagI18n) DeleteGP()
DeleteGP deletes a single TagI18n record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*TagI18n) DeleteP ¶
DeleteP deletes a single TagI18n record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*TagI18n) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*TagI18n) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*TagI18n) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*TagI18n) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*TagI18n) ReloadGP ¶
func (o *TagI18n) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*TagI18n) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*TagI18n) RemoveUser ¶
RemoveUser relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*TagI18n) RemoveUserG ¶
RemoveUserG relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*TagI18n) RemoveUserGP ¶
RemoveUserGP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*TagI18n) RemoveUserP ¶
RemoveUserP relationship. Sets o.R.User to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*TagI18n) SetTag ¶
SetTag of the tag_i18n to the related item. Sets o.R.Tag to related. Adds o to related.R.TagI18ns.
func (*TagI18n) SetTagG ¶
SetTagG of the tag_i18n to the related item. Sets o.R.Tag to related. Adds o to related.R.TagI18ns. Uses the global database handle.
func (*TagI18n) SetTagGP ¶
SetTagGP of the tag_i18n to the related item. Sets o.R.Tag to related. Adds o to related.R.TagI18ns. Uses the global database handle and panics on error.
func (*TagI18n) SetTagP ¶
SetTagP of the tag_i18n to the related item. Sets o.R.Tag to related. Adds o to related.R.TagI18ns. Panics on error.
func (*TagI18n) SetUser ¶
SetUser of the tag_i18n to the related item. Sets o.R.User to related. Adds o to related.R.TagI18ns.
func (*TagI18n) SetUserG ¶
SetUserG of the tag_i18n to the related item. Sets o.R.User to related. Adds o to related.R.TagI18ns. Uses the global database handle.
func (*TagI18n) SetUserGP ¶
SetUserGP of the tag_i18n to the related item. Sets o.R.User to related. Adds o to related.R.TagI18ns. Uses the global database handle and panics on error.
func (*TagI18n) SetUserP ¶
SetUserP of the tag_i18n to the related item. Sets o.R.User to related. Adds o to related.R.TagI18ns. Panics on error.
func (*TagI18n) Update ¶
Update uses an executor to update the TagI18n. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TagI18n) UpdateG ¶
UpdateG a single TagI18n record. See Update for whitelist behavior description.
func (*TagI18n) UpdateGP ¶
UpdateGP a single TagI18n record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*TagI18n) UpdateP ¶
UpdateP uses an executor to update the TagI18n, and panics on error. See Update for whitelist behavior description.
func (*TagI18n) Upsert ¶
func (o *TagI18n) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*TagI18n) UpsertG ¶
func (o *TagI18n) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*TagI18n) UpsertGP ¶
func (o *TagI18n) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*TagI18n) UpsertP ¶
func (o *TagI18n) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
type TagI18nSlice ¶
type TagI18nSlice []*TagI18n
TagI18nSlice is an alias for a slice of pointers to TagI18n. This should generally be used opposed to []TagI18n.
func (TagI18nSlice) DeleteAll ¶
func (o TagI18nSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (TagI18nSlice) DeleteAllG ¶
func (o TagI18nSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (TagI18nSlice) DeleteAllGP ¶
func (o TagI18nSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (TagI18nSlice) DeleteAllP ¶
func (o TagI18nSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*TagI18nSlice) ReloadAll ¶
func (o *TagI18nSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TagI18nSlice) ReloadAllG ¶
func (o *TagI18nSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TagI18nSlice) ReloadAllGP ¶
func (o *TagI18nSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*TagI18nSlice) ReloadAllP ¶
func (o *TagI18nSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (TagI18nSlice) UpdateAll ¶
func (o TagI18nSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (TagI18nSlice) UpdateAllG ¶
func (o TagI18nSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (TagI18nSlice) UpdateAllGP ¶
func (o TagI18nSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (TagI18nSlice) UpdateAllP ¶
func (o TagI18nSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type TagSlice ¶
type TagSlice []*Tag
TagSlice is an alias for a slice of pointers to Tag. This should generally be used opposed to []Tag.
func (TagSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (TagSlice) DeleteAllGP ¶
func (o TagSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (TagSlice) DeleteAllP ¶
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*TagSlice) ReloadAll ¶
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TagSlice) ReloadAllG ¶
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TagSlice) ReloadAllGP ¶
func (o *TagSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*TagSlice) ReloadAllP ¶
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (TagSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (TagSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
func (TagSlice) UpdateAllGP ¶
UpdateAllGP updates all rows with the specified column values, and panics on error.
type TwitterTweet ¶ added in v0.9.9
type TwitterTweet struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` UserID int64 `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"` TwitterID string `boil:"twitter_id" json:"twitter_id" toml:"twitter_id" yaml:"twitter_id"` FullText string `boil:"full_text" json:"full_text" toml:"full_text" yaml:"full_text"` TweetAt time.Time `boil:"tweet_at" json:"tweet_at" toml:"tweet_at" yaml:"tweet_at"` Raw null.JSON `boil:"raw" json:"raw,omitempty" toml:"raw" yaml:"raw,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` R *twitterTweetR `boil:"-" json:"-" toml:"-" yaml:"-"` L twitterTweetL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TwitterTweet is an object representing the database table.
func FindTwitterTweet ¶ added in v0.9.9
FindTwitterTweet retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindTwitterTweetG ¶ added in v0.9.9
func FindTwitterTweetG(id int64, selectCols ...string) (*TwitterTweet, error)
FindTwitterTweetG retrieves a single record by ID.
func FindTwitterTweetGP ¶ added in v0.9.9
func FindTwitterTweetGP(id int64, selectCols ...string) *TwitterTweet
FindTwitterTweetGP retrieves a single record by ID, and panics on error.
func FindTwitterTweetP ¶ added in v0.9.9
func FindTwitterTweetP(exec boil.Executor, id int64, selectCols ...string) *TwitterTweet
FindTwitterTweetP retrieves a single record by ID with an executor, and panics on error.
func (*TwitterTweet) Delete ¶ added in v0.9.9
func (o *TwitterTweet) Delete(exec boil.Executor) error
Delete deletes a single TwitterTweet record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TwitterTweet) DeleteG ¶ added in v0.9.9
func (o *TwitterTweet) DeleteG() error
DeleteG deletes a single TwitterTweet record. DeleteG will match against the primary key column to find the record to delete.
func (*TwitterTweet) DeleteGP ¶ added in v0.9.9
func (o *TwitterTweet) DeleteGP()
DeleteGP deletes a single TwitterTweet record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*TwitterTweet) DeleteP ¶ added in v0.9.9
func (o *TwitterTweet) DeleteP(exec boil.Executor)
DeleteP deletes a single TwitterTweet record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*TwitterTweet) Insert ¶ added in v0.9.9
func (o *TwitterTweet) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*TwitterTweet) InsertG ¶ added in v0.9.9
func (o *TwitterTweet) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*TwitterTweet) InsertGP ¶ added in v0.9.9
func (o *TwitterTweet) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*TwitterTweet) InsertP ¶ added in v0.9.9
func (o *TwitterTweet) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*TwitterTweet) Reload ¶ added in v0.9.9
func (o *TwitterTweet) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TwitterTweet) ReloadG ¶ added in v0.9.9
func (o *TwitterTweet) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*TwitterTweet) ReloadGP ¶ added in v0.9.9
func (o *TwitterTweet) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*TwitterTweet) ReloadP ¶ added in v0.9.9
func (o *TwitterTweet) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*TwitterTweet) SetUser ¶ added in v0.9.9
func (o *TwitterTweet) SetUser(exec boil.Executor, insert bool, related *TwitterUser) error
SetUser of the twitter_tweet to the related item. Sets o.R.User to related. Adds o to related.R.UserTwitterTweets.
func (*TwitterTweet) SetUserG ¶ added in v0.9.9
func (o *TwitterTweet) SetUserG(insert bool, related *TwitterUser) error
SetUserG of the twitter_tweet to the related item. Sets o.R.User to related. Adds o to related.R.UserTwitterTweets. Uses the global database handle.
func (*TwitterTweet) SetUserGP ¶ added in v0.9.9
func (o *TwitterTweet) SetUserGP(insert bool, related *TwitterUser)
SetUserGP of the twitter_tweet to the related item. Sets o.R.User to related. Adds o to related.R.UserTwitterTweets. Uses the global database handle and panics on error.
func (*TwitterTweet) SetUserP ¶ added in v0.9.9
func (o *TwitterTweet) SetUserP(exec boil.Executor, insert bool, related *TwitterUser)
SetUserP of the twitter_tweet to the related item. Sets o.R.User to related. Adds o to related.R.UserTwitterTweets. Panics on error.
func (*TwitterTweet) Update ¶ added in v0.9.9
func (o *TwitterTweet) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the TwitterTweet. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TwitterTweet) UpdateG ¶ added in v0.9.9
func (o *TwitterTweet) UpdateG(whitelist ...string) error
UpdateG a single TwitterTweet record. See Update for whitelist behavior description.
func (*TwitterTweet) UpdateGP ¶ added in v0.9.9
func (o *TwitterTweet) UpdateGP(whitelist ...string)
UpdateGP a single TwitterTweet record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*TwitterTweet) UpdateP ¶ added in v0.9.9
func (o *TwitterTweet) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the TwitterTweet, and panics on error. See Update for whitelist behavior description.
func (*TwitterTweet) Upsert ¶ added in v0.9.9
func (o *TwitterTweet) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*TwitterTweet) UpsertG ¶ added in v0.9.9
func (o *TwitterTweet) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*TwitterTweet) UpsertGP ¶ added in v0.9.9
func (o *TwitterTweet) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*TwitterTweet) UpsertP ¶ added in v0.9.9
func (o *TwitterTweet) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*TwitterTweet) User ¶ added in v0.9.9
func (o *TwitterTweet) User(exec boil.Executor, mods ...qm.QueryMod) twitterUserQuery
User pointed to by the foreign key.
func (*TwitterTweet) UserG ¶ added in v0.9.9
func (o *TwitterTweet) UserG(mods ...qm.QueryMod) twitterUserQuery
UserG pointed to by the foreign key.
type TwitterTweetSlice ¶ added in v0.9.9
type TwitterTweetSlice []*TwitterTweet
TwitterTweetSlice is an alias for a slice of pointers to TwitterTweet. This should generally be used opposed to []TwitterTweet.
func (TwitterTweetSlice) DeleteAll ¶ added in v0.9.9
func (o TwitterTweetSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (TwitterTweetSlice) DeleteAllG ¶ added in v0.9.9
func (o TwitterTweetSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (TwitterTweetSlice) DeleteAllGP ¶ added in v0.9.9
func (o TwitterTweetSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (TwitterTweetSlice) DeleteAllP ¶ added in v0.9.9
func (o TwitterTweetSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*TwitterTweetSlice) ReloadAll ¶ added in v0.9.9
func (o *TwitterTweetSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TwitterTweetSlice) ReloadAllG ¶ added in v0.9.9
func (o *TwitterTweetSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TwitterTweetSlice) ReloadAllGP ¶ added in v0.9.9
func (o *TwitterTweetSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*TwitterTweetSlice) ReloadAllP ¶ added in v0.9.9
func (o *TwitterTweetSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (TwitterTweetSlice) UpdateAll ¶ added in v0.9.9
func (o TwitterTweetSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (TwitterTweetSlice) UpdateAllG ¶ added in v0.9.9
func (o TwitterTweetSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (TwitterTweetSlice) UpdateAllGP ¶ added in v0.9.9
func (o TwitterTweetSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (TwitterTweetSlice) UpdateAllP ¶ added in v0.9.9
func (o TwitterTweetSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type TwitterUser ¶ added in v0.9.9
type TwitterUser struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Username string `boil:"username" json:"username" toml:"username" yaml:"username"` AccountID string `boil:"account_id" json:"account_id" toml:"account_id" yaml:"account_id"` DisplayName string `boil:"display_name" json:"display_name" toml:"display_name" yaml:"display_name"` R *twitterUserR `boil:"-" json:"-" toml:"-" yaml:"-"` L twitterUserL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TwitterUser is an object representing the database table.
func FindTwitterUser ¶ added in v0.9.9
FindTwitterUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindTwitterUserG ¶ added in v0.9.9
func FindTwitterUserG(id int64, selectCols ...string) (*TwitterUser, error)
FindTwitterUserG retrieves a single record by ID.
func FindTwitterUserGP ¶ added in v0.9.9
func FindTwitterUserGP(id int64, selectCols ...string) *TwitterUser
FindTwitterUserGP retrieves a single record by ID, and panics on error.
func FindTwitterUserP ¶ added in v0.9.9
func FindTwitterUserP(exec boil.Executor, id int64, selectCols ...string) *TwitterUser
FindTwitterUserP retrieves a single record by ID with an executor, and panics on error.
func (*TwitterUser) AddUserTwitterTweets ¶ added in v0.9.9
func (o *TwitterUser) AddUserTwitterTweets(exec boil.Executor, insert bool, related ...*TwitterTweet) error
AddUserTwitterTweets adds the given related objects to the existing relationships of the twitter_user, optionally inserting them as new records. Appends related to o.R.UserTwitterTweets. Sets related.R.User appropriately.
func (*TwitterUser) AddUserTwitterTweetsG ¶ added in v0.9.9
func (o *TwitterUser) AddUserTwitterTweetsG(insert bool, related ...*TwitterTweet) error
AddUserTwitterTweetsG adds the given related objects to the existing relationships of the twitter_user, optionally inserting them as new records. Appends related to o.R.UserTwitterTweets. Sets related.R.User appropriately. Uses the global database handle.
func (*TwitterUser) AddUserTwitterTweetsGP ¶ added in v0.9.9
func (o *TwitterUser) AddUserTwitterTweetsGP(insert bool, related ...*TwitterTweet)
AddUserTwitterTweetsGP adds the given related objects to the existing relationships of the twitter_user, optionally inserting them as new records. Appends related to o.R.UserTwitterTweets. Sets related.R.User appropriately. Uses the global database handle and panics on error.
func (*TwitterUser) AddUserTwitterTweetsP ¶ added in v0.9.9
func (o *TwitterUser) AddUserTwitterTweetsP(exec boil.Executor, insert bool, related ...*TwitterTweet)
AddUserTwitterTweetsP adds the given related objects to the existing relationships of the twitter_user, optionally inserting them as new records. Appends related to o.R.UserTwitterTweets. Sets related.R.User appropriately. Panics on error.
func (*TwitterUser) Delete ¶ added in v0.9.9
func (o *TwitterUser) Delete(exec boil.Executor) error
Delete deletes a single TwitterUser record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TwitterUser) DeleteG ¶ added in v0.9.9
func (o *TwitterUser) DeleteG() error
DeleteG deletes a single TwitterUser record. DeleteG will match against the primary key column to find the record to delete.
func (*TwitterUser) DeleteGP ¶ added in v0.9.9
func (o *TwitterUser) DeleteGP()
DeleteGP deletes a single TwitterUser record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*TwitterUser) DeleteP ¶ added in v0.9.9
func (o *TwitterUser) DeleteP(exec boil.Executor)
DeleteP deletes a single TwitterUser record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*TwitterUser) Insert ¶ added in v0.9.9
func (o *TwitterUser) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*TwitterUser) InsertG ¶ added in v0.9.9
func (o *TwitterUser) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*TwitterUser) InsertGP ¶ added in v0.9.9
func (o *TwitterUser) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*TwitterUser) InsertP ¶ added in v0.9.9
func (o *TwitterUser) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*TwitterUser) Reload ¶ added in v0.9.9
func (o *TwitterUser) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TwitterUser) ReloadG ¶ added in v0.9.9
func (o *TwitterUser) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*TwitterUser) ReloadGP ¶ added in v0.9.9
func (o *TwitterUser) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*TwitterUser) ReloadP ¶ added in v0.9.9
func (o *TwitterUser) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*TwitterUser) Update ¶ added in v0.9.9
func (o *TwitterUser) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the TwitterUser. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TwitterUser) UpdateG ¶ added in v0.9.9
func (o *TwitterUser) UpdateG(whitelist ...string) error
UpdateG a single TwitterUser record. See Update for whitelist behavior description.
func (*TwitterUser) UpdateGP ¶ added in v0.9.9
func (o *TwitterUser) UpdateGP(whitelist ...string)
UpdateGP a single TwitterUser record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*TwitterUser) UpdateP ¶ added in v0.9.9
func (o *TwitterUser) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the TwitterUser, and panics on error. See Update for whitelist behavior description.
func (*TwitterUser) Upsert ¶ added in v0.9.9
func (o *TwitterUser) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*TwitterUser) UpsertG ¶ added in v0.9.9
func (o *TwitterUser) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*TwitterUser) UpsertGP ¶ added in v0.9.9
func (o *TwitterUser) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
func (*TwitterUser) UpsertP ¶ added in v0.9.9
func (o *TwitterUser) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string)
UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.
func (*TwitterUser) UserTwitterTweets ¶ added in v0.9.9
func (o *TwitterUser) UserTwitterTweets(exec boil.Executor, mods ...qm.QueryMod) twitterTweetQuery
UserTwitterTweets retrieves all the twitter_tweet's twitter tweets with an executor via user_id column.
func (*TwitterUser) UserTwitterTweetsG ¶ added in v0.9.9
func (o *TwitterUser) UserTwitterTweetsG(mods ...qm.QueryMod) twitterTweetQuery
UserTwitterTweetsG retrieves all the twitter_tweet's twitter tweets via user_id column.
type TwitterUserSlice ¶ added in v0.9.9
type TwitterUserSlice []*TwitterUser
TwitterUserSlice is an alias for a slice of pointers to TwitterUser. This should generally be used opposed to []TwitterUser.
func (TwitterUserSlice) DeleteAll ¶ added in v0.9.9
func (o TwitterUserSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (TwitterUserSlice) DeleteAllG ¶ added in v0.9.9
func (o TwitterUserSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (TwitterUserSlice) DeleteAllGP ¶ added in v0.9.9
func (o TwitterUserSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (TwitterUserSlice) DeleteAllP ¶ added in v0.9.9
func (o TwitterUserSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*TwitterUserSlice) ReloadAll ¶ added in v0.9.9
func (o *TwitterUserSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TwitterUserSlice) ReloadAllG ¶ added in v0.9.9
func (o *TwitterUserSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TwitterUserSlice) ReloadAllGP ¶ added in v0.9.9
func (o *TwitterUserSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*TwitterUserSlice) ReloadAllP ¶ added in v0.9.9
func (o *TwitterUserSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (TwitterUserSlice) UpdateAll ¶ added in v0.9.9
func (o TwitterUserSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (TwitterUserSlice) UpdateAllG ¶ added in v0.9.9
func (o TwitterUserSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (TwitterUserSlice) UpdateAllGP ¶ added in v0.9.9
func (o TwitterUserSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (TwitterUserSlice) UpdateAllP ¶ added in v0.9.9
func (o TwitterUserSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type User ¶
type User struct { ID int64 `boil:"id" json:"id" toml:"id" yaml:"id"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` Phone null.String `boil:"phone" json:"phone,omitempty" toml:"phone" yaml:"phone,omitempty"` Comments null.String `boil:"comments" json:"comments,omitempty" toml:"comments" yaml:"comments,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"` R *userR `boil:"-" json:"-" toml:"-" yaml:"-"` L userL `boil:"-" json:"-" toml:"-" yaml:"-"` }
User is an object representing the database table.
func FindUser ¶
FindUser retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUserGP ¶
FindUserGP retrieves a single record by ID, and panics on error.
func (*User) AddCollectionI18ns ¶
func (o *User) AddCollectionI18ns(exec boil.Executor, insert bool, related ...*CollectionI18n) error
AddCollectionI18ns adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.User appropriately.
func (*User) AddCollectionI18nsG ¶
func (o *User) AddCollectionI18nsG(insert bool, related ...*CollectionI18n) error
AddCollectionI18nsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.User appropriately. Uses the global database handle.
func (*User) AddCollectionI18nsGP ¶
func (o *User) AddCollectionI18nsGP(insert bool, related ...*CollectionI18n)
AddCollectionI18nsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.User appropriately. Uses the global database handle and panics on error.
func (*User) AddCollectionI18nsP ¶
func (o *User) AddCollectionI18nsP(exec boil.Executor, insert bool, related ...*CollectionI18n)
AddCollectionI18nsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.CollectionI18ns. Sets related.R.User appropriately. Panics on error.
func (*User) AddContentUnitI18ns ¶
func (o *User) AddContentUnitI18ns(exec boil.Executor, insert bool, related ...*ContentUnitI18n) error
AddContentUnitI18ns adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.User appropriately.
func (*User) AddContentUnitI18nsG ¶
func (o *User) AddContentUnitI18nsG(insert bool, related ...*ContentUnitI18n) error
AddContentUnitI18nsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.User appropriately. Uses the global database handle.
func (*User) AddContentUnitI18nsGP ¶
func (o *User) AddContentUnitI18nsGP(insert bool, related ...*ContentUnitI18n)
AddContentUnitI18nsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.User appropriately. Uses the global database handle and panics on error.
func (*User) AddContentUnitI18nsP ¶
func (o *User) AddContentUnitI18nsP(exec boil.Executor, insert bool, related ...*ContentUnitI18n)
AddContentUnitI18nsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.ContentUnitI18ns. Sets related.R.User appropriately. Panics on error.
func (*User) AddOperations ¶
AddOperations adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.User appropriately.
func (*User) AddOperationsG ¶
AddOperationsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.User appropriately. Uses the global database handle.
func (*User) AddOperationsGP ¶
AddOperationsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.User appropriately. Uses the global database handle and panics on error.
func (*User) AddOperationsP ¶
AddOperationsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.Operations. Sets related.R.User appropriately. Panics on error.
func (*User) AddPersonI18ns ¶
AddPersonI18ns adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.User appropriately.
func (*User) AddPersonI18nsG ¶
func (o *User) AddPersonI18nsG(insert bool, related ...*PersonI18n) error
AddPersonI18nsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.User appropriately. Uses the global database handle.
func (*User) AddPersonI18nsGP ¶
func (o *User) AddPersonI18nsGP(insert bool, related ...*PersonI18n)
AddPersonI18nsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.User appropriately. Uses the global database handle and panics on error.
func (*User) AddPersonI18nsP ¶
func (o *User) AddPersonI18nsP(exec boil.Executor, insert bool, related ...*PersonI18n)
AddPersonI18nsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PersonI18ns. Sets related.R.User appropriately. Panics on error.
func (*User) AddPublisherI18ns ¶
AddPublisherI18ns adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.User appropriately.
func (*User) AddPublisherI18nsG ¶
func (o *User) AddPublisherI18nsG(insert bool, related ...*PublisherI18n) error
AddPublisherI18nsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.User appropriately. Uses the global database handle.
func (*User) AddPublisherI18nsGP ¶
func (o *User) AddPublisherI18nsGP(insert bool, related ...*PublisherI18n)
AddPublisherI18nsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.User appropriately. Uses the global database handle and panics on error.
func (*User) AddPublisherI18nsP ¶
func (o *User) AddPublisherI18nsP(exec boil.Executor, insert bool, related ...*PublisherI18n)
AddPublisherI18nsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.PublisherI18ns. Sets related.R.User appropriately. Panics on error.
func (*User) AddTagI18ns ¶
AddTagI18ns adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.User appropriately.
func (*User) AddTagI18nsG ¶
AddTagI18nsG adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.User appropriately. Uses the global database handle.
func (*User) AddTagI18nsGP ¶
AddTagI18nsGP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.User appropriately. Uses the global database handle and panics on error.
func (*User) AddTagI18nsP ¶
AddTagI18nsP adds the given related objects to the existing relationships of the user, optionally inserting them as new records. Appends related to o.R.TagI18ns. Sets related.R.User appropriately. Panics on error.
func (*User) CollectionI18ns ¶
CollectionI18ns retrieves all the collection_i18n's collection i18n with an executor.
func (*User) CollectionI18nsG ¶
CollectionI18nsG retrieves all the collection_i18n's collection i18n.
func (*User) ContentUnitI18ns ¶
ContentUnitI18ns retrieves all the content_unit_i18n's content unit i18n with an executor.
func (*User) ContentUnitI18nsG ¶
ContentUnitI18nsG retrieves all the content_unit_i18n's content unit i18n.
func (*User) Delete ¶
Delete deletes a single User record with an executor. Delete will match against the primary key column to find the record to delete.
func (*User) DeleteG ¶
DeleteG deletes a single User record. DeleteG will match against the primary key column to find the record to delete.
func (*User) DeleteGP ¶
func (o *User) DeleteGP()
DeleteGP deletes a single User record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*User) DeleteP ¶
DeleteP deletes a single User record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*User) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*User) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*User) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*User) Operations ¶
Operations retrieves all the operation's operations with an executor.
func (*User) OperationsG ¶
OperationsG retrieves all the operation's operations.
func (*User) PersonI18ns ¶
PersonI18ns retrieves all the person_i18n's person i18n with an executor.
func (*User) PersonI18nsG ¶
PersonI18nsG retrieves all the person_i18n's person i18n.
func (*User) PublisherI18ns ¶
PublisherI18ns retrieves all the publisher_i18n's publisher i18n with an executor.
func (*User) PublisherI18nsG ¶
PublisherI18nsG retrieves all the publisher_i18n's publisher i18n.
func (*User) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*User) ReloadGP ¶
func (o *User) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*User) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*User) RemoveCollectionI18ns ¶
func (o *User) RemoveCollectionI18ns(exec boil.Executor, related ...*CollectionI18n) error
RemoveCollectionI18ns relationships from objects passed in. Removes related items from R.CollectionI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User.
func (*User) RemoveCollectionI18nsG ¶
func (o *User) RemoveCollectionI18nsG(related ...*CollectionI18n) error
RemoveCollectionI18nsG relationships from objects passed in. Removes related items from R.CollectionI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.
func (*User) RemoveCollectionI18nsGP ¶
func (o *User) RemoveCollectionI18nsGP(related ...*CollectionI18n)
RemoveCollectionI18nsGP relationships from objects passed in. Removes related items from R.CollectionI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.
func (*User) RemoveCollectionI18nsP ¶
func (o *User) RemoveCollectionI18nsP(exec boil.Executor, related ...*CollectionI18n)
RemoveCollectionI18nsP relationships from objects passed in. Removes related items from R.CollectionI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.
func (*User) RemoveContentUnitI18ns ¶
func (o *User) RemoveContentUnitI18ns(exec boil.Executor, related ...*ContentUnitI18n) error
RemoveContentUnitI18ns relationships from objects passed in. Removes related items from R.ContentUnitI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User.
func (*User) RemoveContentUnitI18nsG ¶
func (o *User) RemoveContentUnitI18nsG(related ...*ContentUnitI18n) error
RemoveContentUnitI18nsG relationships from objects passed in. Removes related items from R.ContentUnitI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.
func (*User) RemoveContentUnitI18nsGP ¶
func (o *User) RemoveContentUnitI18nsGP(related ...*ContentUnitI18n)
RemoveContentUnitI18nsGP relationships from objects passed in. Removes related items from R.ContentUnitI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.
func (*User) RemoveContentUnitI18nsP ¶
func (o *User) RemoveContentUnitI18nsP(exec boil.Executor, related ...*ContentUnitI18n)
RemoveContentUnitI18nsP relationships from objects passed in. Removes related items from R.ContentUnitI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.
func (*User) RemoveOperations ¶
RemoveOperations relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.User.
func (*User) RemoveOperationsG ¶
RemoveOperationsG relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.
func (*User) RemoveOperationsGP ¶
RemoveOperationsGP relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.
func (*User) RemoveOperationsP ¶
RemoveOperationsP relationships from objects passed in. Removes related items from R.Operations (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.
func (*User) RemovePersonI18ns ¶
func (o *User) RemovePersonI18ns(exec boil.Executor, related ...*PersonI18n) error
RemovePersonI18ns relationships from objects passed in. Removes related items from R.PersonI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User.
func (*User) RemovePersonI18nsG ¶
func (o *User) RemovePersonI18nsG(related ...*PersonI18n) error
RemovePersonI18nsG relationships from objects passed in. Removes related items from R.PersonI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.
func (*User) RemovePersonI18nsGP ¶
func (o *User) RemovePersonI18nsGP(related ...*PersonI18n)
RemovePersonI18nsGP relationships from objects passed in. Removes related items from R.PersonI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.
func (*User) RemovePersonI18nsP ¶
func (o *User) RemovePersonI18nsP(exec boil.Executor, related ...*PersonI18n)
RemovePersonI18nsP relationships from objects passed in. Removes related items from R.PersonI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.
func (*User) RemovePublisherI18ns ¶
func (o *User) RemovePublisherI18ns(exec boil.Executor, related ...*PublisherI18n) error
RemovePublisherI18ns relationships from objects passed in. Removes related items from R.PublisherI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User.
func (*User) RemovePublisherI18nsG ¶
func (o *User) RemovePublisherI18nsG(related ...*PublisherI18n) error
RemovePublisherI18nsG relationships from objects passed in. Removes related items from R.PublisherI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.
func (*User) RemovePublisherI18nsGP ¶
func (o *User) RemovePublisherI18nsGP(related ...*PublisherI18n)
RemovePublisherI18nsGP relationships from objects passed in. Removes related items from R.PublisherI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.
func (*User) RemovePublisherI18nsP ¶
func (o *User) RemovePublisherI18nsP(exec boil.Executor, related ...*PublisherI18n)
RemovePublisherI18nsP relationships from objects passed in. Removes related items from R.PublisherI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.
func (*User) RemoveTagI18ns ¶
RemoveTagI18ns relationships from objects passed in. Removes related items from R.TagI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User.
func (*User) RemoveTagI18nsG ¶
RemoveTagI18nsG relationships from objects passed in. Removes related items from R.TagI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle.
func (*User) RemoveTagI18nsGP ¶
RemoveTagI18nsGP relationships from objects passed in. Removes related items from R.TagI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Uses the global database handle and panics on error.
func (*User) RemoveTagI18nsP ¶
RemoveTagI18nsP relationships from objects passed in. Removes related items from R.TagI18ns (uses pointer comparison, removal does not keep order) Sets related.R.User. Panics on error.
func (*User) SetCollectionI18ns ¶
func (o *User) SetCollectionI18ns(exec boil.Executor, insert bool, related ...*CollectionI18n) error
SetCollectionI18ns removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's CollectionI18ns accordingly. Replaces o.R.CollectionI18ns with related. Sets related.R.User's CollectionI18ns accordingly.
func (*User) SetCollectionI18nsG ¶
func (o *User) SetCollectionI18nsG(insert bool, related ...*CollectionI18n) error
SetCollectionI18nsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's CollectionI18ns accordingly. Replaces o.R.CollectionI18ns with related. Sets related.R.User's CollectionI18ns accordingly. Uses the global database handle.
func (*User) SetCollectionI18nsGP ¶
func (o *User) SetCollectionI18nsGP(insert bool, related ...*CollectionI18n)
SetCollectionI18nsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's CollectionI18ns accordingly. Replaces o.R.CollectionI18ns with related. Sets related.R.User's CollectionI18ns accordingly. Uses the global database handle and panics on error.
func (*User) SetCollectionI18nsP ¶
func (o *User) SetCollectionI18nsP(exec boil.Executor, insert bool, related ...*CollectionI18n)
SetCollectionI18nsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's CollectionI18ns accordingly. Replaces o.R.CollectionI18ns with related. Sets related.R.User's CollectionI18ns accordingly. Panics on error.
func (*User) SetContentUnitI18ns ¶
func (o *User) SetContentUnitI18ns(exec boil.Executor, insert bool, related ...*ContentUnitI18n) error
SetContentUnitI18ns removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's ContentUnitI18ns accordingly. Replaces o.R.ContentUnitI18ns with related. Sets related.R.User's ContentUnitI18ns accordingly.
func (*User) SetContentUnitI18nsG ¶
func (o *User) SetContentUnitI18nsG(insert bool, related ...*ContentUnitI18n) error
SetContentUnitI18nsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's ContentUnitI18ns accordingly. Replaces o.R.ContentUnitI18ns with related. Sets related.R.User's ContentUnitI18ns accordingly. Uses the global database handle.
func (*User) SetContentUnitI18nsGP ¶
func (o *User) SetContentUnitI18nsGP(insert bool, related ...*ContentUnitI18n)
SetContentUnitI18nsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's ContentUnitI18ns accordingly. Replaces o.R.ContentUnitI18ns with related. Sets related.R.User's ContentUnitI18ns accordingly. Uses the global database handle and panics on error.
func (*User) SetContentUnitI18nsP ¶
func (o *User) SetContentUnitI18nsP(exec boil.Executor, insert bool, related ...*ContentUnitI18n)
SetContentUnitI18nsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's ContentUnitI18ns accordingly. Replaces o.R.ContentUnitI18ns with related. Sets related.R.User's ContentUnitI18ns accordingly. Panics on error.
func (*User) SetOperations ¶
SetOperations removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.User's Operations accordingly.
func (*User) SetOperationsG ¶
SetOperationsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.User's Operations accordingly. Uses the global database handle.
func (*User) SetOperationsGP ¶
SetOperationsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.User's Operations accordingly. Uses the global database handle and panics on error.
func (*User) SetOperationsP ¶
SetOperationsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's Operations accordingly. Replaces o.R.Operations with related. Sets related.R.User's Operations accordingly. Panics on error.
func (*User) SetPersonI18ns ¶
SetPersonI18ns removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PersonI18ns accordingly. Replaces o.R.PersonI18ns with related. Sets related.R.User's PersonI18ns accordingly.
func (*User) SetPersonI18nsG ¶
func (o *User) SetPersonI18nsG(insert bool, related ...*PersonI18n) error
SetPersonI18nsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PersonI18ns accordingly. Replaces o.R.PersonI18ns with related. Sets related.R.User's PersonI18ns accordingly. Uses the global database handle.
func (*User) SetPersonI18nsGP ¶
func (o *User) SetPersonI18nsGP(insert bool, related ...*PersonI18n)
SetPersonI18nsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PersonI18ns accordingly. Replaces o.R.PersonI18ns with related. Sets related.R.User's PersonI18ns accordingly. Uses the global database handle and panics on error.
func (*User) SetPersonI18nsP ¶
func (o *User) SetPersonI18nsP(exec boil.Executor, insert bool, related ...*PersonI18n)
SetPersonI18nsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PersonI18ns accordingly. Replaces o.R.PersonI18ns with related. Sets related.R.User's PersonI18ns accordingly. Panics on error.
func (*User) SetPublisherI18ns ¶
SetPublisherI18ns removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PublisherI18ns accordingly. Replaces o.R.PublisherI18ns with related. Sets related.R.User's PublisherI18ns accordingly.
func (*User) SetPublisherI18nsG ¶
func (o *User) SetPublisherI18nsG(insert bool, related ...*PublisherI18n) error
SetPublisherI18nsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PublisherI18ns accordingly. Replaces o.R.PublisherI18ns with related. Sets related.R.User's PublisherI18ns accordingly. Uses the global database handle.
func (*User) SetPublisherI18nsGP ¶
func (o *User) SetPublisherI18nsGP(insert bool, related ...*PublisherI18n)
SetPublisherI18nsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PublisherI18ns accordingly. Replaces o.R.PublisherI18ns with related. Sets related.R.User's PublisherI18ns accordingly. Uses the global database handle and panics on error.
func (*User) SetPublisherI18nsP ¶
func (o *User) SetPublisherI18nsP(exec boil.Executor, insert bool, related ...*PublisherI18n)
SetPublisherI18nsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's PublisherI18ns accordingly. Replaces o.R.PublisherI18ns with related. Sets related.R.User's PublisherI18ns accordingly. Panics on error.
func (*User) SetTagI18ns ¶
SetTagI18ns removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's TagI18ns accordingly. Replaces o.R.TagI18ns with related. Sets related.R.User's TagI18ns accordingly.
func (*User) SetTagI18nsG ¶
SetTagI18nsG removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's TagI18ns accordingly. Replaces o.R.TagI18ns with related. Sets related.R.User's TagI18ns accordingly. Uses the global database handle.
func (*User) SetTagI18nsGP ¶
SetTagI18nsGP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's TagI18ns accordingly. Replaces o.R.TagI18ns with related. Sets related.R.User's TagI18ns accordingly. Uses the global database handle and panics on error.
func (*User) SetTagI18nsP ¶
SetTagI18nsP removes all previously related items of the user replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.User's TagI18ns accordingly. Replaces o.R.TagI18ns with related. Sets related.R.User's TagI18ns accordingly. Panics on error.
func (*User) Update ¶
Update uses an executor to update the User. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*User) UpdateGP ¶
UpdateGP a single User record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*User) UpdateP ¶
UpdateP uses an executor to update the User, and panics on error. See Update for whitelist behavior description.
func (*User) Upsert ¶
func (o *User) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*User) UpsertG ¶
func (o *User) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type UserSlice ¶
type UserSlice []*User
UserSlice is an alias for a slice of pointers to User. This should generally be used opposed to []User.
func (UserSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (UserSlice) DeleteAllGP ¶
func (o UserSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (UserSlice) DeleteAllP ¶
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UserSlice) ReloadAll ¶
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*UserSlice) ReloadAllG ¶
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*UserSlice) ReloadAllGP ¶
func (o *UserSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*UserSlice) ReloadAllP ¶
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UserSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (UserSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
func (UserSlice) UpdateAllGP ¶
UpdateAllGP updates all rows with the specified column values, and panics on error.
Source Files ¶
- author_i18n.go
- authors.go
- blog_posts.go
- blogs.go
- boil_queries.go
- boil_table_names.go
- boil_types.go
- collection_i18n.go
- collections.go
- collections_content_units.go
- content_role_types.go
- content_types.go
- content_unit_derivations.go
- content_unit_i18n.go
- content_units.go
- content_units_persons.go
- files.go
- operation_types.go
- operations.go
- person_i18n.go
- persons.go
- publisher_i18n.go
- publishers.go
- source_i18n.go
- source_types.go
- sources.go
- storages.go
- tag_i18n.go
- tags.go
- twitter_tweets.go
- twitter_users.go
- users.go