Documentation ¶
Index ¶
- type Query
- func (q *Query) Available() bool
- func (q *Query) Begin(opts ...*sql.TxOptions) *QueryTx
- func (q *Query) ReadDB() *Query
- func (q *Query) ReplaceDB(db *gorm.DB) *Query
- func (q *Query) Transaction(fc func(tx *Query) error, opts ...*sql.TxOptions) error
- func (q *Query) WithContext(ctx context.Context) *queryCtx
- func (q *Query) WriteDB() *Query
- type QueryTx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Query ¶
type Query struct { CasbinRule casbinRule JwtBlacklist jwtBlacklist LogJob logJob LogLogin logLogin LogOper logOper SysAPI sysAPI SysDept sysDept SysDictDatum sysDictDatum SysDictType sysDictType SysDiscovery sysDiscovery SysJob sysJob SysMenu sysMenu SysMenuBtn sysMenuBtn SysPost sysPost SysRole sysRole SysRoleBtn sysRoleBtn SysRoleDept sysRoleDept SysRoleMenu sysRoleMenu SysUser sysUser // contains filtered or unexported fields }
func (*Query) Transaction ¶
func (*Query) WithContext ¶
type QueryTx ¶
func (*QueryTx) RollbackTo ¶
Source Files ¶
- casbin_rule.gen.go
- gen.go
- jwt_blacklists.gen.go
- log_jobs.gen.go
- log_logins.gen.go
- log_opers.gen.go
- sys_apis.gen.go
- sys_depts.gen.go
- sys_dict_data.gen.go
- sys_dict_types.gen.go
- sys_discovery.gen.go
- sys_jobs.gen.go
- sys_menu_btns.gen.go
- sys_menus.gen.go
- sys_posts.gen.go
- sys_role_btns.gen.go
- sys_role_depts.gen.go
- sys_role_menus.gen.go
- sys_roles.gen.go
- sys_users.gen.go
Click to show internal directories.
Click to hide internal directories.