dbfantasywaiverwirerequest

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

Delete deletes a record from the database

func Insert

Insert will create a new record in the database

func Save

func Update

Update will update a record in the database

Types

type FantasyWaiverWireRequest

type FantasyWaiverWireRequest struct {
	FantasyWaiverWireRequestID int64               `db:"fantasy_waiver_wire_request_id"`
	FantasyTeamID              int64               `db:"fantasy_team_id"`
	WeekID                     int64               `db:"week_id"`
	Rank                       int64               `db:"rank"`
	RequestDate                time.Time           `db:"request_date"`
	DropPlayerID               database.NullInt64  `db:"drop_player_id"`
	DropType                   database.NullString `db:"drop_type"`
	PickupPlayerID             database.NullInt64  `db:"pu_player_id"`
	PickupType                 database.NullString `db:"pu_type"`
	Processed                  int64               `db:"processed"`
	Granted                    int64               `db:"granted"`
}

func ReadAll

func ReadAll() ([]FantasyWaiverWireRequest, error)

ReadAll reads all records in the database

func ReadByID

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

ReadByID reads by id column

Jump to

Keyboard shortcuts

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