Documentation ¶
Index ¶
- func NewUsersQ(db *pgdb.DB) data.Users
- type UsersQ
- func (q UsersQ) CountWithGroupedModules(module *string) data.Users
- func (q UsersQ) Delete() error
- func (q UsersQ) FilterByModuleIds(moduleIds ...string) data.Users
- func (q UsersQ) FilterByModules(modules ...string) data.Users
- func (q UsersQ) Get() (*data.User, error)
- func (q UsersQ) GetTotalCount() (int64, error)
- func (q UsersQ) New() data.Users
- func (q UsersQ) Page(pageParams pgdb.OffsetPageParams, sortParams data.SortParams) data.Users
- func (q UsersQ) SearchBy(search string) data.Users
- func (q UsersQ) Select() ([]data.User, error)
- func (q UsersQ) Upsert(user data.User) error
- func (q UsersQ) WithGroupedModulesAndSubmodules(module *string) data.Users
- func (q UsersQ) WithGroupedSubmodules(username, module *string) data.Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UsersQ ¶
type UsersQ struct {
// contains filtered or unexported fields
}
func (UsersQ) CountWithGroupedModules ¶
func (UsersQ) GetTotalCount ¶
func (UsersQ) Page ¶
func (q UsersQ) Page(pageParams pgdb.OffsetPageParams, sortParams data.SortParams) data.Users
func (UsersQ) WithGroupedModulesAndSubmodules ¶
Click to show internal directories.
Click to hide internal directories.