dbteamstandingsranking

package
v0.0.0-...-8bbd0fc Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(d *TeamStandingsRanking) error

Delete deletes a record from the database

func Insert

func Insert(d *TeamStandingsRanking) error

Insert will create a new record in the database

func Save

func Save(s *TeamStandingsRanking) error

func Update

func Update(s *TeamStandingsRanking) error

Update will update a record in the database

Types

type TeamStandingsRanking

type TeamStandingsRanking struct {
	TeamStandingsRankingID int64               `db:"team_standings_ranking_id"`
	TeamStandingsID        int64               `db:"team_standings_id"`
	RankingSystemID        int64               `db:"ranking_system_id"`
	Ranking                database.NullString `db:"ranking"`
	DisplayOrder           database.NullInt64  `db:"display_order"`
}

func ReadAll

func ReadAll() ([]TeamStandingsRanking, error)

ReadAll reads all records in the database

func ReadByID

func ReadByID(ID int64) (*TeamStandingsRanking, error)

ReadByID reads by id column

Jump to

Keyboard shortcuts

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