Documentation ¶
Index ¶
- type Queries
- func (q *Queries) Close() error
- func (q *Queries) Count(ctx context.Context) (int64, error)
- func (q *Queries) CountMany(ctx context.Context, isActive bool, isAdministrator bool) (int64, error)
- func (q *Queries) CreateUser(ctx context.Context, email string, username string, password string, ...) (int64, error)
- func (q *Queries) DeleteUser(ctx context.Context, id uint64) error
- func (q *Queries) Retrieve(ctx context.Context, limit int32, offset int32) ([]*models.User, error)
- func (q *Queries) RetrieveByEmail(ctx context.Context, email string) (*models.User, error)
- func (q *Queries) RetrieveByID(ctx context.Context, id uint64) (*models.User, error)
- func (q *Queries) RetrieveByUsername(ctx context.Context, username string) (*models.User, error)
- func (q *Queries) RetrieveMany(ctx context.Context, isActive bool, isAdministrator bool, limit int32, ...) ([]*models.User, error)
- func (q *Queries) UpdateUser(ctx context.Context, email string, username string, password string, ...) error
- func (q *Queries) WithTx(tx *sql.Tx) models.Querier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateUser ¶
func (*Queries) RetrieveByEmail ¶
func (*Queries) RetrieveByID ¶
func (*Queries) RetrieveByUsername ¶
func (*Queries) RetrieveMany ¶
func (*Queries) UpdateUser ¶
Click to show internal directories.
Click to hide internal directories.