Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(d *FantasyWaiverWireOrder) error
Delete deletes a record from the database
func Insert ¶
func Insert(d *FantasyWaiverWireOrder) error
Insert will create a new record in the database
func Save ¶
func Save(s *FantasyWaiverWireOrder) error
func Update ¶
func Update(s *FantasyWaiverWireOrder) error
Update will update a record in the database
Types ¶
type FantasyWaiverWireOrder ¶
type FantasyWaiverWireOrder struct { FantasyWaiverWireOrderID int64 `db:"fantasy_waiver_wire_order_id"` FantasyLeagueID int64 `db:"fantasy_league_id"` WeekID int64 `db:"week_id"` OrderNumber int64 `db:"order_number"` FantasyTeamID database.NullInt64 `db:"fantasy_team_id"` }
func ReadAll ¶
func ReadAll() ([]FantasyWaiverWireOrder, error)
ReadAll reads all records in the database
func ReadByID ¶
func ReadByID(ID int64) (*FantasyWaiverWireOrder, error)
ReadByID reads by id column
Click to show internal directories.
Click to hide internal directories.