Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Insert ¶
func Insert(d *BracketChallengePick) error
Insert will create a new record in the database
func Save ¶
func Save(s *BracketChallengePick) error
func Update ¶
func Update(s *BracketChallengePick) error
Update will update a record in the database
Types ¶
type BracketChallengePick ¶
type BracketChallengePick struct { BracketChallengePickID int64 `db:"bracket_challenge_pick_id"` FantasyTeamID int64 `db:"fantasy_team_id"` MatchupID int64 `db:"matchup_id"` TeamSeedPickedID database.NullInt64 `db:"team_seed_picked_id"` }
func ReadAll ¶
func ReadAll() ([]BracketChallengePick, error)
ReadAll reads all records in the database
Click to show internal directories.
Click to hide internal directories.