sql

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func NewRepository

func NewRepository(runner sq.BaseRunner) *Repository

func (*Repository) FindByID

func (r *Repository) FindByID(ctx context.Context, playerID uint32) (player.Player, error)

func (*Repository) FindWithNameMatching

func (r *Repository) FindWithNameMatching(ctx context.Context, name string, condition player.MatchCondition, order player.SortOrder) ([]player.Player, error)

func (*Repository) ResetRankChangeFlags

func (r *Repository) ResetRankChangeFlags(ctx context.Context, id uint32) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL