Documentation ¶
Overview ¶
Code generated by wpb. DO NOT EDIT.
Code generated by wpb. DO NOT EDIT.
Code generated by wpb. DO NOT EDIT.
Code generated by wpb. DO NOT EDIT.
Code generated by wpb. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func NewUserFriendOperation(db *sqlx.DB) (_ *xUserFriendOperation, err error)
- func NewUserInfoOperation(db *sqlx.DB) (_ *xUserInfoOperation, err error)
- func NewUserTest2Operation(db *sqlx.DB) (_ *xUserTest2Operation, err error)
- func NewUserTestOperation(db *sqlx.DB) (_ *xUserTestOperation, err error)
- func NewUserXxLogOperation(db *sqlx.DB) (_ *xUserXxLogOperation, err error)
- func SyncUserFriendDBTable(ctx context.Context, db *sqlx.DB) (err error)
- func SyncUserInfoDBTable(ctx context.Context, db *sqlx.DB) (err error)
- func SyncUserTest2DBTable(ctx context.Context, db *sqlx.DB) (err error)
- func SyncUserTestDBTable(ctx context.Context, db *sqlx.DB) (err error)
- func SyncUserXxLogDBTable(ctx context.Context, db *sqlx.DB) (err error)
- type UserFriendKey
- type UserFriendNamedInsert
- func (x *UserFriendNamedInsert) CreateStamp() *UserFriendNamedInsert
- func (x *UserFriendNamedInsert) Fid() *UserFriendNamedInsert
- func (x *UserFriendNamedInsert) ModifyStamp() *UserFriendNamedInsert
- func (x *UserFriendNamedInsert) State() *UserFriendNamedInsert
- func (x *UserFriendNamedInsert) ToSQL() string
- func (x *UserFriendNamedInsert) Uid() *UserFriendNamedInsert
- func (x *UserFriendNamedInsert) ValuesToSQL() string
- type UserFriendNamedOrderAsc
- func (x *UserFriendNamedOrderAsc) Asc() *UserFriendNamedOrderBy
- func (x *UserFriendNamedOrderAsc) CreateStamp() *UserFriendNamedOrderAsc
- func (x *UserFriendNamedOrderAsc) Desc() *UserFriendNamedOrderBy
- func (x *UserFriendNamedOrderAsc) ModifyStamp() *UserFriendNamedOrderAsc
- func (x *UserFriendNamedOrderAsc) ToSQL() string
- type UserFriendNamedOrderBy
- func (x *UserFriendNamedOrderBy) Fid() *UserFriendNamedOrderAsc
- func (x *UserFriendNamedOrderBy) Limit(limit, offset int) *UserFriendNamedOrderBy
- func (x *UserFriendNamedOrderBy) State() *UserFriendNamedOrderAsc
- func (x *UserFriendNamedOrderBy) ToSQL() string
- func (x *UserFriendNamedOrderBy) Uid() *UserFriendNamedOrderAsc
- type UserFriendNamedSelect
- func (x *UserFriendNamedSelect) CreateStamp() *UserFriendNamedSelect
- func (x *UserFriendNamedSelect) Fid() *UserFriendNamedSelect
- func (x *UserFriendNamedSelect) ModifyStamp() *UserFriendNamedSelect
- func (x *UserFriendNamedSelect) State() *UserFriendNamedSelect
- func (x *UserFriendNamedSelect) ToSQL() string
- func (x *UserFriendNamedSelect) Uid() *UserFriendNamedSelect
- func (x *UserFriendNamedSelect) Where() *UserFriendNamedWhere
- type UserFriendNamedUpdate
- func (x *UserFriendNamedUpdate) CreateStamp() *UserFriendNamedUpdate
- func (x *UserFriendNamedUpdate) Fid() *UserFriendNamedUpdate
- func (x *UserFriendNamedUpdate) ModifyStamp() *UserFriendNamedUpdate
- func (x *UserFriendNamedUpdate) State() *UserFriendNamedUpdate
- func (x *UserFriendNamedUpdate) ToSQL() string
- func (x *UserFriendNamedUpdate) Uid() *UserFriendNamedUpdate
- func (x *UserFriendNamedUpdate) Where() *UserFriendNamedWhere
- type UserFriendNamedWhere
- func (x *UserFriendNamedWhere) And() *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) CreateStamp() *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) Custom(f func(buf *util.Builder)) *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) Fid() *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) Group(gf func(w *UserFriendNamedWhere)) *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) Limit(limit, offset int) *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) ModifyStamp() *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) OnDuplicateKeyUpdate() *UserFriendNamedUpdate
- func (x *UserFriendNamedWhere) OnDuplicateKeyUpdateValues() *UserFriendNamedUpdate
- func (x *UserFriendNamedWhere) Or() *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) OrderBy() *UserFriendNamedOrderBy
- func (x *UserFriendNamedWhere) State() *UserFriendNamedWhere
- func (x *UserFriendNamedWhere) ToSQL() string
- func (x *UserFriendNamedWhere) Uid() *UserFriendNamedWhere
- type UserFriendOperation
- type UserFriendSQLWriter
- type UserFriendWhereStmt
- func (w *UserFriendWhereStmt) And() *UserFriendWhereStmt
- func (w *UserFriendWhereStmt) Custom(f func(buf *util.Builder)) *UserFriendWhereStmt
- func (w *UserFriendWhereStmt) Fid() *svc_db.IntSignedCondition[UserFriendWhereStmt, int64]
- func (w *UserFriendWhereStmt) Group(gf func(w *UserFriendWhereStmt)) *UserFriendWhereStmt
- func (w *UserFriendWhereStmt) Limit(limit, offset int) *UserFriendWhereStmt
- func (w *UserFriendWhereStmt) Or() *UserFriendWhereStmt
- func (w *UserFriendWhereStmt) State() *svc_db.IntSignedCondition[UserFriendWhereStmt, int8]
- func (w *UserFriendWhereStmt) String() string
- func (w *UserFriendWhereStmt) Uid() *svc_db.IntSignedCondition[UserFriendWhereStmt, int64]
- type UserInfoKey
- type UserInfoNamedInsert
- func (x *UserInfoNamedInsert) CreateStamp() *UserInfoNamedInsert
- func (x *UserInfoNamedInsert) Email() *UserInfoNamedInsert
- func (x *UserInfoNamedInsert) ModifyStamp() *UserInfoNamedInsert
- func (x *UserInfoNamedInsert) Name() *UserInfoNamedInsert
- func (x *UserInfoNamedInsert) ToSQL() string
- func (x *UserInfoNamedInsert) Uid() *UserInfoNamedInsert
- func (x *UserInfoNamedInsert) ValuesToSQL() string
- type UserInfoNamedOrderAsc
- func (x *UserInfoNamedOrderAsc) Asc() *UserInfoNamedOrderBy
- func (x *UserInfoNamedOrderAsc) CreateStamp() *UserInfoNamedOrderAsc
- func (x *UserInfoNamedOrderAsc) Desc() *UserInfoNamedOrderBy
- func (x *UserInfoNamedOrderAsc) ModifyStamp() *UserInfoNamedOrderAsc
- func (x *UserInfoNamedOrderAsc) ToSQL() string
- type UserInfoNamedOrderBy
- func (x *UserInfoNamedOrderBy) Email() *UserInfoNamedOrderAsc
- func (x *UserInfoNamedOrderBy) Limit(limit, offset int) *UserInfoNamedOrderBy
- func (x *UserInfoNamedOrderBy) Name() *UserInfoNamedOrderAsc
- func (x *UserInfoNamedOrderBy) ToSQL() string
- func (x *UserInfoNamedOrderBy) Uid() *UserInfoNamedOrderAsc
- type UserInfoNamedSelect
- func (x *UserInfoNamedSelect) CreateStamp() *UserInfoNamedSelect
- func (x *UserInfoNamedSelect) Email() *UserInfoNamedSelect
- func (x *UserInfoNamedSelect) ModifyStamp() *UserInfoNamedSelect
- func (x *UserInfoNamedSelect) Name() *UserInfoNamedSelect
- func (x *UserInfoNamedSelect) ToSQL() string
- func (x *UserInfoNamedSelect) Uid() *UserInfoNamedSelect
- func (x *UserInfoNamedSelect) Where() *UserInfoNamedWhere
- type UserInfoNamedUpdate
- func (x *UserInfoNamedUpdate) CreateStamp() *UserInfoNamedUpdate
- func (x *UserInfoNamedUpdate) Email() *UserInfoNamedUpdate
- func (x *UserInfoNamedUpdate) ModifyStamp() *UserInfoNamedUpdate
- func (x *UserInfoNamedUpdate) Name() *UserInfoNamedUpdate
- func (x *UserInfoNamedUpdate) ToSQL() string
- func (x *UserInfoNamedUpdate) Uid() *UserInfoNamedUpdate
- func (x *UserInfoNamedUpdate) Where() *UserInfoNamedWhere
- type UserInfoNamedWhere
- func (x *UserInfoNamedWhere) And() *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) CreateStamp() *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) Custom(f func(buf *util.Builder)) *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) Email() *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) Group(gf func(w *UserInfoNamedWhere)) *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) Limit(limit, offset int) *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) ModifyStamp() *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) Name() *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) OnDuplicateKeyUpdate() *UserInfoNamedUpdate
- func (x *UserInfoNamedWhere) OnDuplicateKeyUpdateValues() *UserInfoNamedUpdate
- func (x *UserInfoNamedWhere) Or() *UserInfoNamedWhere
- func (x *UserInfoNamedWhere) OrderBy() *UserInfoNamedOrderBy
- func (x *UserInfoNamedWhere) ToSQL() string
- func (x *UserInfoNamedWhere) Uid() *UserInfoNamedWhere
- type UserInfoOperation
- type UserInfoSQLWriter
- type UserInfoWhereStmt
- func (w *UserInfoWhereStmt) And() *UserInfoWhereStmt
- func (w *UserInfoWhereStmt) Custom(f func(buf *util.Builder)) *UserInfoWhereStmt
- func (w *UserInfoWhereStmt) Email() *svc_db.StringCondition[UserInfoWhereStmt]
- func (w *UserInfoWhereStmt) Group(gf func(w *UserInfoWhereStmt)) *UserInfoWhereStmt
- func (w *UserInfoWhereStmt) Limit(limit, offset int) *UserInfoWhereStmt
- func (w *UserInfoWhereStmt) Name() *svc_db.StringCondition[UserInfoWhereStmt]
- func (w *UserInfoWhereStmt) Or() *UserInfoWhereStmt
- func (w *UserInfoWhereStmt) String() string
- func (w *UserInfoWhereStmt) Uid() *svc_db.IntSignedCondition[UserInfoWhereStmt, int64]
- type UserTest2Key
- type UserTest2NamedInsert
- func (x *UserTest2NamedInsert) CreateStamp() *UserTest2NamedInsert
- func (x *UserTest2NamedInsert) CustomVal() *UserTest2NamedInsert
- func (x *UserTest2NamedInsert) ModifyStamp() *UserTest2NamedInsert
- func (x *UserTest2NamedInsert) State() *UserTest2NamedInsert
- func (x *UserTest2NamedInsert) ToSQL() string
- func (x *UserTest2NamedInsert) Uid() *UserTest2NamedInsert
- func (x *UserTest2NamedInsert) ValuesToSQL() string
- func (x *UserTest2NamedInsert) Xxx() *UserTest2NamedInsert
- type UserTest2NamedOrderAsc
- func (x *UserTest2NamedOrderAsc) Asc() *UserTest2NamedOrderBy
- func (x *UserTest2NamedOrderAsc) CreateStamp() *UserTest2NamedOrderAsc
- func (x *UserTest2NamedOrderAsc) Desc() *UserTest2NamedOrderBy
- func (x *UserTest2NamedOrderAsc) ModifyStamp() *UserTest2NamedOrderAsc
- func (x *UserTest2NamedOrderAsc) ToSQL() string
- type UserTest2NamedOrderBy
- func (x *UserTest2NamedOrderBy) CustomVal() *UserTest2NamedOrderAsc
- func (x *UserTest2NamedOrderBy) Limit(limit, offset int) *UserTest2NamedOrderBy
- func (x *UserTest2NamedOrderBy) State() *UserTest2NamedOrderAsc
- func (x *UserTest2NamedOrderBy) ToSQL() string
- func (x *UserTest2NamedOrderBy) Uid() *UserTest2NamedOrderAsc
- func (x *UserTest2NamedOrderBy) Xxx() *UserTest2NamedOrderAsc
- type UserTest2NamedSelect
- func (x *UserTest2NamedSelect) CreateStamp() *UserTest2NamedSelect
- func (x *UserTest2NamedSelect) CustomVal() *UserTest2NamedSelect
- func (x *UserTest2NamedSelect) ModifyStamp() *UserTest2NamedSelect
- func (x *UserTest2NamedSelect) State() *UserTest2NamedSelect
- func (x *UserTest2NamedSelect) ToSQL() string
- func (x *UserTest2NamedSelect) Uid() *UserTest2NamedSelect
- func (x *UserTest2NamedSelect) Where() *UserTest2NamedWhere
- func (x *UserTest2NamedSelect) Xxx() *UserTest2NamedSelect
- type UserTest2NamedUpdate
- func (x *UserTest2NamedUpdate) CreateStamp() *UserTest2NamedUpdate
- func (x *UserTest2NamedUpdate) CustomVal() *UserTest2NamedUpdate
- func (x *UserTest2NamedUpdate) ModifyStamp() *UserTest2NamedUpdate
- func (x *UserTest2NamedUpdate) State() *UserTest2NamedUpdate
- func (x *UserTest2NamedUpdate) ToSQL() string
- func (x *UserTest2NamedUpdate) Uid() *UserTest2NamedUpdate
- func (x *UserTest2NamedUpdate) Where() *UserTest2NamedWhere
- func (x *UserTest2NamedUpdate) Xxx() *UserTest2NamedUpdate
- type UserTest2NamedWhere
- func (x *UserTest2NamedWhere) And() *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) CreateStamp() *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) Custom(f func(buf *util.Builder)) *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) CustomVal() *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) Group(gf func(w *UserTest2NamedWhere)) *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) Limit(limit, offset int) *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) ModifyStamp() *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) OnDuplicateKeyUpdate() *UserTest2NamedUpdate
- func (x *UserTest2NamedWhere) OnDuplicateKeyUpdateValues() *UserTest2NamedUpdate
- func (x *UserTest2NamedWhere) Or() *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) OrderBy() *UserTest2NamedOrderBy
- func (x *UserTest2NamedWhere) State() *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) ToSQL() string
- func (x *UserTest2NamedWhere) Uid() *UserTest2NamedWhere
- func (x *UserTest2NamedWhere) Xxx() *UserTest2NamedWhere
- type UserTest2Operation
- type UserTest2SQLWriter
- type UserTest2WhereStmt
- func (w *UserTest2WhereStmt) And() *UserTest2WhereStmt
- func (w *UserTest2WhereStmt) Custom(f func(buf *util.Builder)) *UserTest2WhereStmt
- func (w *UserTest2WhereStmt) CustomVal() *svc_db.StringCondition[UserTest2WhereStmt]
- func (w *UserTest2WhereStmt) Group(gf func(w *UserTest2WhereStmt)) *UserTest2WhereStmt
- func (w *UserTest2WhereStmt) Limit(limit, offset int) *UserTest2WhereStmt
- func (w *UserTest2WhereStmt) Or() *UserTest2WhereStmt
- func (w *UserTest2WhereStmt) State() *svc_db.IntSignedCondition[UserTest2WhereStmt, int8]
- func (w *UserTest2WhereStmt) String() string
- func (w *UserTest2WhereStmt) Uid() *svc_db.IntSignedCondition[UserTest2WhereStmt, int64]
- func (w *UserTest2WhereStmt) Xxx() *svc_db.IntSignedCondition[UserTest2WhereStmt, int64]
- type UserTestNamedInsert
- func (x *UserTestNamedInsert) CreateStamp() *UserTestNamedInsert
- func (x *UserTestNamedInsert) ModifyStamp() *UserTestNamedInsert
- func (x *UserTestNamedInsert) State() *UserTestNamedInsert
- func (x *UserTestNamedInsert) ToSQL() string
- func (x *UserTestNamedInsert) Uid() *UserTestNamedInsert
- func (x *UserTestNamedInsert) ValuesToSQL() string
- func (x *UserTestNamedInsert) Xxx() *UserTestNamedInsert
- type UserTestNamedOrderAsc
- func (x *UserTestNamedOrderAsc) Asc() *UserTestNamedOrderBy
- func (x *UserTestNamedOrderAsc) CreateStamp() *UserTestNamedOrderAsc
- func (x *UserTestNamedOrderAsc) Desc() *UserTestNamedOrderBy
- func (x *UserTestNamedOrderAsc) ModifyStamp() *UserTestNamedOrderAsc
- func (x *UserTestNamedOrderAsc) ToSQL() string
- type UserTestNamedOrderBy
- func (x *UserTestNamedOrderBy) Limit(limit, offset int) *UserTestNamedOrderBy
- func (x *UserTestNamedOrderBy) State() *UserTestNamedOrderAsc
- func (x *UserTestNamedOrderBy) ToSQL() string
- func (x *UserTestNamedOrderBy) Uid() *UserTestNamedOrderAsc
- func (x *UserTestNamedOrderBy) Xxx() *UserTestNamedOrderAsc
- type UserTestNamedSelect
- func (x *UserTestNamedSelect) CreateStamp() *UserTestNamedSelect
- func (x *UserTestNamedSelect) ModifyStamp() *UserTestNamedSelect
- func (x *UserTestNamedSelect) State() *UserTestNamedSelect
- func (x *UserTestNamedSelect) ToSQL() string
- func (x *UserTestNamedSelect) Uid() *UserTestNamedSelect
- func (x *UserTestNamedSelect) Where() *UserTestNamedWhere
- func (x *UserTestNamedSelect) Xxx() *UserTestNamedSelect
- type UserTestNamedUpdate
- func (x *UserTestNamedUpdate) CreateStamp() *UserTestNamedUpdate
- func (x *UserTestNamedUpdate) ModifyStamp() *UserTestNamedUpdate
- func (x *UserTestNamedUpdate) State() *UserTestNamedUpdate
- func (x *UserTestNamedUpdate) ToSQL() string
- func (x *UserTestNamedUpdate) Uid() *UserTestNamedUpdate
- func (x *UserTestNamedUpdate) Where() *UserTestNamedWhere
- func (x *UserTestNamedUpdate) Xxx() *UserTestNamedUpdate
- type UserTestNamedWhere
- func (x *UserTestNamedWhere) And() *UserTestNamedWhere
- func (x *UserTestNamedWhere) CreateStamp() *UserTestNamedWhere
- func (x *UserTestNamedWhere) Custom(f func(buf *util.Builder)) *UserTestNamedWhere
- func (x *UserTestNamedWhere) Group(gf func(w *UserTestNamedWhere)) *UserTestNamedWhere
- func (x *UserTestNamedWhere) Limit(limit, offset int) *UserTestNamedWhere
- func (x *UserTestNamedWhere) ModifyStamp() *UserTestNamedWhere
- func (x *UserTestNamedWhere) OnDuplicateKeyUpdate() *UserTestNamedUpdate
- func (x *UserTestNamedWhere) OnDuplicateKeyUpdateValues() *UserTestNamedUpdate
- func (x *UserTestNamedWhere) Or() *UserTestNamedWhere
- func (x *UserTestNamedWhere) OrderBy() *UserTestNamedOrderBy
- func (x *UserTestNamedWhere) State() *UserTestNamedWhere
- func (x *UserTestNamedWhere) ToSQL() string
- func (x *UserTestNamedWhere) Uid() *UserTestNamedWhere
- func (x *UserTestNamedWhere) Xxx() *UserTestNamedWhere
- type UserTestOperation
- type UserTestSQLWriter
- type UserTestWhereStmt
- func (w *UserTestWhereStmt) And() *UserTestWhereStmt
- func (w *UserTestWhereStmt) Custom(f func(buf *util.Builder)) *UserTestWhereStmt
- func (w *UserTestWhereStmt) Group(gf func(w *UserTestWhereStmt)) *UserTestWhereStmt
- func (w *UserTestWhereStmt) Limit(limit, offset int) *UserTestWhereStmt
- func (w *UserTestWhereStmt) Or() *UserTestWhereStmt
- func (w *UserTestWhereStmt) State() *svc_db.IntSignedCondition[UserTestWhereStmt, int8]
- func (w *UserTestWhereStmt) String() string
- func (w *UserTestWhereStmt) Uid() *svc_db.IntSignedCondition[UserTestWhereStmt, int64]
- func (w *UserTestWhereStmt) Xxx() *svc_db.IntSignedCondition[UserTestWhereStmt, int64]
- type UserXxLogKey
- type UserXxLogNamedInsert
- func (x *UserXxLogNamedInsert) CreateStamp() *UserXxLogNamedInsert
- func (x *UserXxLogNamedInsert) Id() *UserXxLogNamedInsert
- func (x *UserXxLogNamedInsert) ToSQL() string
- func (x *UserXxLogNamedInsert) Uid() *UserXxLogNamedInsert
- func (x *UserXxLogNamedInsert) ValuesToSQL() string
- func (x *UserXxLogNamedInsert) X2() *UserXxLogNamedInsert
- func (x *UserXxLogNamedInsert) Xx() *UserXxLogNamedInsert
- type UserXxLogNamedOrderAsc
- type UserXxLogNamedOrderBy
- func (x *UserXxLogNamedOrderBy) CreateStamp() *UserXxLogNamedOrderAsc
- func (x *UserXxLogNamedOrderBy) Id() *UserXxLogNamedOrderAsc
- func (x *UserXxLogNamedOrderBy) Limit(limit, offset int) *UserXxLogNamedOrderBy
- func (x *UserXxLogNamedOrderBy) ToSQL() string
- func (x *UserXxLogNamedOrderBy) Uid() *UserXxLogNamedOrderAsc
- func (x *UserXxLogNamedOrderBy) X2() *UserXxLogNamedOrderAsc
- func (x *UserXxLogNamedOrderBy) Xx() *UserXxLogNamedOrderAsc
- type UserXxLogNamedSelect
- func (x *UserXxLogNamedSelect) CreateStamp() *UserXxLogNamedSelect
- func (x *UserXxLogNamedSelect) Id() *UserXxLogNamedSelect
- func (x *UserXxLogNamedSelect) ToSQL() string
- func (x *UserXxLogNamedSelect) Uid() *UserXxLogNamedSelect
- func (x *UserXxLogNamedSelect) Where() *UserXxLogNamedWhere
- func (x *UserXxLogNamedSelect) X2() *UserXxLogNamedSelect
- func (x *UserXxLogNamedSelect) Xx() *UserXxLogNamedSelect
- type UserXxLogNamedUpdate
- func (x *UserXxLogNamedUpdate) CreateStamp() *UserXxLogNamedUpdate
- func (x *UserXxLogNamedUpdate) Id() *UserXxLogNamedUpdate
- func (x *UserXxLogNamedUpdate) ToSQL() string
- func (x *UserXxLogNamedUpdate) Uid() *UserXxLogNamedUpdate
- func (x *UserXxLogNamedUpdate) Where() *UserXxLogNamedWhere
- func (x *UserXxLogNamedUpdate) X2() *UserXxLogNamedUpdate
- func (x *UserXxLogNamedUpdate) Xx() *UserXxLogNamedUpdate
- type UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) And() *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) CreateStamp() *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) Custom(f func(buf *util.Builder)) *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) Group(gf func(w *UserXxLogNamedWhere)) *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) Id() *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) Limit(limit, offset int) *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) OnDuplicateKeyUpdate() *UserXxLogNamedUpdate
- func (x *UserXxLogNamedWhere) OnDuplicateKeyUpdateValues() *UserXxLogNamedUpdate
- func (x *UserXxLogNamedWhere) Or() *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) OrderBy() *UserXxLogNamedOrderBy
- func (x *UserXxLogNamedWhere) ToSQL() string
- func (x *UserXxLogNamedWhere) Uid() *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) X2() *UserXxLogNamedWhere
- func (x *UserXxLogNamedWhere) Xx() *UserXxLogNamedWhere
- type UserXxLogOperation
- type UserXxLogSQLWriter
- type UserXxLogWhereStmt
- func (w *UserXxLogWhereStmt) And() *UserXxLogWhereStmt
- func (w *UserXxLogWhereStmt) CreateStamp() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
- func (w *UserXxLogWhereStmt) Custom(f func(buf *util.Builder)) *UserXxLogWhereStmt
- func (w *UserXxLogWhereStmt) Group(gf func(w *UserXxLogWhereStmt)) *UserXxLogWhereStmt
- func (w *UserXxLogWhereStmt) Id() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
- func (w *UserXxLogWhereStmt) Limit(limit, offset int) *UserXxLogWhereStmt
- func (w *UserXxLogWhereStmt) Or() *UserXxLogWhereStmt
- func (w *UserXxLogWhereStmt) String() string
- func (w *UserXxLogWhereStmt) Uid() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
- func (w *UserXxLogWhereStmt) X2() *svc_db.StringCondition[UserXxLogWhereStmt]
- func (w *UserXxLogWhereStmt) Xx() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
Constants ¶
View Source
const ( UserFriendSQL_Insert = "insert user_friend(`uid`,`fid`,`state`) values(?,?,?)" UserFriendSQL_InsertValues = ",(?,?,?)" UserFriendSQL_InsertValues2 = ",(?,?,?)" UserFriendSQL_Where1 = " where (`uid`=? and `fid`=?)" UserFriendSQL_Where2 = " or (`uid`=? and `fid`=?)" UserFriendSQL_Upsert = "insert user_friend(`uid`,`fid`,`state`) values(?,?,?)" UserFriendSQL_UpsertUpdate = " on duplicate key update `uid`=values(`uid`),`fid`=values(`fid`),`state`=values(`state`)" UserFriendSQL_Update = "update user_friend set `state`=? where `uid`=? and `fid`=?" UserFriendSQL_Delete = "delete from user_friend" UserFriendSQL_Find = "select `uid`,`fid`,`state` from user_friend" UserFriendSQL_FindRow = "select `uid`,`fid`,`state`,`modify_stamp`,`create_stamp` from user_friend" UserFriendSQL_Count = "select count(*) from user_friend" UserFriendSQL_Create = "create table user_friend (" + "`uid` bigint not null default 0" + ",`fid` bigint not null default 0" + ",`state` tinyint not null default 0" + ",`modify_stamp` timestamp default current_timestamp on update current_timestamp" + ",`create_stamp` timestamp default current_timestamp" + ",PRIMARY KEY ( `uid`,`fid`)" + ") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;" )
View Source
const ( UserInfoSQL_Insert = "insert user_info(`name`,`email`) values(?,?)" UserInfoSQL_Insert2 = "insert user_info(`uid`,`name`,`email`) values(?,?,?)" UserInfoSQL_InsertValues = ",(?,?)" UserInfoSQL_InsertValues2 = ",(?,?,?)" UserInfoSQL_Where1 = " where (`uid`=?)" UserInfoSQL_Where2 = " or (`uid`=?)" UserInfoSQL_Upsert = "insert user_info(`uid`,`name`,`email`) values(?,?,?)" UserInfoSQL_UpsertUpdate = " on duplicate key update `name`=values(`name`),`email`=values(`email`)" UserInfoSQL_Update = "update user_info set `name`=?,`email`=? where `uid`=?" UserInfoSQL_Delete = "delete from user_info" UserInfoSQL_Find = "select `uid`,`name`,`email` from user_info" UserInfoSQL_FindRow = "select `uid`,`name`,`email`,`modify_stamp`,`create_stamp` from user_info" UserInfoSQL_Count = "select count(*) from user_info" UserInfoSQL_Create = "create table user_info (" + "`uid` bigint not null auto_increment" + ",`name` varchar(128) not null default ''" + ",`email` varchar(64) not null default ''" + ",`modify_stamp` timestamp default current_timestamp on update current_timestamp" + ",`create_stamp` timestamp default current_timestamp" + ",PRIMARY KEY ( `uid`)" + ") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;" )
View Source
const ( UserTestSQL_Insert = "insert user_test(`uid`,`xxx`,`state`) values(?,?,?)" UserTestSQL_InsertValues = ",(?,?,?)" UserTestSQL_InsertValues2 = ",(?,?,?)" UserTestSQL_Delete = "delete from user_test" UserTestSQL_Find = "select `uid`,`xxx`,`state` from user_test" UserTestSQL_FindRow = "select `uid`,`xxx`,`state`,`modify_stamp`,`create_stamp` from user_test" UserTestSQL_Count = "select count(*) from user_test" UserTestSQL_Create = "create table user_test (" + "`uid` bigint not null default 0" + ",`xxx` bigint not null default 0" + ",`state` tinyint not null default 0" + ",`modify_stamp` timestamp default current_timestamp on update current_timestamp" + ",`create_stamp` timestamp default current_timestamp" + ") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;" )
View Source
const ( UserTest2SQL_Insert = "insert user_test_2(`uid`,`xxx`,`state`,`custom_val`) values(?,?,?,?)" UserTest2SQL_InsertValues = ",(?,?,?,?)" UserTest2SQL_InsertValues2 = ",(?,?,?,?)" UserTest2SQL_Where1 = " where (`uid`=?)" UserTest2SQL_Where2 = " or (`uid`=?)" UserTest2SQL_Upsert = "insert user_test_2(`uid`,`xxx`,`state`,`custom_val`) values(?,?,?,?)" UserTest2SQL_UpsertUpdate = " on duplicate key update `uid`=values(`uid`),`xxx`=values(`xxx`),`state`=values(`state`),`custom_val`=values(`custom_val`)" UserTest2SQL_Update = "update user_test_2 set `xxx`=?,`state`=?,`custom_val`=? where `uid`=?" UserTest2SQL_Delete = "delete from user_test_2" UserTest2SQL_Find = "select `uid`,`xxx`,`state`,`custom_val` from user_test_2" UserTest2SQL_FindRow = "select `uid`,`xxx`,`state`,`custom_val`,`modify_stamp`,`create_stamp` from user_test_2" UserTest2SQL_Count = "select count(*) from user_test_2" UserTest2SQL_Create = "create table user_test_2 (" + "`uid` bigint not null default 0" + ",`xxx` bigint not null default 0" + ",`state` tinyint not null default 0" + ",`custom_val` varchar(64) not null default ''" + ",`modify_stamp` timestamp default current_timestamp on update current_timestamp" + ",`create_stamp` timestamp default current_timestamp" + ",PRIMARY KEY ( `uid`)" + ") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;" )
View Source
const ( UserXxLogSQL_Insert = "insert user_xx_log(`uid`,`xx`,`x2`,`create_stamp`) values(?,?,?,?)" UserXxLogSQL_Insert2 = "insert user_xx_log(`id`,`uid`,`xx`,`x2`,`create_stamp`) values(?,?,?,?,?)" UserXxLogSQL_InsertValues = ",(?,?,?,?)" UserXxLogSQL_InsertValues2 = ",(?,?,?,?,?)" UserXxLogSQL_Where1 = " where (`id`=?)" UserXxLogSQL_Where2 = " or (`id`=?)" UserXxLogSQL_Upsert = "insert user_xx_log(`id`,`uid`,`xx`,`x2`,`create_stamp`) values(?,?,?,?,?)" UserXxLogSQL_UpsertUpdate = " on duplicate key update `uid`=values(`uid`),`xx`=values(`xx`),`x2`=values(`x2`),`create_stamp`=values(`create_stamp`)" UserXxLogSQL_Update = "update user_xx_log set `uid`=?,`xx`=?,`x2`=?,`create_stamp`=? where `id`=?" UserXxLogSQL_Delete = "delete from user_xx_log" UserXxLogSQL_Find = "select `id`,`uid`,`xx`,`x2`,`create_stamp` from user_xx_log" UserXxLogSQL_Count = "select count(*) from user_xx_log" UserXxLogSQL_Create = "create table user_xx_log (" + "`id` bigint not null auto_increment" + ",`uid` bigint not null default 0" + ",`xx` bigint not null default 0" + ",`x2` varchar(64) not null default ''" + ",`create_stamp` timestamp default current_timestamp" + ",PRIMARY KEY ( `id`)" + ") ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;" )
Variables ¶
View Source
var ( UserFriendUidUnamrshal = svc_db.RawToInt64 UserFriendFidUnamrshal = svc_db.RawToInt64 UserFriendStateUnamrshal = svc_db.RawToInt8 )
View Source
var ( UserFriendSQL_TableColumns = map[string]string{ "uid": "alter table user_friend add `uid` bigint not null default 0;", "fid": "alter table user_friend add `fid` bigint not null default 0;", "state": "alter table user_friend add `state` tinyint not null default 0;", } UserFriendSQL_TableIndex = map[string]string{ "user_friend_uid": "create index user_friend_uid on user_friend(`uid`)", } )
View Source
var ( UserInfoUidUnamrshal = svc_db.RawToInt64 UserInfoNameUnamrshal = svc_db.RawToString UserInfoEmailUnamrshal = svc_db.RawToString )
View Source
var ( UserInfoSQL_TableColumns = map[string]string{ "uid": "alter table user_info add `uid` bigint not null auto_increment;", "name": "alter table user_info add `name` varchar(128) not null default '';", "email": "alter table user_info add `email` varchar(64) not null default '';", } UserInfoSQL_TableIndex = map[string]string{ "user_info_email": "create index user_info_email on user_info(`email`)", "user_info_name": "create unique index user_info_name on user_info(`name`)", } )
View Source
var ( UserTestUidUnamrshal = svc_db.RawToInt64 UserTestXxxUnamrshal = svc_db.RawToInt64 UserTestStateUnamrshal = svc_db.RawToInt8 )
View Source
var ( UserTestSQL_TableColumns = map[string]string{ "uid": "alter table user_test add `uid` bigint not null default 0;", "xxx": "alter table user_test add `xxx` bigint not null default 0;", "state": "alter table user_test add `state` tinyint not null default 0;", } UserTestSQL_TableIndex = map[string]string{ "user_test_uid": "create unique index user_test_uid on user_test(`uid`)", "user_test_xxx": "create index user_test_xxx on user_test(`uid`,`xxx`)", } )
View Source
var ( UserTest2UidUnamrshal = svc_db.RawToInt64 UserTest2XxxUnamrshal = svc_db.RawToInt64 UserTest2StateUnamrshal = svc_db.RawToInt8 UserTest2CustomValUnamrshal = svc_db.RawToString UserTest2UidMarshal = svc_db.AnyFromAny[int64] UserTest2CustomValMarshal = svc_db.AnyFromAny[string] )
View Source
var ( UserTest2SQL_TableColumns = map[string]string{ "uid": "alter table user_test_2 add `uid` bigint not null default 0;", "xxx": "alter table user_test_2 add `xxx` bigint not null default 0;", "state": "alter table user_test_2 add `state` tinyint not null default 0;", "custom_val": "alter table user_test_2 add `custom_val` varchar(64) not null default '';", } UserTest2SQL_TableIndex = map[string]string{ "user_test_2_unique_test": "create unique index user_test_2_unique_test on user_test_2(`uid`,`xxx`)", "user_test_2_xxx": "create index user_test_2_xxx on user_test_2(`uid`)", } )
View Source
var ( UserXxLogIdUnamrshal = svc_db.RawToInt64 UserXxLogUidUnamrshal = svc_db.RawToInt64 UserXxLogXxUnamrshal = svc_db.RawToInt64 UserXxLogX2Unamrshal = svc_db.RawToString UserXxLogCreateStampUnamrshal = svc_db.RawToStampInt64 UserXxLogCreateStampMarshal = svc_db.AnyFromStampInt64 )
View Source
var UserFriendOP = func() UserFriendOperation {
return globalUserFriendOP.Load()
}
View Source
var UserInfoOP = func() UserInfoOperation {
return globalUserInfoOP.Load()
}
View Source
var UserTest2OP = func() UserTest2Operation {
return globalUserTest2OP.Load()
}
View Source
var UserTestOP = func() UserTestOperation {
return globalUserTestOP.Load()
}
View Source
var UserXxLogOP = func() UserXxLogOperation {
return globalUserXxLogOP.Load()
}
View Source
var (
UserXxLogSQL_TableColumns = map[string]string{
"id": "alter table user_xx_log add `id` bigint not null auto_increment;",
"uid": "alter table user_xx_log add `uid` bigint not null default 0;",
"xx": "alter table user_xx_log add `xx` bigint not null default 0;",
"x2": "alter table user_xx_log add `x2` varchar(64) not null default '';",
"create_stamp": "alter table user_xx_log add `create_stamp` timestamp default current_timestamp;",
}
)
Functions ¶
func NewUserFriendOperation ¶
func NewUserInfoOperation ¶
func NewUserTest2Operation ¶
func NewUserTestOperation ¶
func NewUserXxLogOperation ¶
func SyncUserFriendDBTable ¶
Types ¶
type UserFriendKey ¶
func UserFriendExToPrimaryKeysEx ¶
func UserFriendExToPrimaryKeysEx(rows []*dbop.UserFriendEx) (ids []UserFriendKey)
func UserFriendToPrimaryKeys ¶
func UserFriendToPrimaryKeys(rows []*dbop.UserFriend) (ids []UserFriendKey)
type UserFriendNamedInsert ¶
type UserFriendNamedInsert struct {
// contains filtered or unexported fields
}
func (*UserFriendNamedInsert) CreateStamp ¶
func (x *UserFriendNamedInsert) CreateStamp() *UserFriendNamedInsert
func (*UserFriendNamedInsert) Fid ¶
func (x *UserFriendNamedInsert) Fid() *UserFriendNamedInsert
func (*UserFriendNamedInsert) ModifyStamp ¶
func (x *UserFriendNamedInsert) ModifyStamp() *UserFriendNamedInsert
func (*UserFriendNamedInsert) State ¶
func (x *UserFriendNamedInsert) State() *UserFriendNamedInsert
func (*UserFriendNamedInsert) ToSQL ¶
func (x *UserFriendNamedInsert) ToSQL() string
func (*UserFriendNamedInsert) Uid ¶
func (x *UserFriendNamedInsert) Uid() *UserFriendNamedInsert
func (*UserFriendNamedInsert) ValuesToSQL ¶
func (x *UserFriendNamedInsert) ValuesToSQL() string
type UserFriendNamedOrderAsc ¶
type UserFriendNamedOrderAsc struct {
// contains filtered or unexported fields
}
func (*UserFriendNamedOrderAsc) Asc ¶
func (x *UserFriendNamedOrderAsc) Asc() *UserFriendNamedOrderBy
func (*UserFriendNamedOrderAsc) CreateStamp ¶
func (x *UserFriendNamedOrderAsc) CreateStamp() *UserFriendNamedOrderAsc
func (*UserFriendNamedOrderAsc) Desc ¶
func (x *UserFriendNamedOrderAsc) Desc() *UserFriendNamedOrderBy
func (*UserFriendNamedOrderAsc) ModifyStamp ¶
func (x *UserFriendNamedOrderAsc) ModifyStamp() *UserFriendNamedOrderAsc
func (*UserFriendNamedOrderAsc) ToSQL ¶
func (x *UserFriendNamedOrderAsc) ToSQL() string
type UserFriendNamedOrderBy ¶
type UserFriendNamedOrderBy struct {
// contains filtered or unexported fields
}
func (*UserFriendNamedOrderBy) Fid ¶
func (x *UserFriendNamedOrderBy) Fid() *UserFriendNamedOrderAsc
func (*UserFriendNamedOrderBy) Limit ¶
func (x *UserFriendNamedOrderBy) Limit(limit, offset int) *UserFriendNamedOrderBy
func (*UserFriendNamedOrderBy) State ¶
func (x *UserFriendNamedOrderBy) State() *UserFriendNamedOrderAsc
func (*UserFriendNamedOrderBy) ToSQL ¶
func (x *UserFriendNamedOrderBy) ToSQL() string
func (*UserFriendNamedOrderBy) Uid ¶
func (x *UserFriendNamedOrderBy) Uid() *UserFriendNamedOrderAsc
type UserFriendNamedSelect ¶
type UserFriendNamedSelect struct {
// contains filtered or unexported fields
}
func (*UserFriendNamedSelect) CreateStamp ¶
func (x *UserFriendNamedSelect) CreateStamp() *UserFriendNamedSelect
func (*UserFriendNamedSelect) Fid ¶
func (x *UserFriendNamedSelect) Fid() *UserFriendNamedSelect
func (*UserFriendNamedSelect) ModifyStamp ¶
func (x *UserFriendNamedSelect) ModifyStamp() *UserFriendNamedSelect
func (*UserFriendNamedSelect) State ¶
func (x *UserFriendNamedSelect) State() *UserFriendNamedSelect
func (*UserFriendNamedSelect) ToSQL ¶
func (x *UserFriendNamedSelect) ToSQL() string
func (*UserFriendNamedSelect) Uid ¶
func (x *UserFriendNamedSelect) Uid() *UserFriendNamedSelect
func (*UserFriendNamedSelect) Where ¶
func (x *UserFriendNamedSelect) Where() *UserFriendNamedWhere
type UserFriendNamedUpdate ¶
type UserFriendNamedUpdate struct {
// contains filtered or unexported fields
}
func (*UserFriendNamedUpdate) CreateStamp ¶
func (x *UserFriendNamedUpdate) CreateStamp() *UserFriendNamedUpdate
func (*UserFriendNamedUpdate) Fid ¶
func (x *UserFriendNamedUpdate) Fid() *UserFriendNamedUpdate
func (*UserFriendNamedUpdate) ModifyStamp ¶
func (x *UserFriendNamedUpdate) ModifyStamp() *UserFriendNamedUpdate
func (*UserFriendNamedUpdate) State ¶
func (x *UserFriendNamedUpdate) State() *UserFriendNamedUpdate
func (*UserFriendNamedUpdate) ToSQL ¶
func (x *UserFriendNamedUpdate) ToSQL() string
func (*UserFriendNamedUpdate) Uid ¶
func (x *UserFriendNamedUpdate) Uid() *UserFriendNamedUpdate
func (*UserFriendNamedUpdate) Where ¶
func (x *UserFriendNamedUpdate) Where() *UserFriendNamedWhere
type UserFriendNamedWhere ¶
type UserFriendNamedWhere struct {
// contains filtered or unexported fields
}
func (*UserFriendNamedWhere) And ¶
func (x *UserFriendNamedWhere) And() *UserFriendNamedWhere
func (*UserFriendNamedWhere) CreateStamp ¶
func (x *UserFriendNamedWhere) CreateStamp() *UserFriendNamedWhere
func (*UserFriendNamedWhere) Custom ¶
func (x *UserFriendNamedWhere) Custom(f func(buf *util.Builder)) *UserFriendNamedWhere
func (*UserFriendNamedWhere) Fid ¶
func (x *UserFriendNamedWhere) Fid() *UserFriendNamedWhere
func (*UserFriendNamedWhere) Group ¶
func (x *UserFriendNamedWhere) Group(gf func(w *UserFriendNamedWhere)) *UserFriendNamedWhere
func (*UserFriendNamedWhere) Limit ¶
func (x *UserFriendNamedWhere) Limit(limit, offset int) *UserFriendNamedWhere
func (*UserFriendNamedWhere) ModifyStamp ¶
func (x *UserFriendNamedWhere) ModifyStamp() *UserFriendNamedWhere
func (*UserFriendNamedWhere) OnDuplicateKeyUpdate ¶
func (x *UserFriendNamedWhere) OnDuplicateKeyUpdate() *UserFriendNamedUpdate
func (*UserFriendNamedWhere) OnDuplicateKeyUpdateValues ¶
func (x *UserFriendNamedWhere) OnDuplicateKeyUpdateValues() *UserFriendNamedUpdate
func (*UserFriendNamedWhere) Or ¶
func (x *UserFriendNamedWhere) Or() *UserFriendNamedWhere
func (*UserFriendNamedWhere) OrderBy ¶
func (x *UserFriendNamedWhere) OrderBy() *UserFriendNamedOrderBy
func (*UserFriendNamedWhere) State ¶
func (x *UserFriendNamedWhere) State() *UserFriendNamedWhere
func (*UserFriendNamedWhere) ToSQL ¶
func (x *UserFriendNamedWhere) ToSQL() string
func (*UserFriendNamedWhere) Uid ¶
func (x *UserFriendNamedWhere) Uid() *UserFriendNamedWhere
type UserFriendOperation ¶
type UserFriendOperation interface { Insert(ctx context.Context, data *dbop.UserFriend) (res sql.Result, err error) InsertMany(ctx context.Context, datas []*dbop.UserFriend) (res sql.Result, err error) Update(ctx context.Context, data *dbop.UserFriend) (res sql.Result, err error) Upsert(ctx context.Context, data *dbop.UserFriend) (res sql.Result, err error) UpsertMany(ctx context.Context, datas []*dbop.UserFriend) (res sql.Result, err error) Find(ctx context.Context, uid int64, fid int64) (data *dbop.UserFriend, err error) FindEx(ctx context.Context, uid int64, fid int64) (data *dbop.UserFriendEx, err error) Delete(ctx context.Context, uid int64, fid int64) (res sql.Result, err error) FindByKey(ctx context.Context, id UserFriendKey) (data *dbop.UserFriend, err error) FindExByKey(ctx context.Context, id UserFriendKey) (data *dbop.UserFriendEx, err error) DeleteByKey(ctx context.Context, id UserFriendKey) (res sql.Result, err error) FindByKeyArray(ctx context.Context, ids []UserFriendKey) (datas []*dbop.UserFriend, err error) FindExByKeyArray(ctx context.Context, ids []UserFriendKey) (datas []*dbop.UserFriendEx, err error) DeleteByKeyArray(ctx context.Context, ids []UserFriendKey) (res sql.Result, err error) FindByIndexUid(ctx context.Context, uid int64, limit, offset int) (datas []*dbop.UserFriend, err error) FindExByIndexUid(ctx context.Context, uid int64, limit, offset int) (datas []*dbop.UserFriendEx, err error) CountByIndexUid(ctx context.Context, uid int64) (count int, err error) DeleteByIndexUid(ctx context.Context, uid int64) (res sql.Result, err error) Where(bufSize int) *UserFriendWhereStmt Select(ctx context.Context, where *UserFriendWhereStmt) (datas []*dbop.UserFriend, err error) SelectEx(ctx context.Context, where *UserFriendWhereStmt) (datas []*dbop.UserFriendEx, err error) Count(ctx context.Context, where *UserFriendWhereStmt) (count int, err error) DeleteMany(ctx context.Context, where *UserFriendWhereStmt) (res sql.Result, err error) RangeAll(ctx context.Context, where *UserFriendWhereStmt, f func(ctx context.Context, row *dbop.UserFriend) bool) error RangeAllEx(ctx context.Context, where *UserFriendWhereStmt, f func(ctx context.Context, row *dbop.UserFriendEx) bool) error AllData(ctx context.Context, where *UserFriendWhereStmt) (datas []*dbop.UserFriend, err error) AllDataEx(ctx context.Context, where *UserFriendWhereStmt) (datas []*dbop.UserFriendEx, err error) // use for custom named sql DB() *sqlx.DB }
type UserFriendSQLWriter ¶
type UserFriendSQLWriter struct {
// contains filtered or unexported fields
}
func UserFriendNamedSQL ¶
func UserFriendNamedSQL(bufSize int) *UserFriendSQLWriter
func (*UserFriendSQLWriter) Delete ¶
func (x *UserFriendSQLWriter) Delete() *UserFriendNamedWhere
func (*UserFriendSQLWriter) Insert ¶
func (x *UserFriendSQLWriter) Insert() *UserFriendNamedInsert
func (*UserFriendSQLWriter) Select ¶
func (x *UserFriendSQLWriter) Select() *UserFriendNamedSelect
func (*UserFriendSQLWriter) Update ¶
func (x *UserFriendSQLWriter) Update() *UserFriendNamedUpdate
type UserFriendWhereStmt ¶
type UserFriendWhereStmt struct {
// contains filtered or unexported fields
}
func (*UserFriendWhereStmt) And ¶
func (w *UserFriendWhereStmt) And() *UserFriendWhereStmt
func (*UserFriendWhereStmt) Custom ¶
func (w *UserFriendWhereStmt) Custom(f func(buf *util.Builder)) *UserFriendWhereStmt
func (*UserFriendWhereStmt) Fid ¶
func (w *UserFriendWhereStmt) Fid() *svc_db.IntSignedCondition[UserFriendWhereStmt, int64]
func (*UserFriendWhereStmt) Group ¶
func (w *UserFriendWhereStmt) Group(gf func(w *UserFriendWhereStmt)) *UserFriendWhereStmt
func (*UserFriendWhereStmt) Limit ¶
func (w *UserFriendWhereStmt) Limit(limit, offset int) *UserFriendWhereStmt
func (*UserFriendWhereStmt) Or ¶
func (w *UserFriendWhereStmt) Or() *UserFriendWhereStmt
func (*UserFriendWhereStmt) State ¶
func (w *UserFriendWhereStmt) State() *svc_db.IntSignedCondition[UserFriendWhereStmt, int8]
func (*UserFriendWhereStmt) String ¶
func (w *UserFriendWhereStmt) String() string
func (*UserFriendWhereStmt) Uid ¶
func (w *UserFriendWhereStmt) Uid() *svc_db.IntSignedCondition[UserFriendWhereStmt, int64]
type UserInfoKey ¶
type UserInfoKey = int64
func UserInfoExToPrimaryKeysEx ¶
func UserInfoExToPrimaryKeysEx(rows []*dbop.UserInfoEx) (ids []UserInfoKey)
func UserInfoToPrimaryKeys ¶
func UserInfoToPrimaryKeys(rows []*dbop.UserInfo) (ids []UserInfoKey)
type UserInfoNamedInsert ¶
type UserInfoNamedInsert struct {
// contains filtered or unexported fields
}
func (*UserInfoNamedInsert) CreateStamp ¶
func (x *UserInfoNamedInsert) CreateStamp() *UserInfoNamedInsert
func (*UserInfoNamedInsert) Email ¶
func (x *UserInfoNamedInsert) Email() *UserInfoNamedInsert
func (*UserInfoNamedInsert) ModifyStamp ¶
func (x *UserInfoNamedInsert) ModifyStamp() *UserInfoNamedInsert
func (*UserInfoNamedInsert) Name ¶
func (x *UserInfoNamedInsert) Name() *UserInfoNamedInsert
func (*UserInfoNamedInsert) ToSQL ¶
func (x *UserInfoNamedInsert) ToSQL() string
func (*UserInfoNamedInsert) Uid ¶
func (x *UserInfoNamedInsert) Uid() *UserInfoNamedInsert
func (*UserInfoNamedInsert) ValuesToSQL ¶
func (x *UserInfoNamedInsert) ValuesToSQL() string
type UserInfoNamedOrderAsc ¶
type UserInfoNamedOrderAsc struct {
// contains filtered or unexported fields
}
func (*UserInfoNamedOrderAsc) Asc ¶
func (x *UserInfoNamedOrderAsc) Asc() *UserInfoNamedOrderBy
func (*UserInfoNamedOrderAsc) CreateStamp ¶
func (x *UserInfoNamedOrderAsc) CreateStamp() *UserInfoNamedOrderAsc
func (*UserInfoNamedOrderAsc) Desc ¶
func (x *UserInfoNamedOrderAsc) Desc() *UserInfoNamedOrderBy
func (*UserInfoNamedOrderAsc) ModifyStamp ¶
func (x *UserInfoNamedOrderAsc) ModifyStamp() *UserInfoNamedOrderAsc
func (*UserInfoNamedOrderAsc) ToSQL ¶
func (x *UserInfoNamedOrderAsc) ToSQL() string
type UserInfoNamedOrderBy ¶
type UserInfoNamedOrderBy struct {
// contains filtered or unexported fields
}
func (*UserInfoNamedOrderBy) Email ¶
func (x *UserInfoNamedOrderBy) Email() *UserInfoNamedOrderAsc
func (*UserInfoNamedOrderBy) Limit ¶
func (x *UserInfoNamedOrderBy) Limit(limit, offset int) *UserInfoNamedOrderBy
func (*UserInfoNamedOrderBy) Name ¶
func (x *UserInfoNamedOrderBy) Name() *UserInfoNamedOrderAsc
func (*UserInfoNamedOrderBy) ToSQL ¶
func (x *UserInfoNamedOrderBy) ToSQL() string
func (*UserInfoNamedOrderBy) Uid ¶
func (x *UserInfoNamedOrderBy) Uid() *UserInfoNamedOrderAsc
type UserInfoNamedSelect ¶
type UserInfoNamedSelect struct {
// contains filtered or unexported fields
}
func (*UserInfoNamedSelect) CreateStamp ¶
func (x *UserInfoNamedSelect) CreateStamp() *UserInfoNamedSelect
func (*UserInfoNamedSelect) Email ¶
func (x *UserInfoNamedSelect) Email() *UserInfoNamedSelect
func (*UserInfoNamedSelect) ModifyStamp ¶
func (x *UserInfoNamedSelect) ModifyStamp() *UserInfoNamedSelect
func (*UserInfoNamedSelect) Name ¶
func (x *UserInfoNamedSelect) Name() *UserInfoNamedSelect
func (*UserInfoNamedSelect) ToSQL ¶
func (x *UserInfoNamedSelect) ToSQL() string
func (*UserInfoNamedSelect) Uid ¶
func (x *UserInfoNamedSelect) Uid() *UserInfoNamedSelect
func (*UserInfoNamedSelect) Where ¶
func (x *UserInfoNamedSelect) Where() *UserInfoNamedWhere
type UserInfoNamedUpdate ¶
type UserInfoNamedUpdate struct {
// contains filtered or unexported fields
}
func (*UserInfoNamedUpdate) CreateStamp ¶
func (x *UserInfoNamedUpdate) CreateStamp() *UserInfoNamedUpdate
func (*UserInfoNamedUpdate) Email ¶
func (x *UserInfoNamedUpdate) Email() *UserInfoNamedUpdate
func (*UserInfoNamedUpdate) ModifyStamp ¶
func (x *UserInfoNamedUpdate) ModifyStamp() *UserInfoNamedUpdate
func (*UserInfoNamedUpdate) Name ¶
func (x *UserInfoNamedUpdate) Name() *UserInfoNamedUpdate
func (*UserInfoNamedUpdate) ToSQL ¶
func (x *UserInfoNamedUpdate) ToSQL() string
func (*UserInfoNamedUpdate) Uid ¶
func (x *UserInfoNamedUpdate) Uid() *UserInfoNamedUpdate
func (*UserInfoNamedUpdate) Where ¶
func (x *UserInfoNamedUpdate) Where() *UserInfoNamedWhere
type UserInfoNamedWhere ¶
type UserInfoNamedWhere struct {
// contains filtered or unexported fields
}
func (*UserInfoNamedWhere) And ¶
func (x *UserInfoNamedWhere) And() *UserInfoNamedWhere
func (*UserInfoNamedWhere) CreateStamp ¶
func (x *UserInfoNamedWhere) CreateStamp() *UserInfoNamedWhere
func (*UserInfoNamedWhere) Custom ¶
func (x *UserInfoNamedWhere) Custom(f func(buf *util.Builder)) *UserInfoNamedWhere
func (*UserInfoNamedWhere) Email ¶
func (x *UserInfoNamedWhere) Email() *UserInfoNamedWhere
func (*UserInfoNamedWhere) Group ¶
func (x *UserInfoNamedWhere) Group(gf func(w *UserInfoNamedWhere)) *UserInfoNamedWhere
func (*UserInfoNamedWhere) Limit ¶
func (x *UserInfoNamedWhere) Limit(limit, offset int) *UserInfoNamedWhere
func (*UserInfoNamedWhere) ModifyStamp ¶
func (x *UserInfoNamedWhere) ModifyStamp() *UserInfoNamedWhere
func (*UserInfoNamedWhere) Name ¶
func (x *UserInfoNamedWhere) Name() *UserInfoNamedWhere
func (*UserInfoNamedWhere) OnDuplicateKeyUpdate ¶
func (x *UserInfoNamedWhere) OnDuplicateKeyUpdate() *UserInfoNamedUpdate
func (*UserInfoNamedWhere) OnDuplicateKeyUpdateValues ¶
func (x *UserInfoNamedWhere) OnDuplicateKeyUpdateValues() *UserInfoNamedUpdate
func (*UserInfoNamedWhere) Or ¶
func (x *UserInfoNamedWhere) Or() *UserInfoNamedWhere
func (*UserInfoNamedWhere) OrderBy ¶
func (x *UserInfoNamedWhere) OrderBy() *UserInfoNamedOrderBy
func (*UserInfoNamedWhere) ToSQL ¶
func (x *UserInfoNamedWhere) ToSQL() string
func (*UserInfoNamedWhere) Uid ¶
func (x *UserInfoNamedWhere) Uid() *UserInfoNamedWhere
type UserInfoOperation ¶
type UserInfoOperation interface { Insert(ctx context.Context, data *dbop.UserInfo) (res sql.Result, err error) InsertMany(ctx context.Context, datas []*dbop.UserInfo) (res sql.Result, err error) Update(ctx context.Context, data *dbop.UserInfo) (res sql.Result, err error) Upsert(ctx context.Context, data *dbop.UserInfo) (res sql.Result, err error) UpsertMany(ctx context.Context, datas []*dbop.UserInfo) (res sql.Result, err error) Find(ctx context.Context, uid int64) (data *dbop.UserInfo, err error) FindEx(ctx context.Context, uid int64) (data *dbop.UserInfoEx, err error) Delete(ctx context.Context, uid int64) (res sql.Result, err error) FindByKey(ctx context.Context, id UserInfoKey) (data *dbop.UserInfo, err error) FindExByKey(ctx context.Context, id UserInfoKey) (data *dbop.UserInfoEx, err error) DeleteByKey(ctx context.Context, id UserInfoKey) (res sql.Result, err error) FindByKeyArray(ctx context.Context, ids []UserInfoKey) (datas []*dbop.UserInfo, err error) FindExByKeyArray(ctx context.Context, ids []UserInfoKey) (datas []*dbop.UserInfoEx, err error) DeleteByKeyArray(ctx context.Context, ids []UserInfoKey) (res sql.Result, err error) FindByIndexEmail(ctx context.Context, email string, limit, offset int) (datas []*dbop.UserInfo, err error) FindExByIndexEmail(ctx context.Context, email string, limit, offset int) (datas []*dbop.UserInfoEx, err error) CountByIndexEmail(ctx context.Context, email string) (count int, err error) DeleteByIndexEmail(ctx context.Context, email string) (res sql.Result, err error) FindByIndexName(ctx context.Context, name string, limit, offset int) (datas []*dbop.UserInfo, err error) FindExByIndexName(ctx context.Context, name string, limit, offset int) (datas []*dbop.UserInfoEx, err error) CountByIndexName(ctx context.Context, name string) (count int, err error) DeleteByIndexName(ctx context.Context, name string) (res sql.Result, err error) Where(bufSize int) *UserInfoWhereStmt Select(ctx context.Context, where *UserInfoWhereStmt) (datas []*dbop.UserInfo, err error) SelectEx(ctx context.Context, where *UserInfoWhereStmt) (datas []*dbop.UserInfoEx, err error) Count(ctx context.Context, where *UserInfoWhereStmt) (count int, err error) DeleteMany(ctx context.Context, where *UserInfoWhereStmt) (res sql.Result, err error) RangeAll(ctx context.Context, where *UserInfoWhereStmt, f func(ctx context.Context, row *dbop.UserInfo) bool) error RangeAllEx(ctx context.Context, where *UserInfoWhereStmt, f func(ctx context.Context, row *dbop.UserInfoEx) bool) error AllData(ctx context.Context, where *UserInfoWhereStmt) (datas []*dbop.UserInfo, err error) AllDataEx(ctx context.Context, where *UserInfoWhereStmt) (datas []*dbop.UserInfoEx, err error) // use for custom named sql DB() *sqlx.DB }
type UserInfoSQLWriter ¶
type UserInfoSQLWriter struct {
// contains filtered or unexported fields
}
func UserInfoNamedSQL ¶
func UserInfoNamedSQL(bufSize int) *UserInfoSQLWriter
func (*UserInfoSQLWriter) Delete ¶
func (x *UserInfoSQLWriter) Delete() *UserInfoNamedWhere
func (*UserInfoSQLWriter) Insert ¶
func (x *UserInfoSQLWriter) Insert() *UserInfoNamedInsert
func (*UserInfoSQLWriter) Select ¶
func (x *UserInfoSQLWriter) Select() *UserInfoNamedSelect
func (*UserInfoSQLWriter) Update ¶
func (x *UserInfoSQLWriter) Update() *UserInfoNamedUpdate
type UserInfoWhereStmt ¶
type UserInfoWhereStmt struct {
// contains filtered or unexported fields
}
func (*UserInfoWhereStmt) And ¶
func (w *UserInfoWhereStmt) And() *UserInfoWhereStmt
func (*UserInfoWhereStmt) Custom ¶
func (w *UserInfoWhereStmt) Custom(f func(buf *util.Builder)) *UserInfoWhereStmt
func (*UserInfoWhereStmt) Email ¶
func (w *UserInfoWhereStmt) Email() *svc_db.StringCondition[UserInfoWhereStmt]
func (*UserInfoWhereStmt) Group ¶
func (w *UserInfoWhereStmt) Group(gf func(w *UserInfoWhereStmt)) *UserInfoWhereStmt
func (*UserInfoWhereStmt) Limit ¶
func (w *UserInfoWhereStmt) Limit(limit, offset int) *UserInfoWhereStmt
func (*UserInfoWhereStmt) Name ¶
func (w *UserInfoWhereStmt) Name() *svc_db.StringCondition[UserInfoWhereStmt]
func (*UserInfoWhereStmt) Or ¶
func (w *UserInfoWhereStmt) Or() *UserInfoWhereStmt
func (*UserInfoWhereStmt) String ¶
func (w *UserInfoWhereStmt) String() string
func (*UserInfoWhereStmt) Uid ¶
func (w *UserInfoWhereStmt) Uid() *svc_db.IntSignedCondition[UserInfoWhereStmt, int64]
type UserTest2Key ¶
type UserTest2Key = int64
func UserTest2ExToPrimaryKeysEx ¶
func UserTest2ExToPrimaryKeysEx(rows []*dbop.UserTest2Ex) (ids []UserTest2Key)
func UserTest2ToPrimaryKeys ¶
func UserTest2ToPrimaryKeys(rows []*dbop.UserTest2) (ids []UserTest2Key)
type UserTest2NamedInsert ¶
type UserTest2NamedInsert struct {
// contains filtered or unexported fields
}
func (*UserTest2NamedInsert) CreateStamp ¶
func (x *UserTest2NamedInsert) CreateStamp() *UserTest2NamedInsert
func (*UserTest2NamedInsert) CustomVal ¶
func (x *UserTest2NamedInsert) CustomVal() *UserTest2NamedInsert
func (*UserTest2NamedInsert) ModifyStamp ¶
func (x *UserTest2NamedInsert) ModifyStamp() *UserTest2NamedInsert
func (*UserTest2NamedInsert) State ¶
func (x *UserTest2NamedInsert) State() *UserTest2NamedInsert
func (*UserTest2NamedInsert) ToSQL ¶
func (x *UserTest2NamedInsert) ToSQL() string
func (*UserTest2NamedInsert) Uid ¶
func (x *UserTest2NamedInsert) Uid() *UserTest2NamedInsert
func (*UserTest2NamedInsert) ValuesToSQL ¶
func (x *UserTest2NamedInsert) ValuesToSQL() string
func (*UserTest2NamedInsert) Xxx ¶
func (x *UserTest2NamedInsert) Xxx() *UserTest2NamedInsert
type UserTest2NamedOrderAsc ¶
type UserTest2NamedOrderAsc struct {
// contains filtered or unexported fields
}
func (*UserTest2NamedOrderAsc) Asc ¶
func (x *UserTest2NamedOrderAsc) Asc() *UserTest2NamedOrderBy
func (*UserTest2NamedOrderAsc) CreateStamp ¶
func (x *UserTest2NamedOrderAsc) CreateStamp() *UserTest2NamedOrderAsc
func (*UserTest2NamedOrderAsc) Desc ¶
func (x *UserTest2NamedOrderAsc) Desc() *UserTest2NamedOrderBy
func (*UserTest2NamedOrderAsc) ModifyStamp ¶
func (x *UserTest2NamedOrderAsc) ModifyStamp() *UserTest2NamedOrderAsc
func (*UserTest2NamedOrderAsc) ToSQL ¶
func (x *UserTest2NamedOrderAsc) ToSQL() string
type UserTest2NamedOrderBy ¶
type UserTest2NamedOrderBy struct {
// contains filtered or unexported fields
}
func (*UserTest2NamedOrderBy) CustomVal ¶
func (x *UserTest2NamedOrderBy) CustomVal() *UserTest2NamedOrderAsc
func (*UserTest2NamedOrderBy) Limit ¶
func (x *UserTest2NamedOrderBy) Limit(limit, offset int) *UserTest2NamedOrderBy
func (*UserTest2NamedOrderBy) State ¶
func (x *UserTest2NamedOrderBy) State() *UserTest2NamedOrderAsc
func (*UserTest2NamedOrderBy) ToSQL ¶
func (x *UserTest2NamedOrderBy) ToSQL() string
func (*UserTest2NamedOrderBy) Uid ¶
func (x *UserTest2NamedOrderBy) Uid() *UserTest2NamedOrderAsc
func (*UserTest2NamedOrderBy) Xxx ¶
func (x *UserTest2NamedOrderBy) Xxx() *UserTest2NamedOrderAsc
type UserTest2NamedSelect ¶
type UserTest2NamedSelect struct {
// contains filtered or unexported fields
}
func (*UserTest2NamedSelect) CreateStamp ¶
func (x *UserTest2NamedSelect) CreateStamp() *UserTest2NamedSelect
func (*UserTest2NamedSelect) CustomVal ¶
func (x *UserTest2NamedSelect) CustomVal() *UserTest2NamedSelect
func (*UserTest2NamedSelect) ModifyStamp ¶
func (x *UserTest2NamedSelect) ModifyStamp() *UserTest2NamedSelect
func (*UserTest2NamedSelect) State ¶
func (x *UserTest2NamedSelect) State() *UserTest2NamedSelect
func (*UserTest2NamedSelect) ToSQL ¶
func (x *UserTest2NamedSelect) ToSQL() string
func (*UserTest2NamedSelect) Uid ¶
func (x *UserTest2NamedSelect) Uid() *UserTest2NamedSelect
func (*UserTest2NamedSelect) Where ¶
func (x *UserTest2NamedSelect) Where() *UserTest2NamedWhere
func (*UserTest2NamedSelect) Xxx ¶
func (x *UserTest2NamedSelect) Xxx() *UserTest2NamedSelect
type UserTest2NamedUpdate ¶
type UserTest2NamedUpdate struct {
// contains filtered or unexported fields
}
func (*UserTest2NamedUpdate) CreateStamp ¶
func (x *UserTest2NamedUpdate) CreateStamp() *UserTest2NamedUpdate
func (*UserTest2NamedUpdate) CustomVal ¶
func (x *UserTest2NamedUpdate) CustomVal() *UserTest2NamedUpdate
func (*UserTest2NamedUpdate) ModifyStamp ¶
func (x *UserTest2NamedUpdate) ModifyStamp() *UserTest2NamedUpdate
func (*UserTest2NamedUpdate) State ¶
func (x *UserTest2NamedUpdate) State() *UserTest2NamedUpdate
func (*UserTest2NamedUpdate) ToSQL ¶
func (x *UserTest2NamedUpdate) ToSQL() string
func (*UserTest2NamedUpdate) Uid ¶
func (x *UserTest2NamedUpdate) Uid() *UserTest2NamedUpdate
func (*UserTest2NamedUpdate) Where ¶
func (x *UserTest2NamedUpdate) Where() *UserTest2NamedWhere
func (*UserTest2NamedUpdate) Xxx ¶
func (x *UserTest2NamedUpdate) Xxx() *UserTest2NamedUpdate
type UserTest2NamedWhere ¶
type UserTest2NamedWhere struct {
// contains filtered or unexported fields
}
func (*UserTest2NamedWhere) And ¶
func (x *UserTest2NamedWhere) And() *UserTest2NamedWhere
func (*UserTest2NamedWhere) CreateStamp ¶
func (x *UserTest2NamedWhere) CreateStamp() *UserTest2NamedWhere
func (*UserTest2NamedWhere) Custom ¶
func (x *UserTest2NamedWhere) Custom(f func(buf *util.Builder)) *UserTest2NamedWhere
func (*UserTest2NamedWhere) CustomVal ¶
func (x *UserTest2NamedWhere) CustomVal() *UserTest2NamedWhere
func (*UserTest2NamedWhere) Group ¶
func (x *UserTest2NamedWhere) Group(gf func(w *UserTest2NamedWhere)) *UserTest2NamedWhere
func (*UserTest2NamedWhere) Limit ¶
func (x *UserTest2NamedWhere) Limit(limit, offset int) *UserTest2NamedWhere
func (*UserTest2NamedWhere) ModifyStamp ¶
func (x *UserTest2NamedWhere) ModifyStamp() *UserTest2NamedWhere
func (*UserTest2NamedWhere) OnDuplicateKeyUpdate ¶
func (x *UserTest2NamedWhere) OnDuplicateKeyUpdate() *UserTest2NamedUpdate
func (*UserTest2NamedWhere) OnDuplicateKeyUpdateValues ¶
func (x *UserTest2NamedWhere) OnDuplicateKeyUpdateValues() *UserTest2NamedUpdate
func (*UserTest2NamedWhere) Or ¶
func (x *UserTest2NamedWhere) Or() *UserTest2NamedWhere
func (*UserTest2NamedWhere) OrderBy ¶
func (x *UserTest2NamedWhere) OrderBy() *UserTest2NamedOrderBy
func (*UserTest2NamedWhere) State ¶
func (x *UserTest2NamedWhere) State() *UserTest2NamedWhere
func (*UserTest2NamedWhere) ToSQL ¶
func (x *UserTest2NamedWhere) ToSQL() string
func (*UserTest2NamedWhere) Uid ¶
func (x *UserTest2NamedWhere) Uid() *UserTest2NamedWhere
func (*UserTest2NamedWhere) Xxx ¶
func (x *UserTest2NamedWhere) Xxx() *UserTest2NamedWhere
type UserTest2Operation ¶
type UserTest2Operation interface { Insert(ctx context.Context, data *dbop.UserTest2) (res sql.Result, err error) InsertMany(ctx context.Context, datas []*dbop.UserTest2) (res sql.Result, err error) Update(ctx context.Context, data *dbop.UserTest2) (res sql.Result, err error) Upsert(ctx context.Context, data *dbop.UserTest2) (res sql.Result, err error) UpsertMany(ctx context.Context, datas []*dbop.UserTest2) (res sql.Result, err error) Find(ctx context.Context, uid int64) (data *dbop.UserTest2, err error) FindEx(ctx context.Context, uid int64) (data *dbop.UserTest2Ex, err error) Delete(ctx context.Context, uid int64) (res sql.Result, err error) FindByKey(ctx context.Context, id UserTest2Key) (data *dbop.UserTest2, err error) FindExByKey(ctx context.Context, id UserTest2Key) (data *dbop.UserTest2Ex, err error) DeleteByKey(ctx context.Context, id UserTest2Key) (res sql.Result, err error) FindByKeyArray(ctx context.Context, ids []UserTest2Key) (datas []*dbop.UserTest2, err error) FindExByKeyArray(ctx context.Context, ids []UserTest2Key) (datas []*dbop.UserTest2Ex, err error) DeleteByKeyArray(ctx context.Context, ids []UserTest2Key) (res sql.Result, err error) FindByIndexUniqueTest(ctx context.Context, uid int64, xxx int64, limit, offset int) (datas []*dbop.UserTest2, err error) FindExByIndexUniqueTest(ctx context.Context, uid int64, xxx int64, limit, offset int) (datas []*dbop.UserTest2Ex, err error) CountByIndexUniqueTest(ctx context.Context, uid int64, xxx int64) (count int, err error) DeleteByIndexUniqueTest(ctx context.Context, uid int64, xxx int64) (res sql.Result, err error) FindByIndexXxx(ctx context.Context, uid int64, limit, offset int) (datas []*dbop.UserTest2, err error) FindExByIndexXxx(ctx context.Context, uid int64, limit, offset int) (datas []*dbop.UserTest2Ex, err error) CountByIndexXxx(ctx context.Context, uid int64) (count int, err error) DeleteByIndexXxx(ctx context.Context, uid int64) (res sql.Result, err error) Where(bufSize int) *UserTest2WhereStmt Select(ctx context.Context, where *UserTest2WhereStmt) (datas []*dbop.UserTest2, err error) SelectEx(ctx context.Context, where *UserTest2WhereStmt) (datas []*dbop.UserTest2Ex, err error) Count(ctx context.Context, where *UserTest2WhereStmt) (count int, err error) DeleteMany(ctx context.Context, where *UserTest2WhereStmt) (res sql.Result, err error) RangeAll(ctx context.Context, where *UserTest2WhereStmt, f func(ctx context.Context, row *dbop.UserTest2) bool) error RangeAllEx(ctx context.Context, where *UserTest2WhereStmt, f func(ctx context.Context, row *dbop.UserTest2Ex) bool) error AllData(ctx context.Context, where *UserTest2WhereStmt) (datas []*dbop.UserTest2, err error) AllDataEx(ctx context.Context, where *UserTest2WhereStmt) (datas []*dbop.UserTest2Ex, err error) // use for custom named sql DB() *sqlx.DB }
type UserTest2SQLWriter ¶
type UserTest2SQLWriter struct {
// contains filtered or unexported fields
}
func UserTest2NamedSQL ¶
func UserTest2NamedSQL(bufSize int) *UserTest2SQLWriter
func (*UserTest2SQLWriter) Delete ¶
func (x *UserTest2SQLWriter) Delete() *UserTest2NamedWhere
func (*UserTest2SQLWriter) Insert ¶
func (x *UserTest2SQLWriter) Insert() *UserTest2NamedInsert
func (*UserTest2SQLWriter) Select ¶
func (x *UserTest2SQLWriter) Select() *UserTest2NamedSelect
func (*UserTest2SQLWriter) Update ¶
func (x *UserTest2SQLWriter) Update() *UserTest2NamedUpdate
type UserTest2WhereStmt ¶
type UserTest2WhereStmt struct {
// contains filtered or unexported fields
}
func (*UserTest2WhereStmt) And ¶
func (w *UserTest2WhereStmt) And() *UserTest2WhereStmt
func (*UserTest2WhereStmt) Custom ¶
func (w *UserTest2WhereStmt) Custom(f func(buf *util.Builder)) *UserTest2WhereStmt
func (*UserTest2WhereStmt) CustomVal ¶
func (w *UserTest2WhereStmt) CustomVal() *svc_db.StringCondition[UserTest2WhereStmt]
func (*UserTest2WhereStmt) Group ¶
func (w *UserTest2WhereStmt) Group(gf func(w *UserTest2WhereStmt)) *UserTest2WhereStmt
func (*UserTest2WhereStmt) Limit ¶
func (w *UserTest2WhereStmt) Limit(limit, offset int) *UserTest2WhereStmt
func (*UserTest2WhereStmt) Or ¶
func (w *UserTest2WhereStmt) Or() *UserTest2WhereStmt
func (*UserTest2WhereStmt) State ¶
func (w *UserTest2WhereStmt) State() *svc_db.IntSignedCondition[UserTest2WhereStmt, int8]
func (*UserTest2WhereStmt) String ¶
func (w *UserTest2WhereStmt) String() string
func (*UserTest2WhereStmt) Uid ¶
func (w *UserTest2WhereStmt) Uid() *svc_db.IntSignedCondition[UserTest2WhereStmt, int64]
func (*UserTest2WhereStmt) Xxx ¶
func (w *UserTest2WhereStmt) Xxx() *svc_db.IntSignedCondition[UserTest2WhereStmt, int64]
type UserTestNamedInsert ¶
type UserTestNamedInsert struct {
// contains filtered or unexported fields
}
func (*UserTestNamedInsert) CreateStamp ¶
func (x *UserTestNamedInsert) CreateStamp() *UserTestNamedInsert
func (*UserTestNamedInsert) ModifyStamp ¶
func (x *UserTestNamedInsert) ModifyStamp() *UserTestNamedInsert
func (*UserTestNamedInsert) State ¶
func (x *UserTestNamedInsert) State() *UserTestNamedInsert
func (*UserTestNamedInsert) ToSQL ¶
func (x *UserTestNamedInsert) ToSQL() string
func (*UserTestNamedInsert) Uid ¶
func (x *UserTestNamedInsert) Uid() *UserTestNamedInsert
func (*UserTestNamedInsert) ValuesToSQL ¶
func (x *UserTestNamedInsert) ValuesToSQL() string
func (*UserTestNamedInsert) Xxx ¶
func (x *UserTestNamedInsert) Xxx() *UserTestNamedInsert
type UserTestNamedOrderAsc ¶
type UserTestNamedOrderAsc struct {
// contains filtered or unexported fields
}
func (*UserTestNamedOrderAsc) Asc ¶
func (x *UserTestNamedOrderAsc) Asc() *UserTestNamedOrderBy
func (*UserTestNamedOrderAsc) CreateStamp ¶
func (x *UserTestNamedOrderAsc) CreateStamp() *UserTestNamedOrderAsc
func (*UserTestNamedOrderAsc) Desc ¶
func (x *UserTestNamedOrderAsc) Desc() *UserTestNamedOrderBy
func (*UserTestNamedOrderAsc) ModifyStamp ¶
func (x *UserTestNamedOrderAsc) ModifyStamp() *UserTestNamedOrderAsc
func (*UserTestNamedOrderAsc) ToSQL ¶
func (x *UserTestNamedOrderAsc) ToSQL() string
type UserTestNamedOrderBy ¶
type UserTestNamedOrderBy struct {
// contains filtered or unexported fields
}
func (*UserTestNamedOrderBy) Limit ¶
func (x *UserTestNamedOrderBy) Limit(limit, offset int) *UserTestNamedOrderBy
func (*UserTestNamedOrderBy) State ¶
func (x *UserTestNamedOrderBy) State() *UserTestNamedOrderAsc
func (*UserTestNamedOrderBy) ToSQL ¶
func (x *UserTestNamedOrderBy) ToSQL() string
func (*UserTestNamedOrderBy) Uid ¶
func (x *UserTestNamedOrderBy) Uid() *UserTestNamedOrderAsc
func (*UserTestNamedOrderBy) Xxx ¶
func (x *UserTestNamedOrderBy) Xxx() *UserTestNamedOrderAsc
type UserTestNamedSelect ¶
type UserTestNamedSelect struct {
// contains filtered or unexported fields
}
func (*UserTestNamedSelect) CreateStamp ¶
func (x *UserTestNamedSelect) CreateStamp() *UserTestNamedSelect
func (*UserTestNamedSelect) ModifyStamp ¶
func (x *UserTestNamedSelect) ModifyStamp() *UserTestNamedSelect
func (*UserTestNamedSelect) State ¶
func (x *UserTestNamedSelect) State() *UserTestNamedSelect
func (*UserTestNamedSelect) ToSQL ¶
func (x *UserTestNamedSelect) ToSQL() string
func (*UserTestNamedSelect) Uid ¶
func (x *UserTestNamedSelect) Uid() *UserTestNamedSelect
func (*UserTestNamedSelect) Where ¶
func (x *UserTestNamedSelect) Where() *UserTestNamedWhere
func (*UserTestNamedSelect) Xxx ¶
func (x *UserTestNamedSelect) Xxx() *UserTestNamedSelect
type UserTestNamedUpdate ¶
type UserTestNamedUpdate struct {
// contains filtered or unexported fields
}
func (*UserTestNamedUpdate) CreateStamp ¶
func (x *UserTestNamedUpdate) CreateStamp() *UserTestNamedUpdate
func (*UserTestNamedUpdate) ModifyStamp ¶
func (x *UserTestNamedUpdate) ModifyStamp() *UserTestNamedUpdate
func (*UserTestNamedUpdate) State ¶
func (x *UserTestNamedUpdate) State() *UserTestNamedUpdate
func (*UserTestNamedUpdate) ToSQL ¶
func (x *UserTestNamedUpdate) ToSQL() string
func (*UserTestNamedUpdate) Uid ¶
func (x *UserTestNamedUpdate) Uid() *UserTestNamedUpdate
func (*UserTestNamedUpdate) Where ¶
func (x *UserTestNamedUpdate) Where() *UserTestNamedWhere
func (*UserTestNamedUpdate) Xxx ¶
func (x *UserTestNamedUpdate) Xxx() *UserTestNamedUpdate
type UserTestNamedWhere ¶
type UserTestNamedWhere struct {
// contains filtered or unexported fields
}
func (*UserTestNamedWhere) And ¶
func (x *UserTestNamedWhere) And() *UserTestNamedWhere
func (*UserTestNamedWhere) CreateStamp ¶
func (x *UserTestNamedWhere) CreateStamp() *UserTestNamedWhere
func (*UserTestNamedWhere) Custom ¶
func (x *UserTestNamedWhere) Custom(f func(buf *util.Builder)) *UserTestNamedWhere
func (*UserTestNamedWhere) Group ¶
func (x *UserTestNamedWhere) Group(gf func(w *UserTestNamedWhere)) *UserTestNamedWhere
func (*UserTestNamedWhere) Limit ¶
func (x *UserTestNamedWhere) Limit(limit, offset int) *UserTestNamedWhere
func (*UserTestNamedWhere) ModifyStamp ¶
func (x *UserTestNamedWhere) ModifyStamp() *UserTestNamedWhere
func (*UserTestNamedWhere) OnDuplicateKeyUpdate ¶
func (x *UserTestNamedWhere) OnDuplicateKeyUpdate() *UserTestNamedUpdate
func (*UserTestNamedWhere) OnDuplicateKeyUpdateValues ¶
func (x *UserTestNamedWhere) OnDuplicateKeyUpdateValues() *UserTestNamedUpdate
func (*UserTestNamedWhere) Or ¶
func (x *UserTestNamedWhere) Or() *UserTestNamedWhere
func (*UserTestNamedWhere) OrderBy ¶
func (x *UserTestNamedWhere) OrderBy() *UserTestNamedOrderBy
func (*UserTestNamedWhere) State ¶
func (x *UserTestNamedWhere) State() *UserTestNamedWhere
func (*UserTestNamedWhere) ToSQL ¶
func (x *UserTestNamedWhere) ToSQL() string
func (*UserTestNamedWhere) Uid ¶
func (x *UserTestNamedWhere) Uid() *UserTestNamedWhere
func (*UserTestNamedWhere) Xxx ¶
func (x *UserTestNamedWhere) Xxx() *UserTestNamedWhere
type UserTestOperation ¶
type UserTestOperation interface { Insert(ctx context.Context, data *dbop.UserTest) (res sql.Result, err error) InsertMany(ctx context.Context, datas []*dbop.UserTest) (res sql.Result, err error) FindByIndexUid(ctx context.Context, uid int64, limit, offset int) (datas []*dbop.UserTest, err error) FindExByIndexUid(ctx context.Context, uid int64, limit, offset int) (datas []*dbop.UserTestEx, err error) CountByIndexUid(ctx context.Context, uid int64) (count int, err error) DeleteByIndexUid(ctx context.Context, uid int64) (res sql.Result, err error) FindByIndexXxx(ctx context.Context, uid int64, xxx int64, limit, offset int) (datas []*dbop.UserTest, err error) FindExByIndexXxx(ctx context.Context, uid int64, xxx int64, limit, offset int) (datas []*dbop.UserTestEx, err error) CountByIndexXxx(ctx context.Context, uid int64, xxx int64) (count int, err error) DeleteByIndexXxx(ctx context.Context, uid int64, xxx int64) (res sql.Result, err error) Where(bufSize int) *UserTestWhereStmt Select(ctx context.Context, where *UserTestWhereStmt) (datas []*dbop.UserTest, err error) SelectEx(ctx context.Context, where *UserTestWhereStmt) (datas []*dbop.UserTestEx, err error) Count(ctx context.Context, where *UserTestWhereStmt) (count int, err error) DeleteMany(ctx context.Context, where *UserTestWhereStmt) (res sql.Result, err error) RangeAll(ctx context.Context, where *UserTestWhereStmt, f func(ctx context.Context, row *dbop.UserTest) bool) error RangeAllEx(ctx context.Context, where *UserTestWhereStmt, f func(ctx context.Context, row *dbop.UserTestEx) bool) error AllData(ctx context.Context, where *UserTestWhereStmt) (datas []*dbop.UserTest, err error) AllDataEx(ctx context.Context, where *UserTestWhereStmt) (datas []*dbop.UserTestEx, err error) // use for custom named sql DB() *sqlx.DB }
type UserTestSQLWriter ¶
type UserTestSQLWriter struct {
// contains filtered or unexported fields
}
func UserTestNamedSQL ¶
func UserTestNamedSQL(bufSize int) *UserTestSQLWriter
func (*UserTestSQLWriter) Delete ¶
func (x *UserTestSQLWriter) Delete() *UserTestNamedWhere
func (*UserTestSQLWriter) Insert ¶
func (x *UserTestSQLWriter) Insert() *UserTestNamedInsert
func (*UserTestSQLWriter) Select ¶
func (x *UserTestSQLWriter) Select() *UserTestNamedSelect
func (*UserTestSQLWriter) Update ¶
func (x *UserTestSQLWriter) Update() *UserTestNamedUpdate
type UserTestWhereStmt ¶
type UserTestWhereStmt struct {
// contains filtered or unexported fields
}
func (*UserTestWhereStmt) And ¶
func (w *UserTestWhereStmt) And() *UserTestWhereStmt
func (*UserTestWhereStmt) Custom ¶
func (w *UserTestWhereStmt) Custom(f func(buf *util.Builder)) *UserTestWhereStmt
func (*UserTestWhereStmt) Group ¶
func (w *UserTestWhereStmt) Group(gf func(w *UserTestWhereStmt)) *UserTestWhereStmt
func (*UserTestWhereStmt) Limit ¶
func (w *UserTestWhereStmt) Limit(limit, offset int) *UserTestWhereStmt
func (*UserTestWhereStmt) Or ¶
func (w *UserTestWhereStmt) Or() *UserTestWhereStmt
func (*UserTestWhereStmt) State ¶
func (w *UserTestWhereStmt) State() *svc_db.IntSignedCondition[UserTestWhereStmt, int8]
func (*UserTestWhereStmt) String ¶
func (w *UserTestWhereStmt) String() string
func (*UserTestWhereStmt) Uid ¶
func (w *UserTestWhereStmt) Uid() *svc_db.IntSignedCondition[UserTestWhereStmt, int64]
func (*UserTestWhereStmt) Xxx ¶
func (w *UserTestWhereStmt) Xxx() *svc_db.IntSignedCondition[UserTestWhereStmt, int64]
type UserXxLogKey ¶
type UserXxLogKey = int64
func UserXxLogToPrimaryKeys ¶
func UserXxLogToPrimaryKeys(rows []*dbop.UserXxLog) (ids []UserXxLogKey)
type UserXxLogNamedInsert ¶
type UserXxLogNamedInsert struct {
// contains filtered or unexported fields
}
func (*UserXxLogNamedInsert) CreateStamp ¶
func (x *UserXxLogNamedInsert) CreateStamp() *UserXxLogNamedInsert
func (*UserXxLogNamedInsert) Id ¶
func (x *UserXxLogNamedInsert) Id() *UserXxLogNamedInsert
func (*UserXxLogNamedInsert) ToSQL ¶
func (x *UserXxLogNamedInsert) ToSQL() string
func (*UserXxLogNamedInsert) Uid ¶
func (x *UserXxLogNamedInsert) Uid() *UserXxLogNamedInsert
func (*UserXxLogNamedInsert) ValuesToSQL ¶
func (x *UserXxLogNamedInsert) ValuesToSQL() string
func (*UserXxLogNamedInsert) X2 ¶
func (x *UserXxLogNamedInsert) X2() *UserXxLogNamedInsert
func (*UserXxLogNamedInsert) Xx ¶
func (x *UserXxLogNamedInsert) Xx() *UserXxLogNamedInsert
type UserXxLogNamedOrderAsc ¶
type UserXxLogNamedOrderAsc struct {
// contains filtered or unexported fields
}
func (*UserXxLogNamedOrderAsc) Asc ¶
func (x *UserXxLogNamedOrderAsc) Asc() *UserXxLogNamedOrderBy
func (*UserXxLogNamedOrderAsc) Desc ¶
func (x *UserXxLogNamedOrderAsc) Desc() *UserXxLogNamedOrderBy
func (*UserXxLogNamedOrderAsc) ToSQL ¶
func (x *UserXxLogNamedOrderAsc) ToSQL() string
type UserXxLogNamedOrderBy ¶
type UserXxLogNamedOrderBy struct {
// contains filtered or unexported fields
}
func (*UserXxLogNamedOrderBy) CreateStamp ¶
func (x *UserXxLogNamedOrderBy) CreateStamp() *UserXxLogNamedOrderAsc
func (*UserXxLogNamedOrderBy) Id ¶
func (x *UserXxLogNamedOrderBy) Id() *UserXxLogNamedOrderAsc
func (*UserXxLogNamedOrderBy) Limit ¶
func (x *UserXxLogNamedOrderBy) Limit(limit, offset int) *UserXxLogNamedOrderBy
func (*UserXxLogNamedOrderBy) ToSQL ¶
func (x *UserXxLogNamedOrderBy) ToSQL() string
func (*UserXxLogNamedOrderBy) Uid ¶
func (x *UserXxLogNamedOrderBy) Uid() *UserXxLogNamedOrderAsc
func (*UserXxLogNamedOrderBy) X2 ¶
func (x *UserXxLogNamedOrderBy) X2() *UserXxLogNamedOrderAsc
func (*UserXxLogNamedOrderBy) Xx ¶
func (x *UserXxLogNamedOrderBy) Xx() *UserXxLogNamedOrderAsc
type UserXxLogNamedSelect ¶
type UserXxLogNamedSelect struct {
// contains filtered or unexported fields
}
func (*UserXxLogNamedSelect) CreateStamp ¶
func (x *UserXxLogNamedSelect) CreateStamp() *UserXxLogNamedSelect
func (*UserXxLogNamedSelect) Id ¶
func (x *UserXxLogNamedSelect) Id() *UserXxLogNamedSelect
func (*UserXxLogNamedSelect) ToSQL ¶
func (x *UserXxLogNamedSelect) ToSQL() string
func (*UserXxLogNamedSelect) Uid ¶
func (x *UserXxLogNamedSelect) Uid() *UserXxLogNamedSelect
func (*UserXxLogNamedSelect) Where ¶
func (x *UserXxLogNamedSelect) Where() *UserXxLogNamedWhere
func (*UserXxLogNamedSelect) X2 ¶
func (x *UserXxLogNamedSelect) X2() *UserXxLogNamedSelect
func (*UserXxLogNamedSelect) Xx ¶
func (x *UserXxLogNamedSelect) Xx() *UserXxLogNamedSelect
type UserXxLogNamedUpdate ¶
type UserXxLogNamedUpdate struct {
// contains filtered or unexported fields
}
func (*UserXxLogNamedUpdate) CreateStamp ¶
func (x *UserXxLogNamedUpdate) CreateStamp() *UserXxLogNamedUpdate
func (*UserXxLogNamedUpdate) Id ¶
func (x *UserXxLogNamedUpdate) Id() *UserXxLogNamedUpdate
func (*UserXxLogNamedUpdate) ToSQL ¶
func (x *UserXxLogNamedUpdate) ToSQL() string
func (*UserXxLogNamedUpdate) Uid ¶
func (x *UserXxLogNamedUpdate) Uid() *UserXxLogNamedUpdate
func (*UserXxLogNamedUpdate) Where ¶
func (x *UserXxLogNamedUpdate) Where() *UserXxLogNamedWhere
func (*UserXxLogNamedUpdate) X2 ¶
func (x *UserXxLogNamedUpdate) X2() *UserXxLogNamedUpdate
func (*UserXxLogNamedUpdate) Xx ¶
func (x *UserXxLogNamedUpdate) Xx() *UserXxLogNamedUpdate
type UserXxLogNamedWhere ¶
type UserXxLogNamedWhere struct {
// contains filtered or unexported fields
}
func (*UserXxLogNamedWhere) And ¶
func (x *UserXxLogNamedWhere) And() *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) CreateStamp ¶
func (x *UserXxLogNamedWhere) CreateStamp() *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) Custom ¶
func (x *UserXxLogNamedWhere) Custom(f func(buf *util.Builder)) *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) Group ¶
func (x *UserXxLogNamedWhere) Group(gf func(w *UserXxLogNamedWhere)) *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) Id ¶
func (x *UserXxLogNamedWhere) Id() *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) Limit ¶
func (x *UserXxLogNamedWhere) Limit(limit, offset int) *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) OnDuplicateKeyUpdate ¶
func (x *UserXxLogNamedWhere) OnDuplicateKeyUpdate() *UserXxLogNamedUpdate
func (*UserXxLogNamedWhere) OnDuplicateKeyUpdateValues ¶
func (x *UserXxLogNamedWhere) OnDuplicateKeyUpdateValues() *UserXxLogNamedUpdate
func (*UserXxLogNamedWhere) Or ¶
func (x *UserXxLogNamedWhere) Or() *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) OrderBy ¶
func (x *UserXxLogNamedWhere) OrderBy() *UserXxLogNamedOrderBy
func (*UserXxLogNamedWhere) ToSQL ¶
func (x *UserXxLogNamedWhere) ToSQL() string
func (*UserXxLogNamedWhere) Uid ¶
func (x *UserXxLogNamedWhere) Uid() *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) X2 ¶
func (x *UserXxLogNamedWhere) X2() *UserXxLogNamedWhere
func (*UserXxLogNamedWhere) Xx ¶
func (x *UserXxLogNamedWhere) Xx() *UserXxLogNamedWhere
type UserXxLogOperation ¶
type UserXxLogOperation interface { Insert(ctx context.Context, data *dbop.UserXxLog) (res sql.Result, err error) InsertMany(ctx context.Context, datas []*dbop.UserXxLog) (res sql.Result, err error) Find(ctx context.Context, id int64) (data *dbop.UserXxLog, err error) Delete(ctx context.Context, id int64) (res sql.Result, err error) FindByKey(ctx context.Context, id UserXxLogKey) (data *dbop.UserXxLog, err error) DeleteByKey(ctx context.Context, id UserXxLogKey) (res sql.Result, err error) FindByKeyArray(ctx context.Context, ids []UserXxLogKey) (datas []*dbop.UserXxLog, err error) DeleteByKeyArray(ctx context.Context, ids []UserXxLogKey) (res sql.Result, err error) Where(bufSize int) *UserXxLogWhereStmt Select(ctx context.Context, where *UserXxLogWhereStmt) (datas []*dbop.UserXxLog, err error) Count(ctx context.Context, where *UserXxLogWhereStmt) (count int, err error) DeleteMany(ctx context.Context, where *UserXxLogWhereStmt) (res sql.Result, err error) RangeAll(ctx context.Context, where *UserXxLogWhereStmt, f func(ctx context.Context, row *dbop.UserXxLog) bool) error AllData(ctx context.Context, where *UserXxLogWhereStmt) (datas []*dbop.UserXxLog, err error) // use for custom named sql DB() *sqlx.DB }
type UserXxLogSQLWriter ¶
type UserXxLogSQLWriter struct {
// contains filtered or unexported fields
}
func UserXxLogNamedSQL ¶
func UserXxLogNamedSQL(bufSize int) *UserXxLogSQLWriter
func (*UserXxLogSQLWriter) Delete ¶
func (x *UserXxLogSQLWriter) Delete() *UserXxLogNamedWhere
func (*UserXxLogSQLWriter) Insert ¶
func (x *UserXxLogSQLWriter) Insert() *UserXxLogNamedInsert
func (*UserXxLogSQLWriter) Select ¶
func (x *UserXxLogSQLWriter) Select() *UserXxLogNamedSelect
func (*UserXxLogSQLWriter) Update ¶
func (x *UserXxLogSQLWriter) Update() *UserXxLogNamedUpdate
type UserXxLogWhereStmt ¶
type UserXxLogWhereStmt struct {
// contains filtered or unexported fields
}
func (*UserXxLogWhereStmt) And ¶
func (w *UserXxLogWhereStmt) And() *UserXxLogWhereStmt
func (*UserXxLogWhereStmt) CreateStamp ¶
func (w *UserXxLogWhereStmt) CreateStamp() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
func (*UserXxLogWhereStmt) Custom ¶
func (w *UserXxLogWhereStmt) Custom(f func(buf *util.Builder)) *UserXxLogWhereStmt
func (*UserXxLogWhereStmt) Group ¶
func (w *UserXxLogWhereStmt) Group(gf func(w *UserXxLogWhereStmt)) *UserXxLogWhereStmt
func (*UserXxLogWhereStmt) Id ¶
func (w *UserXxLogWhereStmt) Id() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
func (*UserXxLogWhereStmt) Limit ¶
func (w *UserXxLogWhereStmt) Limit(limit, offset int) *UserXxLogWhereStmt
func (*UserXxLogWhereStmt) Or ¶
func (w *UserXxLogWhereStmt) Or() *UserXxLogWhereStmt
func (*UserXxLogWhereStmt) String ¶
func (w *UserXxLogWhereStmt) String() string
func (*UserXxLogWhereStmt) Uid ¶
func (w *UserXxLogWhereStmt) Uid() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
func (*UserXxLogWhereStmt) X2 ¶
func (w *UserXxLogWhereStmt) X2() *svc_db.StringCondition[UserXxLogWhereStmt]
func (*UserXxLogWhereStmt) Xx ¶
func (w *UserXxLogWhereStmt) Xx() *svc_db.IntSignedCondition[UserXxLogWhereStmt, int64]
Click to show internal directories.
Click to hide internal directories.