Documentation ¶
Index ¶
- type SysAppidLogColumns
- type SysAppidLogDao
- func (dao *SysAppidLogDao) Columns() SysAppidLogColumns
- func (dao *SysAppidLogDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *SysAppidLogDao) DB() gdb.DB
- func (dao *SysAppidLogDao) Group() string
- func (dao *SysAppidLogDao) Table() string
- func (dao *SysAppidLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type SysJobLogColumns
- type SysJobLogDao
- func (dao *SysJobLogDao) Columns() SysJobLogColumns
- func (dao *SysJobLogDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *SysJobLogDao) DB() gdb.DB
- func (dao *SysJobLogDao) Group() string
- func (dao *SysJobLogDao) Table() string
- func (dao *SysJobLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type SysLogColumns
- type SysLogDao
- func (dao *SysLogDao) Columns() SysLogColumns
- func (dao *SysLogDao) Ctx(ctx context.Context) *gdb.Model
- func (dao *SysLogDao) DB() gdb.DB
- func (dao *SysLogDao) Group() string
- func (dao *SysLogDao) Table() string
- func (dao *SysLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SysAppidLogColumns ¶
type SysAppidLogColumns struct { Id string // Name string // Method string // Api string // Ip string // Userid string // Available string // IsDefault string // Remark string // CreateTime string // DelFlag string // }
SysAppidLogColumns defines and stores column names for table sys_appid_log.
type SysAppidLogDao ¶
type SysAppidLogDao struct {
// contains filtered or unexported fields
}
SysAppidLogDao is the data access object for table sys_appid_log.
func NewSysAppidLogDao ¶
func NewSysAppidLogDao() *SysAppidLogDao
NewSysAppidLogDao creates and returns a new DAO object for table data access.
func (*SysAppidLogDao) Columns ¶
func (dao *SysAppidLogDao) Columns() SysAppidLogColumns
Columns returns all column names of current dao.
func (*SysAppidLogDao) Ctx ¶
func (dao *SysAppidLogDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*SysAppidLogDao) DB ¶
func (dao *SysAppidLogDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*SysAppidLogDao) Group ¶
func (dao *SysAppidLogDao) Group() string
Group returns the configuration group name of database of current dao.
func (*SysAppidLogDao) Table ¶
func (dao *SysAppidLogDao) Table() string
Table returns the table name of current dao.
func (*SysAppidLogDao) Transaction ¶
func (dao *SysAppidLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type SysJobLogColumns ¶
type SysJobLogColumns struct { Id string // JobId string // Type string // Result string // DelFlag string // CreateTime string // Remark string // IsDefault string // Available string // }
SysJobLogColumns defines and stores column names for table sys_job_log.
type SysJobLogDao ¶
type SysJobLogDao struct {
// contains filtered or unexported fields
}
SysJobLogDao is the data access object for table sys_job_log.
func NewSysJobLogDao ¶
func NewSysJobLogDao() *SysJobLogDao
NewSysJobLogDao creates and returns a new DAO object for table data access.
func (*SysJobLogDao) Columns ¶
func (dao *SysJobLogDao) Columns() SysJobLogColumns
Columns returns all column names of current dao.
func (*SysJobLogDao) Ctx ¶
func (dao *SysJobLogDao) Ctx(ctx context.Context) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*SysJobLogDao) DB ¶
func (dao *SysJobLogDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*SysJobLogDao) Group ¶
func (dao *SysJobLogDao) Group() string
Group returns the configuration group name of database of current dao.
func (*SysJobLogDao) Table ¶
func (dao *SysJobLogDao) Table() string
Table returns the table name of current dao.
func (*SysJobLogDao) Transaction ¶
func (dao *SysJobLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type SysLogColumns ¶
type SysLogColumns struct { Id string // Name string // Method string // Api string // Ip string // Userid string // Available string // IsDefault string // Remark string // CreateTime string // DelFlag string // }
SysLogColumns defines and stores column names for table sys_log.
type SysLogDao ¶
type SysLogDao struct {
// contains filtered or unexported fields
}
SysLogDao is the data access object for table sys_log.
func NewSysLogDao ¶
func NewSysLogDao() *SysLogDao
NewSysLogDao creates and returns a new DAO object for table data access.
func (*SysLogDao) Columns ¶
func (dao *SysLogDao) Columns() SysLogColumns
Columns returns all column names of current dao.
func (*SysLogDao) Ctx ¶
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*SysLogDao) DB ¶
DB retrieves and returns the underlying raw database management object of current DAO.
func (*SysLogDao) Transaction ¶
func (dao *SysLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.