Documentation
¶
Overview ¶
Package model holds the Go models generated from contracts/fixtures/bench/bench.dbs for the repository's tests, examples, and benchmarks.
Index ¶
- Constants
- Variables
- func Connect(dsn string, cfg orm.Config) (*orm.DB, error)
- type AccountModel
- func (x *AccountModel) AddAllColumns() *AccountModel
- func (x *AccountModel) AddColumnName() *AccountModel
- func (x *AccountModel) AddColumnSeq() *AccountModel
- func (x *AccountModel) And(args ...any) *AccountModel
- func (x *AccountModel) AndNot(fn func(*AccountModel)) *AccountModel
- func (x *AccountModel) AvgSeq() *AccountModel
- func (x *AccountModel) Connect(db *orm.DB) *AccountModel
- func (x *AccountModel) Create() (*AccountModel, error)
- func (x *AccountModel) Creates(rows []*AccountModel) (int64, error)
- func (x *AccountModel) Delete(recursive ...bool) error
- func (x *AccountModel) DeleteLock() *AccountModel
- func (x *AccountModel) Duplication(m *AccountModel) *AccountModel
- func (x *AccountModel) FetchKey(fn func(*AccountModel) any) *AccountModel
- func (x *AccountModel) FetchValue(fn func(*AccountModel) any) *AccountModel
- func (x *AccountModel) ForShare() *AccountModel
- func (x *AccountModel) ForShareNoWait() *AccountModel
- func (x *AccountModel) ForUpdate() *AccountModel
- func (x *AccountModel) ForUpdateNoWait() *AccountModel
- func (x *AccountModel) Get() (*AccountModel, error)
- func (x *AccountModel) GetAvg() (float64, error)
- func (x *AccountModel) GetBySeq[T0 argIntEq](v0 T0) (*AccountModel, error)
- func (x *AccountModel) GetCount() (int64, error)
- func (x *AccountModel) GetLabel() any
- func (x *AccountModel) GetName() string
- func (x *AccountModel) GetQuery() (*orm.Statement, error)
- func (x *AccountModel) GetSeq() int64
- func (x *AccountModel) GetSum() (float64, error)
- func (x *AccountModel) Gets() (*orm.Collection[*AccountModel], error)
- func (x *AccountModel) GetsCount() (*orm.GroupRows, error)
- func (x *AccountModel) GetsPage(page, perPage int) (*orm.Page[*AccountModel], error)
- func (x *AccountModel) GroupByName() *AccountModel
- func (x *AccountModel) GroupBySeq() *AccountModel
- func (x *AccountModel) GroupLimit(n int) *AccountModel
- func (x *AccountModel) KeyNameName() *AccountModel
- func (x *AccountModel) KeyNameSeq() *AccountModel
- func (x *AccountModel) Limit(offset, count int) *AccountModel
- func (x *AccountModel) MarshalJSON() ([]byte, error)
- func (x *AccountModel) MinusSeq(n int64) *AccountModel
- func (x *AccountModel) NewLabel(v any) *AccountModel
- func (x *AccountModel) Not(fn func(*AccountModel)) *AccountModel
- func (x *AccountModel) On(fn func(*AccountModel)) *AccountModel
- func (x *AccountModel) Or(args ...any) *AccountModel
- func (x *AccountModel) OrNot(fn func(*AccountModel)) *AccountModel
- func (x *AccountModel) OrderByNameAsc(fn ...orm.Func) *AccountModel
- func (x *AccountModel) OrderByNameDesc(fn ...orm.Func) *AccountModel
- func (x *AccountModel) OrderByRandom() *AccountModel
- func (x *AccountModel) OrderBySeqAsc(fn ...orm.Func) *AccountModel
- func (x *AccountModel) OrderBySeqDesc(fn ...orm.Func) *AccountModel
- func (x *AccountModel) Orm_() *orm.Core
- func (x *AccountModel) ParentNode() *AccountModel
- func (x *AccountModel) PlusSeq(n int64) *AccountModel
- func (x *AccountModel) Relation(child orm.Model) *AccountModel
- func (x *AccountModel) Relations(child orm.Model) *AccountModel
- func (x *AccountModel) RemoveAllColumns() *AccountModel
- func (x *AccountModel) RemoveColumnName() *AccountModel
- func (x *AccountModel) RemoveColumnSeq() *AccountModel
- func (x *AccountModel) Restore() (*AccountModel, error)
- func (x *AccountModel) Save() (*AccountModel, error)
- func (x *AccountModel) Seq[T0 argIntEq](v0 T0) *AccountModel
- func (x *AccountModel) SetName(v string) *AccountModel
- func (x *AccountModel) SetSeq(v int64) *AccountModel
- func (x *AccountModel) SumSeq() *AccountModel
- func (x *AccountModel) ToArray() map[string]any
- func (x *AccountModel) Update(optimistic ...bool) (*AccountModel, error)
- type AccountProjectAccountSeqWithProjectSeq
- type AccountProjectModel
- func (x *AccountProjectModel) AccountSeq[T0 argIntEq](v0 T0) *AccountProjectModel
- func (x *AccountProjectModel) AddAllColumns() *AccountProjectModel
- func (x *AccountProjectModel) AddColumnAccountSeq() *AccountProjectModel
- func (x *AccountProjectModel) AddColumnProjectSeq() *AccountProjectModel
- func (x *AccountProjectModel) And(args ...any) *AccountProjectModel
- func (x *AccountProjectModel) AndNot(fn func(*AccountProjectModel)) *AccountProjectModel
- func (x *AccountProjectModel) AvgAccountSeq() *AccountProjectModel
- func (x *AccountProjectModel) AvgProjectSeq() *AccountProjectModel
- func (x *AccountProjectModel) Connect(db *orm.DB) *AccountProjectModel
- func (x *AccountProjectModel) Create() (*AccountProjectModel, error)
- func (x *AccountProjectModel) Creates(rows []*AccountProjectModel) (int64, error)
- func (x *AccountProjectModel) Delete(recursive ...bool) error
- func (x *AccountProjectModel) DeleteLock() *AccountProjectModel
- func (x *AccountProjectModel) Duplication(m *AccountProjectModel) *AccountProjectModel
- func (x *AccountProjectModel) FetchKey(fn func(*AccountProjectModel) any) *AccountProjectModel
- func (x *AccountProjectModel) FetchValue(fn func(*AccountProjectModel) any) *AccountProjectModel
- func (x *AccountProjectModel) ForShare() *AccountProjectModel
- func (x *AccountProjectModel) ForShareNoWait() *AccountProjectModel
- func (x *AccountProjectModel) ForUpdate() *AccountProjectModel
- func (x *AccountProjectModel) ForUpdateNoWait() *AccountProjectModel
- func (x *AccountProjectModel) ForceIndexIxAccountProjectProject() *AccountProjectModel
- func (x *AccountProjectModel) Get() (*AccountProjectModel, error)
- func (x *AccountProjectModel) GetAccountSeq() int64
- func (x *AccountProjectModel) GetAvg() (float64, error)
- func (x *AccountProjectModel) GetCount() (int64, error)
- func (x *AccountProjectModel) GetProjectSeq() int64
- func (x *AccountProjectModel) GetQuery() (*orm.Statement, error)
- func (x *AccountProjectModel) GetSum() (float64, error)
- func (x *AccountProjectModel) Gets() (*orm.Collection[*AccountProjectModel], error)
- func (x *AccountProjectModel) GetsCount() (*orm.GroupRows, error)
- func (x *AccountProjectModel) GetsPage(page, perPage int) (*orm.Page[*AccountProjectModel], error)
- func (x *AccountProjectModel) GroupByAccountSeq() *AccountProjectModel
- func (x *AccountProjectModel) GroupByProjectSeq() *AccountProjectModel
- func (x *AccountProjectModel) GroupLimit(n int) *AccountProjectModel
- func (x *AccountProjectModel) KeyNameAccountSeq() *AccountProjectModel
- func (x *AccountProjectModel) KeyNameProjectSeq() *AccountProjectModel
- func (x *AccountProjectModel) Limit(offset, count int) *AccountProjectModel
- func (x *AccountProjectModel) MarshalJSON() ([]byte, error)
- func (x *AccountProjectModel) MinusAccountSeq(n int64) *AccountProjectModel
- func (x *AccountProjectModel) MinusProjectSeq(n int64) *AccountProjectModel
- func (x *AccountProjectModel) Not(fn func(*AccountProjectModel)) *AccountProjectModel
- func (x *AccountProjectModel) On(fn func(*AccountProjectModel)) *AccountProjectModel
- func (x *AccountProjectModel) Or(args ...any) *AccountProjectModel
- func (x *AccountProjectModel) OrNot(fn func(*AccountProjectModel)) *AccountProjectModel
- func (x *AccountProjectModel) OrderByAccountSeqAsc(fn ...orm.Func) *AccountProjectModel
- func (x *AccountProjectModel) OrderByAccountSeqDesc(fn ...orm.Func) *AccountProjectModel
- func (x *AccountProjectModel) OrderByProjectSeqAsc(fn ...orm.Func) *AccountProjectModel
- func (x *AccountProjectModel) OrderByProjectSeqDesc(fn ...orm.Func) *AccountProjectModel
- func (x *AccountProjectModel) OrderByRandom() *AccountProjectModel
- func (x *AccountProjectModel) Orm_() *orm.Core
- func (x *AccountProjectModel) ParentNode() *AccountProjectModel
- func (x *AccountProjectModel) PlusAccountSeq(n int64) *AccountProjectModel
- func (x *AccountProjectModel) PlusProjectSeq(n int64) *AccountProjectModel
- func (x *AccountProjectModel) ProjectSeq[T0 argIntEq](v0 T0) *AccountProjectModel
- func (x *AccountProjectModel) Relation(child orm.Model) *AccountProjectModel
- func (x *AccountProjectModel) Relations(child orm.Model) *AccountProjectModel
- func (x *AccountProjectModel) RemoveAllColumns() *AccountProjectModel
- func (x *AccountProjectModel) RemoveColumnAccountSeq() *AccountProjectModel
- func (x *AccountProjectModel) RemoveColumnProjectSeq() *AccountProjectModel
- func (x *AccountProjectModel) Restore() (*AccountProjectModel, error)
- func (x *AccountProjectModel) Save() (*AccountProjectModel, error)
- func (x *AccountProjectModel) SetAccountSeq(v int64) *AccountProjectModel
- func (x *AccountProjectModel) SetProjectSeq(v int64) *AccountProjectModel
- func (x *AccountProjectModel) SumAccountSeq() *AccountProjectModel
- func (x *AccountProjectModel) SumProjectSeq() *AccountProjectModel
- func (x *AccountProjectModel) ToArray() map[string]any
- func (x *AccountProjectModel) TupleAccountSeqWithProjectSeq(v0 []AccountProjectAccountSeqWithProjectSeq) *AccountProjectModel
- func (x *AccountProjectModel) Update(optimistic ...bool) (*AccountProjectModel, error)
- type AuthorModel
- func (x *AuthorModel) AddAllColumns() *AuthorModel
- func (x *AuthorModel) AddColumnAesHexEmail() *AuthorModel
- func (x *AuthorModel) AddColumnAesHexPhone() *AuthorModel
- func (x *AuthorModel) AddColumnAesKeyVersion() *AuthorModel
- func (x *AuthorModel) AddColumnBase64Extra() *AuthorModel
- func (x *AuthorModel) AddColumnCreatedTs() *AuthorModel
- func (x *AuthorModel) AddColumnDescription() *AuthorModel
- func (x *AuthorModel) AddColumnDisplayEndDt() *AuthorModel
- func (x *AuthorModel) AddColumnDisplayStartDt() *AuthorModel
- func (x *AuthorModel) AddColumnEmailBlindIndex() *AuthorModel
- func (x *AuthorModel) AddColumnEndDt() *AuthorModel
- func (x *AuthorModel) AddColumnGzExtend() *AuthorModel
- func (x *AuthorModel) AddColumnIp() *AuthorModel
- func (x *AuthorModel) AddColumnIsAllday() *AuthorModel
- func (x *AuthorModel) AddColumnIsClose() *AuthorModel
- func (x *AuthorModel) AddColumnIsDisplay() *AuthorModel
- func (x *AuthorModel) AddColumnIsSingleWork() *AuthorModel
- func (x *AuthorModel) AddColumnJsonSetting() *AuthorModel
- func (x *AuthorModel) AddColumnJsonsTags() *AuthorModel
- func (x *AuthorModel) AddColumnLikeCount() *AuthorModel
- func (x *AuthorModel) AddColumnName() *AuthorModel
- func (x *AuthorModel) AddColumnPhoneBlindIndex() *AuthorModel
- func (x *AuthorModel) AddColumnPhotoUrl() *AuthorModel
- func (x *AuthorModel) AddColumnPrice() *AuthorModel
- func (x *AuthorModel) AddColumnReadCount() *AuthorModel
- func (x *AuthorModel) AddColumnReaderCount() *AuthorModel
- func (x *AuthorModel) AddColumnSeq() *AuthorModel
- func (x *AuthorModel) AddColumnSerializeData() *AuthorModel
- func (x *AuthorModel) AddColumnServiceMemberSeq() *AuthorModel
- func (x *AuthorModel) AddColumnServiceRegionSeq() *AuthorModel
- func (x *AuthorModel) AddColumnServiceSeq() *AuthorModel
- func (x *AuthorModel) AddColumnStartDt() *AuthorModel
- func (x *AuthorModel) AddColumnStartDtAliasStartMonth(fn orm.Func) *AuthorModel
- func (x *AuthorModel) AddColumnStartDtAliasStartYear(fn orm.Func) *AuthorModel
- func (x *AuthorModel) AddColumnSuccessCount() *AuthorModel
- func (x *AuthorModel) AddColumnTargetClubReaderCount() *AuthorModel
- func (x *AuthorModel) AddColumnUpdatedTs() *AuthorModel
- func (x *AuthorModel) AddColumnUserSeq() *AuthorModel
- func (x *AuthorModel) AddColumnUuid() *AuthorModel
- func (x *AuthorModel) AesHexEmail[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) And(args ...any) *AuthorModel
- func (x *AuthorModel) AndAesHexEmail[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) AndBetweenReadCount[T0 argIntBetween](v0 T0) *AuthorModel
- func (x *AuthorModel) AndEqStartDt[T0 argTimeEq](v0 T0, compared ...any) *AuthorModel
- func (x *AuthorModel) AndGeReadCount[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) AndGtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) AndGtStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
- func (x *AuthorModel) AndIsClose[T0 argBoolEq](v0 T0) *AuthorModel
- func (x *AuthorModel) AndLbName[T0 argStringLike](v0 T0) *AuthorModel
- func (x *AuthorModel) AndLeReadCount[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) AndLkName[T0 argStringLike](v0 T0) *AuthorModel
- func (x *AuthorModel) AndLtDisplayStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
- func (x *AuthorModel) AndLtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) AndLtSeq[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) AndLtStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
- func (x *AuthorModel) AndNeIsClose[T0 argBoolEq](v0 T0) *AuthorModel
- func (x *AuthorModel) AndNePhotoUrl[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) AndNeReadCount[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) AndNot(fn func(*AuthorModel)) *AuthorModel
- func (x *AuthorModel) AndSeq[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) AndServiceSeq[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) AndStartDt[T0 argTimeEq](v0 T0, compared ...any) *AuthorModel
- func (x *AuthorModel) AndSuccessCountLtSeq[T0 hasSeq](v0 T0) *AuthorModel
- func (x *AuthorModel) AndUuid[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) AvgAesKeyVersion() *AuthorModel
- func (x *AuthorModel) AvgLikeCount() *AuthorModel
- func (x *AuthorModel) AvgPrice() *AuthorModel
- func (x *AuthorModel) AvgReadCount() *AuthorModel
- func (x *AuthorModel) AvgReaderCount() *AuthorModel
- func (x *AuthorModel) AvgSeq() *AuthorModel
- func (x *AuthorModel) AvgServiceMemberSeq() *AuthorModel
- func (x *AuthorModel) AvgServiceRegionSeq() *AuthorModel
- func (x *AuthorModel) AvgServiceSeq() *AuthorModel
- func (x *AuthorModel) AvgSuccessCount() *AuthorModel
- func (x *AuthorModel) AvgTargetClubReaderCount() *AuthorModel
- func (x *AuthorModel) AvgUserSeq() *AuthorModel
- func (x *AuthorModel) BetweenReadCount[T0 argIntBetween](v0 T0) *AuthorModel
- func (x *AuthorModel) Connect(db *orm.DB) *AuthorModel
- func (x *AuthorModel) Create() (*AuthorModel, error)
- func (x *AuthorModel) Creates(rows []*AuthorModel) (int64, error)
- func (x *AuthorModel) Delete(recursive ...bool) error
- func (x *AuthorModel) DeleteLock() *AuthorModel
- func (x *AuthorModel) Duplication(m *AuthorModel) *AuthorModel
- func (x *AuthorModel) EmailBlindIndex[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) FetchKey(fn func(*AuthorModel) any) *AuthorModel
- func (x *AuthorModel) FetchValue(fn func(*AuthorModel) any) *AuthorModel
- func (x *AuthorModel) ForShare() *AuthorModel
- func (x *AuthorModel) ForShareNoWait() *AuthorModel
- func (x *AuthorModel) ForUpdate() *AuthorModel
- func (x *AuthorModel) ForUpdateNoWait() *AuthorModel
- func (x *AuthorModel) ForceIndexIk() *AuthorModel
- func (x *AuthorModel) ForceIndexIxAuthorServiceMember() *AuthorModel
- func (x *AuthorModel) ForceIndexIxEmailBlindIndex() *AuthorModel
- func (x *AuthorModel) ForceIndexIxPhoneBlindIndex() *AuthorModel
- func (x *AuthorModel) ForceIndexIxService() *AuthorModel
- func (x *AuthorModel) ForceIndexIxUser() *AuthorModel
- func (x *AuthorModel) GeReadCount[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) Get() (*AuthorModel, error)
- func (x *AuthorModel) GetAesHexEmail() *string
- func (x *AuthorModel) GetAesHexPhone() *string
- func (x *AuthorModel) GetAesKeyVersion() int32
- func (x *AuthorModel) GetAvg() (float64, error)
- func (x *AuthorModel) GetBase64Extra() (orm.StyledValue, error)
- func (x *AuthorModel) GetByName[T0 argStringEq](v0 T0) (*AuthorModel, error)
- func (x *AuthorModel) GetBySeq[T0 argIntEq](v0 T0) (*AuthorModel, error)
- func (x *AuthorModel) GetCount() (int64, error)
- func (x *AuthorModel) GetCountByIsClose[T0 argBoolEq](v0 T0) (int64, error)
- func (x *AuthorModel) GetCountByServiceSeq[T0 argIntEq](v0 T0) (int64, error)
- func (x *AuthorModel) GetCreatedTs() time.Time
- func (x *AuthorModel) GetDescription() *string
- func (x *AuthorModel) GetDisplayEndDt() *time.Time
- func (x *AuthorModel) GetDisplayStartDt() *time.Time
- func (x *AuthorModel) GetEmailBlindIndex() *string
- func (x *AuthorModel) GetEndDt() time.Time
- func (x *AuthorModel) GetGzExtend() (orm.StyledValue, error)
- func (x *AuthorModel) GetIp() *string
- func (x *AuthorModel) GetIsAllday() bool
- func (x *AuthorModel) GetIsClose() bool
- func (x *AuthorModel) GetIsDisplay() bool
- func (x *AuthorModel) GetIsSingleWork() bool
- func (x *AuthorModel) GetJsonSetting() (orm.StyledValue, error)
- func (x *AuthorModel) GetJsonsTags() (orm.StyledValue, error)
- func (x *AuthorModel) GetLabel() any
- func (x *AuthorModel) GetLikeCount() int32
- func (x *AuthorModel) GetMembers() (*orm.Collection[*ServiceMemberModel], error)
- func (x *AuthorModel) GetModule() (*ServiceRegionModel, error)
- func (x *AuthorModel) GetName() string
- func (x *AuthorModel) GetOwner() (*UserModel, error)
- func (x *AuthorModel) GetOwnerService() (*ServiceModel, error)
- func (x *AuthorModel) GetPhoneBlindIndex() *string
- func (x *AuthorModel) GetPhotoUrl() *string
- func (x *AuthorModel) GetPrice() *string
- func (x *AuthorModel) GetQuery() (*orm.Statement, error)
- func (x *AuthorModel) GetReadCount() int32
- func (x *AuthorModel) GetReaderCount() int32
- func (x *AuthorModel) GetSeq() int64
- func (x *AuthorModel) GetSerializeData() (orm.StyledValue, error)
- func (x *AuthorModel) GetServiceMemberModel() (*ServiceMemberModel, error)
- func (x *AuthorModel) GetServiceMemberModels() (*orm.Collection[*ServiceMemberModel], error)
- func (x *AuthorModel) GetServiceMemberSeq() int64
- func (x *AuthorModel) GetServiceModel() (*ServiceModel, error)
- func (x *AuthorModel) GetServiceRegionModel() (*ServiceRegionModel, error)
- func (x *AuthorModel) GetServiceRegionSeq() int64
- func (x *AuthorModel) GetServiceSeq() int64
- func (x *AuthorModel) GetStartDt() time.Time
- func (x *AuthorModel) GetStartMonth() any
- func (x *AuthorModel) GetStartYear() any
- func (x *AuthorModel) GetSuccessCount() int32
- func (x *AuthorModel) GetSum() (float64, error)
- func (x *AuthorModel) GetTargetClubReaderCount() int32
- func (x *AuthorModel) GetUpdatedTs() time.Time
- func (x *AuthorModel) GetUserModel() (*UserModel, error)
- func (x *AuthorModel) GetUserSeq() int64
- func (x *AuthorModel) GetUuid() *string
- func (x *AuthorModel) GetWriter() (*UserModel, error)
- func (x *AuthorModel) Gets() (*orm.Collection[*AuthorModel], error)
- func (x *AuthorModel) GetsBySeq[T0 argIntEq](v0 T0) (*orm.Collection[*AuthorModel], error)
- func (x *AuthorModel) GetsBySeqAndNeName[T0 argIntEq, T1 argStringEq](v0 T0, v1 T1) (*orm.Collection[*AuthorModel], error)
- func (x *AuthorModel) GetsByServiceSeqAndIsClose[T0 argIntEq, T1 argBoolEq](v0 T0, v1 T1) (*orm.Collection[*AuthorModel], error)
- func (x *AuthorModel) GetsCount() (*orm.GroupRows, error)
- func (x *AuthorModel) GetsPage(page, perPage int) (*orm.Page[*AuthorModel], error)
- func (x *AuthorModel) GroupByAesHexEmail() *AuthorModel
- func (x *AuthorModel) GroupByAesHexPhone() *AuthorModel
- func (x *AuthorModel) GroupByAesKeyVersion() *AuthorModel
- func (x *AuthorModel) GroupByBase64Extra() *AuthorModel
- func (x *AuthorModel) GroupByCreatedTs() *AuthorModel
- func (x *AuthorModel) GroupByDescription() *AuthorModel
- func (x *AuthorModel) GroupByDisplayEndDt() *AuthorModel
- func (x *AuthorModel) GroupByDisplayStartDt() *AuthorModel
- func (x *AuthorModel) GroupByEmailBlindIndex() *AuthorModel
- func (x *AuthorModel) GroupByEndDt() *AuthorModel
- func (x *AuthorModel) GroupByGzExtend() *AuthorModel
- func (x *AuthorModel) GroupByIp() *AuthorModel
- func (x *AuthorModel) GroupByIsAllday() *AuthorModel
- func (x *AuthorModel) GroupByIsClose() *AuthorModel
- func (x *AuthorModel) GroupByIsDisplay() *AuthorModel
- func (x *AuthorModel) GroupByIsSingleWork() *AuthorModel
- func (x *AuthorModel) GroupByJsonSetting() *AuthorModel
- func (x *AuthorModel) GroupByJsonsTags() *AuthorModel
- func (x *AuthorModel) GroupByLikeCount() *AuthorModel
- func (x *AuthorModel) GroupByName() *AuthorModel
- func (x *AuthorModel) GroupByPhoneBlindIndex() *AuthorModel
- func (x *AuthorModel) GroupByPhotoUrl() *AuthorModel
- func (x *AuthorModel) GroupByPrice() *AuthorModel
- func (x *AuthorModel) GroupByReadCount() *AuthorModel
- func (x *AuthorModel) GroupByReaderCount() *AuthorModel
- func (x *AuthorModel) GroupBySeq() *AuthorModel
- func (x *AuthorModel) GroupBySerializeData() *AuthorModel
- func (x *AuthorModel) GroupByServiceMemberSeq() *AuthorModel
- func (x *AuthorModel) GroupByServiceRegionSeq() *AuthorModel
- func (x *AuthorModel) GroupByServiceSeq() *AuthorModel
- func (x *AuthorModel) GroupByStartDt() *AuthorModel
- func (x *AuthorModel) GroupBySuccessCount() *AuthorModel
- func (x *AuthorModel) GroupByTargetClubReaderCount() *AuthorModel
- func (x *AuthorModel) GroupByUpdatedTs() *AuthorModel
- func (x *AuthorModel) GroupByUserSeq() *AuthorModel
- func (x *AuthorModel) GroupByUuid() *AuthorModel
- func (x *AuthorModel) GroupLimit(n int) *AuthorModel
- func (x *AuthorModel) GtStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
- func (x *AuthorModel) IsClose[T0 argBoolEq](v0 T0) *AuthorModel
- func (x *AuthorModel) IsDisplay[T0 argBoolEq](v0 T0) *AuthorModel
- func (x *AuthorModel) JoinServiceMemberSeqWithSeq[C hasSeq](child C) *AuthorModel
- func (x *AuthorModel) JoinServiceSeqWithSeq[C hasSeq](child C) *AuthorModel
- func (x *AuthorModel) JoinUserSeqWithSeq[C hasSeq](child C) *AuthorModel
- func (x *AuthorModel) KeyNameAesHexEmail() *AuthorModel
- func (x *AuthorModel) KeyNameAesHexPhone() *AuthorModel
- func (x *AuthorModel) KeyNameAesKeyVersion() *AuthorModel
- func (x *AuthorModel) KeyNameBase64Extra() *AuthorModel
- func (x *AuthorModel) KeyNameCreatedTs() *AuthorModel
- func (x *AuthorModel) KeyNameDescription() *AuthorModel
- func (x *AuthorModel) KeyNameDisplayEndDt() *AuthorModel
- func (x *AuthorModel) KeyNameDisplayStartDt() *AuthorModel
- func (x *AuthorModel) KeyNameEmailBlindIndex() *AuthorModel
- func (x *AuthorModel) KeyNameEndDt() *AuthorModel
- func (x *AuthorModel) KeyNameGzExtend() *AuthorModel
- func (x *AuthorModel) KeyNameIp() *AuthorModel
- func (x *AuthorModel) KeyNameIsAllday() *AuthorModel
- func (x *AuthorModel) KeyNameIsClose() *AuthorModel
- func (x *AuthorModel) KeyNameIsDisplay() *AuthorModel
- func (x *AuthorModel) KeyNameIsSingleWork() *AuthorModel
- func (x *AuthorModel) KeyNameJsonSetting() *AuthorModel
- func (x *AuthorModel) KeyNameJsonsTags() *AuthorModel
- func (x *AuthorModel) KeyNameLikeCount() *AuthorModel
- func (x *AuthorModel) KeyNameName() *AuthorModel
- func (x *AuthorModel) KeyNamePhoneBlindIndex() *AuthorModel
- func (x *AuthorModel) KeyNamePhotoUrl() *AuthorModel
- func (x *AuthorModel) KeyNamePrice() *AuthorModel
- func (x *AuthorModel) KeyNameReadCount() *AuthorModel
- func (x *AuthorModel) KeyNameReaderCount() *AuthorModel
- func (x *AuthorModel) KeyNameSeq() *AuthorModel
- func (x *AuthorModel) KeyNameSerializeData() *AuthorModel
- func (x *AuthorModel) KeyNameServiceMemberSeq() *AuthorModel
- func (x *AuthorModel) KeyNameServiceRegionSeq() *AuthorModel
- func (x *AuthorModel) KeyNameServiceSeq() *AuthorModel
- func (x *AuthorModel) KeyNameStartDt() *AuthorModel
- func (x *AuthorModel) KeyNameSuccessCount() *AuthorModel
- func (x *AuthorModel) KeyNameTargetClubReaderCount() *AuthorModel
- func (x *AuthorModel) KeyNameUpdatedTs() *AuthorModel
- func (x *AuthorModel) KeyNameUserSeq() *AuthorModel
- func (x *AuthorModel) KeyNameUuid() *AuthorModel
- func (x *AuthorModel) LeftJoinServiceRegionSeqWithSeq[C hasSeq](child C) *AuthorModel
- func (x *AuthorModel) LeftJoinUserSeqWithSeq[C hasSeq](child C) *AuthorModel
- func (x *AuthorModel) Limit(offset, count int) *AuthorModel
- func (x *AuthorModel) LtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) MarshalJSON() ([]byte, error)
- func (x *AuthorModel) MatchSeqWithUserSeq() *AuthorModel
- func (x *AuthorModel) MinusAesKeyVersion(n int32) *AuthorModel
- func (x *AuthorModel) MinusLikeCount(n int32) *AuthorModel
- func (x *AuthorModel) MinusPrice(n string) *AuthorModel
- func (x *AuthorModel) MinusReadCount(n int32) *AuthorModel
- func (x *AuthorModel) MinusReaderCount(n int32) *AuthorModel
- func (x *AuthorModel) MinusSeq(n int64) *AuthorModel
- func (x *AuthorModel) MinusServiceMemberSeq(n int64) *AuthorModel
- func (x *AuthorModel) MinusServiceRegionSeq(n int64) *AuthorModel
- func (x *AuthorModel) MinusServiceSeq(n int64) *AuthorModel
- func (x *AuthorModel) MinusSuccessCount(n int32) *AuthorModel
- func (x *AuthorModel) MinusTargetClubReaderCount(n int32) *AuthorModel
- func (x *AuthorModel) MinusUserSeq(n int64) *AuthorModel
- func (x *AuthorModel) Name[T0 argStringEq](v0 T0) *AuthorModel
- func (x *AuthorModel) NePhotoUrl[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) NewLabel(v any) *AuthorModel
- func (x *AuthorModel) Not(fn func(*AuthorModel)) *AuthorModel
- func (x *AuthorModel) On(fn func(*AuthorModel)) *AuthorModel
- func (x *AuthorModel) Or(args ...any) *AuthorModel
- func (x *AuthorModel) OrGtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
- func (x *AuthorModel) OrIsClose[T0 argBoolEq](v0 T0) *AuthorModel
- func (x *AuthorModel) OrNot(fn func(*AuthorModel)) *AuthorModel
- func (x *AuthorModel) OrderByAesHexEmailAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByAesHexEmailDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByAesHexPhoneAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByAesHexPhoneDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByAesKeyVersionAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByAesKeyVersionDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByBase64ExtraAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByBase64ExtraDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByCreatedTsAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByCreatedTsDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByDescriptionAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByDescriptionDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByDisplayEndDtAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByDisplayEndDtDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByDisplayStartDtAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByDisplayStartDtDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByEmailBlindIndexAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByEmailBlindIndexDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByEndDtAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByEndDtDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByGzExtendAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByGzExtendDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIpAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIpDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsAlldayAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsAlldayDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsCloseAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsCloseDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsDisplayAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsDisplayDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsSingleWorkAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByIsSingleWorkDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByJsonSettingAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByJsonSettingDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByJsonsTagsAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByJsonsTagsDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByLikeCountAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByLikeCountDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByNameAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByNameDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByPhoneBlindIndexAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByPhoneBlindIndexDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByPhotoUrlAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByPhotoUrlDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByPriceAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByPriceDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByRandom() *AuthorModel
- func (x *AuthorModel) OrderByReadCountAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByReadCountDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByReadCountDescAndSeqAsc() *AuthorModel
- func (x *AuthorModel) OrderByReaderCountAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByReaderCountDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderBySeqAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderBySeqDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderBySerializeDataAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderBySerializeDataDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByServiceMemberSeqAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByServiceMemberSeqDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByServiceRegionSeqAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByServiceRegionSeqDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByServiceSeqAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByServiceSeqDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByStartDtAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByStartDtDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderBySuccessCountAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderBySuccessCountDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByTargetClubReaderCountAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByTargetClubReaderCountDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByUpdatedTsAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByUpdatedTsDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByUserSeqAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByUserSeqDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByUuidAsc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) OrderByUuidDesc(fn ...orm.Func) *AuthorModel
- func (x *AuthorModel) Orm_() *orm.Core
- func (x *AuthorModel) ParentNode() *AuthorModel
- func (x *AuthorModel) PhoneBlindIndex[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) PhotoUrl[T0 argStringEqNull](v0 T0) *AuthorModel
- func (x *AuthorModel) PlusAesKeyVersion(n int32) *AuthorModel
- func (x *AuthorModel) PlusLikeCount(n int32) *AuthorModel
- func (x *AuthorModel) PlusPrice(n string) *AuthorModel
- func (x *AuthorModel) PlusReadCount(n int32) *AuthorModel
- func (x *AuthorModel) PlusReaderCount(n int32) *AuthorModel
- func (x *AuthorModel) PlusSeq(n int64) *AuthorModel
- func (x *AuthorModel) PlusServiceMemberSeq(n int64) *AuthorModel
- func (x *AuthorModel) PlusServiceRegionSeq(n int64) *AuthorModel
- func (x *AuthorModel) PlusServiceSeq(n int64) *AuthorModel
- func (x *AuthorModel) PlusSuccessCount(n int32) *AuthorModel
- func (x *AuthorModel) PlusTargetClubReaderCount(n int32) *AuthorModel
- func (x *AuthorModel) PlusUserSeq(n int64) *AuthorModel
- func (x *AuthorModel) ReadCount[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) ReadCountGtSeq[T0 hasSeq](v0 T0) *AuthorModel
- func (x *AuthorModel) Relation(child orm.Model) *AuthorModel
- func (x *AuthorModel) Relations(child orm.Model) *AuthorModel
- func (x *AuthorModel) RemoveAllColumns() *AuthorModel
- func (x *AuthorModel) RemoveColumnAesHexEmail() *AuthorModel
- func (x *AuthorModel) RemoveColumnAesHexPhone() *AuthorModel
- func (x *AuthorModel) RemoveColumnAesKeyVersion() *AuthorModel
- func (x *AuthorModel) RemoveColumnBase64Extra() *AuthorModel
- func (x *AuthorModel) RemoveColumnCreatedTs() *AuthorModel
- func (x *AuthorModel) RemoveColumnDescription() *AuthorModel
- func (x *AuthorModel) RemoveColumnDisplayEndDt() *AuthorModel
- func (x *AuthorModel) RemoveColumnDisplayStartDt() *AuthorModel
- func (x *AuthorModel) RemoveColumnEmailBlindIndex() *AuthorModel
- func (x *AuthorModel) RemoveColumnEndDt() *AuthorModel
- func (x *AuthorModel) RemoveColumnGzExtend() *AuthorModel
- func (x *AuthorModel) RemoveColumnIp() *AuthorModel
- func (x *AuthorModel) RemoveColumnIsAllday() *AuthorModel
- func (x *AuthorModel) RemoveColumnIsClose() *AuthorModel
- func (x *AuthorModel) RemoveColumnIsDisplay() *AuthorModel
- func (x *AuthorModel) RemoveColumnIsSingleWork() *AuthorModel
- func (x *AuthorModel) RemoveColumnJsonSetting() *AuthorModel
- func (x *AuthorModel) RemoveColumnJsonsTags() *AuthorModel
- func (x *AuthorModel) RemoveColumnLikeCount() *AuthorModel
- func (x *AuthorModel) RemoveColumnName() *AuthorModel
- func (x *AuthorModel) RemoveColumnPhoneBlindIndex() *AuthorModel
- func (x *AuthorModel) RemoveColumnPhotoUrl() *AuthorModel
- func (x *AuthorModel) RemoveColumnPrice() *AuthorModel
- func (x *AuthorModel) RemoveColumnReadCount() *AuthorModel
- func (x *AuthorModel) RemoveColumnReaderCount() *AuthorModel
- func (x *AuthorModel) RemoveColumnSeq() *AuthorModel
- func (x *AuthorModel) RemoveColumnSerializeData() *AuthorModel
- func (x *AuthorModel) RemoveColumnServiceMemberSeq() *AuthorModel
- func (x *AuthorModel) RemoveColumnServiceRegionSeq() *AuthorModel
- func (x *AuthorModel) RemoveColumnServiceSeq() *AuthorModel
- func (x *AuthorModel) RemoveColumnStartDt() *AuthorModel
- func (x *AuthorModel) RemoveColumnSuccessCount() *AuthorModel
- func (x *AuthorModel) RemoveColumnTargetClubReaderCount() *AuthorModel
- func (x *AuthorModel) RemoveColumnUpdatedTs() *AuthorModel
- func (x *AuthorModel) RemoveColumnUserSeq() *AuthorModel
- func (x *AuthorModel) RemoveColumnUuid() *AuthorModel
- func (x *AuthorModel) Restore() (*AuthorModel, error)
- func (x *AuthorModel) Save() (*AuthorModel, error)
- func (x *AuthorModel) Seq[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) ServiceMemberSeq[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) ServiceRegionSeq[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) ServiceSeq[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) SetAesHexEmail(v *string) *AuthorModel
- func (x *AuthorModel) SetAesHexPhone(v *string) *AuthorModel
- func (x *AuthorModel) SetAesKeyVersion(v int32) *AuthorModel
- func (x *AuthorModel) SetBase64Extra(v orm.StyledValue) (*AuthorModel, error)
- func (x *AuthorModel) SetCreatedTs(v time.Time) *AuthorModel
- func (x *AuthorModel) SetDescription(v *string) *AuthorModel
- func (x *AuthorModel) SetDisplayEndDt(v *time.Time) *AuthorModel
- func (x *AuthorModel) SetDisplayStartDt(v *time.Time) *AuthorModel
- func (x *AuthorModel) SetEmailBlindIndex(v *string) *AuthorModel
- func (x *AuthorModel) SetEndDt(v time.Time) *AuthorModel
- func (x *AuthorModel) SetGzExtend(v orm.StyledValue) (*AuthorModel, error)
- func (x *AuthorModel) SetIp(v *string) *AuthorModel
- func (x *AuthorModel) SetIsAllday(v bool) *AuthorModel
- func (x *AuthorModel) SetIsClose(v bool) *AuthorModel
- func (x *AuthorModel) SetIsDisplay(v bool) *AuthorModel
- func (x *AuthorModel) SetIsSingleWork(v bool) *AuthorModel
- func (x *AuthorModel) SetJsonSetting(v orm.StyledValue) (*AuthorModel, error)
- func (x *AuthorModel) SetJsonsTags(v orm.StyledValue) (*AuthorModel, error)
- func (x *AuthorModel) SetLikeCount(v int32) *AuthorModel
- func (x *AuthorModel) SetName(v string) *AuthorModel
- func (x *AuthorModel) SetPhoneBlindIndex(v *string) *AuthorModel
- func (x *AuthorModel) SetPhotoUrl(v *string) *AuthorModel
- func (x *AuthorModel) SetPrice(v *string) (*AuthorModel, error)
- func (x *AuthorModel) SetReadCount(v int32) *AuthorModel
- func (x *AuthorModel) SetReaderCount(v int32) *AuthorModel
- func (x *AuthorModel) SetSeq(v int64) *AuthorModel
- func (x *AuthorModel) SetSerializeData(v orm.StyledValue) (*AuthorModel, error)
- func (x *AuthorModel) SetServiceMemberSeq(v int64) *AuthorModel
- func (x *AuthorModel) SetServiceRegionSeq(v int64) *AuthorModel
- func (x *AuthorModel) SetServiceSeq(v int64) *AuthorModel
- func (x *AuthorModel) SetStartDt(v time.Time) *AuthorModel
- func (x *AuthorModel) SetSuccessCount(v int32) *AuthorModel
- func (x *AuthorModel) SetTargetClubReaderCount(v int32) *AuthorModel
- func (x *AuthorModel) SetUpdatedTs(v time.Time) *AuthorModel
- func (x *AuthorModel) SetUserSeq(v int64) *AuthorModel
- func (x *AuthorModel) SetUuid(v *string) *AuthorModel
- func (x *AuthorModel) SumAesKeyVersion() *AuthorModel
- func (x *AuthorModel) SumLikeCount() *AuthorModel
- func (x *AuthorModel) SumPrice() *AuthorModel
- func (x *AuthorModel) SumReadCount() *AuthorModel
- func (x *AuthorModel) SumReaderCount() *AuthorModel
- func (x *AuthorModel) SumSeq() *AuthorModel
- func (x *AuthorModel) SumServiceMemberSeq() *AuthorModel
- func (x *AuthorModel) SumServiceRegionSeq() *AuthorModel
- func (x *AuthorModel) SumServiceSeq() *AuthorModel
- func (x *AuthorModel) SumSuccessCount() *AuthorModel
- func (x *AuthorModel) SumTargetClubReaderCount() *AuthorModel
- func (x *AuthorModel) SumUserSeq() *AuthorModel
- func (x *AuthorModel) ToArray() map[string]any
- func (x *AuthorModel) Update(optimistic ...bool) (*AuthorModel, error)
- func (x *AuthorModel) UserSeq[T0 argIntEq](v0 T0) *AuthorModel
- func (x *AuthorModel) UserSeqEqSeq[T0 hasSeq](v0 T0) *AuthorModel
- func (x *AuthorModel) Uuid[T0 argStringEqNull](v0 T0) *AuthorModel
- type CompositeAccountModel
- func (x *CompositeAccountModel) AddAllColumns() *CompositeAccountModel
- func (x *CompositeAccountModel) AddColumnAccountId() *CompositeAccountModel
- func (x *CompositeAccountModel) AddColumnName() *CompositeAccountModel
- func (x *CompositeAccountModel) AddColumnTenantId() *CompositeAccountModel
- func (x *CompositeAccountModel) And(args ...any) *CompositeAccountModel
- func (x *CompositeAccountModel) AndNot(fn func(*CompositeAccountModel)) *CompositeAccountModel
- func (x *CompositeAccountModel) AvgAccountId() *CompositeAccountModel
- func (x *CompositeAccountModel) AvgTenantId() *CompositeAccountModel
- func (x *CompositeAccountModel) Connect(db *orm.DB) *CompositeAccountModel
- func (x *CompositeAccountModel) Create() (*CompositeAccountModel, error)
- func (x *CompositeAccountModel) Creates(rows []*CompositeAccountModel) (int64, error)
- func (x *CompositeAccountModel) Delete(recursive ...bool) error
- func (x *CompositeAccountModel) DeleteLock() *CompositeAccountModel
- func (x *CompositeAccountModel) Duplication(m *CompositeAccountModel) *CompositeAccountModel
- func (x *CompositeAccountModel) FetchKey(fn func(*CompositeAccountModel) any) *CompositeAccountModel
- func (x *CompositeAccountModel) FetchValue(fn func(*CompositeAccountModel) any) *CompositeAccountModel
- func (x *CompositeAccountModel) ForShare() *CompositeAccountModel
- func (x *CompositeAccountModel) ForShareNoWait() *CompositeAccountModel
- func (x *CompositeAccountModel) ForUpdate() *CompositeAccountModel
- func (x *CompositeAccountModel) ForUpdateNoWait() *CompositeAccountModel
- func (x *CompositeAccountModel) Get() (*CompositeAccountModel, error)
- func (x *CompositeAccountModel) GetAccountId() int64
- func (x *CompositeAccountModel) GetAvg() (float64, error)
- func (x *CompositeAccountModel) GetByTenantIdAndAccountId[T0 argIntEq, T1 argIntEq](v0 T0, v1 T1) (*CompositeAccountModel, error)
- func (x *CompositeAccountModel) GetCount() (int64, error)
- func (x *CompositeAccountModel) GetMemberships() (*orm.Collection[*CompositeMembershipModel], error)
- func (x *CompositeAccountModel) GetName() string
- func (x *CompositeAccountModel) GetQuery() (*orm.Statement, error)
- func (x *CompositeAccountModel) GetSum() (float64, error)
- func (x *CompositeAccountModel) GetTenantId() int64
- func (x *CompositeAccountModel) Gets() (*orm.Collection[*CompositeAccountModel], error)
- func (x *CompositeAccountModel) GetsCount() (*orm.GroupRows, error)
- func (x *CompositeAccountModel) GetsPage(page, perPage int) (*orm.Page[*CompositeAccountModel], error)
- func (x *CompositeAccountModel) GroupByAccountId() *CompositeAccountModel
- func (x *CompositeAccountModel) GroupByName() *CompositeAccountModel
- func (x *CompositeAccountModel) GroupByTenantId() *CompositeAccountModel
- func (x *CompositeAccountModel) GroupLimit(n int) *CompositeAccountModel
- func (x *CompositeAccountModel) KeyNameAccountId() *CompositeAccountModel
- func (x *CompositeAccountModel) KeyNameName() *CompositeAccountModel
- func (x *CompositeAccountModel) KeyNameTenantId() *CompositeAccountModel
- func (x *CompositeAccountModel) Limit(offset, count int) *CompositeAccountModel
- func (x *CompositeAccountModel) MarshalJSON() ([]byte, error)
- func (x *CompositeAccountModel) MinusAccountId(n int64) *CompositeAccountModel
- func (x *CompositeAccountModel) MinusTenantId(n int64) *CompositeAccountModel
- func (x *CompositeAccountModel) Not(fn func(*CompositeAccountModel)) *CompositeAccountModel
- func (x *CompositeAccountModel) On(fn func(*CompositeAccountModel)) *CompositeAccountModel
- func (x *CompositeAccountModel) Or(args ...any) *CompositeAccountModel
- func (x *CompositeAccountModel) OrNot(fn func(*CompositeAccountModel)) *CompositeAccountModel
- func (x *CompositeAccountModel) OrderByAccountIdAsc(fn ...orm.Func) *CompositeAccountModel
- func (x *CompositeAccountModel) OrderByAccountIdDesc(fn ...orm.Func) *CompositeAccountModel
- func (x *CompositeAccountModel) OrderByNameAsc(fn ...orm.Func) *CompositeAccountModel
- func (x *CompositeAccountModel) OrderByNameDesc(fn ...orm.Func) *CompositeAccountModel
- func (x *CompositeAccountModel) OrderByRandom() *CompositeAccountModel
- func (x *CompositeAccountModel) OrderByTenantIdAsc(fn ...orm.Func) *CompositeAccountModel
- func (x *CompositeAccountModel) OrderByTenantIdDesc(fn ...orm.Func) *CompositeAccountModel
- func (x *CompositeAccountModel) Orm_() *orm.Core
- func (x *CompositeAccountModel) ParentNode() *CompositeAccountModel
- func (x *CompositeAccountModel) PlusAccountId(n int64) *CompositeAccountModel
- func (x *CompositeAccountModel) PlusTenantId(n int64) *CompositeAccountModel
- func (x *CompositeAccountModel) Relation(child orm.Model) *CompositeAccountModel
- func (x *CompositeAccountModel) Relations(child orm.Model) *CompositeAccountModel
- func (x *CompositeAccountModel) RemoveAllColumns() *CompositeAccountModel
- func (x *CompositeAccountModel) RemoveColumnAccountId() *CompositeAccountModel
- func (x *CompositeAccountModel) RemoveColumnName() *CompositeAccountModel
- func (x *CompositeAccountModel) RemoveColumnTenantId() *CompositeAccountModel
- func (x *CompositeAccountModel) Restore() (*CompositeAccountModel, error)
- func (x *CompositeAccountModel) Save() (*CompositeAccountModel, error)
- func (x *CompositeAccountModel) SetAccountId(v int64) *CompositeAccountModel
- func (x *CompositeAccountModel) SetName(v string) *CompositeAccountModel
- func (x *CompositeAccountModel) SetTenantId(v int64) *CompositeAccountModel
- func (x *CompositeAccountModel) SumAccountId() *CompositeAccountModel
- func (x *CompositeAccountModel) SumTenantId() *CompositeAccountModel
- func (x *CompositeAccountModel) TenantId[T0 argIntEq](v0 T0) *CompositeAccountModel
- func (x *CompositeAccountModel) ToArray() map[string]any
- func (x *CompositeAccountModel) TupleTenantIdWithAccountId(v0 []CompositeAccountTenantIdWithAccountId) *CompositeAccountModel
- func (x *CompositeAccountModel) Update(optimistic ...bool) (*CompositeAccountModel, error)
- type CompositeAccountTenantIdWithAccountId
- type CompositeMembershipModel
- func (x *CompositeMembershipModel) AddAllColumns() *CompositeMembershipModel
- func (x *CompositeMembershipModel) AddColumnAccountId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) AddColumnRole() *CompositeMembershipModel
- func (x *CompositeMembershipModel) AddColumnTenantId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) AliasMemberships() *CompositeMembershipModel
- func (x *CompositeMembershipModel) And(args ...any) *CompositeMembershipModel
- func (x *CompositeMembershipModel) AndNot(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
- func (x *CompositeMembershipModel) AvgAccountId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) AvgTenantId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) Connect(db *orm.DB) *CompositeMembershipModel
- func (x *CompositeMembershipModel) Create() (*CompositeMembershipModel, error)
- func (x *CompositeMembershipModel) Creates(rows []*CompositeMembershipModel) (int64, error)
- func (x *CompositeMembershipModel) Delete(recursive ...bool) error
- func (x *CompositeMembershipModel) DeleteLock() *CompositeMembershipModel
- func (x *CompositeMembershipModel) Duplication(m *CompositeMembershipModel) *CompositeMembershipModel
- func (x *CompositeMembershipModel) FetchKey(fn func(*CompositeMembershipModel) any) *CompositeMembershipModel
- func (x *CompositeMembershipModel) FetchValue(fn func(*CompositeMembershipModel) any) *CompositeMembershipModel
- func (x *CompositeMembershipModel) ForShare() *CompositeMembershipModel
- func (x *CompositeMembershipModel) ForShareNoWait() *CompositeMembershipModel
- func (x *CompositeMembershipModel) ForUpdate() *CompositeMembershipModel
- func (x *CompositeMembershipModel) ForUpdateNoWait() *CompositeMembershipModel
- func (x *CompositeMembershipModel) Get() (*CompositeMembershipModel, error)
- func (x *CompositeMembershipModel) GetAccountId() int64
- func (x *CompositeMembershipModel) GetAvg() (float64, error)
- func (x *CompositeMembershipModel) GetCount() (int64, error)
- func (x *CompositeMembershipModel) GetQuery() (*orm.Statement, error)
- func (x *CompositeMembershipModel) GetRole() string
- func (x *CompositeMembershipModel) GetSum() (float64, error)
- func (x *CompositeMembershipModel) GetTenantId() int64
- func (x *CompositeMembershipModel) Gets() (*orm.Collection[*CompositeMembershipModel], error)
- func (x *CompositeMembershipModel) GetsCount() (*orm.GroupRows, error)
- func (x *CompositeMembershipModel) GetsPage(page, perPage int) (*orm.Page[*CompositeMembershipModel], error)
- func (x *CompositeMembershipModel) GroupByAccountId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) GroupByRole() *CompositeMembershipModel
- func (x *CompositeMembershipModel) GroupByTenantId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) GroupLimit(n int) *CompositeMembershipModel
- func (x *CompositeMembershipModel) KeyNameAccountId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) KeyNameRole() *CompositeMembershipModel
- func (x *CompositeMembershipModel) KeyNameTenantId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) Limit(offset, count int) *CompositeMembershipModel
- func (x *CompositeMembershipModel) MarshalJSON() ([]byte, error)
- func (x *CompositeMembershipModel) MatchAccountIdWithAccountId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) MatchTenantIdWithTenantId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) MinusAccountId(n int64) *CompositeMembershipModel
- func (x *CompositeMembershipModel) MinusTenantId(n int64) *CompositeMembershipModel
- func (x *CompositeMembershipModel) Not(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
- func (x *CompositeMembershipModel) On(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
- func (x *CompositeMembershipModel) Or(args ...any) *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrNot(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrderByAccountIdAsc(fn ...orm.Func) *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrderByAccountIdDesc(fn ...orm.Func) *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrderByRandom() *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrderByRoleAsc(fn ...orm.Func) *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrderByRoleDesc(fn ...orm.Func) *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrderByTenantIdAsc(fn ...orm.Func) *CompositeMembershipModel
- func (x *CompositeMembershipModel) OrderByTenantIdDesc(fn ...orm.Func) *CompositeMembershipModel
- func (x *CompositeMembershipModel) Orm_() *orm.Core
- func (x *CompositeMembershipModel) ParentNode() *CompositeMembershipModel
- func (x *CompositeMembershipModel) PlusAccountId(n int64) *CompositeMembershipModel
- func (x *CompositeMembershipModel) PlusTenantId(n int64) *CompositeMembershipModel
- func (x *CompositeMembershipModel) Relation(child orm.Model) *CompositeMembershipModel
- func (x *CompositeMembershipModel) Relations(child orm.Model) *CompositeMembershipModel
- func (x *CompositeMembershipModel) RemoveAllColumns() *CompositeMembershipModel
- func (x *CompositeMembershipModel) RemoveColumnAccountId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) RemoveColumnRole() *CompositeMembershipModel
- func (x *CompositeMembershipModel) RemoveColumnTenantId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) Restore() (*CompositeMembershipModel, error)
- func (x *CompositeMembershipModel) Save() (*CompositeMembershipModel, error)
- func (x *CompositeMembershipModel) SetAccountId(v int64) *CompositeMembershipModel
- func (x *CompositeMembershipModel) SetRole(v string) *CompositeMembershipModel
- func (x *CompositeMembershipModel) SetTenantId(v int64) *CompositeMembershipModel
- func (x *CompositeMembershipModel) SumAccountId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) SumTenantId() *CompositeMembershipModel
- func (x *CompositeMembershipModel) TenantId[T0 argIntEq](v0 T0) *CompositeMembershipModel
- func (x *CompositeMembershipModel) ToArray() map[string]any
- func (x *CompositeMembershipModel) TupleTenantIdWithAccountId(v0 []CompositeMembershipTenantIdWithAccountId) *CompositeMembershipModel
- func (x *CompositeMembershipModel) Update(optimistic ...bool) (*CompositeMembershipModel, error)
- type CompositeMembershipTenantIdWithAccountId
- type HexCellModel
- func (x *HexCellModel) AddAllColumns() *HexCellModel
- func (x *HexCellModel) AddColumnLabel() *HexCellModel
- func (x *HexCellModel) AddColumnSeq() *HexCellModel
- func (x *HexCellModel) AddColumnValue() *HexCellModel
- func (x *HexCellModel) And(args ...any) *HexCellModel
- func (x *HexCellModel) AndNot(fn func(*HexCellModel)) *HexCellModel
- func (x *HexCellModel) AvgSeq() *HexCellModel
- func (x *HexCellModel) Connect(db *orm.DB) *HexCellModel
- func (x *HexCellModel) Create() (*HexCellModel, error)
- func (x *HexCellModel) Creates(rows []*HexCellModel) (int64, error)
- func (x *HexCellModel) Delete(recursive ...bool) error
- func (x *HexCellModel) DeleteLock() *HexCellModel
- func (x *HexCellModel) Duplication(m *HexCellModel) *HexCellModel
- func (x *HexCellModel) FetchKey(fn func(*HexCellModel) any) *HexCellModel
- func (x *HexCellModel) FetchValue(fn func(*HexCellModel) any) *HexCellModel
- func (x *HexCellModel) ForShare() *HexCellModel
- func (x *HexCellModel) ForShareNoWait() *HexCellModel
- func (x *HexCellModel) ForUpdate() *HexCellModel
- func (x *HexCellModel) ForUpdateNoWait() *HexCellModel
- func (x *HexCellModel) Get() (*HexCellModel, error)
- func (x *HexCellModel) GetAvg() (float64, error)
- func (x *HexCellModel) GetBySeq[T0 argIntEq](v0 T0) (*HexCellModel, error)
- func (x *HexCellModel) GetCount() (int64, error)
- func (x *HexCellModel) GetLabel() string
- func (x *HexCellModel) GetQuery() (*orm.Statement, error)
- func (x *HexCellModel) GetSeq() int64
- func (x *HexCellModel) GetSum() (float64, error)
- func (x *HexCellModel) GetValue() *string
- func (x *HexCellModel) Gets() (*orm.Collection[*HexCellModel], error)
- func (x *HexCellModel) GetsCount() (*orm.GroupRows, error)
- func (x *HexCellModel) GetsPage(page, perPage int) (*orm.Page[*HexCellModel], error)
- func (x *HexCellModel) GroupByLabel() *HexCellModel
- func (x *HexCellModel) GroupBySeq() *HexCellModel
- func (x *HexCellModel) GroupByValue() *HexCellModel
- func (x *HexCellModel) GroupLimit(n int) *HexCellModel
- func (x *HexCellModel) KeyNameLabel() *HexCellModel
- func (x *HexCellModel) KeyNameSeq() *HexCellModel
- func (x *HexCellModel) KeyNameValue() *HexCellModel
- func (x *HexCellModel) Limit(offset, count int) *HexCellModel
- func (x *HexCellModel) MarshalJSON() ([]byte, error)
- func (x *HexCellModel) MinusSeq(n int64) *HexCellModel
- func (x *HexCellModel) Not(fn func(*HexCellModel)) *HexCellModel
- func (x *HexCellModel) On(fn func(*HexCellModel)) *HexCellModel
- func (x *HexCellModel) Or(args ...any) *HexCellModel
- func (x *HexCellModel) OrNot(fn func(*HexCellModel)) *HexCellModel
- func (x *HexCellModel) OrderByLabelAsc(fn ...orm.Func) *HexCellModel
- func (x *HexCellModel) OrderByLabelDesc(fn ...orm.Func) *HexCellModel
- func (x *HexCellModel) OrderByRandom() *HexCellModel
- func (x *HexCellModel) OrderBySeqAsc(fn ...orm.Func) *HexCellModel
- func (x *HexCellModel) OrderBySeqDesc(fn ...orm.Func) *HexCellModel
- func (x *HexCellModel) OrderByValueAsc(fn ...orm.Func) *HexCellModel
- func (x *HexCellModel) OrderByValueDesc(fn ...orm.Func) *HexCellModel
- func (x *HexCellModel) Orm_() *orm.Core
- func (x *HexCellModel) ParentNode() *HexCellModel
- func (x *HexCellModel) PlusSeq(n int64) *HexCellModel
- func (x *HexCellModel) Relation(child orm.Model) *HexCellModel
- func (x *HexCellModel) Relations(child orm.Model) *HexCellModel
- func (x *HexCellModel) RemoveAllColumns() *HexCellModel
- func (x *HexCellModel) RemoveColumnLabel() *HexCellModel
- func (x *HexCellModel) RemoveColumnSeq() *HexCellModel
- func (x *HexCellModel) RemoveColumnValue() *HexCellModel
- func (x *HexCellModel) Restore() (*HexCellModel, error)
- func (x *HexCellModel) Save() (*HexCellModel, error)
- func (x *HexCellModel) Seq[T0 argIntEq](v0 T0) *HexCellModel
- func (x *HexCellModel) SetLabel(v string) *HexCellModel
- func (x *HexCellModel) SetSeq(v int64) *HexCellModel
- func (x *HexCellModel) SetValue(v *string) *HexCellModel
- func (x *HexCellModel) SumSeq() *HexCellModel
- func (x *HexCellModel) ToArray() map[string]any
- func (x *HexCellModel) Update(optimistic ...bool) (*HexCellModel, error)
- type ProjectModel
- func (x *ProjectModel) AddAllColumns() *ProjectModel
- func (x *ProjectModel) AddColumnName() *ProjectModel
- func (x *ProjectModel) AddColumnSeq() *ProjectModel
- func (x *ProjectModel) And(args ...any) *ProjectModel
- func (x *ProjectModel) AndNot(fn func(*ProjectModel)) *ProjectModel
- func (x *ProjectModel) AvgSeq() *ProjectModel
- func (x *ProjectModel) Connect(db *orm.DB) *ProjectModel
- func (x *ProjectModel) Create() (*ProjectModel, error)
- func (x *ProjectModel) Creates(rows []*ProjectModel) (int64, error)
- func (x *ProjectModel) Delete(recursive ...bool) error
- func (x *ProjectModel) DeleteLock() *ProjectModel
- func (x *ProjectModel) Duplication(m *ProjectModel) *ProjectModel
- func (x *ProjectModel) FetchKey(fn func(*ProjectModel) any) *ProjectModel
- func (x *ProjectModel) FetchValue(fn func(*ProjectModel) any) *ProjectModel
- func (x *ProjectModel) ForShare() *ProjectModel
- func (x *ProjectModel) ForShareNoWait() *ProjectModel
- func (x *ProjectModel) ForUpdate() *ProjectModel
- func (x *ProjectModel) ForUpdateNoWait() *ProjectModel
- func (x *ProjectModel) Get() (*ProjectModel, error)
- func (x *ProjectModel) GetAvg() (float64, error)
- func (x *ProjectModel) GetCount() (int64, error)
- func (x *ProjectModel) GetName() string
- func (x *ProjectModel) GetQuery() (*orm.Statement, error)
- func (x *ProjectModel) GetSeq() int64
- func (x *ProjectModel) GetSum() (float64, error)
- func (x *ProjectModel) Gets() (*orm.Collection[*ProjectModel], error)
- func (x *ProjectModel) GetsCount() (*orm.GroupRows, error)
- func (x *ProjectModel) GetsPage(page, perPage int) (*orm.Page[*ProjectModel], error)
- func (x *ProjectModel) GroupByName() *ProjectModel
- func (x *ProjectModel) GroupBySeq() *ProjectModel
- func (x *ProjectModel) GroupLimit(n int) *ProjectModel
- func (x *ProjectModel) KeyNameName() *ProjectModel
- func (x *ProjectModel) KeyNameSeq() *ProjectModel
- func (x *ProjectModel) Limit(offset, count int) *ProjectModel
- func (x *ProjectModel) MarshalJSON() ([]byte, error)
- func (x *ProjectModel) MinusSeq(n int64) *ProjectModel
- func (x *ProjectModel) Not(fn func(*ProjectModel)) *ProjectModel
- func (x *ProjectModel) On(fn func(*ProjectModel)) *ProjectModel
- func (x *ProjectModel) Or(args ...any) *ProjectModel
- func (x *ProjectModel) OrNot(fn func(*ProjectModel)) *ProjectModel
- func (x *ProjectModel) OrderByNameAsc(fn ...orm.Func) *ProjectModel
- func (x *ProjectModel) OrderByNameDesc(fn ...orm.Func) *ProjectModel
- func (x *ProjectModel) OrderByRandom() *ProjectModel
- func (x *ProjectModel) OrderBySeqAsc(fn ...orm.Func) *ProjectModel
- func (x *ProjectModel) OrderBySeqDesc(fn ...orm.Func) *ProjectModel
- func (x *ProjectModel) Orm_() *orm.Core
- func (x *ProjectModel) ParentNode() *ProjectModel
- func (x *ProjectModel) PlusSeq(n int64) *ProjectModel
- func (x *ProjectModel) Relation(child orm.Model) *ProjectModel
- func (x *ProjectModel) Relations(child orm.Model) *ProjectModel
- func (x *ProjectModel) RemoveAllColumns() *ProjectModel
- func (x *ProjectModel) RemoveColumnName() *ProjectModel
- func (x *ProjectModel) RemoveColumnSeq() *ProjectModel
- func (x *ProjectModel) Restore() (*ProjectModel, error)
- func (x *ProjectModel) Save() (*ProjectModel, error)
- func (x *ProjectModel) Seq[T0 argIntEq](v0 T0) *ProjectModel
- func (x *ProjectModel) SetName(v string) *ProjectModel
- func (x *ProjectModel) SetSeq(v int64) *ProjectModel
- func (x *ProjectModel) SumSeq() *ProjectModel
- func (x *ProjectModel) ToArray() map[string]any
- func (x *ProjectModel) Update(optimistic ...bool) (*ProjectModel, error)
- type ServiceMemberModel
- func (x *ServiceMemberModel) AddAllColumns() *ServiceMemberModel
- func (x *ServiceMemberModel) AddColumnSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) AddColumnServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) AddColumnUserSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) AliasMembers() *ServiceMemberModel
- func (x *ServiceMemberModel) And(args ...any) *ServiceMemberModel
- func (x *ServiceMemberModel) AndNot(fn func(*ServiceMemberModel)) *ServiceMemberModel
- func (x *ServiceMemberModel) AvgSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) AvgServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) AvgUserSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) Connect(db *orm.DB) *ServiceMemberModel
- func (x *ServiceMemberModel) Create() (*ServiceMemberModel, error)
- func (x *ServiceMemberModel) Creates(rows []*ServiceMemberModel) (int64, error)
- func (x *ServiceMemberModel) Delete(recursive ...bool) error
- func (x *ServiceMemberModel) DeleteLock() *ServiceMemberModel
- func (x *ServiceMemberModel) Duplication(m *ServiceMemberModel) *ServiceMemberModel
- func (x *ServiceMemberModel) FetchKey(fn func(*ServiceMemberModel) any) *ServiceMemberModel
- func (x *ServiceMemberModel) FetchValue(fn func(*ServiceMemberModel) any) *ServiceMemberModel
- func (x *ServiceMemberModel) ForShare() *ServiceMemberModel
- func (x *ServiceMemberModel) ForShareNoWait() *ServiceMemberModel
- func (x *ServiceMemberModel) ForUpdate() *ServiceMemberModel
- func (x *ServiceMemberModel) ForUpdateNoWait() *ServiceMemberModel
- func (x *ServiceMemberModel) ForceIndexIxServiceMemberService() *ServiceMemberModel
- func (x *ServiceMemberModel) ForceIndexIxServiceMemberUser() *ServiceMemberModel
- func (x *ServiceMemberModel) Get() (*ServiceMemberModel, error)
- func (x *ServiceMemberModel) GetAvg() (float64, error)
- func (x *ServiceMemberModel) GetCount() (int64, error)
- func (x *ServiceMemberModel) GetCountByServiceSeq[T0 argIntEq](v0 T0) (int64, error)
- func (x *ServiceMemberModel) GetQuery() (*orm.Statement, error)
- func (x *ServiceMemberModel) GetSeq() int64
- func (x *ServiceMemberModel) GetServiceSeq() int64
- func (x *ServiceMemberModel) GetSum() (float64, error)
- func (x *ServiceMemberModel) GetUserSeq() int64
- func (x *ServiceMemberModel) Gets() (*orm.Collection[*ServiceMemberModel], error)
- func (x *ServiceMemberModel) GetsCount() (*orm.GroupRows, error)
- func (x *ServiceMemberModel) GetsPage(page, perPage int) (*orm.Page[*ServiceMemberModel], error)
- func (x *ServiceMemberModel) GroupBySeq() *ServiceMemberModel
- func (x *ServiceMemberModel) GroupByServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) GroupByUserSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) GroupLimit(n int) *ServiceMemberModel
- func (x *ServiceMemberModel) KeyNameSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) KeyNameServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) KeyNameUserSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) Limit(offset, count int) *ServiceMemberModel
- func (x *ServiceMemberModel) MarshalJSON() ([]byte, error)
- func (x *ServiceMemberModel) MatchSeqWithServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) MatchServiceSeqWithServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) MatchUserSeqWithUserSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) MinusSeq(n int64) *ServiceMemberModel
- func (x *ServiceMemberModel) MinusServiceSeq(n int64) *ServiceMemberModel
- func (x *ServiceMemberModel) MinusUserSeq(n int64) *ServiceMemberModel
- func (x *ServiceMemberModel) Not(fn func(*ServiceMemberModel)) *ServiceMemberModel
- func (x *ServiceMemberModel) On(fn func(*ServiceMemberModel)) *ServiceMemberModel
- func (x *ServiceMemberModel) Or(args ...any) *ServiceMemberModel
- func (x *ServiceMemberModel) OrNot(fn func(*ServiceMemberModel)) *ServiceMemberModel
- func (x *ServiceMemberModel) OrderByRandom() *ServiceMemberModel
- func (x *ServiceMemberModel) OrderBySeqAsc(fn ...orm.Func) *ServiceMemberModel
- func (x *ServiceMemberModel) OrderBySeqDesc(fn ...orm.Func) *ServiceMemberModel
- func (x *ServiceMemberModel) OrderByServiceSeqAsc(fn ...orm.Func) *ServiceMemberModel
- func (x *ServiceMemberModel) OrderByServiceSeqDesc(fn ...orm.Func) *ServiceMemberModel
- func (x *ServiceMemberModel) OrderByUserSeqAsc(fn ...orm.Func) *ServiceMemberModel
- func (x *ServiceMemberModel) OrderByUserSeqDesc(fn ...orm.Func) *ServiceMemberModel
- func (x *ServiceMemberModel) Orm_() *orm.Core
- func (x *ServiceMemberModel) ParentNode() *ServiceMemberModel
- func (x *ServiceMemberModel) PlusSeq(n int64) *ServiceMemberModel
- func (x *ServiceMemberModel) PlusServiceSeq(n int64) *ServiceMemberModel
- func (x *ServiceMemberModel) PlusUserSeq(n int64) *ServiceMemberModel
- func (x *ServiceMemberModel) Relation(child orm.Model) *ServiceMemberModel
- func (x *ServiceMemberModel) Relations(child orm.Model) *ServiceMemberModel
- func (x *ServiceMemberModel) RemoveAllColumns() *ServiceMemberModel
- func (x *ServiceMemberModel) RemoveColumnSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) RemoveColumnServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) RemoveColumnUserSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) Restore() (*ServiceMemberModel, error)
- func (x *ServiceMemberModel) Save() (*ServiceMemberModel, error)
- func (x *ServiceMemberModel) Seq[T0 argIntEq](v0 T0) *ServiceMemberModel
- func (x *ServiceMemberModel) ServiceSeq[T0 argIntEq](v0 T0) *ServiceMemberModel
- func (x *ServiceMemberModel) SetSeq(v int64) *ServiceMemberModel
- func (x *ServiceMemberModel) SetServiceSeq(v int64) *ServiceMemberModel
- func (x *ServiceMemberModel) SetUserSeq(v int64) *ServiceMemberModel
- func (x *ServiceMemberModel) SumSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) SumServiceSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) SumUserSeq() *ServiceMemberModel
- func (x *ServiceMemberModel) ToArray() map[string]any
- func (x *ServiceMemberModel) Update(optimistic ...bool) (*ServiceMemberModel, error)
- func (x *ServiceMemberModel) UserSeq[T0 argIntEq](v0 T0) *ServiceMemberModel
- type ServiceModel
- func (x *ServiceModel) AddAllColumns() *ServiceModel
- func (x *ServiceModel) AddColumnName() *ServiceModel
- func (x *ServiceModel) AddColumnSeq() *ServiceModel
- func (x *ServiceModel) AliasOwnerService() *ServiceModel
- func (x *ServiceModel) And(args ...any) *ServiceModel
- func (x *ServiceModel) AndNot(fn func(*ServiceModel)) *ServiceModel
- func (x *ServiceModel) AvgSeq() *ServiceModel
- func (x *ServiceModel) Connect(db *orm.DB) *ServiceModel
- func (x *ServiceModel) Create() (*ServiceModel, error)
- func (x *ServiceModel) Creates(rows []*ServiceModel) (int64, error)
- func (x *ServiceModel) Delete(recursive ...bool) error
- func (x *ServiceModel) DeleteLock() *ServiceModel
- func (x *ServiceModel) Duplication(m *ServiceModel) *ServiceModel
- func (x *ServiceModel) FetchKey(fn func(*ServiceModel) any) *ServiceModel
- func (x *ServiceModel) FetchValue(fn func(*ServiceModel) any) *ServiceModel
- func (x *ServiceModel) ForShare() *ServiceModel
- func (x *ServiceModel) ForShareNoWait() *ServiceModel
- func (x *ServiceModel) ForUpdate() *ServiceModel
- func (x *ServiceModel) ForUpdateNoWait() *ServiceModel
- func (x *ServiceModel) Get() (*ServiceModel, error)
- func (x *ServiceModel) GetAvg() (float64, error)
- func (x *ServiceModel) GetBySeq[T0 argIntEq](v0 T0) (*ServiceModel, error)
- func (x *ServiceModel) GetCount() (int64, error)
- func (x *ServiceModel) GetName() string
- func (x *ServiceModel) GetQuery() (*orm.Statement, error)
- func (x *ServiceModel) GetSeq() int64
- func (x *ServiceModel) GetServiceMemberModels() (*orm.Collection[*ServiceMemberModel], error)
- func (x *ServiceModel) GetSum() (float64, error)
- func (x *ServiceModel) Gets() (*orm.Collection[*ServiceModel], error)
- func (x *ServiceModel) GetsCount() (*orm.GroupRows, error)
- func (x *ServiceModel) GetsPage(page, perPage int) (*orm.Page[*ServiceModel], error)
- func (x *ServiceModel) GroupByName() *ServiceModel
- func (x *ServiceModel) GroupBySeq() *ServiceModel
- func (x *ServiceModel) GroupLimit(n int) *ServiceModel
- func (x *ServiceModel) GtSeq[T0 argIntCmp](v0 T0) *ServiceModel
- func (x *ServiceModel) KeyNameName() *ServiceModel
- func (x *ServiceModel) KeyNameSeq() *ServiceModel
- func (x *ServiceModel) Limit(offset, count int) *ServiceModel
- func (x *ServiceModel) MarshalJSON() ([]byte, error)
- func (x *ServiceModel) MatchServiceSeqWithSeq() *ServiceModel
- func (x *ServiceModel) MinusSeq(n int64) *ServiceModel
- func (x *ServiceModel) Name[T0 argStringEq](v0 T0) *ServiceModel
- func (x *ServiceModel) Not(fn func(*ServiceModel)) *ServiceModel
- func (x *ServiceModel) On(fn func(*ServiceModel)) *ServiceModel
- func (x *ServiceModel) Or(args ...any) *ServiceModel
- func (x *ServiceModel) OrNot(fn func(*ServiceModel)) *ServiceModel
- func (x *ServiceModel) OrderByNameAsc(fn ...orm.Func) *ServiceModel
- func (x *ServiceModel) OrderByNameDesc(fn ...orm.Func) *ServiceModel
- func (x *ServiceModel) OrderByRandom() *ServiceModel
- func (x *ServiceModel) OrderBySeqAsc(fn ...orm.Func) *ServiceModel
- func (x *ServiceModel) OrderBySeqDesc(fn ...orm.Func) *ServiceModel
- func (x *ServiceModel) Orm_() *orm.Core
- func (x *ServiceModel) ParentNode() *ServiceModel
- func (x *ServiceModel) PlusSeq(n int64) *ServiceModel
- func (x *ServiceModel) Relation(child orm.Model) *ServiceModel
- func (x *ServiceModel) Relations(child orm.Model) *ServiceModel
- func (x *ServiceModel) RemoveAllColumns() *ServiceModel
- func (x *ServiceModel) RemoveColumnName() *ServiceModel
- func (x *ServiceModel) RemoveColumnSeq() *ServiceModel
- func (x *ServiceModel) Restore() (*ServiceModel, error)
- func (x *ServiceModel) Save() (*ServiceModel, error)
- func (x *ServiceModel) Seq[T0 argIntEq](v0 T0) *ServiceModel
- func (x *ServiceModel) SetName(v string) *ServiceModel
- func (x *ServiceModel) SetSeq(v int64) *ServiceModel
- func (x *ServiceModel) SumSeq() *ServiceModel
- func (x *ServiceModel) ToArray() map[string]any
- func (x *ServiceModel) Update(optimistic ...bool) (*ServiceModel, error)
- type ServiceRegionModel
- func (x *ServiceRegionModel) AddAllColumns() *ServiceRegionModel
- func (x *ServiceRegionModel) AddColumnName() *ServiceRegionModel
- func (x *ServiceRegionModel) AddColumnSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) AddColumnServiceSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) AliasModule() *ServiceRegionModel
- func (x *ServiceRegionModel) And(args ...any) *ServiceRegionModel
- func (x *ServiceRegionModel) AndNot(fn func(*ServiceRegionModel)) *ServiceRegionModel
- func (x *ServiceRegionModel) AvgSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) AvgServiceSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) Connect(db *orm.DB) *ServiceRegionModel
- func (x *ServiceRegionModel) Create() (*ServiceRegionModel, error)
- func (x *ServiceRegionModel) Creates(rows []*ServiceRegionModel) (int64, error)
- func (x *ServiceRegionModel) Delete(recursive ...bool) error
- func (x *ServiceRegionModel) DeleteLock() *ServiceRegionModel
- func (x *ServiceRegionModel) Duplication(m *ServiceRegionModel) *ServiceRegionModel
- func (x *ServiceRegionModel) FetchKey(fn func(*ServiceRegionModel) any) *ServiceRegionModel
- func (x *ServiceRegionModel) FetchValue(fn func(*ServiceRegionModel) any) *ServiceRegionModel
- func (x *ServiceRegionModel) ForShare() *ServiceRegionModel
- func (x *ServiceRegionModel) ForShareNoWait() *ServiceRegionModel
- func (x *ServiceRegionModel) ForUpdate() *ServiceRegionModel
- func (x *ServiceRegionModel) ForUpdateNoWait() *ServiceRegionModel
- func (x *ServiceRegionModel) ForceIndexIxServiceRegionService() *ServiceRegionModel
- func (x *ServiceRegionModel) Get() (*ServiceRegionModel, error)
- func (x *ServiceRegionModel) GetAvg() (float64, error)
- func (x *ServiceRegionModel) GetCount() (int64, error)
- func (x *ServiceRegionModel) GetName() string
- func (x *ServiceRegionModel) GetQuery() (*orm.Statement, error)
- func (x *ServiceRegionModel) GetSeq() int64
- func (x *ServiceRegionModel) GetServiceSeq() int64
- func (x *ServiceRegionModel) GetSum() (float64, error)
- func (x *ServiceRegionModel) Gets() (*orm.Collection[*ServiceRegionModel], error)
- func (x *ServiceRegionModel) GetsCount() (*orm.GroupRows, error)
- func (x *ServiceRegionModel) GetsPage(page, perPage int) (*orm.Page[*ServiceRegionModel], error)
- func (x *ServiceRegionModel) GroupByName() *ServiceRegionModel
- func (x *ServiceRegionModel) GroupBySeq() *ServiceRegionModel
- func (x *ServiceRegionModel) GroupByServiceSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) GroupLimit(n int) *ServiceRegionModel
- func (x *ServiceRegionModel) KeyNameName() *ServiceRegionModel
- func (x *ServiceRegionModel) KeyNameSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) KeyNameServiceSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) Limit(offset, count int) *ServiceRegionModel
- func (x *ServiceRegionModel) MarshalJSON() ([]byte, error)
- func (x *ServiceRegionModel) MatchServiceRegionSeqWithSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) MinusSeq(n int64) *ServiceRegionModel
- func (x *ServiceRegionModel) MinusServiceSeq(n int64) *ServiceRegionModel
- func (x *ServiceRegionModel) Not(fn func(*ServiceRegionModel)) *ServiceRegionModel
- func (x *ServiceRegionModel) On(fn func(*ServiceRegionModel)) *ServiceRegionModel
- func (x *ServiceRegionModel) Or(args ...any) *ServiceRegionModel
- func (x *ServiceRegionModel) OrNot(fn func(*ServiceRegionModel)) *ServiceRegionModel
- func (x *ServiceRegionModel) OrderByNameAsc(fn ...orm.Func) *ServiceRegionModel
- func (x *ServiceRegionModel) OrderByNameDesc(fn ...orm.Func) *ServiceRegionModel
- func (x *ServiceRegionModel) OrderByRandom() *ServiceRegionModel
- func (x *ServiceRegionModel) OrderBySeqAsc(fn ...orm.Func) *ServiceRegionModel
- func (x *ServiceRegionModel) OrderBySeqDesc(fn ...orm.Func) *ServiceRegionModel
- func (x *ServiceRegionModel) OrderByServiceSeqAsc(fn ...orm.Func) *ServiceRegionModel
- func (x *ServiceRegionModel) OrderByServiceSeqDesc(fn ...orm.Func) *ServiceRegionModel
- func (x *ServiceRegionModel) Orm_() *orm.Core
- func (x *ServiceRegionModel) ParentNode() *ServiceRegionModel
- func (x *ServiceRegionModel) PlusSeq(n int64) *ServiceRegionModel
- func (x *ServiceRegionModel) PlusServiceSeq(n int64) *ServiceRegionModel
- func (x *ServiceRegionModel) PossibleIsClose(v any) *ServiceRegionModel
- func (x *ServiceRegionModel) Relation(child orm.Model) *ServiceRegionModel
- func (x *ServiceRegionModel) Relations(child orm.Model) *ServiceRegionModel
- func (x *ServiceRegionModel) RemoveAllColumns() *ServiceRegionModel
- func (x *ServiceRegionModel) RemoveColumnName() *ServiceRegionModel
- func (x *ServiceRegionModel) RemoveColumnSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) RemoveColumnServiceSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) Restore() (*ServiceRegionModel, error)
- func (x *ServiceRegionModel) Save() (*ServiceRegionModel, error)
- func (x *ServiceRegionModel) Seq[T0 argIntEq](v0 T0) *ServiceRegionModel
- func (x *ServiceRegionModel) ServiceSeq[T0 argIntEq](v0 T0) *ServiceRegionModel
- func (x *ServiceRegionModel) SetName(v string) *ServiceRegionModel
- func (x *ServiceRegionModel) SetSeq(v int64) *ServiceRegionModel
- func (x *ServiceRegionModel) SetServiceSeq(v int64) *ServiceRegionModel
- func (x *ServiceRegionModel) SumSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) SumServiceSeq() *ServiceRegionModel
- func (x *ServiceRegionModel) ToArray() map[string]any
- func (x *ServiceRegionModel) Update(optimistic ...bool) (*ServiceRegionModel, error)
- type SoftRecordModel
- func (x *SoftRecordModel) AddAllColumns() *SoftRecordModel
- func (x *SoftRecordModel) AddColumnDeletedAt() *SoftRecordModel
- func (x *SoftRecordModel) AddColumnName() *SoftRecordModel
- func (x *SoftRecordModel) AddColumnSeq() *SoftRecordModel
- func (x *SoftRecordModel) And(args ...any) *SoftRecordModel
- func (x *SoftRecordModel) AndNot(fn func(*SoftRecordModel)) *SoftRecordModel
- func (x *SoftRecordModel) AvgSeq() *SoftRecordModel
- func (x *SoftRecordModel) Connect(db *orm.DB) *SoftRecordModel
- func (x *SoftRecordModel) Create() (*SoftRecordModel, error)
- func (x *SoftRecordModel) Creates(rows []*SoftRecordModel) (int64, error)
- func (x *SoftRecordModel) Delete(recursive ...bool) error
- func (x *SoftRecordModel) DeleteLock() *SoftRecordModel
- func (x *SoftRecordModel) Duplication(m *SoftRecordModel) *SoftRecordModel
- func (x *SoftRecordModel) FetchKey(fn func(*SoftRecordModel) any) *SoftRecordModel
- func (x *SoftRecordModel) FetchValue(fn func(*SoftRecordModel) any) *SoftRecordModel
- func (x *SoftRecordModel) ForShare() *SoftRecordModel
- func (x *SoftRecordModel) ForShareNoWait() *SoftRecordModel
- func (x *SoftRecordModel) ForUpdate() *SoftRecordModel
- func (x *SoftRecordModel) ForUpdateNoWait() *SoftRecordModel
- func (x *SoftRecordModel) Get() (*SoftRecordModel, error)
- func (x *SoftRecordModel) GetAvg() (float64, error)
- func (x *SoftRecordModel) GetBySeq[T0 argIntEq](v0 T0) (*SoftRecordModel, error)
- func (x *SoftRecordModel) GetCount() (int64, error)
- func (x *SoftRecordModel) GetDeletedAt() *time.Time
- func (x *SoftRecordModel) GetName() string
- func (x *SoftRecordModel) GetQuery() (*orm.Statement, error)
- func (x *SoftRecordModel) GetSeq() int64
- func (x *SoftRecordModel) GetSum() (float64, error)
- func (x *SoftRecordModel) Gets() (*orm.Collection[*SoftRecordModel], error)
- func (x *SoftRecordModel) GetsCount() (*orm.GroupRows, error)
- func (x *SoftRecordModel) GetsPage(page, perPage int) (*orm.Page[*SoftRecordModel], error)
- func (x *SoftRecordModel) GroupByDeletedAt() *SoftRecordModel
- func (x *SoftRecordModel) GroupByName() *SoftRecordModel
- func (x *SoftRecordModel) GroupBySeq() *SoftRecordModel
- func (x *SoftRecordModel) GroupLimit(n int) *SoftRecordModel
- func (x *SoftRecordModel) KeyNameDeletedAt() *SoftRecordModel
- func (x *SoftRecordModel) KeyNameName() *SoftRecordModel
- func (x *SoftRecordModel) KeyNameSeq() *SoftRecordModel
- func (x *SoftRecordModel) Limit(offset, count int) *SoftRecordModel
- func (x *SoftRecordModel) MarshalJSON() ([]byte, error)
- func (x *SoftRecordModel) MinusSeq(n int64) *SoftRecordModel
- func (x *SoftRecordModel) Name[T0 argStringEq](v0 T0) *SoftRecordModel
- func (x *SoftRecordModel) Not(fn func(*SoftRecordModel)) *SoftRecordModel
- func (x *SoftRecordModel) On(fn func(*SoftRecordModel)) *SoftRecordModel
- func (x *SoftRecordModel) Or(args ...any) *SoftRecordModel
- func (x *SoftRecordModel) OrNot(fn func(*SoftRecordModel)) *SoftRecordModel
- func (x *SoftRecordModel) OrderByDeletedAtAsc(fn ...orm.Func) *SoftRecordModel
- func (x *SoftRecordModel) OrderByDeletedAtDesc(fn ...orm.Func) *SoftRecordModel
- func (x *SoftRecordModel) OrderByNameAsc(fn ...orm.Func) *SoftRecordModel
- func (x *SoftRecordModel) OrderByNameDesc(fn ...orm.Func) *SoftRecordModel
- func (x *SoftRecordModel) OrderByRandom() *SoftRecordModel
- func (x *SoftRecordModel) OrderBySeqAsc(fn ...orm.Func) *SoftRecordModel
- func (x *SoftRecordModel) OrderBySeqDesc(fn ...orm.Func) *SoftRecordModel
- func (x *SoftRecordModel) Orm_() *orm.Core
- func (x *SoftRecordModel) ParentNode() *SoftRecordModel
- func (x *SoftRecordModel) PlusSeq(n int64) *SoftRecordModel
- func (x *SoftRecordModel) Relation(child orm.Model) *SoftRecordModel
- func (x *SoftRecordModel) Relations(child orm.Model) *SoftRecordModel
- func (x *SoftRecordModel) RemoveAllColumns() *SoftRecordModel
- func (x *SoftRecordModel) RemoveColumnDeletedAt() *SoftRecordModel
- func (x *SoftRecordModel) RemoveColumnName() *SoftRecordModel
- func (x *SoftRecordModel) RemoveColumnSeq() *SoftRecordModel
- func (x *SoftRecordModel) Restore() (*SoftRecordModel, error)
- func (x *SoftRecordModel) Save() (*SoftRecordModel, error)
- func (x *SoftRecordModel) Seq[T0 argIntEq](v0 T0) *SoftRecordModel
- func (x *SoftRecordModel) SetDeletedAt(v *time.Time) *SoftRecordModel
- func (x *SoftRecordModel) SetName(v string) *SoftRecordModel
- func (x *SoftRecordModel) SetSeq(v int64) *SoftRecordModel
- func (x *SoftRecordModel) SumSeq() *SoftRecordModel
- func (x *SoftRecordModel) ToArray() map[string]any
- func (x *SoftRecordModel) Update(optimistic ...bool) (*SoftRecordModel, error)
- type TaskModel
- func (x *TaskModel) AddAllColumns() *TaskModel
- func (x *TaskModel) AddColumnSeq() *TaskModel
- func (x *TaskModel) AddColumnState() *TaskModel
- func (x *TaskModel) AddColumnTitle() *TaskModel
- func (x *TaskModel) And(args ...any) *TaskModel
- func (x *TaskModel) AndNot(fn func(*TaskModel)) *TaskModel
- func (x *TaskModel) AvgSeq() *TaskModel
- func (x *TaskModel) Connect(db *orm.DB) *TaskModel
- func (x *TaskModel) Create() (*TaskModel, error)
- func (x *TaskModel) Creates(rows []*TaskModel) (int64, error)
- func (x *TaskModel) Delete(recursive ...bool) error
- func (x *TaskModel) DeleteLock() *TaskModel
- func (x *TaskModel) Duplication(m *TaskModel) *TaskModel
- func (x *TaskModel) FetchKey(fn func(*TaskModel) any) *TaskModel
- func (x *TaskModel) FetchValue(fn func(*TaskModel) any) *TaskModel
- func (x *TaskModel) ForShare() *TaskModel
- func (x *TaskModel) ForShareNoWait() *TaskModel
- func (x *TaskModel) ForUpdate() *TaskModel
- func (x *TaskModel) ForUpdateNoWait() *TaskModel
- func (x *TaskModel) Get() (*TaskModel, error)
- func (x *TaskModel) GetAvg() (float64, error)
- func (x *TaskModel) GetCount() (int64, error)
- func (x *TaskModel) GetQuery() (*orm.Statement, error)
- func (x *TaskModel) GetSeq() int64
- func (x *TaskModel) GetState() string
- func (x *TaskModel) GetSum() (float64, error)
- func (x *TaskModel) GetTitle() string
- func (x *TaskModel) Gets() (*orm.Collection[*TaskModel], error)
- func (x *TaskModel) GetsCount() (*orm.GroupRows, error)
- func (x *TaskModel) GetsPage(page, perPage int) (*orm.Page[*TaskModel], error)
- func (x *TaskModel) GroupBySeq() *TaskModel
- func (x *TaskModel) GroupByState() *TaskModel
- func (x *TaskModel) GroupByTitle() *TaskModel
- func (x *TaskModel) GroupLimit(n int) *TaskModel
- func (x *TaskModel) KeyNameSeq() *TaskModel
- func (x *TaskModel) KeyNameState() *TaskModel
- func (x *TaskModel) KeyNameTitle() *TaskModel
- func (x *TaskModel) Limit(offset, count int) *TaskModel
- func (x *TaskModel) MarshalJSON() ([]byte, error)
- func (x *TaskModel) MinusSeq(n int64) *TaskModel
- func (x *TaskModel) Not(fn func(*TaskModel)) *TaskModel
- func (x *TaskModel) On(fn func(*TaskModel)) *TaskModel
- func (x *TaskModel) Or(args ...any) *TaskModel
- func (x *TaskModel) OrNot(fn func(*TaskModel)) *TaskModel
- func (x *TaskModel) OrderByRandom() *TaskModel
- func (x *TaskModel) OrderBySeqAsc(fn ...orm.Func) *TaskModel
- func (x *TaskModel) OrderBySeqDesc(fn ...orm.Func) *TaskModel
- func (x *TaskModel) OrderByStateAsc(fn ...orm.Func) *TaskModel
- func (x *TaskModel) OrderByStateDesc(fn ...orm.Func) *TaskModel
- func (x *TaskModel) OrderByTitleAsc(fn ...orm.Func) *TaskModel
- func (x *TaskModel) OrderByTitleDesc(fn ...orm.Func) *TaskModel
- func (x *TaskModel) Orm_() *orm.Core
- func (x *TaskModel) ParentNode() *TaskModel
- func (x *TaskModel) PlusSeq(n int64) *TaskModel
- func (x *TaskModel) Relation(child orm.Model) *TaskModel
- func (x *TaskModel) Relations(child orm.Model) *TaskModel
- func (x *TaskModel) RemoveAllColumns() *TaskModel
- func (x *TaskModel) RemoveColumnSeq() *TaskModel
- func (x *TaskModel) RemoveColumnState() *TaskModel
- func (x *TaskModel) RemoveColumnTitle() *TaskModel
- func (x *TaskModel) Restore() (*TaskModel, error)
- func (x *TaskModel) Save() (*TaskModel, error)
- func (x *TaskModel) Seq[T0 argIntEq](v0 T0) *TaskModel
- func (x *TaskModel) SetSeq(v int64) *TaskModel
- func (x *TaskModel) SetState(v string) *TaskModel
- func (x *TaskModel) SetTitle(v string) *TaskModel
- func (x *TaskModel) SumSeq() *TaskModel
- func (x *TaskModel) ToArray() map[string]any
- func (x *TaskModel) Update(optimistic ...bool) (*TaskModel, error)
- type UserModel
- func (x *UserModel) AddAllColumns() *UserModel
- func (x *UserModel) AddColumnName() *UserModel
- func (x *UserModel) AddColumnReadTotal(fn func(*UserModel) orm.Model) *UserModel
- func (x *UserModel) AddColumnSeq() *UserModel
- func (x *UserModel) AliasOwner() *UserModel
- func (x *UserModel) AliasWriter() *UserModel
- func (x *UserModel) And(args ...any) *UserModel
- func (x *UserModel) AndNot(fn func(*UserModel)) *UserModel
- func (x *UserModel) AvgSeq() *UserModel
- func (x *UserModel) Connect(db *orm.DB) *UserModel
- func (x *UserModel) Create() (*UserModel, error)
- func (x *UserModel) Creates(rows []*UserModel) (int64, error)
- func (x *UserModel) Delete(recursive ...bool) error
- func (x *UserModel) DeleteLock() *UserModel
- func (x *UserModel) Duplication(m *UserModel) *UserModel
- func (x *UserModel) FetchKey(fn func(*UserModel) any) *UserModel
- func (x *UserModel) FetchValue(fn func(*UserModel) any) *UserModel
- func (x *UserModel) ForShare() *UserModel
- func (x *UserModel) ForShareNoWait() *UserModel
- func (x *UserModel) ForUpdate() *UserModel
- func (x *UserModel) ForUpdateNoWait() *UserModel
- func (x *UserModel) Get() (*UserModel, error)
- func (x *UserModel) GetAuthorModels() (*orm.Collection[*AuthorModel], error)
- func (x *UserModel) GetAvg() (float64, error)
- func (x *UserModel) GetCount() (int64, error)
- func (x *UserModel) GetName() string
- func (x *UserModel) GetQuery() (*orm.Statement, error)
- func (x *UserModel) GetReadTotal() any
- func (x *UserModel) GetSeq() int64
- func (x *UserModel) GetSum() (float64, error)
- func (x *UserModel) Gets() (*orm.Collection[*UserModel], error)
- func (x *UserModel) GetsCount() (*orm.GroupRows, error)
- func (x *UserModel) GetsPage(page, perPage int) (*orm.Page[*UserModel], error)
- func (x *UserModel) GroupByName() *UserModel
- func (x *UserModel) GroupBySeq() *UserModel
- func (x *UserModel) GroupLimit(n int) *UserModel
- func (x *UserModel) KeyNameName() *UserModel
- func (x *UserModel) KeyNameSeq() *UserModel
- func (x *UserModel) Limit(offset, count int) *UserModel
- func (x *UserModel) MarshalJSON() ([]byte, error)
- func (x *UserModel) MatchUserSeqWithSeq() *UserModel
- func (x *UserModel) MinusSeq(n int64) *UserModel
- func (x *UserModel) Name[T0 argStringEq](v0 T0) *UserModel
- func (x *UserModel) NeName[T0 argStringEq](v0 T0) *UserModel
- func (x *UserModel) Not(fn func(*UserModel)) *UserModel
- func (x *UserModel) On(fn func(*UserModel)) *UserModel
- func (x *UserModel) Or(args ...any) *UserModel
- func (x *UserModel) OrNot(fn func(*UserModel)) *UserModel
- func (x *UserModel) OrderByNameAsc(fn ...orm.Func) *UserModel
- func (x *UserModel) OrderByNameDesc(fn ...orm.Func) *UserModel
- func (x *UserModel) OrderByRandom() *UserModel
- func (x *UserModel) OrderBySeqAsc(fn ...orm.Func) *UserModel
- func (x *UserModel) OrderBySeqDesc(fn ...orm.Func) *UserModel
- func (x *UserModel) Orm_() *orm.Core
- func (x *UserModel) ParentNode() *UserModel
- func (x *UserModel) PlusSeq(n int64) *UserModel
- func (x *UserModel) Relation(child orm.Model) *UserModel
- func (x *UserModel) Relations(child orm.Model) *UserModel
- func (x *UserModel) RemoveAllColumns() *UserModel
- func (x *UserModel) RemoveColumnName() *UserModel
- func (x *UserModel) RemoveColumnSeq() *UserModel
- func (x *UserModel) Restore() (*UserModel, error)
- func (x *UserModel) Save() (*UserModel, error)
- func (x *UserModel) Seq[T0 argIntEq](v0 T0) *UserModel
- func (x *UserModel) SetName(v string) *UserModel
- func (x *UserModel) SetSeq(v int64) *UserModel
- func (x *UserModel) SumSeq() *UserModel
- func (x *UserModel) ToArray() map[string]any
- func (x *UserModel) Update(optimistic ...bool) (*UserModel, error)
Constants ¶
const ManifestHash = "sha256:27675b7fddd99bfdcb47f88bd4050552b25c1c345d84908a29b1b6d339d91322"
ManifestHash is the manifestHash of the document set the models were generated from.
const ManifestText = "dbspec 1 bench\n" +
"\n" +
"table author {\n" +
" seq i64 identity\n" +
" name varchar(191)\n" +
" description text null\n" +
" created_ts datetime(6) default now\n" +
" updated_ts datetime(6) default now\n" +
" is_close bool default false\n" +
" is_display bool default false\n" +
" display_start_dt datetime(6) null\n" +
" display_end_dt datetime(6) null\n" +
" is_allday bool default false\n" +
" target_club_reader_count i32 default 0\n" +
" success_count i32 default 0\n" +
" reader_count i32 default 0\n" +
" read_count i32 default 0\n" +
" photo_url varchar(191) null\n" +
" user_seq i64\n" +
" service_seq i64\n" +
" service_region_seq i64\n" +
" service_member_seq i64\n" +
" start_dt datetime(6)\n" +
" end_dt datetime(6)\n" +
" uuid varchar(36) null\n" +
" is_single_work bool default false\n" +
" like_count i32 default 0\n" +
" aes_key_version i32 default 1\n" +
" aes_hex_email varchar(255) null\n" +
" email_blind_index varchar(64) null\n" +
" aes_hex_phone varchar(255) null\n" +
" phone_blind_index varchar(64) null\n" +
" price decimal(13,3) null\n" +
" ip bytes null\n" +
" gz_extend bytes null\n" +
" json_setting text null\n" +
" jsons_tags text null\n" +
" base64_extra text null\n" +
" serialize_data text null\n" +
" primary key (seq)\n" +
" unique uq_author_uuid (uuid)\n" +
" index ik (service_region_seq, is_close, is_display, is_allday)\n" +
" index ix_author_service_member (service_member_seq)\n" +
" index ix_email_blind_index (email_blind_index)\n" +
" index ix_phone_blind_index (phone_blind_index)\n" +
" index ix_service (service_seq, is_close)\n" +
" index ix_user (user_seq, is_close)\n" +
" foreign key fk_author_service (service_seq) references service (seq) on delete restrict on update restrict\n" +
" foreign key fk_author_service_member (service_member_seq) references service_member (seq) on delete restrict on update restrict\n" +
" foreign key fk_author_service_region (service_region_seq) references service_region (seq) on delete restrict on update restrict\n" +
" foreign key fk_author_user (user_seq) references user (seq) on delete restrict on update restrict\n" +
" check ck_author_counts (target_club_reader_count >= 0 and success_count >= 0 and reader_count >= 0 and read_count >= 0 and like_count >= 0)\n" +
" settings {\n" +
" updated updated_ts\n" +
" select explicit description email_blind_index phone_blind_index ip gz_extend json_setting jsons_tags base64_extra serialize_data aes_key_version\n" +
" codec aes_hex_email aes hex\n" +
" codec aes_hex_phone aes hex\n" +
" codec base64_extra base64\n" +
" codec gz_extend gz\n" +
" codec ip ip\n" +
" codec json_setting ordered_json\n" +
" codec jsons_tags ordered_json\n" +
" codec serialize_data serialize\n" +
" aes_version aes_key_version\n" +
" blind_index aes_hex_email email_blind_index\n" +
" blind_index aes_hex_phone phone_blind_index\n" +
" }\n" +
"}\n" +
"\n" +
"table user {\n" +
" seq i64 identity\n" +
" name varchar(191)\n" +
" primary key (seq)\n" +
"}\n" +
"\n" +
"table service {\n" +
" seq i64 identity\n" +
" name varchar(191)\n" +
" primary key (seq)\n" +
"}\n" +
"\n" +
"table service_region {\n" +
" seq i64 identity\n" +
" service_seq i64\n" +
" name varchar(191)\n" +
" primary key (seq)\n" +
" index ix_service_region_service (service_seq)\n" +
" foreign key fk_service_region_service (service_seq) references service (seq) on delete restrict on update restrict\n" +
"}\n" +
"\n" +
"table service_member {\n" +
" seq i64 identity\n" +
" service_seq i64\n" +
" user_seq i64\n" +
" primary key (seq)\n" +
" index ix_service_member_service (service_seq)\n" +
" index ix_service_member_user (user_seq)\n" +
" foreign key fk_service_member_service (service_seq) references service (seq) on delete restrict on update restrict\n" +
" foreign key fk_service_member_user (user_seq) references user (seq) on delete restrict on update restrict\n" +
"}\n" +
"\n" +
"table composite_account {\n" +
" tenant_id i64\n" +
" account_id i64\n" +
" name varchar(191)\n" +
" primary key (tenant_id, account_id)\n" +
"}\n" +
"\n" +
"table composite_membership {\n" +
" tenant_id i64\n" +
" account_id i64\n" +
" role varchar(191)\n" +
" primary key (tenant_id, account_id)\n" +
" foreign key fk_composite_membership_account (tenant_id, account_id) references composite_account (tenant_id, account_id) on delete cascade on update restrict\n" +
" settings {\n" +
" navigation fk_composite_membership_account account memberships\n" +
" }\n" +
"}\n" +
"\n" +
"table soft_record {\n" +
" seq i64 identity\n" +
" name varchar(191)\n" +
" deleted_at datetime(6) null\n" +
" primary key (seq)\n" +
" settings {\n" +
" soft_delete deleted_at\n" +
" }\n" +
"}\n" +
"\n" +
"table account {\n" +
" seq i64 identity\n" +
" name varchar(191)\n" +
" primary key (seq)\n" +
"}\n" +
"\n" +
"table project {\n" +
" seq i64 identity\n" +
" name varchar(191)\n" +
" primary key (seq)\n" +
"}\n" +
"\n" +
"table account_project {\n" +
" account_seq i64\n" +
" project_seq i64\n" +
" primary key (account_seq, project_seq)\n" +
" index ix_account_project_project (project_seq)\n" +
" foreign key fk_account_project_account (account_seq) references account (seq) on delete restrict on update restrict\n" +
" foreign key fk_account_project_project (project_seq) references project (seq) on delete restrict on update restrict\n" +
"}\n" +
"\n" +
"table task {\n" +
" seq i64 identity\n" +
" title varchar(191)\n" +
" state varchar(8)\n" +
" primary key (seq)\n" +
" check ck_task_state (state in ('open', 'done'))\n" +
"}\n" +
"\n" +
"table hex_cell {\n" +
" seq i64 identity\n" +
" label varchar(32)\n" +
" value varchar(64) null\n" +
" primary key (seq)\n" +
" settings {\n" +
" codec value hex\n" +
" }\n" +
"}\n"
ManifestText is the manifest text of the document set the models were generated from.
Variables ¶
var Schema = &orm.Schema{Hash: ManifestHash, Text: ManifestText}
Schema is the generated schema value: the manifest text with its declared manifestHash. Install takes it to create the tables and register the set.
Functions ¶
Types ¶
type AccountModel ¶
type AccountModel struct {
// contains filtered or unexported fields
}
AccountModel is a account model or row.
func (*AccountModel) AddAllColumns ¶
func (x *AccountModel) AddAllColumns() *AccountModel
AddAllColumns selects every column.
func (*AccountModel) AddColumnName ¶
func (x *AccountModel) AddColumnName() *AccountModel
func (*AccountModel) AddColumnSeq ¶
func (x *AccountModel) AddColumnSeq() *AccountModel
func (*AccountModel) And ¶
func (x *AccountModel) And(args ...any) *AccountModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*AccountModel) AndNot ¶
func (x *AccountModel) AndNot(fn func(*AccountModel)) *AccountModel
AndNot opens a negated group joined with AND.
func (*AccountModel) AvgSeq ¶
func (x *AccountModel) AvgSeq() *AccountModel
func (*AccountModel) Connect ¶
func (x *AccountModel) Connect(db *orm.DB) *AccountModel
Connect sets the connection.
func (*AccountModel) Create ¶
func (x *AccountModel) Create() (*AccountModel, error)
Create inserts the row and returns the created row.
func (*AccountModel) Creates ¶
func (x *AccountModel) Creates(rows []*AccountModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*AccountModel) Delete ¶
func (x *AccountModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*AccountModel) DeleteLock ¶
func (x *AccountModel) DeleteLock() *AccountModel
DeleteLock excludes the relation from recursive delete.
func (*AccountModel) Duplication ¶
func (x *AccountModel) Duplication(m *AccountModel) *AccountModel
Duplication sets the duplicate-key update of the next Create.
func (*AccountModel) FetchKey ¶
func (x *AccountModel) FetchKey(fn func(*AccountModel) any) *AccountModel
FetchKey computes the collection key of each row.
func (*AccountModel) FetchValue ¶
func (x *AccountModel) FetchValue(fn func(*AccountModel) any) *AccountModel
FetchValue computes a value for each loaded row.
func (*AccountModel) ForShare ¶
func (x *AccountModel) ForShare() *AccountModel
ForShare locks the selected rows for share inside a transaction.
func (*AccountModel) ForShareNoWait ¶
func (x *AccountModel) ForShareNoWait() *AccountModel
ForShareNoWait locks for share without waiting.
func (*AccountModel) ForUpdate ¶
func (x *AccountModel) ForUpdate() *AccountModel
ForUpdate locks the selected rows for update inside a transaction.
func (*AccountModel) ForUpdateNoWait ¶
func (x *AccountModel) ForUpdateNoWait() *AccountModel
ForUpdateNoWait locks for update without waiting.
func (*AccountModel) Get ¶
func (x *AccountModel) Get() (*AccountModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*AccountModel) GetAvg ¶
func (x *AccountModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*AccountModel) GetBySeq ¶
func (x *AccountModel) GetBySeq[T0 argIntEq](v0 T0) (*AccountModel, error)
func (*AccountModel) GetCount ¶
func (x *AccountModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*AccountModel) GetLabel ¶
func (x *AccountModel) GetLabel() any
GetLabel returns the value attached with NewLabel.
func (*AccountModel) GetQuery ¶
func (x *AccountModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*AccountModel) GetSum ¶
func (x *AccountModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*AccountModel) Gets ¶
func (x *AccountModel) Gets() (*orm.Collection[*AccountModel], error)
Gets returns the matching rows.
func (*AccountModel) GetsCount ¶
func (x *AccountModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*AccountModel) GetsPage ¶
func (x *AccountModel) GetsPage(page, perPage int) (*orm.Page[*AccountModel], error)
GetsPage returns one page of matching rows.
func (*AccountModel) GroupByName ¶
func (x *AccountModel) GroupByName() *AccountModel
func (*AccountModel) GroupBySeq ¶
func (x *AccountModel) GroupBySeq() *AccountModel
func (*AccountModel) GroupLimit ¶
func (x *AccountModel) GroupLimit(n int) *AccountModel
GroupLimit limits related rows per parent.
func (*AccountModel) KeyNameName ¶
func (x *AccountModel) KeyNameName() *AccountModel
func (*AccountModel) KeyNameSeq ¶
func (x *AccountModel) KeyNameSeq() *AccountModel
func (*AccountModel) Limit ¶
func (x *AccountModel) Limit(offset, count int) *AccountModel
Limit sets the row range.
func (*AccountModel) MarshalJSON ¶
func (x *AccountModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*AccountModel) MinusSeq ¶
func (x *AccountModel) MinusSeq(n int64) *AccountModel
func (*AccountModel) NewLabel ¶
func (x *AccountModel) NewLabel(v any) *AccountModel
func (*AccountModel) Not ¶
func (x *AccountModel) Not(fn func(*AccountModel)) *AccountModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*AccountModel) On ¶
func (x *AccountModel) On(fn func(*AccountModel)) *AccountModel
On sets the join ON conditions.
func (*AccountModel) Or ¶
func (x *AccountModel) Or(args ...any) *AccountModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*AccountModel) OrNot ¶
func (x *AccountModel) OrNot(fn func(*AccountModel)) *AccountModel
OrNot opens a negated group joined with OR.
func (*AccountModel) OrderByNameAsc ¶
func (x *AccountModel) OrderByNameAsc(fn ...orm.Func) *AccountModel
func (*AccountModel) OrderByNameDesc ¶
func (x *AccountModel) OrderByNameDesc(fn ...orm.Func) *AccountModel
func (*AccountModel) OrderByRandom ¶
func (x *AccountModel) OrderByRandom() *AccountModel
OrderByRandom orders rows randomly.
func (*AccountModel) OrderBySeqAsc ¶
func (x *AccountModel) OrderBySeqAsc(fn ...orm.Func) *AccountModel
func (*AccountModel) OrderBySeqDesc ¶
func (x *AccountModel) OrderBySeqDesc(fn ...orm.Func) *AccountModel
func (*AccountModel) Orm_ ¶
func (x *AccountModel) Orm_() *orm.Core
func (*AccountModel) ParentNode ¶
func (x *AccountModel) ParentNode() *AccountModel
ParentNode merges the related row into the parent row.
func (*AccountModel) PlusSeq ¶
func (x *AccountModel) PlusSeq(n int64) *AccountModel
func (*AccountModel) Relation ¶
func (x *AccountModel) Relation(child orm.Model) *AccountModel
Relation attaches one related row loaded by a separate query.
func (*AccountModel) Relations ¶
func (x *AccountModel) Relations(child orm.Model) *AccountModel
Relations attaches related rows loaded by a separate query.
func (*AccountModel) RemoveAllColumns ¶
func (x *AccountModel) RemoveAllColumns() *AccountModel
RemoveAllColumns keeps only primary and foreign keys.
func (*AccountModel) RemoveColumnName ¶
func (x *AccountModel) RemoveColumnName() *AccountModel
func (*AccountModel) RemoveColumnSeq ¶
func (x *AccountModel) RemoveColumnSeq() *AccountModel
func (*AccountModel) Restore ¶
func (x *AccountModel) Restore() (*AccountModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*AccountModel) Save ¶
func (x *AccountModel) Save() (*AccountModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*AccountModel) Seq ¶
func (x *AccountModel) Seq[T0 argIntEq](v0 T0) *AccountModel
func (*AccountModel) SetName ¶
func (x *AccountModel) SetName(v string) *AccountModel
SetName sets name.
func (*AccountModel) SumSeq ¶
func (x *AccountModel) SumSeq() *AccountModel
func (*AccountModel) ToArray ¶
func (x *AccountModel) ToArray() map[string]any
ToArray returns the row values.
func (*AccountModel) Update ¶
func (x *AccountModel) Update(optimistic ...bool) (*AccountModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type AccountProjectAccountSeqWithProjectSeq ¶
AccountProjectAccountSeqWithProjectSeq is one value group of account_seq, project_seq.
type AccountProjectModel ¶
type AccountProjectModel struct {
// contains filtered or unexported fields
}
AccountProjectModel is a account_project model or row.
func AccountProject ¶
func AccountProject() *AccountProjectModel
AccountProject creates a account_project model.
func (*AccountProjectModel) AccountSeq ¶
func (x *AccountProjectModel) AccountSeq[T0 argIntEq](v0 T0) *AccountProjectModel
func (*AccountProjectModel) AddAllColumns ¶
func (x *AccountProjectModel) AddAllColumns() *AccountProjectModel
AddAllColumns selects every column.
func (*AccountProjectModel) AddColumnAccountSeq ¶
func (x *AccountProjectModel) AddColumnAccountSeq() *AccountProjectModel
func (*AccountProjectModel) AddColumnProjectSeq ¶
func (x *AccountProjectModel) AddColumnProjectSeq() *AccountProjectModel
func (*AccountProjectModel) And ¶
func (x *AccountProjectModel) And(args ...any) *AccountProjectModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*AccountProjectModel) AndNot ¶
func (x *AccountProjectModel) AndNot(fn func(*AccountProjectModel)) *AccountProjectModel
AndNot opens a negated group joined with AND.
func (*AccountProjectModel) AvgAccountSeq ¶
func (x *AccountProjectModel) AvgAccountSeq() *AccountProjectModel
func (*AccountProjectModel) AvgProjectSeq ¶
func (x *AccountProjectModel) AvgProjectSeq() *AccountProjectModel
func (*AccountProjectModel) Connect ¶
func (x *AccountProjectModel) Connect(db *orm.DB) *AccountProjectModel
Connect sets the connection.
func (*AccountProjectModel) Create ¶
func (x *AccountProjectModel) Create() (*AccountProjectModel, error)
Create inserts the row and returns the created row.
func (*AccountProjectModel) Creates ¶
func (x *AccountProjectModel) Creates(rows []*AccountProjectModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*AccountProjectModel) Delete ¶
func (x *AccountProjectModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*AccountProjectModel) DeleteLock ¶
func (x *AccountProjectModel) DeleteLock() *AccountProjectModel
DeleteLock excludes the relation from recursive delete.
func (*AccountProjectModel) Duplication ¶
func (x *AccountProjectModel) Duplication(m *AccountProjectModel) *AccountProjectModel
Duplication sets the duplicate-key update of the next Create.
func (*AccountProjectModel) FetchKey ¶
func (x *AccountProjectModel) FetchKey(fn func(*AccountProjectModel) any) *AccountProjectModel
FetchKey computes the collection key of each row.
func (*AccountProjectModel) FetchValue ¶
func (x *AccountProjectModel) FetchValue(fn func(*AccountProjectModel) any) *AccountProjectModel
FetchValue computes a value for each loaded row.
func (*AccountProjectModel) ForShare ¶
func (x *AccountProjectModel) ForShare() *AccountProjectModel
ForShare locks the selected rows for share inside a transaction.
func (*AccountProjectModel) ForShareNoWait ¶
func (x *AccountProjectModel) ForShareNoWait() *AccountProjectModel
ForShareNoWait locks for share without waiting.
func (*AccountProjectModel) ForUpdate ¶
func (x *AccountProjectModel) ForUpdate() *AccountProjectModel
ForUpdate locks the selected rows for update inside a transaction.
func (*AccountProjectModel) ForUpdateNoWait ¶
func (x *AccountProjectModel) ForUpdateNoWait() *AccountProjectModel
ForUpdateNoWait locks for update without waiting.
func (*AccountProjectModel) ForceIndexIxAccountProjectProject ¶
func (x *AccountProjectModel) ForceIndexIxAccountProjectProject() *AccountProjectModel
func (*AccountProjectModel) Get ¶
func (x *AccountProjectModel) Get() (*AccountProjectModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*AccountProjectModel) GetAccountSeq ¶
func (x *AccountProjectModel) GetAccountSeq() int64
GetAccountSeq returns account_seq.
func (*AccountProjectModel) GetAvg ¶
func (x *AccountProjectModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*AccountProjectModel) GetCount ¶
func (x *AccountProjectModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*AccountProjectModel) GetProjectSeq ¶
func (x *AccountProjectModel) GetProjectSeq() int64
GetProjectSeq returns project_seq.
func (*AccountProjectModel) GetQuery ¶
func (x *AccountProjectModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*AccountProjectModel) GetSum ¶
func (x *AccountProjectModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*AccountProjectModel) Gets ¶
func (x *AccountProjectModel) Gets() (*orm.Collection[*AccountProjectModel], error)
Gets returns the matching rows.
func (*AccountProjectModel) GetsCount ¶
func (x *AccountProjectModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*AccountProjectModel) GetsPage ¶
func (x *AccountProjectModel) GetsPage(page, perPage int) (*orm.Page[*AccountProjectModel], error)
GetsPage returns one page of matching rows.
func (*AccountProjectModel) GroupByAccountSeq ¶
func (x *AccountProjectModel) GroupByAccountSeq() *AccountProjectModel
func (*AccountProjectModel) GroupByProjectSeq ¶
func (x *AccountProjectModel) GroupByProjectSeq() *AccountProjectModel
func (*AccountProjectModel) GroupLimit ¶
func (x *AccountProjectModel) GroupLimit(n int) *AccountProjectModel
GroupLimit limits related rows per parent.
func (*AccountProjectModel) KeyNameAccountSeq ¶
func (x *AccountProjectModel) KeyNameAccountSeq() *AccountProjectModel
func (*AccountProjectModel) KeyNameProjectSeq ¶
func (x *AccountProjectModel) KeyNameProjectSeq() *AccountProjectModel
func (*AccountProjectModel) Limit ¶
func (x *AccountProjectModel) Limit(offset, count int) *AccountProjectModel
Limit sets the row range.
func (*AccountProjectModel) MarshalJSON ¶
func (x *AccountProjectModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*AccountProjectModel) MinusAccountSeq ¶
func (x *AccountProjectModel) MinusAccountSeq(n int64) *AccountProjectModel
func (*AccountProjectModel) MinusProjectSeq ¶
func (x *AccountProjectModel) MinusProjectSeq(n int64) *AccountProjectModel
func (*AccountProjectModel) Not ¶
func (x *AccountProjectModel) Not(fn func(*AccountProjectModel)) *AccountProjectModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*AccountProjectModel) On ¶
func (x *AccountProjectModel) On(fn func(*AccountProjectModel)) *AccountProjectModel
On sets the join ON conditions.
func (*AccountProjectModel) Or ¶
func (x *AccountProjectModel) Or(args ...any) *AccountProjectModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*AccountProjectModel) OrNot ¶
func (x *AccountProjectModel) OrNot(fn func(*AccountProjectModel)) *AccountProjectModel
OrNot opens a negated group joined with OR.
func (*AccountProjectModel) OrderByAccountSeqAsc ¶
func (x *AccountProjectModel) OrderByAccountSeqAsc(fn ...orm.Func) *AccountProjectModel
func (*AccountProjectModel) OrderByAccountSeqDesc ¶
func (x *AccountProjectModel) OrderByAccountSeqDesc(fn ...orm.Func) *AccountProjectModel
func (*AccountProjectModel) OrderByProjectSeqAsc ¶
func (x *AccountProjectModel) OrderByProjectSeqAsc(fn ...orm.Func) *AccountProjectModel
func (*AccountProjectModel) OrderByProjectSeqDesc ¶
func (x *AccountProjectModel) OrderByProjectSeqDesc(fn ...orm.Func) *AccountProjectModel
func (*AccountProjectModel) OrderByRandom ¶
func (x *AccountProjectModel) OrderByRandom() *AccountProjectModel
OrderByRandom orders rows randomly.
func (*AccountProjectModel) Orm_ ¶
func (x *AccountProjectModel) Orm_() *orm.Core
func (*AccountProjectModel) ParentNode ¶
func (x *AccountProjectModel) ParentNode() *AccountProjectModel
ParentNode merges the related row into the parent row.
func (*AccountProjectModel) PlusAccountSeq ¶
func (x *AccountProjectModel) PlusAccountSeq(n int64) *AccountProjectModel
func (*AccountProjectModel) PlusProjectSeq ¶
func (x *AccountProjectModel) PlusProjectSeq(n int64) *AccountProjectModel
func (*AccountProjectModel) ProjectSeq ¶
func (x *AccountProjectModel) ProjectSeq[T0 argIntEq](v0 T0) *AccountProjectModel
func (*AccountProjectModel) Relation ¶
func (x *AccountProjectModel) Relation(child orm.Model) *AccountProjectModel
Relation attaches one related row loaded by a separate query.
func (*AccountProjectModel) Relations ¶
func (x *AccountProjectModel) Relations(child orm.Model) *AccountProjectModel
Relations attaches related rows loaded by a separate query.
func (*AccountProjectModel) RemoveAllColumns ¶
func (x *AccountProjectModel) RemoveAllColumns() *AccountProjectModel
RemoveAllColumns keeps only primary and foreign keys.
func (*AccountProjectModel) RemoveColumnAccountSeq ¶
func (x *AccountProjectModel) RemoveColumnAccountSeq() *AccountProjectModel
func (*AccountProjectModel) RemoveColumnProjectSeq ¶
func (x *AccountProjectModel) RemoveColumnProjectSeq() *AccountProjectModel
func (*AccountProjectModel) Restore ¶
func (x *AccountProjectModel) Restore() (*AccountProjectModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*AccountProjectModel) Save ¶
func (x *AccountProjectModel) Save() (*AccountProjectModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*AccountProjectModel) SetAccountSeq ¶
func (x *AccountProjectModel) SetAccountSeq(v int64) *AccountProjectModel
SetAccountSeq sets account_seq.
func (*AccountProjectModel) SetProjectSeq ¶
func (x *AccountProjectModel) SetProjectSeq(v int64) *AccountProjectModel
SetProjectSeq sets project_seq.
func (*AccountProjectModel) SumAccountSeq ¶
func (x *AccountProjectModel) SumAccountSeq() *AccountProjectModel
func (*AccountProjectModel) SumProjectSeq ¶
func (x *AccountProjectModel) SumProjectSeq() *AccountProjectModel
func (*AccountProjectModel) ToArray ¶
func (x *AccountProjectModel) ToArray() map[string]any
ToArray returns the row values.
func (*AccountProjectModel) TupleAccountSeqWithProjectSeq ¶
func (x *AccountProjectModel) TupleAccountSeqWithProjectSeq(v0 []AccountProjectAccountSeqWithProjectSeq) *AccountProjectModel
func (*AccountProjectModel) Update ¶
func (x *AccountProjectModel) Update(optimistic ...bool) (*AccountProjectModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type AuthorModel ¶
type AuthorModel struct {
// contains filtered or unexported fields
}
AuthorModel is a author model or row.
func (*AuthorModel) AddAllColumns ¶
func (x *AuthorModel) AddAllColumns() *AuthorModel
AddAllColumns selects every column.
func (*AuthorModel) AddColumnAesHexEmail ¶
func (x *AuthorModel) AddColumnAesHexEmail() *AuthorModel
func (*AuthorModel) AddColumnAesHexPhone ¶
func (x *AuthorModel) AddColumnAesHexPhone() *AuthorModel
func (*AuthorModel) AddColumnAesKeyVersion ¶
func (x *AuthorModel) AddColumnAesKeyVersion() *AuthorModel
func (*AuthorModel) AddColumnBase64Extra ¶
func (x *AuthorModel) AddColumnBase64Extra() *AuthorModel
func (*AuthorModel) AddColumnCreatedTs ¶
func (x *AuthorModel) AddColumnCreatedTs() *AuthorModel
func (*AuthorModel) AddColumnDescription ¶
func (x *AuthorModel) AddColumnDescription() *AuthorModel
func (*AuthorModel) AddColumnDisplayEndDt ¶
func (x *AuthorModel) AddColumnDisplayEndDt() *AuthorModel
func (*AuthorModel) AddColumnDisplayStartDt ¶
func (x *AuthorModel) AddColumnDisplayStartDt() *AuthorModel
func (*AuthorModel) AddColumnEmailBlindIndex ¶
func (x *AuthorModel) AddColumnEmailBlindIndex() *AuthorModel
func (*AuthorModel) AddColumnEndDt ¶
func (x *AuthorModel) AddColumnEndDt() *AuthorModel
func (*AuthorModel) AddColumnGzExtend ¶
func (x *AuthorModel) AddColumnGzExtend() *AuthorModel
func (*AuthorModel) AddColumnIp ¶
func (x *AuthorModel) AddColumnIp() *AuthorModel
func (*AuthorModel) AddColumnIsAllday ¶
func (x *AuthorModel) AddColumnIsAllday() *AuthorModel
func (*AuthorModel) AddColumnIsClose ¶
func (x *AuthorModel) AddColumnIsClose() *AuthorModel
func (*AuthorModel) AddColumnIsDisplay ¶
func (x *AuthorModel) AddColumnIsDisplay() *AuthorModel
func (*AuthorModel) AddColumnIsSingleWork ¶
func (x *AuthorModel) AddColumnIsSingleWork() *AuthorModel
func (*AuthorModel) AddColumnJsonSetting ¶
func (x *AuthorModel) AddColumnJsonSetting() *AuthorModel
func (*AuthorModel) AddColumnJsonsTags ¶
func (x *AuthorModel) AddColumnJsonsTags() *AuthorModel
func (*AuthorModel) AddColumnLikeCount ¶
func (x *AuthorModel) AddColumnLikeCount() *AuthorModel
func (*AuthorModel) AddColumnName ¶
func (x *AuthorModel) AddColumnName() *AuthorModel
func (*AuthorModel) AddColumnPhoneBlindIndex ¶
func (x *AuthorModel) AddColumnPhoneBlindIndex() *AuthorModel
func (*AuthorModel) AddColumnPhotoUrl ¶
func (x *AuthorModel) AddColumnPhotoUrl() *AuthorModel
func (*AuthorModel) AddColumnPrice ¶
func (x *AuthorModel) AddColumnPrice() *AuthorModel
func (*AuthorModel) AddColumnReadCount ¶
func (x *AuthorModel) AddColumnReadCount() *AuthorModel
func (*AuthorModel) AddColumnReaderCount ¶
func (x *AuthorModel) AddColumnReaderCount() *AuthorModel
func (*AuthorModel) AddColumnSeq ¶
func (x *AuthorModel) AddColumnSeq() *AuthorModel
func (*AuthorModel) AddColumnSerializeData ¶
func (x *AuthorModel) AddColumnSerializeData() *AuthorModel
func (*AuthorModel) AddColumnServiceMemberSeq ¶
func (x *AuthorModel) AddColumnServiceMemberSeq() *AuthorModel
func (*AuthorModel) AddColumnServiceRegionSeq ¶
func (x *AuthorModel) AddColumnServiceRegionSeq() *AuthorModel
func (*AuthorModel) AddColumnServiceSeq ¶
func (x *AuthorModel) AddColumnServiceSeq() *AuthorModel
func (*AuthorModel) AddColumnStartDt ¶
func (x *AuthorModel) AddColumnStartDt() *AuthorModel
func (*AuthorModel) AddColumnStartDtAliasStartMonth ¶
func (x *AuthorModel) AddColumnStartDtAliasStartMonth(fn orm.Func) *AuthorModel
func (*AuthorModel) AddColumnStartDtAliasStartYear ¶
func (x *AuthorModel) AddColumnStartDtAliasStartYear(fn orm.Func) *AuthorModel
func (*AuthorModel) AddColumnSuccessCount ¶
func (x *AuthorModel) AddColumnSuccessCount() *AuthorModel
func (*AuthorModel) AddColumnTargetClubReaderCount ¶
func (x *AuthorModel) AddColumnTargetClubReaderCount() *AuthorModel
func (*AuthorModel) AddColumnUpdatedTs ¶
func (x *AuthorModel) AddColumnUpdatedTs() *AuthorModel
func (*AuthorModel) AddColumnUserSeq ¶
func (x *AuthorModel) AddColumnUserSeq() *AuthorModel
func (*AuthorModel) AddColumnUuid ¶
func (x *AuthorModel) AddColumnUuid() *AuthorModel
func (*AuthorModel) AesHexEmail ¶
func (x *AuthorModel) AesHexEmail[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) And ¶
func (x *AuthorModel) And(args ...any) *AuthorModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*AuthorModel) AndAesHexEmail ¶
func (x *AuthorModel) AndAesHexEmail[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) AndBetweenReadCount ¶
func (x *AuthorModel) AndBetweenReadCount[T0 argIntBetween](v0 T0) *AuthorModel
func (*AuthorModel) AndEqStartDt ¶
func (x *AuthorModel) AndEqStartDt[T0 argTimeEq](v0 T0, compared ...any) *AuthorModel
func (*AuthorModel) AndGeReadCount ¶
func (x *AuthorModel) AndGeReadCount[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) AndGtReadCount ¶
func (x *AuthorModel) AndGtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) AndGtStartDt ¶
func (x *AuthorModel) AndGtStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
func (*AuthorModel) AndIsClose ¶
func (x *AuthorModel) AndIsClose[T0 argBoolEq](v0 T0) *AuthorModel
func (*AuthorModel) AndLbName ¶
func (x *AuthorModel) AndLbName[T0 argStringLike](v0 T0) *AuthorModel
func (*AuthorModel) AndLeReadCount ¶
func (x *AuthorModel) AndLeReadCount[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) AndLkName ¶
func (x *AuthorModel) AndLkName[T0 argStringLike](v0 T0) *AuthorModel
func (*AuthorModel) AndLtDisplayStartDt ¶
func (x *AuthorModel) AndLtDisplayStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
func (*AuthorModel) AndLtReadCount ¶
func (x *AuthorModel) AndLtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) AndLtSeq ¶
func (x *AuthorModel) AndLtSeq[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) AndLtStartDt ¶
func (x *AuthorModel) AndLtStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
func (*AuthorModel) AndNeIsClose ¶
func (x *AuthorModel) AndNeIsClose[T0 argBoolEq](v0 T0) *AuthorModel
func (*AuthorModel) AndNePhotoUrl ¶
func (x *AuthorModel) AndNePhotoUrl[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) AndNeReadCount ¶
func (x *AuthorModel) AndNeReadCount[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) AndNot ¶
func (x *AuthorModel) AndNot(fn func(*AuthorModel)) *AuthorModel
AndNot opens a negated group joined with AND.
func (*AuthorModel) AndSeq ¶
func (x *AuthorModel) AndSeq[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) AndServiceSeq ¶
func (x *AuthorModel) AndServiceSeq[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) AndStartDt ¶
func (x *AuthorModel) AndStartDt[T0 argTimeEq](v0 T0, compared ...any) *AuthorModel
func (*AuthorModel) AndSuccessCountLtSeq ¶
func (x *AuthorModel) AndSuccessCountLtSeq[T0 hasSeq](v0 T0) *AuthorModel
func (*AuthorModel) AndUuid ¶
func (x *AuthorModel) AndUuid[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) AvgAesKeyVersion ¶
func (x *AuthorModel) AvgAesKeyVersion() *AuthorModel
func (*AuthorModel) AvgLikeCount ¶
func (x *AuthorModel) AvgLikeCount() *AuthorModel
func (*AuthorModel) AvgPrice ¶
func (x *AuthorModel) AvgPrice() *AuthorModel
func (*AuthorModel) AvgReadCount ¶
func (x *AuthorModel) AvgReadCount() *AuthorModel
func (*AuthorModel) AvgReaderCount ¶
func (x *AuthorModel) AvgReaderCount() *AuthorModel
func (*AuthorModel) AvgSeq ¶
func (x *AuthorModel) AvgSeq() *AuthorModel
func (*AuthorModel) AvgServiceMemberSeq ¶
func (x *AuthorModel) AvgServiceMemberSeq() *AuthorModel
func (*AuthorModel) AvgServiceRegionSeq ¶
func (x *AuthorModel) AvgServiceRegionSeq() *AuthorModel
func (*AuthorModel) AvgServiceSeq ¶
func (x *AuthorModel) AvgServiceSeq() *AuthorModel
func (*AuthorModel) AvgSuccessCount ¶
func (x *AuthorModel) AvgSuccessCount() *AuthorModel
func (*AuthorModel) AvgTargetClubReaderCount ¶
func (x *AuthorModel) AvgTargetClubReaderCount() *AuthorModel
func (*AuthorModel) AvgUserSeq ¶
func (x *AuthorModel) AvgUserSeq() *AuthorModel
func (*AuthorModel) BetweenReadCount ¶
func (x *AuthorModel) BetweenReadCount[T0 argIntBetween](v0 T0) *AuthorModel
func (*AuthorModel) Connect ¶
func (x *AuthorModel) Connect(db *orm.DB) *AuthorModel
Connect sets the connection.
func (*AuthorModel) Create ¶
func (x *AuthorModel) Create() (*AuthorModel, error)
Create inserts the row and returns the created row.
func (*AuthorModel) Creates ¶
func (x *AuthorModel) Creates(rows []*AuthorModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*AuthorModel) Delete ¶
func (x *AuthorModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*AuthorModel) DeleteLock ¶
func (x *AuthorModel) DeleteLock() *AuthorModel
DeleteLock excludes the relation from recursive delete.
func (*AuthorModel) Duplication ¶
func (x *AuthorModel) Duplication(m *AuthorModel) *AuthorModel
Duplication sets the duplicate-key update of the next Create.
func (*AuthorModel) EmailBlindIndex ¶
func (x *AuthorModel) EmailBlindIndex[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) FetchKey ¶
func (x *AuthorModel) FetchKey(fn func(*AuthorModel) any) *AuthorModel
FetchKey computes the collection key of each row.
func (*AuthorModel) FetchValue ¶
func (x *AuthorModel) FetchValue(fn func(*AuthorModel) any) *AuthorModel
FetchValue computes a value for each loaded row.
func (*AuthorModel) ForShare ¶
func (x *AuthorModel) ForShare() *AuthorModel
ForShare locks the selected rows for share inside a transaction.
func (*AuthorModel) ForShareNoWait ¶
func (x *AuthorModel) ForShareNoWait() *AuthorModel
ForShareNoWait locks for share without waiting.
func (*AuthorModel) ForUpdate ¶
func (x *AuthorModel) ForUpdate() *AuthorModel
ForUpdate locks the selected rows for update inside a transaction.
func (*AuthorModel) ForUpdateNoWait ¶
func (x *AuthorModel) ForUpdateNoWait() *AuthorModel
ForUpdateNoWait locks for update without waiting.
func (*AuthorModel) ForceIndexIk ¶
func (x *AuthorModel) ForceIndexIk() *AuthorModel
func (*AuthorModel) ForceIndexIxAuthorServiceMember ¶
func (x *AuthorModel) ForceIndexIxAuthorServiceMember() *AuthorModel
func (*AuthorModel) ForceIndexIxEmailBlindIndex ¶
func (x *AuthorModel) ForceIndexIxEmailBlindIndex() *AuthorModel
func (*AuthorModel) ForceIndexIxPhoneBlindIndex ¶
func (x *AuthorModel) ForceIndexIxPhoneBlindIndex() *AuthorModel
func (*AuthorModel) ForceIndexIxService ¶
func (x *AuthorModel) ForceIndexIxService() *AuthorModel
func (*AuthorModel) ForceIndexIxUser ¶
func (x *AuthorModel) ForceIndexIxUser() *AuthorModel
func (*AuthorModel) GeReadCount ¶
func (x *AuthorModel) GeReadCount[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) Get ¶
func (x *AuthorModel) Get() (*AuthorModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*AuthorModel) GetAesHexEmail ¶
func (x *AuthorModel) GetAesHexEmail() *string
GetAesHexEmail returns aes_hex_email.
func (*AuthorModel) GetAesHexPhone ¶
func (x *AuthorModel) GetAesHexPhone() *string
GetAesHexPhone returns aes_hex_phone.
func (*AuthorModel) GetAesKeyVersion ¶
func (x *AuthorModel) GetAesKeyVersion() int32
GetAesKeyVersion returns aes_key_version.
func (*AuthorModel) GetAvg ¶
func (x *AuthorModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*AuthorModel) GetBase64Extra ¶
func (x *AuthorModel) GetBase64Extra() (orm.StyledValue, error)
GetBase64Extra returns base64_extra.
func (*AuthorModel) GetByName ¶
func (x *AuthorModel) GetByName[T0 argStringEq](v0 T0) (*AuthorModel, error)
func (*AuthorModel) GetBySeq ¶
func (x *AuthorModel) GetBySeq[T0 argIntEq](v0 T0) (*AuthorModel, error)
func (*AuthorModel) GetCount ¶
func (x *AuthorModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*AuthorModel) GetCountByIsClose ¶
func (x *AuthorModel) GetCountByIsClose[T0 argBoolEq](v0 T0) (int64, error)
func (*AuthorModel) GetCountByServiceSeq ¶
func (x *AuthorModel) GetCountByServiceSeq[T0 argIntEq](v0 T0) (int64, error)
func (*AuthorModel) GetCreatedTs ¶
func (x *AuthorModel) GetCreatedTs() time.Time
GetCreatedTs returns created_ts.
func (*AuthorModel) GetDescription ¶
func (x *AuthorModel) GetDescription() *string
GetDescription returns description.
func (*AuthorModel) GetDisplayEndDt ¶
func (x *AuthorModel) GetDisplayEndDt() *time.Time
GetDisplayEndDt returns display_end_dt.
func (*AuthorModel) GetDisplayStartDt ¶
func (x *AuthorModel) GetDisplayStartDt() *time.Time
GetDisplayStartDt returns display_start_dt.
func (*AuthorModel) GetEmailBlindIndex ¶
func (x *AuthorModel) GetEmailBlindIndex() *string
GetEmailBlindIndex returns email_blind_index.
func (*AuthorModel) GetGzExtend ¶
func (x *AuthorModel) GetGzExtend() (orm.StyledValue, error)
GetGzExtend returns gz_extend.
func (*AuthorModel) GetIsAllday ¶
func (x *AuthorModel) GetIsAllday() bool
GetIsAllday returns is_allday.
func (*AuthorModel) GetIsClose ¶
func (x *AuthorModel) GetIsClose() bool
GetIsClose returns is_close.
func (*AuthorModel) GetIsDisplay ¶
func (x *AuthorModel) GetIsDisplay() bool
GetIsDisplay returns is_display.
func (*AuthorModel) GetIsSingleWork ¶
func (x *AuthorModel) GetIsSingleWork() bool
GetIsSingleWork returns is_single_work.
func (*AuthorModel) GetJsonSetting ¶
func (x *AuthorModel) GetJsonSetting() (orm.StyledValue, error)
GetJsonSetting returns json_setting.
func (*AuthorModel) GetJsonsTags ¶
func (x *AuthorModel) GetJsonsTags() (orm.StyledValue, error)
GetJsonsTags returns jsons_tags.
func (*AuthorModel) GetLabel ¶
func (x *AuthorModel) GetLabel() any
GetLabel returns the value attached with NewLabel.
func (*AuthorModel) GetLikeCount ¶
func (x *AuthorModel) GetLikeCount() int32
GetLikeCount returns like_count.
func (*AuthorModel) GetMembers ¶
func (x *AuthorModel) GetMembers() (*orm.Collection[*ServiceMemberModel], error)
GetMembers returns the service_member relation result.
func (*AuthorModel) GetModule ¶
func (x *AuthorModel) GetModule() (*ServiceRegionModel, error)
GetModule returns the service_region relation result.
func (*AuthorModel) GetOwner ¶
func (x *AuthorModel) GetOwner() (*UserModel, error)
GetOwner returns the user relation result.
func (*AuthorModel) GetOwnerService ¶
func (x *AuthorModel) GetOwnerService() (*ServiceModel, error)
GetOwnerService returns the service relation result.
func (*AuthorModel) GetPhoneBlindIndex ¶
func (x *AuthorModel) GetPhoneBlindIndex() *string
GetPhoneBlindIndex returns phone_blind_index.
func (*AuthorModel) GetPhotoUrl ¶
func (x *AuthorModel) GetPhotoUrl() *string
GetPhotoUrl returns photo_url.
func (*AuthorModel) GetQuery ¶
func (x *AuthorModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*AuthorModel) GetReadCount ¶
func (x *AuthorModel) GetReadCount() int32
GetReadCount returns read_count.
func (*AuthorModel) GetReaderCount ¶
func (x *AuthorModel) GetReaderCount() int32
GetReaderCount returns reader_count.
func (*AuthorModel) GetSerializeData ¶
func (x *AuthorModel) GetSerializeData() (orm.StyledValue, error)
GetSerializeData returns serialize_data.
func (*AuthorModel) GetServiceMemberModel ¶
func (x *AuthorModel) GetServiceMemberModel() (*ServiceMemberModel, error)
GetServiceMemberModel returns the service_member relation result.
func (*AuthorModel) GetServiceMemberModels ¶
func (x *AuthorModel) GetServiceMemberModels() (*orm.Collection[*ServiceMemberModel], error)
GetServiceMemberModels returns the service_member relation result.
func (*AuthorModel) GetServiceMemberSeq ¶
func (x *AuthorModel) GetServiceMemberSeq() int64
GetServiceMemberSeq returns service_member_seq.
func (*AuthorModel) GetServiceModel ¶
func (x *AuthorModel) GetServiceModel() (*ServiceModel, error)
GetServiceModel returns the service relation result.
func (*AuthorModel) GetServiceRegionModel ¶
func (x *AuthorModel) GetServiceRegionModel() (*ServiceRegionModel, error)
GetServiceRegionModel returns the service_region relation result.
func (*AuthorModel) GetServiceRegionSeq ¶
func (x *AuthorModel) GetServiceRegionSeq() int64
GetServiceRegionSeq returns service_region_seq.
func (*AuthorModel) GetServiceSeq ¶
func (x *AuthorModel) GetServiceSeq() int64
GetServiceSeq returns service_seq.
func (*AuthorModel) GetStartDt ¶
func (x *AuthorModel) GetStartDt() time.Time
GetStartDt returns start_dt.
func (*AuthorModel) GetStartMonth ¶
func (x *AuthorModel) GetStartMonth() any
GetStartMonth returns the column added with AddColumnStartDtAliasStartMonth.
func (*AuthorModel) GetStartYear ¶
func (x *AuthorModel) GetStartYear() any
GetStartYear returns the column added with AddColumnStartDtAliasStartYear.
func (*AuthorModel) GetSuccessCount ¶
func (x *AuthorModel) GetSuccessCount() int32
GetSuccessCount returns success_count.
func (*AuthorModel) GetSum ¶
func (x *AuthorModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*AuthorModel) GetTargetClubReaderCount ¶
func (x *AuthorModel) GetTargetClubReaderCount() int32
GetTargetClubReaderCount returns target_club_reader_count.
func (*AuthorModel) GetUpdatedTs ¶
func (x *AuthorModel) GetUpdatedTs() time.Time
GetUpdatedTs returns updated_ts.
func (*AuthorModel) GetUserModel ¶
func (x *AuthorModel) GetUserModel() (*UserModel, error)
GetUserModel returns the user relation result.
func (*AuthorModel) GetUserSeq ¶
func (x *AuthorModel) GetUserSeq() int64
GetUserSeq returns user_seq.
func (*AuthorModel) GetWriter ¶
func (x *AuthorModel) GetWriter() (*UserModel, error)
GetWriter returns the user relation result.
func (*AuthorModel) Gets ¶
func (x *AuthorModel) Gets() (*orm.Collection[*AuthorModel], error)
Gets returns the matching rows.
func (*AuthorModel) GetsBySeq ¶
func (x *AuthorModel) GetsBySeq[T0 argIntEq](v0 T0) (*orm.Collection[*AuthorModel], error)
func (*AuthorModel) GetsBySeqAndNeName ¶
func (x *AuthorModel) GetsBySeqAndNeName[T0 argIntEq, T1 argStringEq](v0 T0, v1 T1) (*orm.Collection[*AuthorModel], error)
func (*AuthorModel) GetsByServiceSeqAndIsClose ¶
func (x *AuthorModel) GetsByServiceSeqAndIsClose[T0 argIntEq, T1 argBoolEq](v0 T0, v1 T1) (*orm.Collection[*AuthorModel], error)
func (*AuthorModel) GetsCount ¶
func (x *AuthorModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*AuthorModel) GetsPage ¶
func (x *AuthorModel) GetsPage(page, perPage int) (*orm.Page[*AuthorModel], error)
GetsPage returns one page of matching rows.
func (*AuthorModel) GroupByAesHexEmail ¶
func (x *AuthorModel) GroupByAesHexEmail() *AuthorModel
func (*AuthorModel) GroupByAesHexPhone ¶
func (x *AuthorModel) GroupByAesHexPhone() *AuthorModel
func (*AuthorModel) GroupByAesKeyVersion ¶
func (x *AuthorModel) GroupByAesKeyVersion() *AuthorModel
func (*AuthorModel) GroupByBase64Extra ¶
func (x *AuthorModel) GroupByBase64Extra() *AuthorModel
func (*AuthorModel) GroupByCreatedTs ¶
func (x *AuthorModel) GroupByCreatedTs() *AuthorModel
func (*AuthorModel) GroupByDescription ¶
func (x *AuthorModel) GroupByDescription() *AuthorModel
func (*AuthorModel) GroupByDisplayEndDt ¶
func (x *AuthorModel) GroupByDisplayEndDt() *AuthorModel
func (*AuthorModel) GroupByDisplayStartDt ¶
func (x *AuthorModel) GroupByDisplayStartDt() *AuthorModel
func (*AuthorModel) GroupByEmailBlindIndex ¶
func (x *AuthorModel) GroupByEmailBlindIndex() *AuthorModel
func (*AuthorModel) GroupByEndDt ¶
func (x *AuthorModel) GroupByEndDt() *AuthorModel
func (*AuthorModel) GroupByGzExtend ¶
func (x *AuthorModel) GroupByGzExtend() *AuthorModel
func (*AuthorModel) GroupByIp ¶
func (x *AuthorModel) GroupByIp() *AuthorModel
func (*AuthorModel) GroupByIsAllday ¶
func (x *AuthorModel) GroupByIsAllday() *AuthorModel
func (*AuthorModel) GroupByIsClose ¶
func (x *AuthorModel) GroupByIsClose() *AuthorModel
func (*AuthorModel) GroupByIsDisplay ¶
func (x *AuthorModel) GroupByIsDisplay() *AuthorModel
func (*AuthorModel) GroupByIsSingleWork ¶
func (x *AuthorModel) GroupByIsSingleWork() *AuthorModel
func (*AuthorModel) GroupByJsonSetting ¶
func (x *AuthorModel) GroupByJsonSetting() *AuthorModel
func (*AuthorModel) GroupByJsonsTags ¶
func (x *AuthorModel) GroupByJsonsTags() *AuthorModel
func (*AuthorModel) GroupByLikeCount ¶
func (x *AuthorModel) GroupByLikeCount() *AuthorModel
func (*AuthorModel) GroupByName ¶
func (x *AuthorModel) GroupByName() *AuthorModel
func (*AuthorModel) GroupByPhoneBlindIndex ¶
func (x *AuthorModel) GroupByPhoneBlindIndex() *AuthorModel
func (*AuthorModel) GroupByPhotoUrl ¶
func (x *AuthorModel) GroupByPhotoUrl() *AuthorModel
func (*AuthorModel) GroupByPrice ¶
func (x *AuthorModel) GroupByPrice() *AuthorModel
func (*AuthorModel) GroupByReadCount ¶
func (x *AuthorModel) GroupByReadCount() *AuthorModel
func (*AuthorModel) GroupByReaderCount ¶
func (x *AuthorModel) GroupByReaderCount() *AuthorModel
func (*AuthorModel) GroupBySeq ¶
func (x *AuthorModel) GroupBySeq() *AuthorModel
func (*AuthorModel) GroupBySerializeData ¶
func (x *AuthorModel) GroupBySerializeData() *AuthorModel
func (*AuthorModel) GroupByServiceMemberSeq ¶
func (x *AuthorModel) GroupByServiceMemberSeq() *AuthorModel
func (*AuthorModel) GroupByServiceRegionSeq ¶
func (x *AuthorModel) GroupByServiceRegionSeq() *AuthorModel
func (*AuthorModel) GroupByServiceSeq ¶
func (x *AuthorModel) GroupByServiceSeq() *AuthorModel
func (*AuthorModel) GroupByStartDt ¶
func (x *AuthorModel) GroupByStartDt() *AuthorModel
func (*AuthorModel) GroupBySuccessCount ¶
func (x *AuthorModel) GroupBySuccessCount() *AuthorModel
func (*AuthorModel) GroupByTargetClubReaderCount ¶
func (x *AuthorModel) GroupByTargetClubReaderCount() *AuthorModel
func (*AuthorModel) GroupByUpdatedTs ¶
func (x *AuthorModel) GroupByUpdatedTs() *AuthorModel
func (*AuthorModel) GroupByUserSeq ¶
func (x *AuthorModel) GroupByUserSeq() *AuthorModel
func (*AuthorModel) GroupByUuid ¶
func (x *AuthorModel) GroupByUuid() *AuthorModel
func (*AuthorModel) GroupLimit ¶
func (x *AuthorModel) GroupLimit(n int) *AuthorModel
GroupLimit limits related rows per parent.
func (*AuthorModel) GtStartDt ¶
func (x *AuthorModel) GtStartDt[T0 argTimeCmp](v0 T0, compared ...any) *AuthorModel
func (*AuthorModel) IsClose ¶
func (x *AuthorModel) IsClose[T0 argBoolEq](v0 T0) *AuthorModel
func (*AuthorModel) IsDisplay ¶
func (x *AuthorModel) IsDisplay[T0 argBoolEq](v0 T0) *AuthorModel
func (*AuthorModel) JoinServiceMemberSeqWithSeq ¶
func (x *AuthorModel) JoinServiceMemberSeqWithSeq[C hasSeq](child C) *AuthorModel
func (*AuthorModel) JoinServiceSeqWithSeq ¶
func (x *AuthorModel) JoinServiceSeqWithSeq[C hasSeq](child C) *AuthorModel
func (*AuthorModel) JoinUserSeqWithSeq ¶
func (x *AuthorModel) JoinUserSeqWithSeq[C hasSeq](child C) *AuthorModel
func (*AuthorModel) KeyNameAesHexEmail ¶
func (x *AuthorModel) KeyNameAesHexEmail() *AuthorModel
func (*AuthorModel) KeyNameAesHexPhone ¶
func (x *AuthorModel) KeyNameAesHexPhone() *AuthorModel
func (*AuthorModel) KeyNameAesKeyVersion ¶
func (x *AuthorModel) KeyNameAesKeyVersion() *AuthorModel
func (*AuthorModel) KeyNameBase64Extra ¶
func (x *AuthorModel) KeyNameBase64Extra() *AuthorModel
func (*AuthorModel) KeyNameCreatedTs ¶
func (x *AuthorModel) KeyNameCreatedTs() *AuthorModel
func (*AuthorModel) KeyNameDescription ¶
func (x *AuthorModel) KeyNameDescription() *AuthorModel
func (*AuthorModel) KeyNameDisplayEndDt ¶
func (x *AuthorModel) KeyNameDisplayEndDt() *AuthorModel
func (*AuthorModel) KeyNameDisplayStartDt ¶
func (x *AuthorModel) KeyNameDisplayStartDt() *AuthorModel
func (*AuthorModel) KeyNameEmailBlindIndex ¶
func (x *AuthorModel) KeyNameEmailBlindIndex() *AuthorModel
func (*AuthorModel) KeyNameEndDt ¶
func (x *AuthorModel) KeyNameEndDt() *AuthorModel
func (*AuthorModel) KeyNameGzExtend ¶
func (x *AuthorModel) KeyNameGzExtend() *AuthorModel
func (*AuthorModel) KeyNameIp ¶
func (x *AuthorModel) KeyNameIp() *AuthorModel
func (*AuthorModel) KeyNameIsAllday ¶
func (x *AuthorModel) KeyNameIsAllday() *AuthorModel
func (*AuthorModel) KeyNameIsClose ¶
func (x *AuthorModel) KeyNameIsClose() *AuthorModel
func (*AuthorModel) KeyNameIsDisplay ¶
func (x *AuthorModel) KeyNameIsDisplay() *AuthorModel
func (*AuthorModel) KeyNameIsSingleWork ¶
func (x *AuthorModel) KeyNameIsSingleWork() *AuthorModel
func (*AuthorModel) KeyNameJsonSetting ¶
func (x *AuthorModel) KeyNameJsonSetting() *AuthorModel
func (*AuthorModel) KeyNameJsonsTags ¶
func (x *AuthorModel) KeyNameJsonsTags() *AuthorModel
func (*AuthorModel) KeyNameLikeCount ¶
func (x *AuthorModel) KeyNameLikeCount() *AuthorModel
func (*AuthorModel) KeyNameName ¶
func (x *AuthorModel) KeyNameName() *AuthorModel
func (*AuthorModel) KeyNamePhoneBlindIndex ¶
func (x *AuthorModel) KeyNamePhoneBlindIndex() *AuthorModel
func (*AuthorModel) KeyNamePhotoUrl ¶
func (x *AuthorModel) KeyNamePhotoUrl() *AuthorModel
func (*AuthorModel) KeyNamePrice ¶
func (x *AuthorModel) KeyNamePrice() *AuthorModel
func (*AuthorModel) KeyNameReadCount ¶
func (x *AuthorModel) KeyNameReadCount() *AuthorModel
func (*AuthorModel) KeyNameReaderCount ¶
func (x *AuthorModel) KeyNameReaderCount() *AuthorModel
func (*AuthorModel) KeyNameSeq ¶
func (x *AuthorModel) KeyNameSeq() *AuthorModel
func (*AuthorModel) KeyNameSerializeData ¶
func (x *AuthorModel) KeyNameSerializeData() *AuthorModel
func (*AuthorModel) KeyNameServiceMemberSeq ¶
func (x *AuthorModel) KeyNameServiceMemberSeq() *AuthorModel
func (*AuthorModel) KeyNameServiceRegionSeq ¶
func (x *AuthorModel) KeyNameServiceRegionSeq() *AuthorModel
func (*AuthorModel) KeyNameServiceSeq ¶
func (x *AuthorModel) KeyNameServiceSeq() *AuthorModel
func (*AuthorModel) KeyNameStartDt ¶
func (x *AuthorModel) KeyNameStartDt() *AuthorModel
func (*AuthorModel) KeyNameSuccessCount ¶
func (x *AuthorModel) KeyNameSuccessCount() *AuthorModel
func (*AuthorModel) KeyNameTargetClubReaderCount ¶
func (x *AuthorModel) KeyNameTargetClubReaderCount() *AuthorModel
func (*AuthorModel) KeyNameUpdatedTs ¶
func (x *AuthorModel) KeyNameUpdatedTs() *AuthorModel
func (*AuthorModel) KeyNameUserSeq ¶
func (x *AuthorModel) KeyNameUserSeq() *AuthorModel
func (*AuthorModel) KeyNameUuid ¶
func (x *AuthorModel) KeyNameUuid() *AuthorModel
func (*AuthorModel) LeftJoinServiceRegionSeqWithSeq ¶
func (x *AuthorModel) LeftJoinServiceRegionSeqWithSeq[C hasSeq](child C) *AuthorModel
func (*AuthorModel) LeftJoinUserSeqWithSeq ¶
func (x *AuthorModel) LeftJoinUserSeqWithSeq[C hasSeq](child C) *AuthorModel
func (*AuthorModel) Limit ¶
func (x *AuthorModel) Limit(offset, count int) *AuthorModel
Limit sets the row range.
func (*AuthorModel) LtReadCount ¶
func (x *AuthorModel) LtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) MarshalJSON ¶
func (x *AuthorModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*AuthorModel) MatchSeqWithUserSeq ¶
func (x *AuthorModel) MatchSeqWithUserSeq() *AuthorModel
func (*AuthorModel) MinusAesKeyVersion ¶
func (x *AuthorModel) MinusAesKeyVersion(n int32) *AuthorModel
func (*AuthorModel) MinusLikeCount ¶
func (x *AuthorModel) MinusLikeCount(n int32) *AuthorModel
func (*AuthorModel) MinusPrice ¶
func (x *AuthorModel) MinusPrice(n string) *AuthorModel
func (*AuthorModel) MinusReadCount ¶
func (x *AuthorModel) MinusReadCount(n int32) *AuthorModel
func (*AuthorModel) MinusReaderCount ¶
func (x *AuthorModel) MinusReaderCount(n int32) *AuthorModel
func (*AuthorModel) MinusSeq ¶
func (x *AuthorModel) MinusSeq(n int64) *AuthorModel
func (*AuthorModel) MinusServiceMemberSeq ¶
func (x *AuthorModel) MinusServiceMemberSeq(n int64) *AuthorModel
func (*AuthorModel) MinusServiceRegionSeq ¶
func (x *AuthorModel) MinusServiceRegionSeq(n int64) *AuthorModel
func (*AuthorModel) MinusServiceSeq ¶
func (x *AuthorModel) MinusServiceSeq(n int64) *AuthorModel
func (*AuthorModel) MinusSuccessCount ¶
func (x *AuthorModel) MinusSuccessCount(n int32) *AuthorModel
func (*AuthorModel) MinusTargetClubReaderCount ¶
func (x *AuthorModel) MinusTargetClubReaderCount(n int32) *AuthorModel
func (*AuthorModel) MinusUserSeq ¶
func (x *AuthorModel) MinusUserSeq(n int64) *AuthorModel
func (*AuthorModel) Name ¶
func (x *AuthorModel) Name[T0 argStringEq](v0 T0) *AuthorModel
func (*AuthorModel) NePhotoUrl ¶
func (x *AuthorModel) NePhotoUrl[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) NewLabel ¶
func (x *AuthorModel) NewLabel(v any) *AuthorModel
func (*AuthorModel) Not ¶
func (x *AuthorModel) Not(fn func(*AuthorModel)) *AuthorModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*AuthorModel) On ¶
func (x *AuthorModel) On(fn func(*AuthorModel)) *AuthorModel
On sets the join ON conditions.
func (*AuthorModel) Or ¶
func (x *AuthorModel) Or(args ...any) *AuthorModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*AuthorModel) OrGtReadCount ¶
func (x *AuthorModel) OrGtReadCount[T0 argIntCmp](v0 T0) *AuthorModel
func (*AuthorModel) OrIsClose ¶
func (x *AuthorModel) OrIsClose[T0 argBoolEq](v0 T0) *AuthorModel
func (*AuthorModel) OrNot ¶
func (x *AuthorModel) OrNot(fn func(*AuthorModel)) *AuthorModel
OrNot opens a negated group joined with OR.
func (*AuthorModel) OrderByAesHexEmailAsc ¶
func (x *AuthorModel) OrderByAesHexEmailAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByAesHexEmailDesc ¶
func (x *AuthorModel) OrderByAesHexEmailDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByAesHexPhoneAsc ¶
func (x *AuthorModel) OrderByAesHexPhoneAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByAesHexPhoneDesc ¶
func (x *AuthorModel) OrderByAesHexPhoneDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByAesKeyVersionAsc ¶
func (x *AuthorModel) OrderByAesKeyVersionAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByAesKeyVersionDesc ¶
func (x *AuthorModel) OrderByAesKeyVersionDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByBase64ExtraAsc ¶
func (x *AuthorModel) OrderByBase64ExtraAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByBase64ExtraDesc ¶
func (x *AuthorModel) OrderByBase64ExtraDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByCreatedTsAsc ¶
func (x *AuthorModel) OrderByCreatedTsAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByCreatedTsDesc ¶
func (x *AuthorModel) OrderByCreatedTsDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByDescriptionAsc ¶
func (x *AuthorModel) OrderByDescriptionAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByDescriptionDesc ¶
func (x *AuthorModel) OrderByDescriptionDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByDisplayEndDtAsc ¶
func (x *AuthorModel) OrderByDisplayEndDtAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByDisplayEndDtDesc ¶
func (x *AuthorModel) OrderByDisplayEndDtDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByDisplayStartDtAsc ¶
func (x *AuthorModel) OrderByDisplayStartDtAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByDisplayStartDtDesc ¶
func (x *AuthorModel) OrderByDisplayStartDtDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByEmailBlindIndexAsc ¶
func (x *AuthorModel) OrderByEmailBlindIndexAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByEmailBlindIndexDesc ¶
func (x *AuthorModel) OrderByEmailBlindIndexDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByEndDtAsc ¶
func (x *AuthorModel) OrderByEndDtAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByEndDtDesc ¶
func (x *AuthorModel) OrderByEndDtDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByGzExtendAsc ¶
func (x *AuthorModel) OrderByGzExtendAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByGzExtendDesc ¶
func (x *AuthorModel) OrderByGzExtendDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIpAsc ¶
func (x *AuthorModel) OrderByIpAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIpDesc ¶
func (x *AuthorModel) OrderByIpDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsAlldayAsc ¶
func (x *AuthorModel) OrderByIsAlldayAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsAlldayDesc ¶
func (x *AuthorModel) OrderByIsAlldayDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsCloseAsc ¶
func (x *AuthorModel) OrderByIsCloseAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsCloseDesc ¶
func (x *AuthorModel) OrderByIsCloseDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsDisplayAsc ¶
func (x *AuthorModel) OrderByIsDisplayAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsDisplayDesc ¶
func (x *AuthorModel) OrderByIsDisplayDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsSingleWorkAsc ¶
func (x *AuthorModel) OrderByIsSingleWorkAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByIsSingleWorkDesc ¶
func (x *AuthorModel) OrderByIsSingleWorkDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByJsonSettingAsc ¶
func (x *AuthorModel) OrderByJsonSettingAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByJsonSettingDesc ¶
func (x *AuthorModel) OrderByJsonSettingDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByJsonsTagsAsc ¶
func (x *AuthorModel) OrderByJsonsTagsAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByJsonsTagsDesc ¶
func (x *AuthorModel) OrderByJsonsTagsDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByLikeCountAsc ¶
func (x *AuthorModel) OrderByLikeCountAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByLikeCountDesc ¶
func (x *AuthorModel) OrderByLikeCountDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByNameAsc ¶
func (x *AuthorModel) OrderByNameAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByNameDesc ¶
func (x *AuthorModel) OrderByNameDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByPhoneBlindIndexAsc ¶
func (x *AuthorModel) OrderByPhoneBlindIndexAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByPhoneBlindIndexDesc ¶
func (x *AuthorModel) OrderByPhoneBlindIndexDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByPhotoUrlAsc ¶
func (x *AuthorModel) OrderByPhotoUrlAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByPhotoUrlDesc ¶
func (x *AuthorModel) OrderByPhotoUrlDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByPriceAsc ¶
func (x *AuthorModel) OrderByPriceAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByPriceDesc ¶
func (x *AuthorModel) OrderByPriceDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByRandom ¶
func (x *AuthorModel) OrderByRandom() *AuthorModel
OrderByRandom orders rows randomly.
func (*AuthorModel) OrderByReadCountAsc ¶
func (x *AuthorModel) OrderByReadCountAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByReadCountDesc ¶
func (x *AuthorModel) OrderByReadCountDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByReadCountDescAndSeqAsc ¶
func (x *AuthorModel) OrderByReadCountDescAndSeqAsc() *AuthorModel
func (*AuthorModel) OrderByReaderCountAsc ¶
func (x *AuthorModel) OrderByReaderCountAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByReaderCountDesc ¶
func (x *AuthorModel) OrderByReaderCountDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderBySeqAsc ¶
func (x *AuthorModel) OrderBySeqAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderBySeqDesc ¶
func (x *AuthorModel) OrderBySeqDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderBySerializeDataAsc ¶
func (x *AuthorModel) OrderBySerializeDataAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderBySerializeDataDesc ¶
func (x *AuthorModel) OrderBySerializeDataDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByServiceMemberSeqAsc ¶
func (x *AuthorModel) OrderByServiceMemberSeqAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByServiceMemberSeqDesc ¶
func (x *AuthorModel) OrderByServiceMemberSeqDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByServiceRegionSeqAsc ¶
func (x *AuthorModel) OrderByServiceRegionSeqAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByServiceRegionSeqDesc ¶
func (x *AuthorModel) OrderByServiceRegionSeqDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByServiceSeqAsc ¶
func (x *AuthorModel) OrderByServiceSeqAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByServiceSeqDesc ¶
func (x *AuthorModel) OrderByServiceSeqDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByStartDtAsc ¶
func (x *AuthorModel) OrderByStartDtAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByStartDtDesc ¶
func (x *AuthorModel) OrderByStartDtDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderBySuccessCountAsc ¶
func (x *AuthorModel) OrderBySuccessCountAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderBySuccessCountDesc ¶
func (x *AuthorModel) OrderBySuccessCountDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByTargetClubReaderCountAsc ¶
func (x *AuthorModel) OrderByTargetClubReaderCountAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByTargetClubReaderCountDesc ¶
func (x *AuthorModel) OrderByTargetClubReaderCountDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByUpdatedTsAsc ¶
func (x *AuthorModel) OrderByUpdatedTsAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByUpdatedTsDesc ¶
func (x *AuthorModel) OrderByUpdatedTsDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByUserSeqAsc ¶
func (x *AuthorModel) OrderByUserSeqAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByUserSeqDesc ¶
func (x *AuthorModel) OrderByUserSeqDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByUuidAsc ¶
func (x *AuthorModel) OrderByUuidAsc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) OrderByUuidDesc ¶
func (x *AuthorModel) OrderByUuidDesc(fn ...orm.Func) *AuthorModel
func (*AuthorModel) Orm_ ¶
func (x *AuthorModel) Orm_() *orm.Core
func (*AuthorModel) ParentNode ¶
func (x *AuthorModel) ParentNode() *AuthorModel
ParentNode merges the related row into the parent row.
func (*AuthorModel) PhoneBlindIndex ¶
func (x *AuthorModel) PhoneBlindIndex[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) PhotoUrl ¶
func (x *AuthorModel) PhotoUrl[T0 argStringEqNull](v0 T0) *AuthorModel
func (*AuthorModel) PlusAesKeyVersion ¶
func (x *AuthorModel) PlusAesKeyVersion(n int32) *AuthorModel
func (*AuthorModel) PlusLikeCount ¶
func (x *AuthorModel) PlusLikeCount(n int32) *AuthorModel
func (*AuthorModel) PlusPrice ¶
func (x *AuthorModel) PlusPrice(n string) *AuthorModel
func (*AuthorModel) PlusReadCount ¶
func (x *AuthorModel) PlusReadCount(n int32) *AuthorModel
func (*AuthorModel) PlusReaderCount ¶
func (x *AuthorModel) PlusReaderCount(n int32) *AuthorModel
func (*AuthorModel) PlusSeq ¶
func (x *AuthorModel) PlusSeq(n int64) *AuthorModel
func (*AuthorModel) PlusServiceMemberSeq ¶
func (x *AuthorModel) PlusServiceMemberSeq(n int64) *AuthorModel
func (*AuthorModel) PlusServiceRegionSeq ¶
func (x *AuthorModel) PlusServiceRegionSeq(n int64) *AuthorModel
func (*AuthorModel) PlusServiceSeq ¶
func (x *AuthorModel) PlusServiceSeq(n int64) *AuthorModel
func (*AuthorModel) PlusSuccessCount ¶
func (x *AuthorModel) PlusSuccessCount(n int32) *AuthorModel
func (*AuthorModel) PlusTargetClubReaderCount ¶
func (x *AuthorModel) PlusTargetClubReaderCount(n int32) *AuthorModel
func (*AuthorModel) PlusUserSeq ¶
func (x *AuthorModel) PlusUserSeq(n int64) *AuthorModel
func (*AuthorModel) ReadCount ¶
func (x *AuthorModel) ReadCount[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) ReadCountGtSeq ¶
func (x *AuthorModel) ReadCountGtSeq[T0 hasSeq](v0 T0) *AuthorModel
func (*AuthorModel) Relation ¶
func (x *AuthorModel) Relation(child orm.Model) *AuthorModel
Relation attaches one related row loaded by a separate query.
func (*AuthorModel) Relations ¶
func (x *AuthorModel) Relations(child orm.Model) *AuthorModel
Relations attaches related rows loaded by a separate query.
func (*AuthorModel) RemoveAllColumns ¶
func (x *AuthorModel) RemoveAllColumns() *AuthorModel
RemoveAllColumns keeps only primary and foreign keys.
func (*AuthorModel) RemoveColumnAesHexEmail ¶
func (x *AuthorModel) RemoveColumnAesHexEmail() *AuthorModel
func (*AuthorModel) RemoveColumnAesHexPhone ¶
func (x *AuthorModel) RemoveColumnAesHexPhone() *AuthorModel
func (*AuthorModel) RemoveColumnAesKeyVersion ¶
func (x *AuthorModel) RemoveColumnAesKeyVersion() *AuthorModel
func (*AuthorModel) RemoveColumnBase64Extra ¶
func (x *AuthorModel) RemoveColumnBase64Extra() *AuthorModel
func (*AuthorModel) RemoveColumnCreatedTs ¶
func (x *AuthorModel) RemoveColumnCreatedTs() *AuthorModel
func (*AuthorModel) RemoveColumnDescription ¶
func (x *AuthorModel) RemoveColumnDescription() *AuthorModel
func (*AuthorModel) RemoveColumnDisplayEndDt ¶
func (x *AuthorModel) RemoveColumnDisplayEndDt() *AuthorModel
func (*AuthorModel) RemoveColumnDisplayStartDt ¶
func (x *AuthorModel) RemoveColumnDisplayStartDt() *AuthorModel
func (*AuthorModel) RemoveColumnEmailBlindIndex ¶
func (x *AuthorModel) RemoveColumnEmailBlindIndex() *AuthorModel
func (*AuthorModel) RemoveColumnEndDt ¶
func (x *AuthorModel) RemoveColumnEndDt() *AuthorModel
func (*AuthorModel) RemoveColumnGzExtend ¶
func (x *AuthorModel) RemoveColumnGzExtend() *AuthorModel
func (*AuthorModel) RemoveColumnIp ¶
func (x *AuthorModel) RemoveColumnIp() *AuthorModel
func (*AuthorModel) RemoveColumnIsAllday ¶
func (x *AuthorModel) RemoveColumnIsAllday() *AuthorModel
func (*AuthorModel) RemoveColumnIsClose ¶
func (x *AuthorModel) RemoveColumnIsClose() *AuthorModel
func (*AuthorModel) RemoveColumnIsDisplay ¶
func (x *AuthorModel) RemoveColumnIsDisplay() *AuthorModel
func (*AuthorModel) RemoveColumnIsSingleWork ¶
func (x *AuthorModel) RemoveColumnIsSingleWork() *AuthorModel
func (*AuthorModel) RemoveColumnJsonSetting ¶
func (x *AuthorModel) RemoveColumnJsonSetting() *AuthorModel
func (*AuthorModel) RemoveColumnJsonsTags ¶
func (x *AuthorModel) RemoveColumnJsonsTags() *AuthorModel
func (*AuthorModel) RemoveColumnLikeCount ¶
func (x *AuthorModel) RemoveColumnLikeCount() *AuthorModel
func (*AuthorModel) RemoveColumnName ¶
func (x *AuthorModel) RemoveColumnName() *AuthorModel
func (*AuthorModel) RemoveColumnPhoneBlindIndex ¶
func (x *AuthorModel) RemoveColumnPhoneBlindIndex() *AuthorModel
func (*AuthorModel) RemoveColumnPhotoUrl ¶
func (x *AuthorModel) RemoveColumnPhotoUrl() *AuthorModel
func (*AuthorModel) RemoveColumnPrice ¶
func (x *AuthorModel) RemoveColumnPrice() *AuthorModel
func (*AuthorModel) RemoveColumnReadCount ¶
func (x *AuthorModel) RemoveColumnReadCount() *AuthorModel
func (*AuthorModel) RemoveColumnReaderCount ¶
func (x *AuthorModel) RemoveColumnReaderCount() *AuthorModel
func (*AuthorModel) RemoveColumnSeq ¶
func (x *AuthorModel) RemoveColumnSeq() *AuthorModel
func (*AuthorModel) RemoveColumnSerializeData ¶
func (x *AuthorModel) RemoveColumnSerializeData() *AuthorModel
func (*AuthorModel) RemoveColumnServiceMemberSeq ¶
func (x *AuthorModel) RemoveColumnServiceMemberSeq() *AuthorModel
func (*AuthorModel) RemoveColumnServiceRegionSeq ¶
func (x *AuthorModel) RemoveColumnServiceRegionSeq() *AuthorModel
func (*AuthorModel) RemoveColumnServiceSeq ¶
func (x *AuthorModel) RemoveColumnServiceSeq() *AuthorModel
func (*AuthorModel) RemoveColumnStartDt ¶
func (x *AuthorModel) RemoveColumnStartDt() *AuthorModel
func (*AuthorModel) RemoveColumnSuccessCount ¶
func (x *AuthorModel) RemoveColumnSuccessCount() *AuthorModel
func (*AuthorModel) RemoveColumnTargetClubReaderCount ¶
func (x *AuthorModel) RemoveColumnTargetClubReaderCount() *AuthorModel
func (*AuthorModel) RemoveColumnUpdatedTs ¶
func (x *AuthorModel) RemoveColumnUpdatedTs() *AuthorModel
func (*AuthorModel) RemoveColumnUserSeq ¶
func (x *AuthorModel) RemoveColumnUserSeq() *AuthorModel
func (*AuthorModel) RemoveColumnUuid ¶
func (x *AuthorModel) RemoveColumnUuid() *AuthorModel
func (*AuthorModel) Restore ¶
func (x *AuthorModel) Restore() (*AuthorModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*AuthorModel) Save ¶
func (x *AuthorModel) Save() (*AuthorModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*AuthorModel) Seq ¶
func (x *AuthorModel) Seq[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) ServiceMemberSeq ¶
func (x *AuthorModel) ServiceMemberSeq[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) ServiceRegionSeq ¶
func (x *AuthorModel) ServiceRegionSeq[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) ServiceSeq ¶
func (x *AuthorModel) ServiceSeq[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) SetAesHexEmail ¶
func (x *AuthorModel) SetAesHexEmail(v *string) *AuthorModel
SetAesHexEmail sets aes_hex_email; nil stores NULL.
func (*AuthorModel) SetAesHexPhone ¶
func (x *AuthorModel) SetAesHexPhone(v *string) *AuthorModel
SetAesHexPhone sets aes_hex_phone; nil stores NULL.
func (*AuthorModel) SetAesKeyVersion ¶
func (x *AuthorModel) SetAesKeyVersion(v int32) *AuthorModel
SetAesKeyVersion sets aes_key_version.
func (*AuthorModel) SetBase64Extra ¶
func (x *AuthorModel) SetBase64Extra(v orm.StyledValue) (*AuthorModel, error)
SetBase64Extra sets base64_extra.
func (*AuthorModel) SetCreatedTs ¶
func (x *AuthorModel) SetCreatedTs(v time.Time) *AuthorModel
SetCreatedTs sets created_ts.
func (*AuthorModel) SetDescription ¶
func (x *AuthorModel) SetDescription(v *string) *AuthorModel
SetDescription sets description; nil stores NULL.
func (*AuthorModel) SetDisplayEndDt ¶
func (x *AuthorModel) SetDisplayEndDt(v *time.Time) *AuthorModel
SetDisplayEndDt sets display_end_dt; nil stores NULL.
func (*AuthorModel) SetDisplayStartDt ¶
func (x *AuthorModel) SetDisplayStartDt(v *time.Time) *AuthorModel
SetDisplayStartDt sets display_start_dt; nil stores NULL.
func (*AuthorModel) SetEmailBlindIndex ¶
func (x *AuthorModel) SetEmailBlindIndex(v *string) *AuthorModel
SetEmailBlindIndex sets email_blind_index; nil stores NULL.
func (*AuthorModel) SetEndDt ¶
func (x *AuthorModel) SetEndDt(v time.Time) *AuthorModel
SetEndDt sets end_dt.
func (*AuthorModel) SetGzExtend ¶
func (x *AuthorModel) SetGzExtend(v orm.StyledValue) (*AuthorModel, error)
SetGzExtend sets gz_extend.
func (*AuthorModel) SetIp ¶
func (x *AuthorModel) SetIp(v *string) *AuthorModel
SetIp sets ip; nil stores NULL.
func (*AuthorModel) SetIsAllday ¶
func (x *AuthorModel) SetIsAllday(v bool) *AuthorModel
SetIsAllday sets is_allday.
func (*AuthorModel) SetIsClose ¶
func (x *AuthorModel) SetIsClose(v bool) *AuthorModel
SetIsClose sets is_close.
func (*AuthorModel) SetIsDisplay ¶
func (x *AuthorModel) SetIsDisplay(v bool) *AuthorModel
SetIsDisplay sets is_display.
func (*AuthorModel) SetIsSingleWork ¶
func (x *AuthorModel) SetIsSingleWork(v bool) *AuthorModel
SetIsSingleWork sets is_single_work.
func (*AuthorModel) SetJsonSetting ¶
func (x *AuthorModel) SetJsonSetting(v orm.StyledValue) (*AuthorModel, error)
SetJsonSetting sets json_setting.
func (*AuthorModel) SetJsonsTags ¶
func (x *AuthorModel) SetJsonsTags(v orm.StyledValue) (*AuthorModel, error)
SetJsonsTags sets jsons_tags.
func (*AuthorModel) SetLikeCount ¶
func (x *AuthorModel) SetLikeCount(v int32) *AuthorModel
SetLikeCount sets like_count.
func (*AuthorModel) SetName ¶
func (x *AuthorModel) SetName(v string) *AuthorModel
SetName sets name.
func (*AuthorModel) SetPhoneBlindIndex ¶
func (x *AuthorModel) SetPhoneBlindIndex(v *string) *AuthorModel
SetPhoneBlindIndex sets phone_blind_index; nil stores NULL.
func (*AuthorModel) SetPhotoUrl ¶
func (x *AuthorModel) SetPhotoUrl(v *string) *AuthorModel
SetPhotoUrl sets photo_url; nil stores NULL.
func (*AuthorModel) SetPrice ¶
func (x *AuthorModel) SetPrice(v *string) (*AuthorModel, error)
SetPrice sets price after exact decimal validation.
func (*AuthorModel) SetReadCount ¶
func (x *AuthorModel) SetReadCount(v int32) *AuthorModel
SetReadCount sets read_count.
func (*AuthorModel) SetReaderCount ¶
func (x *AuthorModel) SetReaderCount(v int32) *AuthorModel
SetReaderCount sets reader_count.
func (*AuthorModel) SetSerializeData ¶
func (x *AuthorModel) SetSerializeData(v orm.StyledValue) (*AuthorModel, error)
SetSerializeData sets serialize_data.
func (*AuthorModel) SetServiceMemberSeq ¶
func (x *AuthorModel) SetServiceMemberSeq(v int64) *AuthorModel
SetServiceMemberSeq sets service_member_seq.
func (*AuthorModel) SetServiceRegionSeq ¶
func (x *AuthorModel) SetServiceRegionSeq(v int64) *AuthorModel
SetServiceRegionSeq sets service_region_seq.
func (*AuthorModel) SetServiceSeq ¶
func (x *AuthorModel) SetServiceSeq(v int64) *AuthorModel
SetServiceSeq sets service_seq.
func (*AuthorModel) SetStartDt ¶
func (x *AuthorModel) SetStartDt(v time.Time) *AuthorModel
SetStartDt sets start_dt.
func (*AuthorModel) SetSuccessCount ¶
func (x *AuthorModel) SetSuccessCount(v int32) *AuthorModel
SetSuccessCount sets success_count.
func (*AuthorModel) SetTargetClubReaderCount ¶
func (x *AuthorModel) SetTargetClubReaderCount(v int32) *AuthorModel
SetTargetClubReaderCount sets target_club_reader_count.
func (*AuthorModel) SetUpdatedTs ¶
func (x *AuthorModel) SetUpdatedTs(v time.Time) *AuthorModel
SetUpdatedTs sets updated_ts.
func (*AuthorModel) SetUserSeq ¶
func (x *AuthorModel) SetUserSeq(v int64) *AuthorModel
SetUserSeq sets user_seq.
func (*AuthorModel) SetUuid ¶
func (x *AuthorModel) SetUuid(v *string) *AuthorModel
SetUuid sets uuid; nil stores NULL.
func (*AuthorModel) SumAesKeyVersion ¶
func (x *AuthorModel) SumAesKeyVersion() *AuthorModel
func (*AuthorModel) SumLikeCount ¶
func (x *AuthorModel) SumLikeCount() *AuthorModel
func (*AuthorModel) SumPrice ¶
func (x *AuthorModel) SumPrice() *AuthorModel
func (*AuthorModel) SumReadCount ¶
func (x *AuthorModel) SumReadCount() *AuthorModel
func (*AuthorModel) SumReaderCount ¶
func (x *AuthorModel) SumReaderCount() *AuthorModel
func (*AuthorModel) SumSeq ¶
func (x *AuthorModel) SumSeq() *AuthorModel
func (*AuthorModel) SumServiceMemberSeq ¶
func (x *AuthorModel) SumServiceMemberSeq() *AuthorModel
func (*AuthorModel) SumServiceRegionSeq ¶
func (x *AuthorModel) SumServiceRegionSeq() *AuthorModel
func (*AuthorModel) SumServiceSeq ¶
func (x *AuthorModel) SumServiceSeq() *AuthorModel
func (*AuthorModel) SumSuccessCount ¶
func (x *AuthorModel) SumSuccessCount() *AuthorModel
func (*AuthorModel) SumTargetClubReaderCount ¶
func (x *AuthorModel) SumTargetClubReaderCount() *AuthorModel
func (*AuthorModel) SumUserSeq ¶
func (x *AuthorModel) SumUserSeq() *AuthorModel
func (*AuthorModel) ToArray ¶
func (x *AuthorModel) ToArray() map[string]any
ToArray returns the row values.
func (*AuthorModel) Update ¶
func (x *AuthorModel) Update(optimistic ...bool) (*AuthorModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
func (*AuthorModel) UserSeq ¶
func (x *AuthorModel) UserSeq[T0 argIntEq](v0 T0) *AuthorModel
func (*AuthorModel) UserSeqEqSeq ¶
func (x *AuthorModel) UserSeqEqSeq[T0 hasSeq](v0 T0) *AuthorModel
func (*AuthorModel) Uuid ¶
func (x *AuthorModel) Uuid[T0 argStringEqNull](v0 T0) *AuthorModel
type CompositeAccountModel ¶
type CompositeAccountModel struct {
// contains filtered or unexported fields
}
CompositeAccountModel is a composite_account model or row.
func CompositeAccount ¶
func CompositeAccount() *CompositeAccountModel
CompositeAccount creates a composite_account model.
func (*CompositeAccountModel) AddAllColumns ¶
func (x *CompositeAccountModel) AddAllColumns() *CompositeAccountModel
AddAllColumns selects every column.
func (*CompositeAccountModel) AddColumnAccountId ¶
func (x *CompositeAccountModel) AddColumnAccountId() *CompositeAccountModel
func (*CompositeAccountModel) AddColumnName ¶
func (x *CompositeAccountModel) AddColumnName() *CompositeAccountModel
func (*CompositeAccountModel) AddColumnTenantId ¶
func (x *CompositeAccountModel) AddColumnTenantId() *CompositeAccountModel
func (*CompositeAccountModel) And ¶
func (x *CompositeAccountModel) And(args ...any) *CompositeAccountModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*CompositeAccountModel) AndNot ¶
func (x *CompositeAccountModel) AndNot(fn func(*CompositeAccountModel)) *CompositeAccountModel
AndNot opens a negated group joined with AND.
func (*CompositeAccountModel) AvgAccountId ¶
func (x *CompositeAccountModel) AvgAccountId() *CompositeAccountModel
func (*CompositeAccountModel) AvgTenantId ¶
func (x *CompositeAccountModel) AvgTenantId() *CompositeAccountModel
func (*CompositeAccountModel) Connect ¶
func (x *CompositeAccountModel) Connect(db *orm.DB) *CompositeAccountModel
Connect sets the connection.
func (*CompositeAccountModel) Create ¶
func (x *CompositeAccountModel) Create() (*CompositeAccountModel, error)
Create inserts the row and returns the created row.
func (*CompositeAccountModel) Creates ¶
func (x *CompositeAccountModel) Creates(rows []*CompositeAccountModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*CompositeAccountModel) Delete ¶
func (x *CompositeAccountModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*CompositeAccountModel) DeleteLock ¶
func (x *CompositeAccountModel) DeleteLock() *CompositeAccountModel
DeleteLock excludes the relation from recursive delete.
func (*CompositeAccountModel) Duplication ¶
func (x *CompositeAccountModel) Duplication(m *CompositeAccountModel) *CompositeAccountModel
Duplication sets the duplicate-key update of the next Create.
func (*CompositeAccountModel) FetchKey ¶
func (x *CompositeAccountModel) FetchKey(fn func(*CompositeAccountModel) any) *CompositeAccountModel
FetchKey computes the collection key of each row.
func (*CompositeAccountModel) FetchValue ¶
func (x *CompositeAccountModel) FetchValue(fn func(*CompositeAccountModel) any) *CompositeAccountModel
FetchValue computes a value for each loaded row.
func (*CompositeAccountModel) ForShare ¶
func (x *CompositeAccountModel) ForShare() *CompositeAccountModel
ForShare locks the selected rows for share inside a transaction.
func (*CompositeAccountModel) ForShareNoWait ¶
func (x *CompositeAccountModel) ForShareNoWait() *CompositeAccountModel
ForShareNoWait locks for share without waiting.
func (*CompositeAccountModel) ForUpdate ¶
func (x *CompositeAccountModel) ForUpdate() *CompositeAccountModel
ForUpdate locks the selected rows for update inside a transaction.
func (*CompositeAccountModel) ForUpdateNoWait ¶
func (x *CompositeAccountModel) ForUpdateNoWait() *CompositeAccountModel
ForUpdateNoWait locks for update without waiting.
func (*CompositeAccountModel) Get ¶
func (x *CompositeAccountModel) Get() (*CompositeAccountModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*CompositeAccountModel) GetAccountId ¶
func (x *CompositeAccountModel) GetAccountId() int64
GetAccountId returns account_id.
func (*CompositeAccountModel) GetAvg ¶
func (x *CompositeAccountModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*CompositeAccountModel) GetByTenantIdAndAccountId ¶
func (x *CompositeAccountModel) GetByTenantIdAndAccountId[T0 argIntEq, T1 argIntEq](v0 T0, v1 T1) (*CompositeAccountModel, error)
func (*CompositeAccountModel) GetCount ¶
func (x *CompositeAccountModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*CompositeAccountModel) GetMemberships ¶
func (x *CompositeAccountModel) GetMemberships() (*orm.Collection[*CompositeMembershipModel], error)
GetMemberships returns the composite_membership relation result.
func (*CompositeAccountModel) GetName ¶
func (x *CompositeAccountModel) GetName() string
GetName returns name.
func (*CompositeAccountModel) GetQuery ¶
func (x *CompositeAccountModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*CompositeAccountModel) GetSum ¶
func (x *CompositeAccountModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*CompositeAccountModel) GetTenantId ¶
func (x *CompositeAccountModel) GetTenantId() int64
GetTenantId returns tenant_id.
func (*CompositeAccountModel) Gets ¶
func (x *CompositeAccountModel) Gets() (*orm.Collection[*CompositeAccountModel], error)
Gets returns the matching rows.
func (*CompositeAccountModel) GetsCount ¶
func (x *CompositeAccountModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*CompositeAccountModel) GetsPage ¶
func (x *CompositeAccountModel) GetsPage(page, perPage int) (*orm.Page[*CompositeAccountModel], error)
GetsPage returns one page of matching rows.
func (*CompositeAccountModel) GroupByAccountId ¶
func (x *CompositeAccountModel) GroupByAccountId() *CompositeAccountModel
func (*CompositeAccountModel) GroupByName ¶
func (x *CompositeAccountModel) GroupByName() *CompositeAccountModel
func (*CompositeAccountModel) GroupByTenantId ¶
func (x *CompositeAccountModel) GroupByTenantId() *CompositeAccountModel
func (*CompositeAccountModel) GroupLimit ¶
func (x *CompositeAccountModel) GroupLimit(n int) *CompositeAccountModel
GroupLimit limits related rows per parent.
func (*CompositeAccountModel) KeyNameAccountId ¶
func (x *CompositeAccountModel) KeyNameAccountId() *CompositeAccountModel
func (*CompositeAccountModel) KeyNameName ¶
func (x *CompositeAccountModel) KeyNameName() *CompositeAccountModel
func (*CompositeAccountModel) KeyNameTenantId ¶
func (x *CompositeAccountModel) KeyNameTenantId() *CompositeAccountModel
func (*CompositeAccountModel) Limit ¶
func (x *CompositeAccountModel) Limit(offset, count int) *CompositeAccountModel
Limit sets the row range.
func (*CompositeAccountModel) MarshalJSON ¶
func (x *CompositeAccountModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*CompositeAccountModel) MinusAccountId ¶
func (x *CompositeAccountModel) MinusAccountId(n int64) *CompositeAccountModel
func (*CompositeAccountModel) MinusTenantId ¶
func (x *CompositeAccountModel) MinusTenantId(n int64) *CompositeAccountModel
func (*CompositeAccountModel) Not ¶
func (x *CompositeAccountModel) Not(fn func(*CompositeAccountModel)) *CompositeAccountModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*CompositeAccountModel) On ¶
func (x *CompositeAccountModel) On(fn func(*CompositeAccountModel)) *CompositeAccountModel
On sets the join ON conditions.
func (*CompositeAccountModel) Or ¶
func (x *CompositeAccountModel) Or(args ...any) *CompositeAccountModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*CompositeAccountModel) OrNot ¶
func (x *CompositeAccountModel) OrNot(fn func(*CompositeAccountModel)) *CompositeAccountModel
OrNot opens a negated group joined with OR.
func (*CompositeAccountModel) OrderByAccountIdAsc ¶
func (x *CompositeAccountModel) OrderByAccountIdAsc(fn ...orm.Func) *CompositeAccountModel
func (*CompositeAccountModel) OrderByAccountIdDesc ¶
func (x *CompositeAccountModel) OrderByAccountIdDesc(fn ...orm.Func) *CompositeAccountModel
func (*CompositeAccountModel) OrderByNameAsc ¶
func (x *CompositeAccountModel) OrderByNameAsc(fn ...orm.Func) *CompositeAccountModel
func (*CompositeAccountModel) OrderByNameDesc ¶
func (x *CompositeAccountModel) OrderByNameDesc(fn ...orm.Func) *CompositeAccountModel
func (*CompositeAccountModel) OrderByRandom ¶
func (x *CompositeAccountModel) OrderByRandom() *CompositeAccountModel
OrderByRandom orders rows randomly.
func (*CompositeAccountModel) OrderByTenantIdAsc ¶
func (x *CompositeAccountModel) OrderByTenantIdAsc(fn ...orm.Func) *CompositeAccountModel
func (*CompositeAccountModel) OrderByTenantIdDesc ¶
func (x *CompositeAccountModel) OrderByTenantIdDesc(fn ...orm.Func) *CompositeAccountModel
func (*CompositeAccountModel) Orm_ ¶
func (x *CompositeAccountModel) Orm_() *orm.Core
func (*CompositeAccountModel) ParentNode ¶
func (x *CompositeAccountModel) ParentNode() *CompositeAccountModel
ParentNode merges the related row into the parent row.
func (*CompositeAccountModel) PlusAccountId ¶
func (x *CompositeAccountModel) PlusAccountId(n int64) *CompositeAccountModel
func (*CompositeAccountModel) PlusTenantId ¶
func (x *CompositeAccountModel) PlusTenantId(n int64) *CompositeAccountModel
func (*CompositeAccountModel) Relation ¶
func (x *CompositeAccountModel) Relation(child orm.Model) *CompositeAccountModel
Relation attaches one related row loaded by a separate query.
func (*CompositeAccountModel) Relations ¶
func (x *CompositeAccountModel) Relations(child orm.Model) *CompositeAccountModel
Relations attaches related rows loaded by a separate query.
func (*CompositeAccountModel) RemoveAllColumns ¶
func (x *CompositeAccountModel) RemoveAllColumns() *CompositeAccountModel
RemoveAllColumns keeps only primary and foreign keys.
func (*CompositeAccountModel) RemoveColumnAccountId ¶
func (x *CompositeAccountModel) RemoveColumnAccountId() *CompositeAccountModel
func (*CompositeAccountModel) RemoveColumnName ¶
func (x *CompositeAccountModel) RemoveColumnName() *CompositeAccountModel
func (*CompositeAccountModel) RemoveColumnTenantId ¶
func (x *CompositeAccountModel) RemoveColumnTenantId() *CompositeAccountModel
func (*CompositeAccountModel) Restore ¶
func (x *CompositeAccountModel) Restore() (*CompositeAccountModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*CompositeAccountModel) Save ¶
func (x *CompositeAccountModel) Save() (*CompositeAccountModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*CompositeAccountModel) SetAccountId ¶
func (x *CompositeAccountModel) SetAccountId(v int64) *CompositeAccountModel
SetAccountId sets account_id.
func (*CompositeAccountModel) SetName ¶
func (x *CompositeAccountModel) SetName(v string) *CompositeAccountModel
SetName sets name.
func (*CompositeAccountModel) SetTenantId ¶
func (x *CompositeAccountModel) SetTenantId(v int64) *CompositeAccountModel
SetTenantId sets tenant_id.
func (*CompositeAccountModel) SumAccountId ¶
func (x *CompositeAccountModel) SumAccountId() *CompositeAccountModel
func (*CompositeAccountModel) SumTenantId ¶
func (x *CompositeAccountModel) SumTenantId() *CompositeAccountModel
func (*CompositeAccountModel) TenantId ¶
func (x *CompositeAccountModel) TenantId[T0 argIntEq](v0 T0) *CompositeAccountModel
func (*CompositeAccountModel) ToArray ¶
func (x *CompositeAccountModel) ToArray() map[string]any
ToArray returns the row values.
func (*CompositeAccountModel) TupleTenantIdWithAccountId ¶
func (x *CompositeAccountModel) TupleTenantIdWithAccountId(v0 []CompositeAccountTenantIdWithAccountId) *CompositeAccountModel
func (*CompositeAccountModel) Update ¶
func (x *CompositeAccountModel) Update(optimistic ...bool) (*CompositeAccountModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type CompositeAccountTenantIdWithAccountId ¶
CompositeAccountTenantIdWithAccountId is one value group of tenant_id, account_id.
type CompositeMembershipModel ¶
type CompositeMembershipModel struct {
// contains filtered or unexported fields
}
CompositeMembershipModel is a composite_membership model or row.
func CompositeMembership ¶
func CompositeMembership() *CompositeMembershipModel
CompositeMembership creates a composite_membership model.
func (*CompositeMembershipModel) AddAllColumns ¶
func (x *CompositeMembershipModel) AddAllColumns() *CompositeMembershipModel
AddAllColumns selects every column.
func (*CompositeMembershipModel) AddColumnAccountId ¶
func (x *CompositeMembershipModel) AddColumnAccountId() *CompositeMembershipModel
func (*CompositeMembershipModel) AddColumnRole ¶
func (x *CompositeMembershipModel) AddColumnRole() *CompositeMembershipModel
func (*CompositeMembershipModel) AddColumnTenantId ¶
func (x *CompositeMembershipModel) AddColumnTenantId() *CompositeMembershipModel
func (*CompositeMembershipModel) AliasMemberships ¶
func (x *CompositeMembershipModel) AliasMemberships() *CompositeMembershipModel
func (*CompositeMembershipModel) And ¶
func (x *CompositeMembershipModel) And(args ...any) *CompositeMembershipModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*CompositeMembershipModel) AndNot ¶
func (x *CompositeMembershipModel) AndNot(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
AndNot opens a negated group joined with AND.
func (*CompositeMembershipModel) AvgAccountId ¶
func (x *CompositeMembershipModel) AvgAccountId() *CompositeMembershipModel
func (*CompositeMembershipModel) AvgTenantId ¶
func (x *CompositeMembershipModel) AvgTenantId() *CompositeMembershipModel
func (*CompositeMembershipModel) Connect ¶
func (x *CompositeMembershipModel) Connect(db *orm.DB) *CompositeMembershipModel
Connect sets the connection.
func (*CompositeMembershipModel) Create ¶
func (x *CompositeMembershipModel) Create() (*CompositeMembershipModel, error)
Create inserts the row and returns the created row.
func (*CompositeMembershipModel) Creates ¶
func (x *CompositeMembershipModel) Creates(rows []*CompositeMembershipModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*CompositeMembershipModel) Delete ¶
func (x *CompositeMembershipModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*CompositeMembershipModel) DeleteLock ¶
func (x *CompositeMembershipModel) DeleteLock() *CompositeMembershipModel
DeleteLock excludes the relation from recursive delete.
func (*CompositeMembershipModel) Duplication ¶
func (x *CompositeMembershipModel) Duplication(m *CompositeMembershipModel) *CompositeMembershipModel
Duplication sets the duplicate-key update of the next Create.
func (*CompositeMembershipModel) FetchKey ¶
func (x *CompositeMembershipModel) FetchKey(fn func(*CompositeMembershipModel) any) *CompositeMembershipModel
FetchKey computes the collection key of each row.
func (*CompositeMembershipModel) FetchValue ¶
func (x *CompositeMembershipModel) FetchValue(fn func(*CompositeMembershipModel) any) *CompositeMembershipModel
FetchValue computes a value for each loaded row.
func (*CompositeMembershipModel) ForShare ¶
func (x *CompositeMembershipModel) ForShare() *CompositeMembershipModel
ForShare locks the selected rows for share inside a transaction.
func (*CompositeMembershipModel) ForShareNoWait ¶
func (x *CompositeMembershipModel) ForShareNoWait() *CompositeMembershipModel
ForShareNoWait locks for share without waiting.
func (*CompositeMembershipModel) ForUpdate ¶
func (x *CompositeMembershipModel) ForUpdate() *CompositeMembershipModel
ForUpdate locks the selected rows for update inside a transaction.
func (*CompositeMembershipModel) ForUpdateNoWait ¶
func (x *CompositeMembershipModel) ForUpdateNoWait() *CompositeMembershipModel
ForUpdateNoWait locks for update without waiting.
func (*CompositeMembershipModel) Get ¶
func (x *CompositeMembershipModel) Get() (*CompositeMembershipModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*CompositeMembershipModel) GetAccountId ¶
func (x *CompositeMembershipModel) GetAccountId() int64
GetAccountId returns account_id.
func (*CompositeMembershipModel) GetAvg ¶
func (x *CompositeMembershipModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*CompositeMembershipModel) GetCount ¶
func (x *CompositeMembershipModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*CompositeMembershipModel) GetQuery ¶
func (x *CompositeMembershipModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*CompositeMembershipModel) GetRole ¶
func (x *CompositeMembershipModel) GetRole() string
GetRole returns role.
func (*CompositeMembershipModel) GetSum ¶
func (x *CompositeMembershipModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*CompositeMembershipModel) GetTenantId ¶
func (x *CompositeMembershipModel) GetTenantId() int64
GetTenantId returns tenant_id.
func (*CompositeMembershipModel) Gets ¶
func (x *CompositeMembershipModel) Gets() (*orm.Collection[*CompositeMembershipModel], error)
Gets returns the matching rows.
func (*CompositeMembershipModel) GetsCount ¶
func (x *CompositeMembershipModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*CompositeMembershipModel) GetsPage ¶
func (x *CompositeMembershipModel) GetsPage(page, perPage int) (*orm.Page[*CompositeMembershipModel], error)
GetsPage returns one page of matching rows.
func (*CompositeMembershipModel) GroupByAccountId ¶
func (x *CompositeMembershipModel) GroupByAccountId() *CompositeMembershipModel
func (*CompositeMembershipModel) GroupByRole ¶
func (x *CompositeMembershipModel) GroupByRole() *CompositeMembershipModel
func (*CompositeMembershipModel) GroupByTenantId ¶
func (x *CompositeMembershipModel) GroupByTenantId() *CompositeMembershipModel
func (*CompositeMembershipModel) GroupLimit ¶
func (x *CompositeMembershipModel) GroupLimit(n int) *CompositeMembershipModel
GroupLimit limits related rows per parent.
func (*CompositeMembershipModel) KeyNameAccountId ¶
func (x *CompositeMembershipModel) KeyNameAccountId() *CompositeMembershipModel
func (*CompositeMembershipModel) KeyNameRole ¶
func (x *CompositeMembershipModel) KeyNameRole() *CompositeMembershipModel
func (*CompositeMembershipModel) KeyNameTenantId ¶
func (x *CompositeMembershipModel) KeyNameTenantId() *CompositeMembershipModel
func (*CompositeMembershipModel) Limit ¶
func (x *CompositeMembershipModel) Limit(offset, count int) *CompositeMembershipModel
Limit sets the row range.
func (*CompositeMembershipModel) MarshalJSON ¶
func (x *CompositeMembershipModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*CompositeMembershipModel) MatchAccountIdWithAccountId ¶
func (x *CompositeMembershipModel) MatchAccountIdWithAccountId() *CompositeMembershipModel
func (*CompositeMembershipModel) MatchTenantIdWithTenantId ¶
func (x *CompositeMembershipModel) MatchTenantIdWithTenantId() *CompositeMembershipModel
func (*CompositeMembershipModel) MinusAccountId ¶
func (x *CompositeMembershipModel) MinusAccountId(n int64) *CompositeMembershipModel
func (*CompositeMembershipModel) MinusTenantId ¶
func (x *CompositeMembershipModel) MinusTenantId(n int64) *CompositeMembershipModel
func (*CompositeMembershipModel) Not ¶
func (x *CompositeMembershipModel) Not(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*CompositeMembershipModel) On ¶
func (x *CompositeMembershipModel) On(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
On sets the join ON conditions.
func (*CompositeMembershipModel) Or ¶
func (x *CompositeMembershipModel) Or(args ...any) *CompositeMembershipModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*CompositeMembershipModel) OrNot ¶
func (x *CompositeMembershipModel) OrNot(fn func(*CompositeMembershipModel)) *CompositeMembershipModel
OrNot opens a negated group joined with OR.
func (*CompositeMembershipModel) OrderByAccountIdAsc ¶
func (x *CompositeMembershipModel) OrderByAccountIdAsc(fn ...orm.Func) *CompositeMembershipModel
func (*CompositeMembershipModel) OrderByAccountIdDesc ¶
func (x *CompositeMembershipModel) OrderByAccountIdDesc(fn ...orm.Func) *CompositeMembershipModel
func (*CompositeMembershipModel) OrderByRandom ¶
func (x *CompositeMembershipModel) OrderByRandom() *CompositeMembershipModel
OrderByRandom orders rows randomly.
func (*CompositeMembershipModel) OrderByRoleAsc ¶
func (x *CompositeMembershipModel) OrderByRoleAsc(fn ...orm.Func) *CompositeMembershipModel
func (*CompositeMembershipModel) OrderByRoleDesc ¶
func (x *CompositeMembershipModel) OrderByRoleDesc(fn ...orm.Func) *CompositeMembershipModel
func (*CompositeMembershipModel) OrderByTenantIdAsc ¶
func (x *CompositeMembershipModel) OrderByTenantIdAsc(fn ...orm.Func) *CompositeMembershipModel
func (*CompositeMembershipModel) OrderByTenantIdDesc ¶
func (x *CompositeMembershipModel) OrderByTenantIdDesc(fn ...orm.Func) *CompositeMembershipModel
func (*CompositeMembershipModel) Orm_ ¶
func (x *CompositeMembershipModel) Orm_() *orm.Core
func (*CompositeMembershipModel) ParentNode ¶
func (x *CompositeMembershipModel) ParentNode() *CompositeMembershipModel
ParentNode merges the related row into the parent row.
func (*CompositeMembershipModel) PlusAccountId ¶
func (x *CompositeMembershipModel) PlusAccountId(n int64) *CompositeMembershipModel
func (*CompositeMembershipModel) PlusTenantId ¶
func (x *CompositeMembershipModel) PlusTenantId(n int64) *CompositeMembershipModel
func (*CompositeMembershipModel) Relation ¶
func (x *CompositeMembershipModel) Relation(child orm.Model) *CompositeMembershipModel
Relation attaches one related row loaded by a separate query.
func (*CompositeMembershipModel) Relations ¶
func (x *CompositeMembershipModel) Relations(child orm.Model) *CompositeMembershipModel
Relations attaches related rows loaded by a separate query.
func (*CompositeMembershipModel) RemoveAllColumns ¶
func (x *CompositeMembershipModel) RemoveAllColumns() *CompositeMembershipModel
RemoveAllColumns keeps only primary and foreign keys.
func (*CompositeMembershipModel) RemoveColumnAccountId ¶
func (x *CompositeMembershipModel) RemoveColumnAccountId() *CompositeMembershipModel
func (*CompositeMembershipModel) RemoveColumnRole ¶
func (x *CompositeMembershipModel) RemoveColumnRole() *CompositeMembershipModel
func (*CompositeMembershipModel) RemoveColumnTenantId ¶
func (x *CompositeMembershipModel) RemoveColumnTenantId() *CompositeMembershipModel
func (*CompositeMembershipModel) Restore ¶
func (x *CompositeMembershipModel) Restore() (*CompositeMembershipModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*CompositeMembershipModel) Save ¶
func (x *CompositeMembershipModel) Save() (*CompositeMembershipModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*CompositeMembershipModel) SetAccountId ¶
func (x *CompositeMembershipModel) SetAccountId(v int64) *CompositeMembershipModel
SetAccountId sets account_id.
func (*CompositeMembershipModel) SetRole ¶
func (x *CompositeMembershipModel) SetRole(v string) *CompositeMembershipModel
SetRole sets role.
func (*CompositeMembershipModel) SetTenantId ¶
func (x *CompositeMembershipModel) SetTenantId(v int64) *CompositeMembershipModel
SetTenantId sets tenant_id.
func (*CompositeMembershipModel) SumAccountId ¶
func (x *CompositeMembershipModel) SumAccountId() *CompositeMembershipModel
func (*CompositeMembershipModel) SumTenantId ¶
func (x *CompositeMembershipModel) SumTenantId() *CompositeMembershipModel
func (*CompositeMembershipModel) TenantId ¶
func (x *CompositeMembershipModel) TenantId[T0 argIntEq](v0 T0) *CompositeMembershipModel
func (*CompositeMembershipModel) ToArray ¶
func (x *CompositeMembershipModel) ToArray() map[string]any
ToArray returns the row values.
func (*CompositeMembershipModel) TupleTenantIdWithAccountId ¶
func (x *CompositeMembershipModel) TupleTenantIdWithAccountId(v0 []CompositeMembershipTenantIdWithAccountId) *CompositeMembershipModel
func (*CompositeMembershipModel) Update ¶
func (x *CompositeMembershipModel) Update(optimistic ...bool) (*CompositeMembershipModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type CompositeMembershipTenantIdWithAccountId ¶
CompositeMembershipTenantIdWithAccountId is one value group of tenant_id, account_id.
type HexCellModel ¶
type HexCellModel struct {
// contains filtered or unexported fields
}
HexCellModel is a hex_cell model or row.
func (*HexCellModel) AddAllColumns ¶
func (x *HexCellModel) AddAllColumns() *HexCellModel
AddAllColumns selects every column.
func (*HexCellModel) AddColumnLabel ¶
func (x *HexCellModel) AddColumnLabel() *HexCellModel
func (*HexCellModel) AddColumnSeq ¶
func (x *HexCellModel) AddColumnSeq() *HexCellModel
func (*HexCellModel) AddColumnValue ¶
func (x *HexCellModel) AddColumnValue() *HexCellModel
func (*HexCellModel) And ¶
func (x *HexCellModel) And(args ...any) *HexCellModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*HexCellModel) AndNot ¶
func (x *HexCellModel) AndNot(fn func(*HexCellModel)) *HexCellModel
AndNot opens a negated group joined with AND.
func (*HexCellModel) AvgSeq ¶
func (x *HexCellModel) AvgSeq() *HexCellModel
func (*HexCellModel) Connect ¶
func (x *HexCellModel) Connect(db *orm.DB) *HexCellModel
Connect sets the connection.
func (*HexCellModel) Create ¶
func (x *HexCellModel) Create() (*HexCellModel, error)
Create inserts the row and returns the created row.
func (*HexCellModel) Creates ¶
func (x *HexCellModel) Creates(rows []*HexCellModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*HexCellModel) Delete ¶
func (x *HexCellModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*HexCellModel) DeleteLock ¶
func (x *HexCellModel) DeleteLock() *HexCellModel
DeleteLock excludes the relation from recursive delete.
func (*HexCellModel) Duplication ¶
func (x *HexCellModel) Duplication(m *HexCellModel) *HexCellModel
Duplication sets the duplicate-key update of the next Create.
func (*HexCellModel) FetchKey ¶
func (x *HexCellModel) FetchKey(fn func(*HexCellModel) any) *HexCellModel
FetchKey computes the collection key of each row.
func (*HexCellModel) FetchValue ¶
func (x *HexCellModel) FetchValue(fn func(*HexCellModel) any) *HexCellModel
FetchValue computes a value for each loaded row.
func (*HexCellModel) ForShare ¶
func (x *HexCellModel) ForShare() *HexCellModel
ForShare locks the selected rows for share inside a transaction.
func (*HexCellModel) ForShareNoWait ¶
func (x *HexCellModel) ForShareNoWait() *HexCellModel
ForShareNoWait locks for share without waiting.
func (*HexCellModel) ForUpdate ¶
func (x *HexCellModel) ForUpdate() *HexCellModel
ForUpdate locks the selected rows for update inside a transaction.
func (*HexCellModel) ForUpdateNoWait ¶
func (x *HexCellModel) ForUpdateNoWait() *HexCellModel
ForUpdateNoWait locks for update without waiting.
func (*HexCellModel) Get ¶
func (x *HexCellModel) Get() (*HexCellModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*HexCellModel) GetAvg ¶
func (x *HexCellModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*HexCellModel) GetBySeq ¶
func (x *HexCellModel) GetBySeq[T0 argIntEq](v0 T0) (*HexCellModel, error)
func (*HexCellModel) GetCount ¶
func (x *HexCellModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*HexCellModel) GetQuery ¶
func (x *HexCellModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*HexCellModel) GetSum ¶
func (x *HexCellModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*HexCellModel) Gets ¶
func (x *HexCellModel) Gets() (*orm.Collection[*HexCellModel], error)
Gets returns the matching rows.
func (*HexCellModel) GetsCount ¶
func (x *HexCellModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*HexCellModel) GetsPage ¶
func (x *HexCellModel) GetsPage(page, perPage int) (*orm.Page[*HexCellModel], error)
GetsPage returns one page of matching rows.
func (*HexCellModel) GroupByLabel ¶
func (x *HexCellModel) GroupByLabel() *HexCellModel
func (*HexCellModel) GroupBySeq ¶
func (x *HexCellModel) GroupBySeq() *HexCellModel
func (*HexCellModel) GroupByValue ¶
func (x *HexCellModel) GroupByValue() *HexCellModel
func (*HexCellModel) GroupLimit ¶
func (x *HexCellModel) GroupLimit(n int) *HexCellModel
GroupLimit limits related rows per parent.
func (*HexCellModel) KeyNameLabel ¶
func (x *HexCellModel) KeyNameLabel() *HexCellModel
func (*HexCellModel) KeyNameSeq ¶
func (x *HexCellModel) KeyNameSeq() *HexCellModel
func (*HexCellModel) KeyNameValue ¶
func (x *HexCellModel) KeyNameValue() *HexCellModel
func (*HexCellModel) Limit ¶
func (x *HexCellModel) Limit(offset, count int) *HexCellModel
Limit sets the row range.
func (*HexCellModel) MarshalJSON ¶
func (x *HexCellModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*HexCellModel) MinusSeq ¶
func (x *HexCellModel) MinusSeq(n int64) *HexCellModel
func (*HexCellModel) Not ¶
func (x *HexCellModel) Not(fn func(*HexCellModel)) *HexCellModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*HexCellModel) On ¶
func (x *HexCellModel) On(fn func(*HexCellModel)) *HexCellModel
On sets the join ON conditions.
func (*HexCellModel) Or ¶
func (x *HexCellModel) Or(args ...any) *HexCellModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*HexCellModel) OrNot ¶
func (x *HexCellModel) OrNot(fn func(*HexCellModel)) *HexCellModel
OrNot opens a negated group joined with OR.
func (*HexCellModel) OrderByLabelAsc ¶
func (x *HexCellModel) OrderByLabelAsc(fn ...orm.Func) *HexCellModel
func (*HexCellModel) OrderByLabelDesc ¶
func (x *HexCellModel) OrderByLabelDesc(fn ...orm.Func) *HexCellModel
func (*HexCellModel) OrderByRandom ¶
func (x *HexCellModel) OrderByRandom() *HexCellModel
OrderByRandom orders rows randomly.
func (*HexCellModel) OrderBySeqAsc ¶
func (x *HexCellModel) OrderBySeqAsc(fn ...orm.Func) *HexCellModel
func (*HexCellModel) OrderBySeqDesc ¶
func (x *HexCellModel) OrderBySeqDesc(fn ...orm.Func) *HexCellModel
func (*HexCellModel) OrderByValueAsc ¶
func (x *HexCellModel) OrderByValueAsc(fn ...orm.Func) *HexCellModel
func (*HexCellModel) OrderByValueDesc ¶
func (x *HexCellModel) OrderByValueDesc(fn ...orm.Func) *HexCellModel
func (*HexCellModel) Orm_ ¶
func (x *HexCellModel) Orm_() *orm.Core
func (*HexCellModel) ParentNode ¶
func (x *HexCellModel) ParentNode() *HexCellModel
ParentNode merges the related row into the parent row.
func (*HexCellModel) PlusSeq ¶
func (x *HexCellModel) PlusSeq(n int64) *HexCellModel
func (*HexCellModel) Relation ¶
func (x *HexCellModel) Relation(child orm.Model) *HexCellModel
Relation attaches one related row loaded by a separate query.
func (*HexCellModel) Relations ¶
func (x *HexCellModel) Relations(child orm.Model) *HexCellModel
Relations attaches related rows loaded by a separate query.
func (*HexCellModel) RemoveAllColumns ¶
func (x *HexCellModel) RemoveAllColumns() *HexCellModel
RemoveAllColumns keeps only primary and foreign keys.
func (*HexCellModel) RemoveColumnLabel ¶
func (x *HexCellModel) RemoveColumnLabel() *HexCellModel
func (*HexCellModel) RemoveColumnSeq ¶
func (x *HexCellModel) RemoveColumnSeq() *HexCellModel
func (*HexCellModel) RemoveColumnValue ¶
func (x *HexCellModel) RemoveColumnValue() *HexCellModel
func (*HexCellModel) Restore ¶
func (x *HexCellModel) Restore() (*HexCellModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*HexCellModel) Save ¶
func (x *HexCellModel) Save() (*HexCellModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*HexCellModel) Seq ¶
func (x *HexCellModel) Seq[T0 argIntEq](v0 T0) *HexCellModel
func (*HexCellModel) SetLabel ¶
func (x *HexCellModel) SetLabel(v string) *HexCellModel
SetLabel sets label.
func (*HexCellModel) SetValue ¶
func (x *HexCellModel) SetValue(v *string) *HexCellModel
SetValue sets value; nil stores NULL.
func (*HexCellModel) SumSeq ¶
func (x *HexCellModel) SumSeq() *HexCellModel
func (*HexCellModel) ToArray ¶
func (x *HexCellModel) ToArray() map[string]any
ToArray returns the row values.
func (*HexCellModel) Update ¶
func (x *HexCellModel) Update(optimistic ...bool) (*HexCellModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type ProjectModel ¶
type ProjectModel struct {
// contains filtered or unexported fields
}
ProjectModel is a project model or row.
func (*ProjectModel) AddAllColumns ¶
func (x *ProjectModel) AddAllColumns() *ProjectModel
AddAllColumns selects every column.
func (*ProjectModel) AddColumnName ¶
func (x *ProjectModel) AddColumnName() *ProjectModel
func (*ProjectModel) AddColumnSeq ¶
func (x *ProjectModel) AddColumnSeq() *ProjectModel
func (*ProjectModel) And ¶
func (x *ProjectModel) And(args ...any) *ProjectModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*ProjectModel) AndNot ¶
func (x *ProjectModel) AndNot(fn func(*ProjectModel)) *ProjectModel
AndNot opens a negated group joined with AND.
func (*ProjectModel) AvgSeq ¶
func (x *ProjectModel) AvgSeq() *ProjectModel
func (*ProjectModel) Connect ¶
func (x *ProjectModel) Connect(db *orm.DB) *ProjectModel
Connect sets the connection.
func (*ProjectModel) Create ¶
func (x *ProjectModel) Create() (*ProjectModel, error)
Create inserts the row and returns the created row.
func (*ProjectModel) Creates ¶
func (x *ProjectModel) Creates(rows []*ProjectModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*ProjectModel) Delete ¶
func (x *ProjectModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*ProjectModel) DeleteLock ¶
func (x *ProjectModel) DeleteLock() *ProjectModel
DeleteLock excludes the relation from recursive delete.
func (*ProjectModel) Duplication ¶
func (x *ProjectModel) Duplication(m *ProjectModel) *ProjectModel
Duplication sets the duplicate-key update of the next Create.
func (*ProjectModel) FetchKey ¶
func (x *ProjectModel) FetchKey(fn func(*ProjectModel) any) *ProjectModel
FetchKey computes the collection key of each row.
func (*ProjectModel) FetchValue ¶
func (x *ProjectModel) FetchValue(fn func(*ProjectModel) any) *ProjectModel
FetchValue computes a value for each loaded row.
func (*ProjectModel) ForShare ¶
func (x *ProjectModel) ForShare() *ProjectModel
ForShare locks the selected rows for share inside a transaction.
func (*ProjectModel) ForShareNoWait ¶
func (x *ProjectModel) ForShareNoWait() *ProjectModel
ForShareNoWait locks for share without waiting.
func (*ProjectModel) ForUpdate ¶
func (x *ProjectModel) ForUpdate() *ProjectModel
ForUpdate locks the selected rows for update inside a transaction.
func (*ProjectModel) ForUpdateNoWait ¶
func (x *ProjectModel) ForUpdateNoWait() *ProjectModel
ForUpdateNoWait locks for update without waiting.
func (*ProjectModel) Get ¶
func (x *ProjectModel) Get() (*ProjectModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*ProjectModel) GetAvg ¶
func (x *ProjectModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*ProjectModel) GetCount ¶
func (x *ProjectModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*ProjectModel) GetQuery ¶
func (x *ProjectModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*ProjectModel) GetSum ¶
func (x *ProjectModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*ProjectModel) Gets ¶
func (x *ProjectModel) Gets() (*orm.Collection[*ProjectModel], error)
Gets returns the matching rows.
func (*ProjectModel) GetsCount ¶
func (x *ProjectModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*ProjectModel) GetsPage ¶
func (x *ProjectModel) GetsPage(page, perPage int) (*orm.Page[*ProjectModel], error)
GetsPage returns one page of matching rows.
func (*ProjectModel) GroupByName ¶
func (x *ProjectModel) GroupByName() *ProjectModel
func (*ProjectModel) GroupBySeq ¶
func (x *ProjectModel) GroupBySeq() *ProjectModel
func (*ProjectModel) GroupLimit ¶
func (x *ProjectModel) GroupLimit(n int) *ProjectModel
GroupLimit limits related rows per parent.
func (*ProjectModel) KeyNameName ¶
func (x *ProjectModel) KeyNameName() *ProjectModel
func (*ProjectModel) KeyNameSeq ¶
func (x *ProjectModel) KeyNameSeq() *ProjectModel
func (*ProjectModel) Limit ¶
func (x *ProjectModel) Limit(offset, count int) *ProjectModel
Limit sets the row range.
func (*ProjectModel) MarshalJSON ¶
func (x *ProjectModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*ProjectModel) MinusSeq ¶
func (x *ProjectModel) MinusSeq(n int64) *ProjectModel
func (*ProjectModel) Not ¶
func (x *ProjectModel) Not(fn func(*ProjectModel)) *ProjectModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*ProjectModel) On ¶
func (x *ProjectModel) On(fn func(*ProjectModel)) *ProjectModel
On sets the join ON conditions.
func (*ProjectModel) Or ¶
func (x *ProjectModel) Or(args ...any) *ProjectModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*ProjectModel) OrNot ¶
func (x *ProjectModel) OrNot(fn func(*ProjectModel)) *ProjectModel
OrNot opens a negated group joined with OR.
func (*ProjectModel) OrderByNameAsc ¶
func (x *ProjectModel) OrderByNameAsc(fn ...orm.Func) *ProjectModel
func (*ProjectModel) OrderByNameDesc ¶
func (x *ProjectModel) OrderByNameDesc(fn ...orm.Func) *ProjectModel
func (*ProjectModel) OrderByRandom ¶
func (x *ProjectModel) OrderByRandom() *ProjectModel
OrderByRandom orders rows randomly.
func (*ProjectModel) OrderBySeqAsc ¶
func (x *ProjectModel) OrderBySeqAsc(fn ...orm.Func) *ProjectModel
func (*ProjectModel) OrderBySeqDesc ¶
func (x *ProjectModel) OrderBySeqDesc(fn ...orm.Func) *ProjectModel
func (*ProjectModel) Orm_ ¶
func (x *ProjectModel) Orm_() *orm.Core
func (*ProjectModel) ParentNode ¶
func (x *ProjectModel) ParentNode() *ProjectModel
ParentNode merges the related row into the parent row.
func (*ProjectModel) PlusSeq ¶
func (x *ProjectModel) PlusSeq(n int64) *ProjectModel
func (*ProjectModel) Relation ¶
func (x *ProjectModel) Relation(child orm.Model) *ProjectModel
Relation attaches one related row loaded by a separate query.
func (*ProjectModel) Relations ¶
func (x *ProjectModel) Relations(child orm.Model) *ProjectModel
Relations attaches related rows loaded by a separate query.
func (*ProjectModel) RemoveAllColumns ¶
func (x *ProjectModel) RemoveAllColumns() *ProjectModel
RemoveAllColumns keeps only primary and foreign keys.
func (*ProjectModel) RemoveColumnName ¶
func (x *ProjectModel) RemoveColumnName() *ProjectModel
func (*ProjectModel) RemoveColumnSeq ¶
func (x *ProjectModel) RemoveColumnSeq() *ProjectModel
func (*ProjectModel) Restore ¶
func (x *ProjectModel) Restore() (*ProjectModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*ProjectModel) Save ¶
func (x *ProjectModel) Save() (*ProjectModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*ProjectModel) Seq ¶
func (x *ProjectModel) Seq[T0 argIntEq](v0 T0) *ProjectModel
func (*ProjectModel) SetName ¶
func (x *ProjectModel) SetName(v string) *ProjectModel
SetName sets name.
func (*ProjectModel) SumSeq ¶
func (x *ProjectModel) SumSeq() *ProjectModel
func (*ProjectModel) ToArray ¶
func (x *ProjectModel) ToArray() map[string]any
ToArray returns the row values.
func (*ProjectModel) Update ¶
func (x *ProjectModel) Update(optimistic ...bool) (*ProjectModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type ServiceMemberModel ¶
type ServiceMemberModel struct {
// contains filtered or unexported fields
}
ServiceMemberModel is a service_member model or row.
func ServiceMember ¶
func ServiceMember() *ServiceMemberModel
ServiceMember creates a service_member model.
func (*ServiceMemberModel) AddAllColumns ¶
func (x *ServiceMemberModel) AddAllColumns() *ServiceMemberModel
AddAllColumns selects every column.
func (*ServiceMemberModel) AddColumnSeq ¶
func (x *ServiceMemberModel) AddColumnSeq() *ServiceMemberModel
func (*ServiceMemberModel) AddColumnServiceSeq ¶
func (x *ServiceMemberModel) AddColumnServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) AddColumnUserSeq ¶
func (x *ServiceMemberModel) AddColumnUserSeq() *ServiceMemberModel
func (*ServiceMemberModel) AliasMembers ¶
func (x *ServiceMemberModel) AliasMembers() *ServiceMemberModel
func (*ServiceMemberModel) And ¶
func (x *ServiceMemberModel) And(args ...any) *ServiceMemberModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*ServiceMemberModel) AndNot ¶
func (x *ServiceMemberModel) AndNot(fn func(*ServiceMemberModel)) *ServiceMemberModel
AndNot opens a negated group joined with AND.
func (*ServiceMemberModel) AvgSeq ¶
func (x *ServiceMemberModel) AvgSeq() *ServiceMemberModel
func (*ServiceMemberModel) AvgServiceSeq ¶
func (x *ServiceMemberModel) AvgServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) AvgUserSeq ¶
func (x *ServiceMemberModel) AvgUserSeq() *ServiceMemberModel
func (*ServiceMemberModel) Connect ¶
func (x *ServiceMemberModel) Connect(db *orm.DB) *ServiceMemberModel
Connect sets the connection.
func (*ServiceMemberModel) Create ¶
func (x *ServiceMemberModel) Create() (*ServiceMemberModel, error)
Create inserts the row and returns the created row.
func (*ServiceMemberModel) Creates ¶
func (x *ServiceMemberModel) Creates(rows []*ServiceMemberModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*ServiceMemberModel) Delete ¶
func (x *ServiceMemberModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*ServiceMemberModel) DeleteLock ¶
func (x *ServiceMemberModel) DeleteLock() *ServiceMemberModel
DeleteLock excludes the relation from recursive delete.
func (*ServiceMemberModel) Duplication ¶
func (x *ServiceMemberModel) Duplication(m *ServiceMemberModel) *ServiceMemberModel
Duplication sets the duplicate-key update of the next Create.
func (*ServiceMemberModel) FetchKey ¶
func (x *ServiceMemberModel) FetchKey(fn func(*ServiceMemberModel) any) *ServiceMemberModel
FetchKey computes the collection key of each row.
func (*ServiceMemberModel) FetchValue ¶
func (x *ServiceMemberModel) FetchValue(fn func(*ServiceMemberModel) any) *ServiceMemberModel
FetchValue computes a value for each loaded row.
func (*ServiceMemberModel) ForShare ¶
func (x *ServiceMemberModel) ForShare() *ServiceMemberModel
ForShare locks the selected rows for share inside a transaction.
func (*ServiceMemberModel) ForShareNoWait ¶
func (x *ServiceMemberModel) ForShareNoWait() *ServiceMemberModel
ForShareNoWait locks for share without waiting.
func (*ServiceMemberModel) ForUpdate ¶
func (x *ServiceMemberModel) ForUpdate() *ServiceMemberModel
ForUpdate locks the selected rows for update inside a transaction.
func (*ServiceMemberModel) ForUpdateNoWait ¶
func (x *ServiceMemberModel) ForUpdateNoWait() *ServiceMemberModel
ForUpdateNoWait locks for update without waiting.
func (*ServiceMemberModel) ForceIndexIxServiceMemberService ¶
func (x *ServiceMemberModel) ForceIndexIxServiceMemberService() *ServiceMemberModel
func (*ServiceMemberModel) ForceIndexIxServiceMemberUser ¶
func (x *ServiceMemberModel) ForceIndexIxServiceMemberUser() *ServiceMemberModel
func (*ServiceMemberModel) Get ¶
func (x *ServiceMemberModel) Get() (*ServiceMemberModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*ServiceMemberModel) GetAvg ¶
func (x *ServiceMemberModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*ServiceMemberModel) GetCount ¶
func (x *ServiceMemberModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*ServiceMemberModel) GetCountByServiceSeq ¶
func (x *ServiceMemberModel) GetCountByServiceSeq[T0 argIntEq](v0 T0) (int64, error)
func (*ServiceMemberModel) GetQuery ¶
func (x *ServiceMemberModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*ServiceMemberModel) GetServiceSeq ¶
func (x *ServiceMemberModel) GetServiceSeq() int64
GetServiceSeq returns service_seq.
func (*ServiceMemberModel) GetSum ¶
func (x *ServiceMemberModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*ServiceMemberModel) GetUserSeq ¶
func (x *ServiceMemberModel) GetUserSeq() int64
GetUserSeq returns user_seq.
func (*ServiceMemberModel) Gets ¶
func (x *ServiceMemberModel) Gets() (*orm.Collection[*ServiceMemberModel], error)
Gets returns the matching rows.
func (*ServiceMemberModel) GetsCount ¶
func (x *ServiceMemberModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*ServiceMemberModel) GetsPage ¶
func (x *ServiceMemberModel) GetsPage(page, perPage int) (*orm.Page[*ServiceMemberModel], error)
GetsPage returns one page of matching rows.
func (*ServiceMemberModel) GroupBySeq ¶
func (x *ServiceMemberModel) GroupBySeq() *ServiceMemberModel
func (*ServiceMemberModel) GroupByServiceSeq ¶
func (x *ServiceMemberModel) GroupByServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) GroupByUserSeq ¶
func (x *ServiceMemberModel) GroupByUserSeq() *ServiceMemberModel
func (*ServiceMemberModel) GroupLimit ¶
func (x *ServiceMemberModel) GroupLimit(n int) *ServiceMemberModel
GroupLimit limits related rows per parent.
func (*ServiceMemberModel) KeyNameSeq ¶
func (x *ServiceMemberModel) KeyNameSeq() *ServiceMemberModel
func (*ServiceMemberModel) KeyNameServiceSeq ¶
func (x *ServiceMemberModel) KeyNameServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) KeyNameUserSeq ¶
func (x *ServiceMemberModel) KeyNameUserSeq() *ServiceMemberModel
func (*ServiceMemberModel) Limit ¶
func (x *ServiceMemberModel) Limit(offset, count int) *ServiceMemberModel
Limit sets the row range.
func (*ServiceMemberModel) MarshalJSON ¶
func (x *ServiceMemberModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*ServiceMemberModel) MatchSeqWithServiceSeq ¶
func (x *ServiceMemberModel) MatchSeqWithServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) MatchServiceSeqWithServiceSeq ¶
func (x *ServiceMemberModel) MatchServiceSeqWithServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) MatchUserSeqWithUserSeq ¶
func (x *ServiceMemberModel) MatchUserSeqWithUserSeq() *ServiceMemberModel
func (*ServiceMemberModel) MinusSeq ¶
func (x *ServiceMemberModel) MinusSeq(n int64) *ServiceMemberModel
func (*ServiceMemberModel) MinusServiceSeq ¶
func (x *ServiceMemberModel) MinusServiceSeq(n int64) *ServiceMemberModel
func (*ServiceMemberModel) MinusUserSeq ¶
func (x *ServiceMemberModel) MinusUserSeq(n int64) *ServiceMemberModel
func (*ServiceMemberModel) Not ¶
func (x *ServiceMemberModel) Not(fn func(*ServiceMemberModel)) *ServiceMemberModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*ServiceMemberModel) On ¶
func (x *ServiceMemberModel) On(fn func(*ServiceMemberModel)) *ServiceMemberModel
On sets the join ON conditions.
func (*ServiceMemberModel) Or ¶
func (x *ServiceMemberModel) Or(args ...any) *ServiceMemberModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*ServiceMemberModel) OrNot ¶
func (x *ServiceMemberModel) OrNot(fn func(*ServiceMemberModel)) *ServiceMemberModel
OrNot opens a negated group joined with OR.
func (*ServiceMemberModel) OrderByRandom ¶
func (x *ServiceMemberModel) OrderByRandom() *ServiceMemberModel
OrderByRandom orders rows randomly.
func (*ServiceMemberModel) OrderBySeqAsc ¶
func (x *ServiceMemberModel) OrderBySeqAsc(fn ...orm.Func) *ServiceMemberModel
func (*ServiceMemberModel) OrderBySeqDesc ¶
func (x *ServiceMemberModel) OrderBySeqDesc(fn ...orm.Func) *ServiceMemberModel
func (*ServiceMemberModel) OrderByServiceSeqAsc ¶
func (x *ServiceMemberModel) OrderByServiceSeqAsc(fn ...orm.Func) *ServiceMemberModel
func (*ServiceMemberModel) OrderByServiceSeqDesc ¶
func (x *ServiceMemberModel) OrderByServiceSeqDesc(fn ...orm.Func) *ServiceMemberModel
func (*ServiceMemberModel) OrderByUserSeqAsc ¶
func (x *ServiceMemberModel) OrderByUserSeqAsc(fn ...orm.Func) *ServiceMemberModel
func (*ServiceMemberModel) OrderByUserSeqDesc ¶
func (x *ServiceMemberModel) OrderByUserSeqDesc(fn ...orm.Func) *ServiceMemberModel
func (*ServiceMemberModel) Orm_ ¶
func (x *ServiceMemberModel) Orm_() *orm.Core
func (*ServiceMemberModel) ParentNode ¶
func (x *ServiceMemberModel) ParentNode() *ServiceMemberModel
ParentNode merges the related row into the parent row.
func (*ServiceMemberModel) PlusSeq ¶
func (x *ServiceMemberModel) PlusSeq(n int64) *ServiceMemberModel
func (*ServiceMemberModel) PlusServiceSeq ¶
func (x *ServiceMemberModel) PlusServiceSeq(n int64) *ServiceMemberModel
func (*ServiceMemberModel) PlusUserSeq ¶
func (x *ServiceMemberModel) PlusUserSeq(n int64) *ServiceMemberModel
func (*ServiceMemberModel) Relation ¶
func (x *ServiceMemberModel) Relation(child orm.Model) *ServiceMemberModel
Relation attaches one related row loaded by a separate query.
func (*ServiceMemberModel) Relations ¶
func (x *ServiceMemberModel) Relations(child orm.Model) *ServiceMemberModel
Relations attaches related rows loaded by a separate query.
func (*ServiceMemberModel) RemoveAllColumns ¶
func (x *ServiceMemberModel) RemoveAllColumns() *ServiceMemberModel
RemoveAllColumns keeps only primary and foreign keys.
func (*ServiceMemberModel) RemoveColumnSeq ¶
func (x *ServiceMemberModel) RemoveColumnSeq() *ServiceMemberModel
func (*ServiceMemberModel) RemoveColumnServiceSeq ¶
func (x *ServiceMemberModel) RemoveColumnServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) RemoveColumnUserSeq ¶
func (x *ServiceMemberModel) RemoveColumnUserSeq() *ServiceMemberModel
func (*ServiceMemberModel) Restore ¶
func (x *ServiceMemberModel) Restore() (*ServiceMemberModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*ServiceMemberModel) Save ¶
func (x *ServiceMemberModel) Save() (*ServiceMemberModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*ServiceMemberModel) Seq ¶
func (x *ServiceMemberModel) Seq[T0 argIntEq](v0 T0) *ServiceMemberModel
func (*ServiceMemberModel) ServiceSeq ¶
func (x *ServiceMemberModel) ServiceSeq[T0 argIntEq](v0 T0) *ServiceMemberModel
func (*ServiceMemberModel) SetSeq ¶
func (x *ServiceMemberModel) SetSeq(v int64) *ServiceMemberModel
SetSeq sets seq.
func (*ServiceMemberModel) SetServiceSeq ¶
func (x *ServiceMemberModel) SetServiceSeq(v int64) *ServiceMemberModel
SetServiceSeq sets service_seq.
func (*ServiceMemberModel) SetUserSeq ¶
func (x *ServiceMemberModel) SetUserSeq(v int64) *ServiceMemberModel
SetUserSeq sets user_seq.
func (*ServiceMemberModel) SumSeq ¶
func (x *ServiceMemberModel) SumSeq() *ServiceMemberModel
func (*ServiceMemberModel) SumServiceSeq ¶
func (x *ServiceMemberModel) SumServiceSeq() *ServiceMemberModel
func (*ServiceMemberModel) SumUserSeq ¶
func (x *ServiceMemberModel) SumUserSeq() *ServiceMemberModel
func (*ServiceMemberModel) ToArray ¶
func (x *ServiceMemberModel) ToArray() map[string]any
ToArray returns the row values.
func (*ServiceMemberModel) Update ¶
func (x *ServiceMemberModel) Update(optimistic ...bool) (*ServiceMemberModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
func (*ServiceMemberModel) UserSeq ¶
func (x *ServiceMemberModel) UserSeq[T0 argIntEq](v0 T0) *ServiceMemberModel
type ServiceModel ¶
type ServiceModel struct {
// contains filtered or unexported fields
}
ServiceModel is a service model or row.
func (*ServiceModel) AddAllColumns ¶
func (x *ServiceModel) AddAllColumns() *ServiceModel
AddAllColumns selects every column.
func (*ServiceModel) AddColumnName ¶
func (x *ServiceModel) AddColumnName() *ServiceModel
func (*ServiceModel) AddColumnSeq ¶
func (x *ServiceModel) AddColumnSeq() *ServiceModel
func (*ServiceModel) AliasOwnerService ¶
func (x *ServiceModel) AliasOwnerService() *ServiceModel
func (*ServiceModel) And ¶
func (x *ServiceModel) And(args ...any) *ServiceModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*ServiceModel) AndNot ¶
func (x *ServiceModel) AndNot(fn func(*ServiceModel)) *ServiceModel
AndNot opens a negated group joined with AND.
func (*ServiceModel) AvgSeq ¶
func (x *ServiceModel) AvgSeq() *ServiceModel
func (*ServiceModel) Connect ¶
func (x *ServiceModel) Connect(db *orm.DB) *ServiceModel
Connect sets the connection.
func (*ServiceModel) Create ¶
func (x *ServiceModel) Create() (*ServiceModel, error)
Create inserts the row and returns the created row.
func (*ServiceModel) Creates ¶
func (x *ServiceModel) Creates(rows []*ServiceModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*ServiceModel) Delete ¶
func (x *ServiceModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*ServiceModel) DeleteLock ¶
func (x *ServiceModel) DeleteLock() *ServiceModel
DeleteLock excludes the relation from recursive delete.
func (*ServiceModel) Duplication ¶
func (x *ServiceModel) Duplication(m *ServiceModel) *ServiceModel
Duplication sets the duplicate-key update of the next Create.
func (*ServiceModel) FetchKey ¶
func (x *ServiceModel) FetchKey(fn func(*ServiceModel) any) *ServiceModel
FetchKey computes the collection key of each row.
func (*ServiceModel) FetchValue ¶
func (x *ServiceModel) FetchValue(fn func(*ServiceModel) any) *ServiceModel
FetchValue computes a value for each loaded row.
func (*ServiceModel) ForShare ¶
func (x *ServiceModel) ForShare() *ServiceModel
ForShare locks the selected rows for share inside a transaction.
func (*ServiceModel) ForShareNoWait ¶
func (x *ServiceModel) ForShareNoWait() *ServiceModel
ForShareNoWait locks for share without waiting.
func (*ServiceModel) ForUpdate ¶
func (x *ServiceModel) ForUpdate() *ServiceModel
ForUpdate locks the selected rows for update inside a transaction.
func (*ServiceModel) ForUpdateNoWait ¶
func (x *ServiceModel) ForUpdateNoWait() *ServiceModel
ForUpdateNoWait locks for update without waiting.
func (*ServiceModel) Get ¶
func (x *ServiceModel) Get() (*ServiceModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*ServiceModel) GetAvg ¶
func (x *ServiceModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*ServiceModel) GetBySeq ¶
func (x *ServiceModel) GetBySeq[T0 argIntEq](v0 T0) (*ServiceModel, error)
func (*ServiceModel) GetCount ¶
func (x *ServiceModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*ServiceModel) GetQuery ¶
func (x *ServiceModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*ServiceModel) GetServiceMemberModels ¶
func (x *ServiceModel) GetServiceMemberModels() (*orm.Collection[*ServiceMemberModel], error)
GetServiceMemberModels returns the service_member relation result.
func (*ServiceModel) GetSum ¶
func (x *ServiceModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*ServiceModel) Gets ¶
func (x *ServiceModel) Gets() (*orm.Collection[*ServiceModel], error)
Gets returns the matching rows.
func (*ServiceModel) GetsCount ¶
func (x *ServiceModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*ServiceModel) GetsPage ¶
func (x *ServiceModel) GetsPage(page, perPage int) (*orm.Page[*ServiceModel], error)
GetsPage returns one page of matching rows.
func (*ServiceModel) GroupByName ¶
func (x *ServiceModel) GroupByName() *ServiceModel
func (*ServiceModel) GroupBySeq ¶
func (x *ServiceModel) GroupBySeq() *ServiceModel
func (*ServiceModel) GroupLimit ¶
func (x *ServiceModel) GroupLimit(n int) *ServiceModel
GroupLimit limits related rows per parent.
func (*ServiceModel) GtSeq ¶
func (x *ServiceModel) GtSeq[T0 argIntCmp](v0 T0) *ServiceModel
func (*ServiceModel) KeyNameName ¶
func (x *ServiceModel) KeyNameName() *ServiceModel
func (*ServiceModel) KeyNameSeq ¶
func (x *ServiceModel) KeyNameSeq() *ServiceModel
func (*ServiceModel) Limit ¶
func (x *ServiceModel) Limit(offset, count int) *ServiceModel
Limit sets the row range.
func (*ServiceModel) MarshalJSON ¶
func (x *ServiceModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*ServiceModel) MatchServiceSeqWithSeq ¶
func (x *ServiceModel) MatchServiceSeqWithSeq() *ServiceModel
func (*ServiceModel) MinusSeq ¶
func (x *ServiceModel) MinusSeq(n int64) *ServiceModel
func (*ServiceModel) Name ¶
func (x *ServiceModel) Name[T0 argStringEq](v0 T0) *ServiceModel
func (*ServiceModel) Not ¶
func (x *ServiceModel) Not(fn func(*ServiceModel)) *ServiceModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*ServiceModel) On ¶
func (x *ServiceModel) On(fn func(*ServiceModel)) *ServiceModel
On sets the join ON conditions.
func (*ServiceModel) Or ¶
func (x *ServiceModel) Or(args ...any) *ServiceModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*ServiceModel) OrNot ¶
func (x *ServiceModel) OrNot(fn func(*ServiceModel)) *ServiceModel
OrNot opens a negated group joined with OR.
func (*ServiceModel) OrderByNameAsc ¶
func (x *ServiceModel) OrderByNameAsc(fn ...orm.Func) *ServiceModel
func (*ServiceModel) OrderByNameDesc ¶
func (x *ServiceModel) OrderByNameDesc(fn ...orm.Func) *ServiceModel
func (*ServiceModel) OrderByRandom ¶
func (x *ServiceModel) OrderByRandom() *ServiceModel
OrderByRandom orders rows randomly.
func (*ServiceModel) OrderBySeqAsc ¶
func (x *ServiceModel) OrderBySeqAsc(fn ...orm.Func) *ServiceModel
func (*ServiceModel) OrderBySeqDesc ¶
func (x *ServiceModel) OrderBySeqDesc(fn ...orm.Func) *ServiceModel
func (*ServiceModel) Orm_ ¶
func (x *ServiceModel) Orm_() *orm.Core
func (*ServiceModel) ParentNode ¶
func (x *ServiceModel) ParentNode() *ServiceModel
ParentNode merges the related row into the parent row.
func (*ServiceModel) PlusSeq ¶
func (x *ServiceModel) PlusSeq(n int64) *ServiceModel
func (*ServiceModel) Relation ¶
func (x *ServiceModel) Relation(child orm.Model) *ServiceModel
Relation attaches one related row loaded by a separate query.
func (*ServiceModel) Relations ¶
func (x *ServiceModel) Relations(child orm.Model) *ServiceModel
Relations attaches related rows loaded by a separate query.
func (*ServiceModel) RemoveAllColumns ¶
func (x *ServiceModel) RemoveAllColumns() *ServiceModel
RemoveAllColumns keeps only primary and foreign keys.
func (*ServiceModel) RemoveColumnName ¶
func (x *ServiceModel) RemoveColumnName() *ServiceModel
func (*ServiceModel) RemoveColumnSeq ¶
func (x *ServiceModel) RemoveColumnSeq() *ServiceModel
func (*ServiceModel) Restore ¶
func (x *ServiceModel) Restore() (*ServiceModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*ServiceModel) Save ¶
func (x *ServiceModel) Save() (*ServiceModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*ServiceModel) Seq ¶
func (x *ServiceModel) Seq[T0 argIntEq](v0 T0) *ServiceModel
func (*ServiceModel) SetName ¶
func (x *ServiceModel) SetName(v string) *ServiceModel
SetName sets name.
func (*ServiceModel) SumSeq ¶
func (x *ServiceModel) SumSeq() *ServiceModel
func (*ServiceModel) ToArray ¶
func (x *ServiceModel) ToArray() map[string]any
ToArray returns the row values.
func (*ServiceModel) Update ¶
func (x *ServiceModel) Update(optimistic ...bool) (*ServiceModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type ServiceRegionModel ¶
type ServiceRegionModel struct {
// contains filtered or unexported fields
}
ServiceRegionModel is a service_region model or row.
func ServiceRegion ¶
func ServiceRegion() *ServiceRegionModel
ServiceRegion creates a service_region model.
func (*ServiceRegionModel) AddAllColumns ¶
func (x *ServiceRegionModel) AddAllColumns() *ServiceRegionModel
AddAllColumns selects every column.
func (*ServiceRegionModel) AddColumnName ¶
func (x *ServiceRegionModel) AddColumnName() *ServiceRegionModel
func (*ServiceRegionModel) AddColumnSeq ¶
func (x *ServiceRegionModel) AddColumnSeq() *ServiceRegionModel
func (*ServiceRegionModel) AddColumnServiceSeq ¶
func (x *ServiceRegionModel) AddColumnServiceSeq() *ServiceRegionModel
func (*ServiceRegionModel) AliasModule ¶
func (x *ServiceRegionModel) AliasModule() *ServiceRegionModel
func (*ServiceRegionModel) And ¶
func (x *ServiceRegionModel) And(args ...any) *ServiceRegionModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*ServiceRegionModel) AndNot ¶
func (x *ServiceRegionModel) AndNot(fn func(*ServiceRegionModel)) *ServiceRegionModel
AndNot opens a negated group joined with AND.
func (*ServiceRegionModel) AvgSeq ¶
func (x *ServiceRegionModel) AvgSeq() *ServiceRegionModel
func (*ServiceRegionModel) AvgServiceSeq ¶
func (x *ServiceRegionModel) AvgServiceSeq() *ServiceRegionModel
func (*ServiceRegionModel) Connect ¶
func (x *ServiceRegionModel) Connect(db *orm.DB) *ServiceRegionModel
Connect sets the connection.
func (*ServiceRegionModel) Create ¶
func (x *ServiceRegionModel) Create() (*ServiceRegionModel, error)
Create inserts the row and returns the created row.
func (*ServiceRegionModel) Creates ¶
func (x *ServiceRegionModel) Creates(rows []*ServiceRegionModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*ServiceRegionModel) Delete ¶
func (x *ServiceRegionModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*ServiceRegionModel) DeleteLock ¶
func (x *ServiceRegionModel) DeleteLock() *ServiceRegionModel
DeleteLock excludes the relation from recursive delete.
func (*ServiceRegionModel) Duplication ¶
func (x *ServiceRegionModel) Duplication(m *ServiceRegionModel) *ServiceRegionModel
Duplication sets the duplicate-key update of the next Create.
func (*ServiceRegionModel) FetchKey ¶
func (x *ServiceRegionModel) FetchKey(fn func(*ServiceRegionModel) any) *ServiceRegionModel
FetchKey computes the collection key of each row.
func (*ServiceRegionModel) FetchValue ¶
func (x *ServiceRegionModel) FetchValue(fn func(*ServiceRegionModel) any) *ServiceRegionModel
FetchValue computes a value for each loaded row.
func (*ServiceRegionModel) ForShare ¶
func (x *ServiceRegionModel) ForShare() *ServiceRegionModel
ForShare locks the selected rows for share inside a transaction.
func (*ServiceRegionModel) ForShareNoWait ¶
func (x *ServiceRegionModel) ForShareNoWait() *ServiceRegionModel
ForShareNoWait locks for share without waiting.
func (*ServiceRegionModel) ForUpdate ¶
func (x *ServiceRegionModel) ForUpdate() *ServiceRegionModel
ForUpdate locks the selected rows for update inside a transaction.
func (*ServiceRegionModel) ForUpdateNoWait ¶
func (x *ServiceRegionModel) ForUpdateNoWait() *ServiceRegionModel
ForUpdateNoWait locks for update without waiting.
func (*ServiceRegionModel) ForceIndexIxServiceRegionService ¶
func (x *ServiceRegionModel) ForceIndexIxServiceRegionService() *ServiceRegionModel
func (*ServiceRegionModel) Get ¶
func (x *ServiceRegionModel) Get() (*ServiceRegionModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*ServiceRegionModel) GetAvg ¶
func (x *ServiceRegionModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*ServiceRegionModel) GetCount ¶
func (x *ServiceRegionModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*ServiceRegionModel) GetName ¶
func (x *ServiceRegionModel) GetName() string
GetName returns name.
func (*ServiceRegionModel) GetQuery ¶
func (x *ServiceRegionModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*ServiceRegionModel) GetServiceSeq ¶
func (x *ServiceRegionModel) GetServiceSeq() int64
GetServiceSeq returns service_seq.
func (*ServiceRegionModel) GetSum ¶
func (x *ServiceRegionModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*ServiceRegionModel) Gets ¶
func (x *ServiceRegionModel) Gets() (*orm.Collection[*ServiceRegionModel], error)
Gets returns the matching rows.
func (*ServiceRegionModel) GetsCount ¶
func (x *ServiceRegionModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*ServiceRegionModel) GetsPage ¶
func (x *ServiceRegionModel) GetsPage(page, perPage int) (*orm.Page[*ServiceRegionModel], error)
GetsPage returns one page of matching rows.
func (*ServiceRegionModel) GroupByName ¶
func (x *ServiceRegionModel) GroupByName() *ServiceRegionModel
func (*ServiceRegionModel) GroupBySeq ¶
func (x *ServiceRegionModel) GroupBySeq() *ServiceRegionModel
func (*ServiceRegionModel) GroupByServiceSeq ¶
func (x *ServiceRegionModel) GroupByServiceSeq() *ServiceRegionModel
func (*ServiceRegionModel) GroupLimit ¶
func (x *ServiceRegionModel) GroupLimit(n int) *ServiceRegionModel
GroupLimit limits related rows per parent.
func (*ServiceRegionModel) KeyNameName ¶
func (x *ServiceRegionModel) KeyNameName() *ServiceRegionModel
func (*ServiceRegionModel) KeyNameSeq ¶
func (x *ServiceRegionModel) KeyNameSeq() *ServiceRegionModel
func (*ServiceRegionModel) KeyNameServiceSeq ¶
func (x *ServiceRegionModel) KeyNameServiceSeq() *ServiceRegionModel
func (*ServiceRegionModel) Limit ¶
func (x *ServiceRegionModel) Limit(offset, count int) *ServiceRegionModel
Limit sets the row range.
func (*ServiceRegionModel) MarshalJSON ¶
func (x *ServiceRegionModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*ServiceRegionModel) MatchServiceRegionSeqWithSeq ¶
func (x *ServiceRegionModel) MatchServiceRegionSeqWithSeq() *ServiceRegionModel
func (*ServiceRegionModel) MinusSeq ¶
func (x *ServiceRegionModel) MinusSeq(n int64) *ServiceRegionModel
func (*ServiceRegionModel) MinusServiceSeq ¶
func (x *ServiceRegionModel) MinusServiceSeq(n int64) *ServiceRegionModel
func (*ServiceRegionModel) Not ¶
func (x *ServiceRegionModel) Not(fn func(*ServiceRegionModel)) *ServiceRegionModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*ServiceRegionModel) On ¶
func (x *ServiceRegionModel) On(fn func(*ServiceRegionModel)) *ServiceRegionModel
On sets the join ON conditions.
func (*ServiceRegionModel) Or ¶
func (x *ServiceRegionModel) Or(args ...any) *ServiceRegionModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*ServiceRegionModel) OrNot ¶
func (x *ServiceRegionModel) OrNot(fn func(*ServiceRegionModel)) *ServiceRegionModel
OrNot opens a negated group joined with OR.
func (*ServiceRegionModel) OrderByNameAsc ¶
func (x *ServiceRegionModel) OrderByNameAsc(fn ...orm.Func) *ServiceRegionModel
func (*ServiceRegionModel) OrderByNameDesc ¶
func (x *ServiceRegionModel) OrderByNameDesc(fn ...orm.Func) *ServiceRegionModel
func (*ServiceRegionModel) OrderByRandom ¶
func (x *ServiceRegionModel) OrderByRandom() *ServiceRegionModel
OrderByRandom orders rows randomly.
func (*ServiceRegionModel) OrderBySeqAsc ¶
func (x *ServiceRegionModel) OrderBySeqAsc(fn ...orm.Func) *ServiceRegionModel
func (*ServiceRegionModel) OrderBySeqDesc ¶
func (x *ServiceRegionModel) OrderBySeqDesc(fn ...orm.Func) *ServiceRegionModel
func (*ServiceRegionModel) OrderByServiceSeqAsc ¶
func (x *ServiceRegionModel) OrderByServiceSeqAsc(fn ...orm.Func) *ServiceRegionModel
func (*ServiceRegionModel) OrderByServiceSeqDesc ¶
func (x *ServiceRegionModel) OrderByServiceSeqDesc(fn ...orm.Func) *ServiceRegionModel
func (*ServiceRegionModel) Orm_ ¶
func (x *ServiceRegionModel) Orm_() *orm.Core
func (*ServiceRegionModel) ParentNode ¶
func (x *ServiceRegionModel) ParentNode() *ServiceRegionModel
ParentNode merges the related row into the parent row.
func (*ServiceRegionModel) PlusSeq ¶
func (x *ServiceRegionModel) PlusSeq(n int64) *ServiceRegionModel
func (*ServiceRegionModel) PlusServiceSeq ¶
func (x *ServiceRegionModel) PlusServiceSeq(n int64) *ServiceRegionModel
func (*ServiceRegionModel) PossibleIsClose ¶
func (x *ServiceRegionModel) PossibleIsClose(v any) *ServiceRegionModel
func (*ServiceRegionModel) Relation ¶
func (x *ServiceRegionModel) Relation(child orm.Model) *ServiceRegionModel
Relation attaches one related row loaded by a separate query.
func (*ServiceRegionModel) Relations ¶
func (x *ServiceRegionModel) Relations(child orm.Model) *ServiceRegionModel
Relations attaches related rows loaded by a separate query.
func (*ServiceRegionModel) RemoveAllColumns ¶
func (x *ServiceRegionModel) RemoveAllColumns() *ServiceRegionModel
RemoveAllColumns keeps only primary and foreign keys.
func (*ServiceRegionModel) RemoveColumnName ¶
func (x *ServiceRegionModel) RemoveColumnName() *ServiceRegionModel
func (*ServiceRegionModel) RemoveColumnSeq ¶
func (x *ServiceRegionModel) RemoveColumnSeq() *ServiceRegionModel
func (*ServiceRegionModel) RemoveColumnServiceSeq ¶
func (x *ServiceRegionModel) RemoveColumnServiceSeq() *ServiceRegionModel
func (*ServiceRegionModel) Restore ¶
func (x *ServiceRegionModel) Restore() (*ServiceRegionModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*ServiceRegionModel) Save ¶
func (x *ServiceRegionModel) Save() (*ServiceRegionModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*ServiceRegionModel) Seq ¶
func (x *ServiceRegionModel) Seq[T0 argIntEq](v0 T0) *ServiceRegionModel
func (*ServiceRegionModel) ServiceSeq ¶
func (x *ServiceRegionModel) ServiceSeq[T0 argIntEq](v0 T0) *ServiceRegionModel
func (*ServiceRegionModel) SetName ¶
func (x *ServiceRegionModel) SetName(v string) *ServiceRegionModel
SetName sets name.
func (*ServiceRegionModel) SetSeq ¶
func (x *ServiceRegionModel) SetSeq(v int64) *ServiceRegionModel
SetSeq sets seq.
func (*ServiceRegionModel) SetServiceSeq ¶
func (x *ServiceRegionModel) SetServiceSeq(v int64) *ServiceRegionModel
SetServiceSeq sets service_seq.
func (*ServiceRegionModel) SumSeq ¶
func (x *ServiceRegionModel) SumSeq() *ServiceRegionModel
func (*ServiceRegionModel) SumServiceSeq ¶
func (x *ServiceRegionModel) SumServiceSeq() *ServiceRegionModel
func (*ServiceRegionModel) ToArray ¶
func (x *ServiceRegionModel) ToArray() map[string]any
ToArray returns the row values.
func (*ServiceRegionModel) Update ¶
func (x *ServiceRegionModel) Update(optimistic ...bool) (*ServiceRegionModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type SoftRecordModel ¶
type SoftRecordModel struct {
// contains filtered or unexported fields
}
SoftRecordModel is a soft_record model or row.
func (*SoftRecordModel) AddAllColumns ¶
func (x *SoftRecordModel) AddAllColumns() *SoftRecordModel
AddAllColumns selects every column.
func (*SoftRecordModel) AddColumnDeletedAt ¶
func (x *SoftRecordModel) AddColumnDeletedAt() *SoftRecordModel
func (*SoftRecordModel) AddColumnName ¶
func (x *SoftRecordModel) AddColumnName() *SoftRecordModel
func (*SoftRecordModel) AddColumnSeq ¶
func (x *SoftRecordModel) AddColumnSeq() *SoftRecordModel
func (*SoftRecordModel) And ¶
func (x *SoftRecordModel) And(args ...any) *SoftRecordModel
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*SoftRecordModel) AndNot ¶
func (x *SoftRecordModel) AndNot(fn func(*SoftRecordModel)) *SoftRecordModel
AndNot opens a negated group joined with AND.
func (*SoftRecordModel) AvgSeq ¶
func (x *SoftRecordModel) AvgSeq() *SoftRecordModel
func (*SoftRecordModel) Connect ¶
func (x *SoftRecordModel) Connect(db *orm.DB) *SoftRecordModel
Connect sets the connection.
func (*SoftRecordModel) Create ¶
func (x *SoftRecordModel) Create() (*SoftRecordModel, error)
Create inserts the row and returns the created row.
func (*SoftRecordModel) Creates ¶
func (x *SoftRecordModel) Creates(rows []*SoftRecordModel) (int64, error)
Creates inserts rows in one transaction and returns the inserted row count.
func (*SoftRecordModel) Delete ¶
func (x *SoftRecordModel) Delete(recursive ...bool) error
Delete deletes the row; Delete(true) first deletes loaded related rows.
func (*SoftRecordModel) DeleteLock ¶
func (x *SoftRecordModel) DeleteLock() *SoftRecordModel
DeleteLock excludes the relation from recursive delete.
func (*SoftRecordModel) Duplication ¶
func (x *SoftRecordModel) Duplication(m *SoftRecordModel) *SoftRecordModel
Duplication sets the duplicate-key update of the next Create.
func (*SoftRecordModel) FetchKey ¶
func (x *SoftRecordModel) FetchKey(fn func(*SoftRecordModel) any) *SoftRecordModel
FetchKey computes the collection key of each row.
func (*SoftRecordModel) FetchValue ¶
func (x *SoftRecordModel) FetchValue(fn func(*SoftRecordModel) any) *SoftRecordModel
FetchValue computes a value for each loaded row.
func (*SoftRecordModel) ForShare ¶
func (x *SoftRecordModel) ForShare() *SoftRecordModel
ForShare locks the selected rows for share inside a transaction.
func (*SoftRecordModel) ForShareNoWait ¶
func (x *SoftRecordModel) ForShareNoWait() *SoftRecordModel
ForShareNoWait locks for share without waiting.
func (*SoftRecordModel) ForUpdate ¶
func (x *SoftRecordModel) ForUpdate() *SoftRecordModel
ForUpdate locks the selected rows for update inside a transaction.
func (*SoftRecordModel) ForUpdateNoWait ¶
func (x *SoftRecordModel) ForUpdateNoWait() *SoftRecordModel
ForUpdateNoWait locks for update without waiting.
func (*SoftRecordModel) Get ¶
func (x *SoftRecordModel) Get() (*SoftRecordModel, error)
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*SoftRecordModel) GetAvg ¶
func (x *SoftRecordModel) GetAvg() (float64, error)
GetAvg returns the average of the column selected with Avg<Col>.
func (*SoftRecordModel) GetBySeq ¶
func (x *SoftRecordModel) GetBySeq[T0 argIntEq](v0 T0) (*SoftRecordModel, error)
func (*SoftRecordModel) GetCount ¶
func (x *SoftRecordModel) GetCount() (int64, error)
GetCount returns the number of matching rows.
func (*SoftRecordModel) GetDeletedAt ¶
func (x *SoftRecordModel) GetDeletedAt() *time.Time
GetDeletedAt returns deleted_at.
func (*SoftRecordModel) GetQuery ¶
func (x *SoftRecordModel) GetQuery() (*orm.Statement, error)
GetQuery returns the statement of Gets without executing it.
func (*SoftRecordModel) GetSum ¶
func (x *SoftRecordModel) GetSum() (float64, error)
GetSum returns the sum of the column selected with Sum<Col>.
func (*SoftRecordModel) Gets ¶
func (x *SoftRecordModel) Gets() (*orm.Collection[*SoftRecordModel], error)
Gets returns the matching rows.
func (*SoftRecordModel) GetsCount ¶
func (x *SoftRecordModel) GetsCount() (*orm.GroupRows, error)
GetsCount returns grouped rows with row_count.
func (*SoftRecordModel) GetsPage ¶
func (x *SoftRecordModel) GetsPage(page, perPage int) (*orm.Page[*SoftRecordModel], error)
GetsPage returns one page of matching rows.
func (*SoftRecordModel) GroupByDeletedAt ¶
func (x *SoftRecordModel) GroupByDeletedAt() *SoftRecordModel
func (*SoftRecordModel) GroupByName ¶
func (x *SoftRecordModel) GroupByName() *SoftRecordModel
func (*SoftRecordModel) GroupBySeq ¶
func (x *SoftRecordModel) GroupBySeq() *SoftRecordModel
func (*SoftRecordModel) GroupLimit ¶
func (x *SoftRecordModel) GroupLimit(n int) *SoftRecordModel
GroupLimit limits related rows per parent.
func (*SoftRecordModel) KeyNameDeletedAt ¶
func (x *SoftRecordModel) KeyNameDeletedAt() *SoftRecordModel
func (*SoftRecordModel) KeyNameName ¶
func (x *SoftRecordModel) KeyNameName() *SoftRecordModel
func (*SoftRecordModel) KeyNameSeq ¶
func (x *SoftRecordModel) KeyNameSeq() *SoftRecordModel
func (*SoftRecordModel) Limit ¶
func (x *SoftRecordModel) Limit(offset, count int) *SoftRecordModel
Limit sets the row range.
func (*SoftRecordModel) MarshalJSON ¶
func (x *SoftRecordModel) MarshalJSON() ([]byte, error)
MarshalJSON writes the row values in order.
func (*SoftRecordModel) MinusSeq ¶
func (x *SoftRecordModel) MinusSeq(n int64) *SoftRecordModel
func (*SoftRecordModel) Name ¶
func (x *SoftRecordModel) Name[T0 argStringEq](v0 T0) *SoftRecordModel
func (*SoftRecordModel) Not ¶
func (x *SoftRecordModel) Not(fn func(*SoftRecordModel)) *SoftRecordModel
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*SoftRecordModel) On ¶
func (x *SoftRecordModel) On(fn func(*SoftRecordModel)) *SoftRecordModel
On sets the join ON conditions.
func (*SoftRecordModel) Or ¶
func (x *SoftRecordModel) Or(args ...any) *SoftRecordModel
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*SoftRecordModel) OrNot ¶
func (x *SoftRecordModel) OrNot(fn func(*SoftRecordModel)) *SoftRecordModel
OrNot opens a negated group joined with OR.
func (*SoftRecordModel) OrderByDeletedAtAsc ¶
func (x *SoftRecordModel) OrderByDeletedAtAsc(fn ...orm.Func) *SoftRecordModel
func (*SoftRecordModel) OrderByDeletedAtDesc ¶
func (x *SoftRecordModel) OrderByDeletedAtDesc(fn ...orm.Func) *SoftRecordModel
func (*SoftRecordModel) OrderByNameAsc ¶
func (x *SoftRecordModel) OrderByNameAsc(fn ...orm.Func) *SoftRecordModel
func (*SoftRecordModel) OrderByNameDesc ¶
func (x *SoftRecordModel) OrderByNameDesc(fn ...orm.Func) *SoftRecordModel
func (*SoftRecordModel) OrderByRandom ¶
func (x *SoftRecordModel) OrderByRandom() *SoftRecordModel
OrderByRandom orders rows randomly.
func (*SoftRecordModel) OrderBySeqAsc ¶
func (x *SoftRecordModel) OrderBySeqAsc(fn ...orm.Func) *SoftRecordModel
func (*SoftRecordModel) OrderBySeqDesc ¶
func (x *SoftRecordModel) OrderBySeqDesc(fn ...orm.Func) *SoftRecordModel
func (*SoftRecordModel) Orm_ ¶
func (x *SoftRecordModel) Orm_() *orm.Core
func (*SoftRecordModel) ParentNode ¶
func (x *SoftRecordModel) ParentNode() *SoftRecordModel
ParentNode merges the related row into the parent row.
func (*SoftRecordModel) PlusSeq ¶
func (x *SoftRecordModel) PlusSeq(n int64) *SoftRecordModel
func (*SoftRecordModel) Relation ¶
func (x *SoftRecordModel) Relation(child orm.Model) *SoftRecordModel
Relation attaches one related row loaded by a separate query.
func (*SoftRecordModel) Relations ¶
func (x *SoftRecordModel) Relations(child orm.Model) *SoftRecordModel
Relations attaches related rows loaded by a separate query.
func (*SoftRecordModel) RemoveAllColumns ¶
func (x *SoftRecordModel) RemoveAllColumns() *SoftRecordModel
RemoveAllColumns keeps only primary and foreign keys.
func (*SoftRecordModel) RemoveColumnDeletedAt ¶
func (x *SoftRecordModel) RemoveColumnDeletedAt() *SoftRecordModel
func (*SoftRecordModel) RemoveColumnName ¶
func (x *SoftRecordModel) RemoveColumnName() *SoftRecordModel
func (*SoftRecordModel) RemoveColumnSeq ¶
func (x *SoftRecordModel) RemoveColumnSeq() *SoftRecordModel
func (*SoftRecordModel) Restore ¶
func (x *SoftRecordModel) Restore() (*SoftRecordModel, error)
Restore restores the soft-deleted row that the set key values name and returns it.
func (*SoftRecordModel) Save ¶
func (x *SoftRecordModel) Save() (*SoftRecordModel, error)
Save updates the row when its primary key is known, otherwise creates it.
func (*SoftRecordModel) Seq ¶
func (x *SoftRecordModel) Seq[T0 argIntEq](v0 T0) *SoftRecordModel
func (*SoftRecordModel) SetDeletedAt ¶
func (x *SoftRecordModel) SetDeletedAt(v *time.Time) *SoftRecordModel
SetDeletedAt sets deleted_at; nil stores NULL.
func (*SoftRecordModel) SetName ¶
func (x *SoftRecordModel) SetName(v string) *SoftRecordModel
SetName sets name.
func (*SoftRecordModel) SetSeq ¶
func (x *SoftRecordModel) SetSeq(v int64) *SoftRecordModel
SetSeq sets seq.
func (*SoftRecordModel) SumSeq ¶
func (x *SoftRecordModel) SumSeq() *SoftRecordModel
func (*SoftRecordModel) ToArray ¶
func (x *SoftRecordModel) ToArray() map[string]any
ToArray returns the row values.
func (*SoftRecordModel) Update ¶
func (x *SoftRecordModel) Update(optimistic ...bool) (*SoftRecordModel, error)
Update writes the changed columns; Update(true) requires an unchanged updated time.
type TaskModel ¶
type TaskModel struct {
// contains filtered or unexported fields
}
TaskModel is a task model or row.
func (*TaskModel) AddAllColumns ¶
AddAllColumns selects every column.
func (*TaskModel) AddColumnSeq ¶
func (*TaskModel) AddColumnState ¶
func (*TaskModel) AddColumnTitle ¶
func (*TaskModel) And ¶
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*TaskModel) Creates ¶
Creates inserts rows in one transaction and returns the inserted row count.
func (*TaskModel) DeleteLock ¶
DeleteLock excludes the relation from recursive delete.
func (*TaskModel) Duplication ¶
Duplication sets the duplicate-key update of the next Create.
func (*TaskModel) FetchValue ¶
FetchValue computes a value for each loaded row.
func (*TaskModel) ForShareNoWait ¶
ForShareNoWait locks for share without waiting.
func (*TaskModel) ForUpdateNoWait ¶
ForUpdateNoWait locks for update without waiting.
func (*TaskModel) Get ¶
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*TaskModel) Gets ¶
func (x *TaskModel) Gets() (*orm.Collection[*TaskModel], error)
Gets returns the matching rows.
func (*TaskModel) GroupBySeq ¶
func (*TaskModel) GroupByState ¶
func (*TaskModel) GroupByTitle ¶
func (*TaskModel) GroupLimit ¶
GroupLimit limits related rows per parent.
func (*TaskModel) KeyNameSeq ¶
func (*TaskModel) KeyNameState ¶
func (*TaskModel) KeyNameTitle ¶
func (*TaskModel) MarshalJSON ¶
MarshalJSON writes the row values in order.
func (*TaskModel) Not ¶
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*TaskModel) Or ¶
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*TaskModel) OrderByRandom ¶
OrderByRandom orders rows randomly.
func (*TaskModel) OrderByStateDesc ¶
func (*TaskModel) OrderByTitleDesc ¶
func (*TaskModel) ParentNode ¶
ParentNode merges the related row into the parent row.
func (*TaskModel) RemoveAllColumns ¶
RemoveAllColumns keeps only primary and foreign keys.
func (*TaskModel) RemoveColumnSeq ¶
func (*TaskModel) RemoveColumnState ¶
func (*TaskModel) RemoveColumnTitle ¶
func (*TaskModel) Restore ¶
Restore restores the soft-deleted row that the set key values name and returns it.
type UserModel ¶
type UserModel struct {
// contains filtered or unexported fields
}
UserModel is a user model or row.
func (*UserModel) AddAllColumns ¶
AddAllColumns selects every column.
func (*UserModel) AddColumnName ¶
func (*UserModel) AddColumnReadTotal ¶
func (*UserModel) AddColumnSeq ¶
func (*UserModel) AliasOwner ¶
func (*UserModel) AliasWriter ¶
func (*UserModel) And ¶
And joins the next condition with AND, opens an AND group with a callback, or places the conditions of a joined model.
func (*UserModel) Creates ¶
Creates inserts rows in one transaction and returns the inserted row count.
func (*UserModel) DeleteLock ¶
DeleteLock excludes the relation from recursive delete.
func (*UserModel) Duplication ¶
Duplication sets the duplicate-key update of the next Create.
func (*UserModel) FetchValue ¶
FetchValue computes a value for each loaded row.
func (*UserModel) ForShareNoWait ¶
ForShareNoWait locks for share without waiting.
func (*UserModel) ForUpdateNoWait ¶
ForUpdateNoWait locks for update without waiting.
func (*UserModel) Get ¶
Get returns the first matching row. It returns orm.CodeNoRows when no row matches.
func (*UserModel) GetAuthorModels ¶
func (x *UserModel) GetAuthorModels() (*orm.Collection[*AuthorModel], error)
GetAuthorModels returns the author relation result.
func (*UserModel) GetReadTotal ¶
GetReadTotal returns the column added with AddColumnReadTotal.
func (*UserModel) Gets ¶
func (x *UserModel) Gets() (*orm.Collection[*UserModel], error)
Gets returns the matching rows.
func (*UserModel) GroupByName ¶
func (*UserModel) GroupBySeq ¶
func (*UserModel) GroupLimit ¶
GroupLimit limits related rows per parent.
func (*UserModel) KeyNameName ¶
func (*UserModel) KeyNameSeq ¶
func (*UserModel) MarshalJSON ¶
MarshalJSON writes the row values in order.
func (*UserModel) MatchUserSeqWithSeq ¶
func (*UserModel) Not ¶
Not opens a negated group, NOT (…), as the first condition or after a connector written as a separate call.
func (*UserModel) Or ¶
Or joins the next condition with OR, opens an OR group with a callback, or places the conditions of a joined model.
func (*UserModel) OrderByRandom ¶
OrderByRandom orders rows randomly.
func (*UserModel) ParentNode ¶
ParentNode merges the related row into the parent row.
func (*UserModel) RemoveAllColumns ¶
RemoveAllColumns keeps only primary and foreign keys.
func (*UserModel) RemoveColumnName ¶
func (*UserModel) RemoveColumnSeq ¶
func (*UserModel) Restore ¶
Restore restores the soft-deleted row that the set key values name and returns it.