Documentation ¶
Index ¶
- Variables
- func AddBusinessHook(hookPoint boil.HookPoint, businessHook BusinessHook)
- func AddBusinessStackHook(hookPoint boil.HookPoint, businessStackHook BusinessStackHook)
- func AddPasswordResetHook(hookPoint boil.HookPoint, passwordResetHook PasswordResetHook)
- func AddStackHook(hookPoint boil.HookPoint, stackHook StackHook)
- func AddStackTagHook(hookPoint boil.HookPoint, stackTagHook StackTagHook)
- func AddTagHook(hookPoint boil.HookPoint, tagHook TagHook)
- func AddUserHook(hookPoint boil.HookPoint, userHook UserHook)
- func BusinessExists(exec boil.Executor, iD uint64) (bool, error)
- func BusinessExistsG(iD uint64) (bool, error)
- func BusinessStackExists(exec boil.Executor, iD uint64) (bool, error)
- func BusinessStackExistsG(iD uint64) (bool, error)
- func BusinessStacks(mods ...qm.QueryMod) businessStackQuery
- func Businesses(mods ...qm.QueryMod) businessQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func PasswordResetExists(exec boil.Executor, iD uint64) (bool, error)
- func PasswordResetExistsG(iD uint64) (bool, error)
- func PasswordResets(mods ...qm.QueryMod) passwordResetQuery
- func StackExists(exec boil.Executor, iD uint64) (bool, error)
- func StackExistsG(iD uint64) (bool, error)
- func StackTagExists(exec boil.Executor, iD uint64) (bool, error)
- func StackTagExistsG(iD uint64) (bool, error)
- func StackTags(mods ...qm.QueryMod) stackTagQuery
- func Stacks(mods ...qm.QueryMod) stackQuery
- func TagExists(exec boil.Executor, iD uint64) (bool, error)
- func TagExistsG(iD uint64) (bool, error)
- func Tags(mods ...qm.QueryMod) tagQuery
- func UserExists(exec boil.Executor, iD uint64) (bool, error)
- func UserExistsG(iD uint64) (bool, error)
- func Users(mods ...qm.QueryMod) userQuery
- type Business
- func (o *Business) AddBusinessStacks(exec boil.Executor, insert bool, related ...*BusinessStack) error
- func (o *Business) AddBusinessStacksG(insert bool, related ...*BusinessStack) error
- func (o *Business) BusinessStacks(mods ...qm.QueryMod) businessStackQuery
- func (o *Business) Delete(exec boil.Executor) (int64, error)
- func (o *Business) DeleteG() (int64, error)
- func (o *Business) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *Business) InsertG(columns boil.Columns) error
- func (o *Business) Reload(exec boil.Executor) error
- func (o *Business) ReloadG() error
- func (o *Business) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *Business) UpdateG(columns boil.Columns) (int64, error)
- func (o *Business) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error
- func (o *Business) UpsertG(updateColumns, insertColumns boil.Columns) error
- type BusinessHook
- type BusinessSlice
- func (o BusinessSlice) DeleteAll(exec boil.Executor) (int64, error)
- func (o BusinessSlice) DeleteAllG() (int64, error)
- func (o *BusinessSlice) ReloadAll(exec boil.Executor) error
- func (o *BusinessSlice) ReloadAllG() error
- func (o BusinessSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)
- func (o BusinessSlice) UpdateAllG(cols M) (int64, error)
- type BusinessStack
- func (o *BusinessStack) Business(mods ...qm.QueryMod) businessQuery
- func (o *BusinessStack) Delete(exec boil.Executor) (int64, error)
- func (o *BusinessStack) DeleteG() (int64, error)
- func (o *BusinessStack) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *BusinessStack) InsertG(columns boil.Columns) error
- func (o *BusinessStack) Reload(exec boil.Executor) error
- func (o *BusinessStack) ReloadG() error
- func (o *BusinessStack) SetBusiness(exec boil.Executor, insert bool, related *Business) error
- func (o *BusinessStack) SetBusinessG(insert bool, related *Business) error
- func (o *BusinessStack) SetStack(exec boil.Executor, insert bool, related *Stack) error
- func (o *BusinessStack) SetStackG(insert bool, related *Stack) error
- func (o *BusinessStack) Stack(mods ...qm.QueryMod) stackQuery
- func (o *BusinessStack) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *BusinessStack) UpdateG(columns boil.Columns) (int64, error)
- func (o *BusinessStack) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error
- func (o *BusinessStack) UpsertG(updateColumns, insertColumns boil.Columns) error
- type BusinessStackHook
- type BusinessStackSlice
- func (o BusinessStackSlice) DeleteAll(exec boil.Executor) (int64, error)
- func (o BusinessStackSlice) DeleteAllG() (int64, error)
- func (o *BusinessStackSlice) ReloadAll(exec boil.Executor) error
- func (o *BusinessStackSlice) ReloadAllG() error
- func (o BusinessStackSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)
- func (o BusinessStackSlice) UpdateAllG(cols M) (int64, error)
- type M
- type PasswordReset
- func (o *PasswordReset) Delete(exec boil.Executor) (int64, error)
- func (o *PasswordReset) DeleteG() (int64, error)
- func (o *PasswordReset) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *PasswordReset) InsertG(columns boil.Columns) error
- func (o *PasswordReset) Reload(exec boil.Executor) error
- func (o *PasswordReset) ReloadG() error
- func (o *PasswordReset) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *PasswordReset) UpdateG(columns boil.Columns) (int64, error)
- func (o *PasswordReset) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error
- func (o *PasswordReset) UpsertG(updateColumns, insertColumns boil.Columns) error
- type PasswordResetHook
- type PasswordResetSlice
- func (o PasswordResetSlice) DeleteAll(exec boil.Executor) (int64, error)
- func (o PasswordResetSlice) DeleteAllG() (int64, error)
- func (o *PasswordResetSlice) ReloadAll(exec boil.Executor) error
- func (o *PasswordResetSlice) ReloadAllG() error
- func (o PasswordResetSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)
- func (o PasswordResetSlice) UpdateAllG(cols M) (int64, error)
- type Stack
- func (o *Stack) AddBusinessStacks(exec boil.Executor, insert bool, related ...*BusinessStack) error
- func (o *Stack) AddBusinessStacksG(insert bool, related ...*BusinessStack) error
- func (o *Stack) AddStackTags(exec boil.Executor, insert bool, related ...*StackTag) error
- func (o *Stack) AddStackTagsG(insert bool, related ...*StackTag) error
- func (o *Stack) BusinessStacks(mods ...qm.QueryMod) businessStackQuery
- func (o *Stack) Delete(exec boil.Executor) (int64, error)
- func (o *Stack) DeleteG() (int64, error)
- func (o *Stack) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *Stack) InsertG(columns boil.Columns) error
- func (o *Stack) Reload(exec boil.Executor) error
- func (o *Stack) ReloadG() error
- func (o *Stack) StackTags(mods ...qm.QueryMod) stackTagQuery
- func (o *Stack) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *Stack) UpdateG(columns boil.Columns) (int64, error)
- func (o *Stack) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error
- func (o *Stack) UpsertG(updateColumns, insertColumns boil.Columns) error
- type StackHook
- type StackSlice
- func (o StackSlice) DeleteAll(exec boil.Executor) (int64, error)
- func (o StackSlice) DeleteAllG() (int64, error)
- func (o *StackSlice) ReloadAll(exec boil.Executor) error
- func (o *StackSlice) ReloadAllG() error
- func (o StackSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)
- func (o StackSlice) UpdateAllG(cols M) (int64, error)
- type StackTag
- func (o *StackTag) Delete(exec boil.Executor) (int64, error)
- func (o *StackTag) DeleteG() (int64, error)
- func (o *StackTag) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *StackTag) InsertG(columns boil.Columns) error
- func (o *StackTag) Reload(exec boil.Executor) error
- func (o *StackTag) ReloadG() error
- func (o *StackTag) SetStack(exec boil.Executor, insert bool, related *Stack) error
- func (o *StackTag) SetStackG(insert bool, related *Stack) error
- func (o *StackTag) SetTag(exec boil.Executor, insert bool, related *Tag) error
- func (o *StackTag) SetTagG(insert bool, related *Tag) error
- func (o *StackTag) Stack(mods ...qm.QueryMod) stackQuery
- func (o *StackTag) Tag(mods ...qm.QueryMod) tagQuery
- func (o *StackTag) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *StackTag) UpdateG(columns boil.Columns) (int64, error)
- func (o *StackTag) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error
- func (o *StackTag) UpsertG(updateColumns, insertColumns boil.Columns) error
- type StackTagHook
- type StackTagSlice
- func (o StackTagSlice) DeleteAll(exec boil.Executor) (int64, error)
- func (o StackTagSlice) DeleteAllG() (int64, error)
- func (o *StackTagSlice) ReloadAll(exec boil.Executor) error
- func (o *StackTagSlice) ReloadAllG() error
- func (o StackTagSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)
- func (o StackTagSlice) UpdateAllG(cols M) (int64, error)
- type Tag
- func (o *Tag) AddStackTags(exec boil.Executor, insert bool, related ...*StackTag) error
- func (o *Tag) AddStackTagsG(insert bool, related ...*StackTag) error
- func (o *Tag) Delete(exec boil.Executor) (int64, error)
- func (o *Tag) DeleteG() (int64, error)
- func (o *Tag) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *Tag) InsertG(columns boil.Columns) error
- func (o *Tag) Reload(exec boil.Executor) error
- func (o *Tag) ReloadG() error
- func (o *Tag) StackTags(mods ...qm.QueryMod) stackTagQuery
- func (o *Tag) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *Tag) UpdateG(columns boil.Columns) (int64, error)
- func (o *Tag) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error
- func (o *Tag) UpsertG(updateColumns, insertColumns boil.Columns) error
- type TagHook
- type TagSlice
- func (o TagSlice) DeleteAll(exec boil.Executor) (int64, error)
- func (o TagSlice) DeleteAllG() (int64, error)
- func (o *TagSlice) ReloadAll(exec boil.Executor) error
- func (o *TagSlice) ReloadAllG() error
- func (o TagSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)
- func (o TagSlice) UpdateAllG(cols M) (int64, error)
- type User
- func (o *User) Delete(exec boil.Executor) (int64, error)
- func (o *User) DeleteG() (int64, error)
- func (o *User) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *User) InsertG(columns boil.Columns) error
- func (o *User) Reload(exec boil.Executor) error
- func (o *User) ReloadG() error
- func (o *User) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *User) UpdateG(columns boil.Columns) (int64, error)
- func (o *User) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error
- func (o *User) UpsertG(updateColumns, insertColumns boil.Columns) error
- type UserHook
- type UserSlice
- func (o UserSlice) DeleteAll(exec boil.Executor) (int64, error)
- func (o UserSlice) DeleteAllG() (int64, error)
- func (o *UserSlice) ReloadAll(exec boil.Executor) error
- func (o *UserSlice) ReloadAllG() error
- func (o UserSlice) UpdateAll(exec boil.Executor, cols M) (int64, error)
- func (o UserSlice) UpdateAllG(cols M) (int64, error)
Constants ¶
This section is empty.
Variables ¶
var BusinessColumns = struct { ID string Name string Website string Logo string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", Name: "name", Website: "website", Logo: "logo", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var BusinessRels = struct { BusinessStacks string }{ BusinessStacks: "BusinessStacks", }
BusinessRels is where relationship names are stored.
var BusinessStackColumns = struct { ID string BusinessID string StackID string CreatedAt string UpdatedAt string }{ ID: "id", BusinessID: "business_id", StackID: "stack_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var BusinessStackRels = struct { Business string Stack string }{ Business: "Business", Stack: "Stack", }
BusinessStackRels is where relationship names are stored.
var BusinessStackWhere = struct { ID whereHelperuint64 BusinessID whereHelperuint64 StackID whereHelperuint64 CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperuint64{/* contains filtered or unexported fields */}, BusinessID: whereHelperuint64{/* contains filtered or unexported fields */}, StackID: whereHelperuint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var BusinessWhere = struct { ID whereHelperuint64 Name whereHelperstring Website whereHelperstring Logo whereHelpernull_String CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperuint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Website: whereHelperstring{/* contains filtered or unexported fields */}, Logo: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var PasswordResetColumns = struct { ID string Email string Token string CreatedAt string }{ ID: "id", Email: "email", Token: "token", CreatedAt: "created_at", }
var PasswordResetRels = struct {
}{}
PasswordResetRels is where relationship names are stored.
var PasswordResetWhere = struct { ID whereHelperuint64 Email whereHelperstring Token whereHelperstring CreatedAt whereHelpernull_Time }{ ID: whereHelperuint64{/* contains filtered or unexported fields */}, Email: whereHelperstring{/* contains filtered or unexported fields */}, Token: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var StackColumns = struct { ID string Name string Creators string Website string Logo string ReleasedAt string DeprecatedAt string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", Creators: "creators", Website: "website", Logo: "logo", ReleasedAt: "released_at", DeprecatedAt: "deprecated_at", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var StackRels = struct { BusinessStacks string StackTags string }{ BusinessStacks: "BusinessStacks", StackTags: "StackTags", }
StackRels is where relationship names are stored.
var StackTagColumns = struct { ID string StackID string TagID string CreatedAt string UpdatedAt string }{ ID: "id", StackID: "stack_id", TagID: "tag_id", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var StackTagRels = struct { Stack string Tag string }{ Stack: "Stack", Tag: "Tag", }
StackTagRels is where relationship names are stored.
var StackTagWhere = struct { ID whereHelperuint64 StackID whereHelperuint64 TagID whereHelperuint64 CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperuint64{/* contains filtered or unexported fields */}, StackID: whereHelperuint64{/* contains filtered or unexported fields */}, TagID: whereHelperuint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var StackWhere = struct { ID whereHelperuint64 Name whereHelperstring Creators whereHelpernull_JSON Website whereHelpernull_String Logo whereHelpernull_String ReleasedAt whereHelpertime_Time DeprecatedAt whereHelpertime_Time CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperuint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Creators: whereHelpernull_JSON{/* contains filtered or unexported fields */}, Website: whereHelpernull_String{/* contains filtered or unexported fields */}, Logo: whereHelpernull_String{/* contains filtered or unexported fields */}, ReleasedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeprecatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var TableNames = struct { Business string BusinessStack string PasswordReset string Stack string StackTag string Tag string User string }{ Business: "business", BusinessStack: "business_stack", PasswordReset: "password_reset", Stack: "stack", StackTag: "stack_tag", Tag: "tag", User: "user", }
var TagColumns = struct { ID string Name string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var TagRels = struct { StackTags string }{ StackTags: "StackTags", }
TagRels is where relationship names are stored.
var TagWhere = struct { ID whereHelperuint64 Name whereHelperstring CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperuint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var UserColumns = struct { ID string Name string Email string Mobile string EmailVerifiedAt string Password string RememberToken string CreatedAt string UpdatedAt string }{ ID: "id", Name: "name", Email: "email", Mobile: "mobile", EmailVerifiedAt: "email_verified_at", Password: "password", RememberToken: "remember_token", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var UserRels = struct {
}{}
UserRels is where relationship names are stored.
var UserWhere = struct { ID whereHelperuint64 Name whereHelperstring Email whereHelperstring Mobile whereHelperstring EmailVerifiedAt whereHelpernull_Time Password whereHelperstring RememberToken whereHelpernull_String CreatedAt whereHelpernull_Time UpdatedAt whereHelpernull_Time }{ ID: whereHelperuint64{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Email: whereHelperstring{/* contains filtered or unexported fields */}, Mobile: whereHelperstring{/* contains filtered or unexported fields */}, EmailVerifiedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, Password: whereHelperstring{/* contains filtered or unexported fields */}, RememberToken: whereHelpernull_String{/* contains filtered or unexported fields */}, CreatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
Functions ¶
func AddBusinessHook ¶
func AddBusinessHook(hookPoint boil.HookPoint, businessHook BusinessHook)
AddBusinessHook registers your hook function for all future operations.
func AddBusinessStackHook ¶
func AddBusinessStackHook(hookPoint boil.HookPoint, businessStackHook BusinessStackHook)
AddBusinessStackHook registers your hook function for all future operations.
func AddPasswordResetHook ¶
func AddPasswordResetHook(hookPoint boil.HookPoint, passwordResetHook PasswordResetHook)
AddPasswordResetHook registers your hook function for all future operations.
func AddStackHook ¶
AddStackHook registers your hook function for all future operations.
func AddStackTagHook ¶
func AddStackTagHook(hookPoint boil.HookPoint, stackTagHook StackTagHook)
AddStackTagHook registers your hook function for all future operations.
func AddTagHook ¶
AddTagHook registers your hook function for all future operations.
func AddUserHook ¶
AddUserHook registers your hook function for all future operations.
func BusinessExists ¶
BusinessExists checks if the Business row exists.
func BusinessExistsG ¶
BusinessExistsG checks if the Business row exists.
func BusinessStackExists ¶
BusinessStackExists checks if the BusinessStack row exists.
func BusinessStackExistsG ¶
BusinessStackExistsG checks if the BusinessStack row exists.
func BusinessStacks ¶
BusinessStacks retrieves all the records using an executor.
func Businesses ¶
Businesses retrieves all the records using an executor.
func PasswordResetExists ¶
PasswordResetExists checks if the PasswordReset row exists.
func PasswordResetExistsG ¶
PasswordResetExistsG checks if the PasswordReset row exists.
func PasswordResets ¶
PasswordResets retrieves all the records using an executor.
func StackExists ¶
StackExists checks if the Stack row exists.
func StackExistsG ¶
StackExistsG checks if the Stack row exists.
func StackTagExists ¶
StackTagExists checks if the StackTag row exists.
func StackTagExistsG ¶
StackTagExistsG checks if the StackTag row exists.
func UserExists ¶
UserExists checks if the User row exists.
func UserExistsG ¶
UserExistsG checks if the User row exists.
Types ¶
type Business ¶
type Business struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Website string `boil:"website" json:"website" toml:"website" yaml:"website"` Logo null.String `boil:"logo" json:"logo,omitempty" toml:"logo" yaml:"logo,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"` R *businessR `boil:"-" json:"-" toml:"-" yaml:"-"` L businessL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Business is an object representing the database table.
func FindBusiness ¶
FindBusiness retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindBusinessG ¶
FindBusinessG retrieves a single record by ID.
func (*Business) AddBusinessStacks ¶
func (o *Business) AddBusinessStacks(exec boil.Executor, insert bool, related ...*BusinessStack) error
AddBusinessStacks adds the given related objects to the existing relationships of the business, optionally inserting them as new records. Appends related to o.R.BusinessStacks. Sets related.R.Business appropriately.
func (*Business) AddBusinessStacksG ¶
func (o *Business) AddBusinessStacksG(insert bool, related ...*BusinessStack) error
AddBusinessStacksG adds the given related objects to the existing relationships of the business, optionally inserting them as new records. Appends related to o.R.BusinessStacks. Sets related.R.Business appropriately. Uses the global database handle.
func (*Business) BusinessStacks ¶
BusinessStacks retrieves all the business_stack's BusinessStacks with an executor.
func (*Business) Delete ¶
Delete deletes a single Business record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Business) DeleteG ¶
DeleteG deletes a single Business record. DeleteG will match against the primary key column to find the record to delete.
func (*Business) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Business) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Business) Update ¶
Update uses an executor to update the Business. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Business) UpdateG ¶
UpdateG a single Business record using the global executor. See Update for more documentation.
type BusinessHook ¶
BusinessHook is the signature for custom Business hook methods
type BusinessSlice ¶
type BusinessSlice []*Business
BusinessSlice is an alias for a slice of pointers to Business. This should generally be used opposed to []Business.
func (BusinessSlice) DeleteAll ¶
func (o BusinessSlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (BusinessSlice) DeleteAllG ¶
func (o BusinessSlice) DeleteAllG() (int64, error)
DeleteAllG deletes all rows in the slice.
func (*BusinessSlice) ReloadAll ¶
func (o *BusinessSlice) 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 (*BusinessSlice) ReloadAllG ¶
func (o *BusinessSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (BusinessSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (BusinessSlice) UpdateAllG ¶
func (o BusinessSlice) UpdateAllG(cols M) (int64, error)
UpdateAllG updates all rows with the specified column values.
type BusinessStack ¶
type BusinessStack struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` BusinessID uint64 `boil:"business_id" json:"business_id" toml:"business_id" yaml:"business_id"` StackID uint64 `boil:"stack_id" json:"stack_id" toml:"stack_id" yaml:"stack_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *businessStackR `boil:"-" json:"-" toml:"-" yaml:"-"` L businessStackL `boil:"-" json:"-" toml:"-" yaml:"-"` }
BusinessStack is an object representing the database table.
func FindBusinessStack ¶
FindBusinessStack retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindBusinessStackG ¶
func FindBusinessStackG(iD uint64, selectCols ...string) (*BusinessStack, error)
FindBusinessStackG retrieves a single record by ID.
func (*BusinessStack) Business ¶
func (o *BusinessStack) Business(mods ...qm.QueryMod) businessQuery
Business pointed to by the foreign key.
func (*BusinessStack) Delete ¶
func (o *BusinessStack) Delete(exec boil.Executor) (int64, error)
Delete deletes a single BusinessStack record with an executor. Delete will match against the primary key column to find the record to delete.
func (*BusinessStack) DeleteG ¶
func (o *BusinessStack) DeleteG() (int64, error)
DeleteG deletes a single BusinessStack record. DeleteG will match against the primary key column to find the record to delete.
func (*BusinessStack) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*BusinessStack) InsertG ¶
func (o *BusinessStack) InsertG(columns boil.Columns) error
InsertG a single record. See Insert for whitelist behavior description.
func (*BusinessStack) Reload ¶
func (o *BusinessStack) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*BusinessStack) ReloadG ¶
func (o *BusinessStack) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*BusinessStack) SetBusiness ¶
SetBusiness of the businessStack to the related item. Sets o.R.Business to related. Adds o to related.R.BusinessStacks.
func (*BusinessStack) SetBusinessG ¶
func (o *BusinessStack) SetBusinessG(insert bool, related *Business) error
SetBusinessG of the businessStack to the related item. Sets o.R.Business to related. Adds o to related.R.BusinessStacks. Uses the global database handle.
func (*BusinessStack) SetStack ¶
SetStack of the businessStack to the related item. Sets o.R.Stack to related. Adds o to related.R.BusinessStacks.
func (*BusinessStack) SetStackG ¶
func (o *BusinessStack) SetStackG(insert bool, related *Stack) error
SetStackG of the businessStack to the related item. Sets o.R.Stack to related. Adds o to related.R.BusinessStacks. Uses the global database handle.
func (*BusinessStack) Stack ¶
func (o *BusinessStack) Stack(mods ...qm.QueryMod) stackQuery
Stack pointed to by the foreign key.
func (*BusinessStack) Update ¶
Update uses an executor to update the BusinessStack. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*BusinessStack) UpdateG ¶
func (o *BusinessStack) UpdateG(columns boil.Columns) (int64, error)
UpdateG a single BusinessStack record using the global executor. See Update for more documentation.
type BusinessStackHook ¶
type BusinessStackHook func(boil.Executor, *BusinessStack) error
BusinessStackHook is the signature for custom BusinessStack hook methods
type BusinessStackSlice ¶
type BusinessStackSlice []*BusinessStack
BusinessStackSlice is an alias for a slice of pointers to BusinessStack. This should generally be used opposed to []BusinessStack.
func (BusinessStackSlice) DeleteAll ¶
func (o BusinessStackSlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (BusinessStackSlice) DeleteAllG ¶
func (o BusinessStackSlice) DeleteAllG() (int64, error)
DeleteAllG deletes all rows in the slice.
func (*BusinessStackSlice) ReloadAll ¶
func (o *BusinessStackSlice) 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 (*BusinessStackSlice) ReloadAllG ¶
func (o *BusinessStackSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (BusinessStackSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (BusinessStackSlice) UpdateAllG ¶
func (o BusinessStackSlice) UpdateAllG(cols M) (int64, error)
UpdateAllG updates all rows with the specified column values.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type PasswordReset ¶
type PasswordReset struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` Token string `boil:"token" json:"token" toml:"token" yaml:"token"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` R *passwordResetR `boil:"-" json:"-" toml:"-" yaml:"-"` L passwordResetL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PasswordReset is an object representing the database table.
func FindPasswordReset ¶
FindPasswordReset retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPasswordResetG ¶
func FindPasswordResetG(iD uint64, selectCols ...string) (*PasswordReset, error)
FindPasswordResetG retrieves a single record by ID.
func (*PasswordReset) Delete ¶
func (o *PasswordReset) Delete(exec boil.Executor) (int64, error)
Delete deletes a single PasswordReset record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PasswordReset) DeleteG ¶
func (o *PasswordReset) DeleteG() (int64, error)
DeleteG deletes a single PasswordReset record. DeleteG will match against the primary key column to find the record to delete.
func (*PasswordReset) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*PasswordReset) InsertG ¶
func (o *PasswordReset) InsertG(columns boil.Columns) error
InsertG a single record. See Insert for whitelist behavior description.
func (*PasswordReset) Reload ¶
func (o *PasswordReset) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PasswordReset) ReloadG ¶
func (o *PasswordReset) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*PasswordReset) Update ¶
Update uses an executor to update the PasswordReset. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PasswordReset) UpdateG ¶
func (o *PasswordReset) UpdateG(columns boil.Columns) (int64, error)
UpdateG a single PasswordReset record using the global executor. See Update for more documentation.
type PasswordResetHook ¶
type PasswordResetHook func(boil.Executor, *PasswordReset) error
PasswordResetHook is the signature for custom PasswordReset hook methods
type PasswordResetSlice ¶
type PasswordResetSlice []*PasswordReset
PasswordResetSlice is an alias for a slice of pointers to PasswordReset. This should generally be used opposed to []PasswordReset.
func (PasswordResetSlice) DeleteAll ¶
func (o PasswordResetSlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PasswordResetSlice) DeleteAllG ¶
func (o PasswordResetSlice) DeleteAllG() (int64, error)
DeleteAllG deletes all rows in the slice.
func (*PasswordResetSlice) ReloadAll ¶
func (o *PasswordResetSlice) 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 (*PasswordResetSlice) ReloadAllG ¶
func (o *PasswordResetSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PasswordResetSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (PasswordResetSlice) UpdateAllG ¶
func (o PasswordResetSlice) UpdateAllG(cols M) (int64, error)
UpdateAllG updates all rows with the specified column values.
type Stack ¶
type Stack struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Creators null.JSON `boil:"creators" json:"creators,omitempty" toml:"creators" yaml:"creators,omitempty"` Website null.String `boil:"website" json:"website,omitempty" toml:"website" yaml:"website,omitempty"` Logo null.String `boil:"logo" json:"logo,omitempty" toml:"logo" yaml:"logo,omitempty"` ReleasedAt time.Time `boil:"released_at" json:"released_at" toml:"released_at" yaml:"released_at"` DeprecatedAt time.Time `boil:"deprecated_at" json:"deprecated_at" toml:"deprecated_at" yaml:"deprecated_at"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *stackR `boil:"-" json:"-" toml:"-" yaml:"-"` L stackL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Stack is an object representing the database table.
func FindStack ¶
FindStack retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindStackG ¶
FindStackG retrieves a single record by ID.
func (*Stack) AddBusinessStacks ¶
AddBusinessStacks adds the given related objects to the existing relationships of the stack, optionally inserting them as new records. Appends related to o.R.BusinessStacks. Sets related.R.Stack appropriately.
func (*Stack) AddBusinessStacksG ¶
func (o *Stack) AddBusinessStacksG(insert bool, related ...*BusinessStack) error
AddBusinessStacksG adds the given related objects to the existing relationships of the stack, optionally inserting them as new records. Appends related to o.R.BusinessStacks. Sets related.R.Stack appropriately. Uses the global database handle.
func (*Stack) AddStackTags ¶
AddStackTags adds the given related objects to the existing relationships of the stack, optionally inserting them as new records. Appends related to o.R.StackTags. Sets related.R.Stack appropriately.
func (*Stack) AddStackTagsG ¶
AddStackTagsG adds the given related objects to the existing relationships of the stack, optionally inserting them as new records. Appends related to o.R.StackTags. Sets related.R.Stack appropriately. Uses the global database handle.
func (*Stack) BusinessStacks ¶
BusinessStacks retrieves all the business_stack's BusinessStacks with an executor.
func (*Stack) Delete ¶
Delete deletes a single Stack record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Stack) DeleteG ¶
DeleteG deletes a single Stack record. DeleteG will match against the primary key column to find the record to delete.
func (*Stack) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Stack) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Stack) Update ¶
Update uses an executor to update the Stack. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Stack) UpdateG ¶
UpdateG a single Stack record using the global executor. See Update for more documentation.
type StackSlice ¶
type StackSlice []*Stack
StackSlice is an alias for a slice of pointers to Stack. This should generally be used opposed to []Stack.
func (StackSlice) DeleteAll ¶
func (o StackSlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (StackSlice) DeleteAllG ¶
func (o StackSlice) DeleteAllG() (int64, error)
DeleteAllG deletes all rows in the slice.
func (*StackSlice) ReloadAll ¶
func (o *StackSlice) 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 (*StackSlice) ReloadAllG ¶
func (o *StackSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (StackSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (StackSlice) UpdateAllG ¶
func (o StackSlice) UpdateAllG(cols M) (int64, error)
UpdateAllG updates all rows with the specified column values.
type StackTag ¶
type StackTag struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` StackID uint64 `boil:"stack_id" json:"stack_id" toml:"stack_id" yaml:"stack_id"` TagID uint64 `boil:"tag_id" json:"tag_id" toml:"tag_id" yaml:"tag_id"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *stackTagR `boil:"-" json:"-" toml:"-" yaml:"-"` L stackTagL `boil:"-" json:"-" toml:"-" yaml:"-"` }
StackTag is an object representing the database table.
func FindStackTag ¶
FindStackTag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindStackTagG ¶
FindStackTagG retrieves a single record by ID.
func (*StackTag) Delete ¶
Delete deletes a single StackTag record with an executor. Delete will match against the primary key column to find the record to delete.
func (*StackTag) DeleteG ¶
DeleteG deletes a single StackTag record. DeleteG will match against the primary key column to find the record to delete.
func (*StackTag) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*StackTag) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*StackTag) SetStack ¶
SetStack of the stackTag to the related item. Sets o.R.Stack to related. Adds o to related.R.StackTags.
func (*StackTag) SetStackG ¶
SetStackG of the stackTag to the related item. Sets o.R.Stack to related. Adds o to related.R.StackTags. Uses the global database handle.
func (*StackTag) SetTag ¶
SetTag of the stackTag to the related item. Sets o.R.Tag to related. Adds o to related.R.StackTags.
func (*StackTag) SetTagG ¶
SetTagG of the stackTag to the related item. Sets o.R.Tag to related. Adds o to related.R.StackTags. Uses the global database handle.
func (*StackTag) Update ¶
Update uses an executor to update the StackTag. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*StackTag) UpdateG ¶
UpdateG a single StackTag record using the global executor. See Update for more documentation.
type StackTagHook ¶
StackTagHook is the signature for custom StackTag hook methods
type StackTagSlice ¶
type StackTagSlice []*StackTag
StackTagSlice is an alias for a slice of pointers to StackTag. This should generally be used opposed to []StackTag.
func (StackTagSlice) DeleteAll ¶
func (o StackTagSlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (StackTagSlice) DeleteAllG ¶
func (o StackTagSlice) DeleteAllG() (int64, error)
DeleteAllG deletes all rows in the slice.
func (*StackTagSlice) ReloadAll ¶
func (o *StackTagSlice) 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 (*StackTagSlice) ReloadAllG ¶
func (o *StackTagSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (StackTagSlice) UpdateAll ¶
UpdateAll updates all rows with the specified column values, using an executor.
func (StackTagSlice) UpdateAllG ¶
func (o StackTagSlice) UpdateAllG(cols M) (int64, error)
UpdateAllG updates all rows with the specified column values.
type Tag ¶
type Tag struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` 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) AddStackTags ¶
AddStackTags adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.StackTags. Sets related.R.Tag appropriately.
func (*Tag) AddStackTagsG ¶
AddStackTagsG adds the given related objects to the existing relationships of the tag, optionally inserting them as new records. Appends related to o.R.StackTags. Sets related.R.Tag appropriately. Uses the global database handle.
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) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Tag) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Tag) Update ¶
Update uses an executor to update the Tag. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Tag) UpdateG ¶
UpdateG a single Tag record using the global executor. See Update for more documentation.
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) 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.
type User ¶
type User struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Email string `boil:"email" json:"email" toml:"email" yaml:"email"` Mobile string `boil:"mobile" json:"mobile" toml:"mobile" yaml:"mobile"` EmailVerifiedAt null.Time `boil:"email_verified_at" json:"email_verified_at,omitempty" toml:"email_verified_at" yaml:"email_verified_at,omitempty"` Password string `boil:"password" json:"password" toml:"password" yaml:"password"` RememberToken null.String `boil:"remember_token" json:"remember_token,omitempty" toml:"remember_token" yaml:"remember_token,omitempty"` CreatedAt null.Time `boil:"created_at" json:"created_at,omitempty" toml:"created_at" yaml:"created_at,omitempty"` UpdatedAt null.Time `boil:"updated_at" json:"updated_at,omitempty" toml:"updated_at" yaml:"updated_at,omitempty"` R *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 (*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) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*User) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*User) Update ¶
Update uses an executor to update the User. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*User) UpdateG ¶
UpdateG a single User record using the global executor. See Update for more documentation.
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) 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.