Documentation
¶
Index ¶
- func AddBeatmap(beatmap osu.BeatmapData)
- func AddFarm(tx *sql.Tx, row osu.BeatmapData)
- func AddRankedMapper(tx *sql.Tx, row osu.BeatmapData)
- func AddStream(tx *sql.Tx, row osu.BeatmapData)
- func BatchUpdate(updater Updater)
- func Begin() (*sql.Tx, error)
- func Close()
- func Exec(query string, args ...any) (sql.Result, error)
- func Exists(setId int) bool
- func GetBeatmapById(id int) (osu.BeatmapData, error)
- func GetBeatmapBySetId(setId string) (osu.BeatmapData, error)
- func GetBeatmapCount() int
- func GetBeatmapHashMap() (map[string]int, error)
- func GetBeatmapHashMapV2() (map[string][]int, error)
- func GetRowAtOffset(offset int) osu.BeatmapData
- func OpenFullDb()
- func Query(query string, args ...any) (*sql.Rows, error)
- func QueryIds(query string, values []string) ([]int, []int, map[int]int, []string, error)
- func QueryRow(query string) *sql.Row
- func RefreshFarm()
- func UpdateRow(id int, column string, value string)
- type QueryLog
- type Updater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBeatmap ¶
func AddBeatmap(beatmap osu.BeatmapData)
func AddRankedMapper ¶
func AddRankedMapper(tx *sql.Tx, row osu.BeatmapData)
func BatchUpdate ¶
func BatchUpdate(updater Updater)
func GetBeatmapById ¶
func GetBeatmapById(id int) (osu.BeatmapData, error)
func GetBeatmapBySetId ¶
func GetBeatmapBySetId(setId string) (osu.BeatmapData, error)
func GetBeatmapCount ¶
func GetBeatmapCount() int
func GetBeatmapHashMap ¶
func GetBeatmapHashMapV2 ¶
func GetRowAtOffset ¶
func GetRowAtOffset(offset int) osu.BeatmapData
func OpenFullDb ¶
func OpenFullDb()
func RefreshFarm ¶
func RefreshFarm()
Types ¶
Click to show internal directories.
Click to hide internal directories.