Documentation
¶
Index ¶
- Variables
- func AddAuctionHook(hookPoint boil.HookPoint, auctionHook AuctionHook)
- func AddAuctionsBidHook(hookPoint boil.HookPoint, auctionsBidHook AuctionsBidHook)
- func AddAuthCookieHook(hookPoint boil.HookPoint, authCookieHook AuthCookieHook)
- func AddAuthDiscordStateHook(hookPoint boil.HookPoint, authDiscordStateHook AuthDiscordStateHook)
- func AddAuthGithubStateHook(hookPoint boil.HookPoint, authGithubStateHook AuthGithubStateHook)
- func AddCardHook(hookPoint boil.HookPoint, cardHook CardHook)
- func AddCardTypeHook(hookPoint boil.HookPoint, cardTypeHook CardTypeHook)
- func AddCardsStatHook(hookPoint boil.HookPoint, cardsStatHook CardsStatHook)
- func AddDailyHook(hookPoint boil.HookPoint, dailyHook DailyHook)
- func AddDungeonHook(hookPoint boil.HookPoint, dungeonHook DungeonHook)
- func AddGithubStarHook(hookPoint boil.HookPoint, githubStarHook GithubStarHook)
- func AddJobHook(hookPoint boil.HookPoint, jobHook JobHook)
- func AddListingHook(hookPoint boil.HookPoint, listingHook ListingHook)
- func AddLootBoxHook(hookPoint boil.HookPoint, lootBoxHook LootBoxHook)
- func AddPlayerCardFavoriteHook(hookPoint boil.HookPoint, playerCardFavoriteHook PlayerCardFavoriteHook)
- func AddPlayerCardHook(hookPoint boil.HookPoint, playerCardHook PlayerCardHook)
- func AddPlayerCardsDeckHook(hookPoint boil.HookPoint, playerCardsDeckHook PlayerCardsDeckHook)
- func AddPlayerHook(hookPoint boil.HookPoint, playerHook PlayerHook)
- func AddPlayerLimitHook(hookPoint boil.HookPoint, playerLimitHook PlayerLimitHook)
- func AuctionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func AuctionExistsG(ctx context.Context, iD string) (bool, error)
- func Auctions(mods ...qm.QueryMod) auctionQuery
- func AuctionsBidExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func AuctionsBidExistsG(ctx context.Context, iD string) (bool, error)
- func AuctionsBids(mods ...qm.QueryMod) auctionsBidQuery
- func AuthCookieExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func AuthCookieExistsG(ctx context.Context, iD string) (bool, error)
- func AuthCookies(mods ...qm.QueryMod) authCookieQuery
- func AuthDiscordStateExists(ctx context.Context, exec boil.ContextExecutor, state string) (bool, error)
- func AuthDiscordStateExistsG(ctx context.Context, state string) (bool, error)
- func AuthDiscordStates(mods ...qm.QueryMod) authDiscordStateQuery
- func AuthGithubStateExists(ctx context.Context, exec boil.ContextExecutor, state string) (bool, error)
- func AuthGithubStateExistsG(ctx context.Context, state string) (bool, error)
- func AuthGithubStates(mods ...qm.QueryMod) authGithubStateQuery
- func CardExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func CardExistsG(ctx context.Context, iD string) (bool, error)
- func CardTypeExists(ctx context.Context, exec boil.ContextExecutor, cardType string) (bool, error)
- func CardTypeExistsG(ctx context.Context, cardType string) (bool, error)
- func CardTypes(mods ...qm.QueryMod) cardTypeQuery
- func Cards(mods ...qm.QueryMod) cardQuery
- func CardsStatExists(ctx context.Context, exec boil.ContextExecutor, cardID string) (bool, error)
- func CardsStatExistsG(ctx context.Context, cardID string) (bool, error)
- func CardsStats(mods ...qm.QueryMod) cardsStatQuery
- func Dailies(mods ...qm.QueryMod) dailyQuery
- func DailyExists(ctx context.Context, exec boil.ContextExecutor, playerID string) (bool, error)
- func DailyExistsG(ctx context.Context, playerID string) (bool, error)
- func DungeonExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func DungeonExistsG(ctx context.Context, iD string) (bool, error)
- func Dungeons(mods ...qm.QueryMod) dungeonQuery
- func GithubStarExists(ctx context.Context, exec boil.ContextExecutor, playerID string) (bool, error)
- func GithubStarExistsG(ctx context.Context, playerID string) (bool, error)
- func GithubStars(mods ...qm.QueryMod) githubStarQuery
- func JobExists(ctx context.Context, exec boil.ContextExecutor, iD string, jobkey string) (bool, error)
- func JobExistsG(ctx context.Context, iD string, jobkey string) (bool, error)
- func Jobs(mods ...qm.QueryMod) jobQuery
- func ListingExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func ListingExistsG(ctx context.Context, iD string) (bool, error)
- func Listings(mods ...qm.QueryMod) listingQuery
- func LootBoxExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func LootBoxExistsG(ctx context.Context, iD string) (bool, error)
- func LootBoxes(mods ...qm.QueryMod) lootBoxQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func PlayerCardExists(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string) (bool, error)
- func PlayerCardExistsG(ctx context.Context, playerID string, cardID string) (bool, error)
- func PlayerCardFavoriteExists(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string) (bool, error)
- func PlayerCardFavoriteExistsG(ctx context.Context, playerID string, cardID string) (bool, error)
- func PlayerCardFavorites(mods ...qm.QueryMod) playerCardFavoriteQuery
- func PlayerCards(mods ...qm.QueryMod) playerCardQuery
- func PlayerCardsDeckExists(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string) (bool, error)
- func PlayerCardsDeckExistsG(ctx context.Context, playerID string, cardID string) (bool, error)
- func PlayerCardsDecks(mods ...qm.QueryMod) playerCardsDeckQuery
- func PlayerExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func PlayerExistsG(ctx context.Context, iD string) (bool, error)
- func PlayerLimitExists(ctx context.Context, exec boil.ContextExecutor, playerID string) (bool, error)
- func PlayerLimitExistsG(ctx context.Context, playerID string) (bool, error)
- func PlayerLimits(mods ...qm.QueryMod) playerLimitQuery
- func Players(mods ...qm.QueryMod) playerQuery
- type Auction
- func (o *Auction) AddAuctionsBids(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Auction) AddAuctionsBidsG(ctx context.Context, insert bool, related ...*AuctionsBid) error
- func (o *Auction) AuctionsBids(mods ...qm.QueryMod) auctionsBidQuery
- func (o *Auction) Card(mods ...qm.QueryMod) cardQuery
- func (o *Auction) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Auction) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *Auction) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Auction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Auction) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Auction) Player(mods ...qm.QueryMod) playerQuery
- func (o *Auction) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Auction) ReloadG(ctx context.Context) error
- func (o *Auction) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *Auction) SetCardG(ctx context.Context, insert bool, related *Card) error
- func (o *Auction) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *Auction) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *Auction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Auction) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Auction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Auction) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type AuctionHook
- type AuctionSlice
- func (o AuctionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o AuctionSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuctionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuctionSlice) ReloadAllG(ctx context.Context) error
- func (o AuctionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o AuctionSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type AuctionsBid
- func (o *AuctionsBid) Auction(mods ...qm.QueryMod) auctionQuery
- func (o *AuctionsBid) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *AuctionsBid) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuctionsBid) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *AuctionsBid) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AuctionsBid) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *AuctionsBid) Player(mods ...qm.QueryMod) playerQuery
- func (o *AuctionsBid) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuctionsBid) ReloadG(ctx context.Context) error
- func (o *AuctionsBid) SetAuction(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Auction) error
- func (o *AuctionsBid) SetAuctionG(ctx context.Context, insert bool, related *Auction) error
- func (o *AuctionsBid) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *AuctionsBid) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *AuctionsBid) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *AuctionsBid) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *AuctionsBid) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *AuctionsBid) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type AuctionsBidHook
- type AuctionsBidSlice
- func (o AuctionsBidSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o AuctionsBidSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuctionsBidSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuctionsBidSlice) ReloadAllG(ctx context.Context) error
- func (o AuctionsBidSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o AuctionsBidSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type AuthCookie
- func (o *AuthCookie) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *AuthCookie) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuthCookie) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *AuthCookie) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AuthCookie) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *AuthCookie) Player(mods ...qm.QueryMod) playerQuery
- func (o *AuthCookie) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuthCookie) ReloadG(ctx context.Context) error
- func (o *AuthCookie) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *AuthCookie) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *AuthCookie) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *AuthCookie) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *AuthCookie) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *AuthCookie) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type AuthCookieHook
- type AuthCookieSlice
- func (o AuthCookieSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o AuthCookieSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuthCookieSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuthCookieSlice) ReloadAllG(ctx context.Context) error
- func (o AuthCookieSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o AuthCookieSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type AuthDiscordState
- func (o *AuthDiscordState) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *AuthDiscordState) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuthDiscordState) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *AuthDiscordState) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AuthDiscordState) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *AuthDiscordState) Player(mods ...qm.QueryMod) playerQuery
- func (o *AuthDiscordState) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuthDiscordState) ReloadG(ctx context.Context) error
- func (o *AuthDiscordState) RemovePlayer(ctx context.Context, exec boil.ContextExecutor, related *Player) error
- func (o *AuthDiscordState) RemovePlayerG(ctx context.Context, related *Player) error
- func (o *AuthDiscordState) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *AuthDiscordState) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *AuthDiscordState) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *AuthDiscordState) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *AuthDiscordState) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *AuthDiscordState) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type AuthDiscordStateHook
- type AuthDiscordStateSlice
- func (o AuthDiscordStateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o AuthDiscordStateSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuthDiscordStateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuthDiscordStateSlice) ReloadAllG(ctx context.Context) error
- func (o AuthDiscordStateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o AuthDiscordStateSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type AuthDiscordStatesType
- type AuthGithubState
- func (o *AuthGithubState) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *AuthGithubState) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuthGithubState) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *AuthGithubState) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AuthGithubState) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *AuthGithubState) Player(mods ...qm.QueryMod) playerQuery
- func (o *AuthGithubState) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuthGithubState) ReloadG(ctx context.Context) error
- func (o *AuthGithubState) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *AuthGithubState) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *AuthGithubState) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *AuthGithubState) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *AuthGithubState) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *AuthGithubState) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type AuthGithubStateHook
- type AuthGithubStateSlice
- func (o AuthGithubStateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o AuthGithubStateSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *AuthGithubStateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuthGithubStateSlice) ReloadAllG(ctx context.Context) error
- func (o AuthGithubStateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o AuthGithubStateSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type AuthGithubStatesType
- type Card
- func (o *Card) AddAuctions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) AddAuctionsG(ctx context.Context, insert bool, related ...*Auction) error
- func (o *Card) AddListings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) AddListingsG(ctx context.Context, insert bool, related ...*Listing) error
- func (o *Card) AddPlayerCardFavorites(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) AddPlayerCardFavoritesG(ctx context.Context, insert bool, related ...*PlayerCardFavorite) error
- func (o *Card) AddPlayerCards(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) AddPlayerCardsDecks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) AddPlayerCardsDecksG(ctx context.Context, insert bool, related ...*PlayerCardsDeck) error
- func (o *Card) AddPlayerCardsG(ctx context.Context, insert bool, related ...*PlayerCard) error
- func (o *Card) AddSelectedCardPlayers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) AddSelectedCardPlayersG(ctx context.Context, insert bool, related ...*Player) error
- func (o *Card) Auctions(mods ...qm.QueryMod) auctionQuery
- func (o *Card) CardsStat(mods ...qm.QueryMod) cardsStatQuery
- func (o *Card) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Card) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *Card) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Card) IDCardsStat(mods ...qm.QueryMod) cardsStatQuery
- func (o *Card) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Card) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Card) Listings(mods ...qm.QueryMod) listingQuery
- func (o *Card) Player(mods ...qm.QueryMod) playerQuery
- func (o *Card) PlayerCardFavorites(mods ...qm.QueryMod) playerCardFavoriteQuery
- func (o *Card) PlayerCards(mods ...qm.QueryMod) playerCardQuery
- func (o *Card) PlayerCardsDecks(mods ...qm.QueryMod) playerCardsDeckQuery
- func (o *Card) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Card) ReloadG(ctx context.Context) error
- func (o *Card) RemoveSelectedCardPlayers(ctx context.Context, exec boil.ContextExecutor, related ...*Player) error
- func (o *Card) RemoveSelectedCardPlayersG(ctx context.Context, related ...*Player) error
- func (o *Card) SelectedCardPlayers(mods ...qm.QueryMod) playerQuery
- func (o *Card) SetCardsStat(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) SetCardsStatG(ctx context.Context, insert bool, related *CardsStat) error
- func (o *Card) SetIDCardsStat(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) SetIDCardsStatG(ctx context.Context, insert bool, related *CardsStat) error
- func (o *Card) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *Card) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *Card) SetSelectedCardPlayers(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Card) SetSelectedCardPlayersG(ctx context.Context, insert bool, related ...*Player) error
- func (o *Card) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Card) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Card) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Card) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type CardHook
- type CardSlice
- func (o CardSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o CardSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *CardSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CardSlice) ReloadAllG(ctx context.Context) error
- func (o CardSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o CardSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type CardType
- func (o *CardType) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *CardType) DeleteG(ctx context.Context) (int64, error)
- func (o *CardType) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *CardType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *CardType) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *CardType) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CardType) ReloadG(ctx context.Context) error
- func (o *CardType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *CardType) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *CardType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *CardType) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type CardTypeHook
- type CardTypeSlice
- func (o CardTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o CardTypeSlice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *CardTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CardTypeSlice) ReloadAllG(ctx context.Context) error
- func (o CardTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o CardTypeSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type CardsStat
- func (o *CardsStat) Card(mods ...qm.QueryMod) cardQuery
- func (o *CardsStat) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *CardsStat) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *CardsStat) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *CardsStat) IDCard(mods ...qm.QueryMod) cardQuery
- func (o *CardsStat) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *CardsStat) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *CardsStat) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CardsStat) ReloadG(ctx context.Context) error
- func (o *CardsStat) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *CardsStat) SetCardG(ctx context.Context, insert bool, related *Card) error
- func (o *CardsStat) SetIDCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *CardsStat) SetIDCardG(ctx context.Context, insert bool, related *Card) error
- func (o *CardsStat) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *CardsStat) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *CardsStat) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *CardsStat) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type CardsStatHook
- type CardsStatSlice
- func (o CardsStatSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o CardsStatSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *CardsStatSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CardsStatSlice) ReloadAllG(ctx context.Context) error
- func (o CardsStatSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o CardsStatSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type Daily
- func (o *Daily) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Daily) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *Daily) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Daily) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Daily) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Daily) Player(mods ...qm.QueryMod) playerQuery
- func (o *Daily) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Daily) ReloadG(ctx context.Context) error
- func (o *Daily) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *Daily) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *Daily) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Daily) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Daily) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Daily) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type DailyHook
- type DailySlice
- func (o DailySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o DailySlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *DailySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DailySlice) ReloadAllG(ctx context.Context) error
- func (o DailySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o DailySlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type Dungeon
- func (o *Dungeon) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Dungeon) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *Dungeon) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Dungeon) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Dungeon) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Dungeon) Player(mods ...qm.QueryMod) playerQuery
- func (o *Dungeon) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Dungeon) ReloadG(ctx context.Context) error
- func (o *Dungeon) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *Dungeon) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *Dungeon) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Dungeon) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Dungeon) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Dungeon) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type DungeonHook
- type DungeonSlice
- func (o DungeonSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o DungeonSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *DungeonSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *DungeonSlice) ReloadAllG(ctx context.Context) error
- func (o DungeonSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o DungeonSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type GithubStar
- func (o *GithubStar) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *GithubStar) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *GithubStar) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *GithubStar) IDPlayer(mods ...qm.QueryMod) playerQuery
- func (o *GithubStar) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *GithubStar) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *GithubStar) Player(mods ...qm.QueryMod) playerQuery
- func (o *GithubStar) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GithubStar) ReloadG(ctx context.Context) error
- func (o *GithubStar) SetIDPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *GithubStar) SetIDPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *GithubStar) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *GithubStar) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *GithubStar) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *GithubStar) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *GithubStar) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *GithubStar) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type GithubStarHook
- type GithubStarSlice
- func (o GithubStarSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o GithubStarSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *GithubStarSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *GithubStarSlice) ReloadAllG(ctx context.Context) error
- func (o GithubStarSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o GithubStarSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type Job
- func (o *Job) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Job) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *Job) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Job) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Job) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Job) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Job) ReloadG(ctx context.Context) error
- func (o *Job) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Job) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Job) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Job) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type JobHook
- type JobSlice
- func (o JobSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o JobSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *JobSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *JobSlice) ReloadAllG(ctx context.Context) error
- func (o JobSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o JobSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type Listing
- func (o *Listing) Card(mods ...qm.QueryMod) cardQuery
- func (o *Listing) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Listing) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *Listing) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Listing) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Listing) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Listing) Player(mods ...qm.QueryMod) playerQuery
- func (o *Listing) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Listing) ReloadG(ctx context.Context) error
- func (o *Listing) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *Listing) SetCardG(ctx context.Context, insert bool, related *Card) error
- func (o *Listing) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *Listing) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *Listing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Listing) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Listing) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Listing) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type ListingHook
- type ListingSlice
- func (o ListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o ListingSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *ListingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ListingSlice) ReloadAllG(ctx context.Context) error
- func (o ListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o ListingSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type LootBox
- func (o *LootBox) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *LootBox) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *LootBox) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *LootBox) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *LootBox) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *LootBox) Player(mods ...qm.QueryMod) playerQuery
- func (o *LootBox) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LootBox) ReloadG(ctx context.Context) error
- func (o *LootBox) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *LootBox) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *LootBox) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *LootBox) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *LootBox) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *LootBox) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type LootBoxHook
- type LootBoxSlice
- func (o LootBoxSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o LootBoxSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *LootBoxSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *LootBoxSlice) ReloadAllG(ctx context.Context) error
- func (o LootBoxSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o LootBoxSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type LootBoxesType
- type M
- type Player
- func (o *Player) AddAuctions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddAuctionsBids(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddAuctionsBidsG(ctx context.Context, insert bool, related ...*AuctionsBid) error
- func (o *Player) AddAuctionsG(ctx context.Context, insert bool, related ...*Auction) error
- func (o *Player) AddAuthCookies(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddAuthCookiesG(ctx context.Context, insert bool, related ...*AuthCookie) error
- func (o *Player) AddAuthDiscordStates(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddAuthDiscordStatesG(ctx context.Context, insert bool, related ...*AuthDiscordState) error
- func (o *Player) AddAuthGithubStates(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddAuthGithubStatesG(ctx context.Context, insert bool, related ...*AuthGithubState) error
- func (o *Player) AddCards(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Card) error
- func (o *Player) AddCardsG(ctx context.Context, insert bool, related ...*Card) error
- func (o *Player) AddDungeons(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddDungeonsG(ctx context.Context, insert bool, related ...*Dungeon) error
- func (o *Player) AddListings(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddListingsG(ctx context.Context, insert bool, related ...*Listing) error
- func (o *Player) AddLootBoxes(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddLootBoxesG(ctx context.Context, insert bool, related ...*LootBox) error
- func (o *Player) AddPlayerCardFavorites(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddPlayerCardFavoritesG(ctx context.Context, insert bool, related ...*PlayerCardFavorite) error
- func (o *Player) AddPlayerCards(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddPlayerCardsDecks(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) AddPlayerCardsDecksG(ctx context.Context, insert bool, related ...*PlayerCardsDeck) error
- func (o *Player) AddPlayerCardsG(ctx context.Context, insert bool, related ...*PlayerCard) error
- func (o *Player) Auctions(mods ...qm.QueryMod) auctionQuery
- func (o *Player) AuctionsBids(mods ...qm.QueryMod) auctionsBidQuery
- func (o *Player) AuthCookies(mods ...qm.QueryMod) authCookieQuery
- func (o *Player) AuthDiscordStates(mods ...qm.QueryMod) authDiscordStateQuery
- func (o *Player) AuthGithubStates(mods ...qm.QueryMod) authGithubStateQuery
- func (o *Player) Cards(mods ...qm.QueryMod) cardQuery
- func (o *Player) Daily(mods ...qm.QueryMod) dailyQuery
- func (o *Player) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *Player) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *Player) Dungeons(mods ...qm.QueryMod) dungeonQuery
- func (o *Player) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Player) GithubStar(mods ...qm.QueryMod) githubStarQuery
- func (o *Player) IDGithubStar(mods ...qm.QueryMod) githubStarQuery
- func (o *Player) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Player) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *Player) Listings(mods ...qm.QueryMod) listingQuery
- func (o *Player) LootBoxes(mods ...qm.QueryMod) lootBoxQuery
- func (o *Player) PlayerCardFavorites(mods ...qm.QueryMod) playerCardFavoriteQuery
- func (o *Player) PlayerCards(mods ...qm.QueryMod) playerCardQuery
- func (o *Player) PlayerCardsDecks(mods ...qm.QueryMod) playerCardsDeckQuery
- func (o *Player) PlayerLimit(mods ...qm.QueryMod) playerLimitQuery
- func (o *Player) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Player) ReloadG(ctx context.Context) error
- func (o *Player) RemoveAuthDiscordStates(ctx context.Context, exec boil.ContextExecutor, related ...*AuthDiscordState) error
- func (o *Player) RemoveAuthDiscordStatesG(ctx context.Context, related ...*AuthDiscordState) error
- func (o *Player) RemoveSelectedCard(ctx context.Context, exec boil.ContextExecutor, related *Card) error
- func (o *Player) RemoveSelectedCardG(ctx context.Context, related *Card) error
- func (o *Player) SelectedCard(mods ...qm.QueryMod) cardQuery
- func (o *Player) SetAuthDiscordStates(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) SetAuthDiscordStatesG(ctx context.Context, insert bool, related ...*AuthDiscordState) error
- func (o *Player) SetDaily(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Daily) error
- func (o *Player) SetDailyG(ctx context.Context, insert bool, related *Daily) error
- func (o *Player) SetGithubStar(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) SetGithubStarG(ctx context.Context, insert bool, related *GithubStar) error
- func (o *Player) SetIDGithubStar(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) SetIDGithubStarG(ctx context.Context, insert bool, related *GithubStar) error
- func (o *Player) SetPlayerLimit(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Player) SetPlayerLimitG(ctx context.Context, insert bool, related *PlayerLimit) error
- func (o *Player) SetSelectedCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *Player) SetSelectedCardG(ctx context.Context, insert bool, related *Card) error
- func (o *Player) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Player) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *Player) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *Player) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type PlayerCard
- func (o *PlayerCard) Card(mods ...qm.QueryMod) cardQuery
- func (o *PlayerCard) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PlayerCard) DeleteG(ctx context.Context) (int64, error)
- func (o *PlayerCard) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PlayerCard) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PlayerCard) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *PlayerCard) Player(mods ...qm.QueryMod) playerQuery
- func (o *PlayerCard) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerCard) ReloadG(ctx context.Context) error
- func (o *PlayerCard) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *PlayerCard) SetCardG(ctx context.Context, insert bool, related *Card) error
- func (o *PlayerCard) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *PlayerCard) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *PlayerCard) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PlayerCard) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *PlayerCard) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PlayerCard) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type PlayerCardFavorite
- func (o *PlayerCardFavorite) Card(mods ...qm.QueryMod) cardQuery
- func (o *PlayerCardFavorite) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PlayerCardFavorite) DeleteG(ctx context.Context) (int64, error)
- func (o *PlayerCardFavorite) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PlayerCardFavorite) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PlayerCardFavorite) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *PlayerCardFavorite) Player(mods ...qm.QueryMod) playerQuery
- func (o *PlayerCardFavorite) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerCardFavorite) ReloadG(ctx context.Context) error
- func (o *PlayerCardFavorite) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *PlayerCardFavorite) SetCardG(ctx context.Context, insert bool, related *Card) error
- func (o *PlayerCardFavorite) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *PlayerCardFavorite) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *PlayerCardFavorite) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PlayerCardFavorite) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *PlayerCardFavorite) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PlayerCardFavorite) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type PlayerCardFavoriteHook
- type PlayerCardFavoriteSlice
- func (o PlayerCardFavoriteSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PlayerCardFavoriteSlice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *PlayerCardFavoriteSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerCardFavoriteSlice) ReloadAllG(ctx context.Context) error
- func (o PlayerCardFavoriteSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PlayerCardFavoriteSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type PlayerCardHook
- type PlayerCardSlice
- func (o PlayerCardSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PlayerCardSlice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *PlayerCardSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerCardSlice) ReloadAllG(ctx context.Context) error
- func (o PlayerCardSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PlayerCardSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type PlayerCardsDeck
- func (o *PlayerCardsDeck) Card(mods ...qm.QueryMod) cardQuery
- func (o *PlayerCardsDeck) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PlayerCardsDeck) DeleteG(ctx context.Context) (int64, error)
- func (o *PlayerCardsDeck) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PlayerCardsDeck) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PlayerCardsDeck) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *PlayerCardsDeck) Player(mods ...qm.QueryMod) playerQuery
- func (o *PlayerCardsDeck) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerCardsDeck) ReloadG(ctx context.Context) error
- func (o *PlayerCardsDeck) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
- func (o *PlayerCardsDeck) SetCardG(ctx context.Context, insert bool, related *Card) error
- func (o *PlayerCardsDeck) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *PlayerCardsDeck) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *PlayerCardsDeck) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PlayerCardsDeck) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *PlayerCardsDeck) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PlayerCardsDeck) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type PlayerCardsDeckHook
- type PlayerCardsDeckSlice
- func (o PlayerCardsDeckSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o PlayerCardsDeckSlice) DeleteAllG(ctx context.Context) (int64, error)
- func (o *PlayerCardsDeckSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerCardsDeckSlice) ReloadAllG(ctx context.Context) error
- func (o PlayerCardsDeckSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PlayerCardsDeckSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type PlayerHook
- type PlayerLimit
- func (o *PlayerLimit) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o *PlayerLimit) DeleteG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *PlayerLimit) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PlayerLimit) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PlayerLimit) InsertG(ctx context.Context, columns boil.Columns) error
- func (o *PlayerLimit) Player(mods ...qm.QueryMod) playerQuery
- func (o *PlayerLimit) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerLimit) ReloadG(ctx context.Context) error
- func (o *PlayerLimit) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
- func (o *PlayerLimit) SetPlayerG(ctx context.Context, insert bool, related *Player) error
- func (o *PlayerLimit) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PlayerLimit) UpdateG(ctx context.Context, columns boil.Columns) (int64, error)
- func (o *PlayerLimit) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, ...) error
- func (o *PlayerLimit) UpsertG(ctx context.Context, updateOnConflict bool, conflictColumns []string, ...) error
- type PlayerLimitHook
- type PlayerLimitSlice
- func (o PlayerLimitSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o PlayerLimitSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *PlayerLimitSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerLimitSlice) ReloadAllG(ctx context.Context) error
- func (o PlayerLimitSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PlayerLimitSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type PlayerSlice
- func (o PlayerSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
- func (o PlayerSlice) DeleteAllG(ctx context.Context, hardDelete bool) (int64, error)
- func (o *PlayerSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PlayerSlice) ReloadAllG(ctx context.Context) error
- func (o PlayerSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- func (o PlayerSlice) UpdateAllG(ctx context.Context, cols M) (int64, error)
- type UpsertOptionFunc
- type UpsertOptions
Constants ¶
This section is empty.
Variables ¶
var AuctionColumns = struct { ID string PlayerID string CardID string TimeExtensions string EndsAt string CreatedAt string DeletedAt string }{ ID: "id", PlayerID: "player_id", CardID: "card_id", TimeExtensions: "time_extensions", EndsAt: "ends_at", CreatedAt: "created_at", DeletedAt: "deleted_at", }
var AuctionRels = struct { Card string Player string AuctionsBids string }{ Card: "Card", Player: "Player", AuctionsBids: "AuctionsBids", }
AuctionRels is where relationship names are stored.
var AuctionTableColumns = struct { ID string PlayerID string CardID string TimeExtensions string EndsAt string CreatedAt string DeletedAt string }{ ID: "auctions.id", PlayerID: "auctions.player_id", CardID: "auctions.card_id", TimeExtensions: "auctions.time_extensions", EndsAt: "auctions.ends_at", CreatedAt: "auctions.created_at", DeletedAt: "auctions.deleted_at", }
var AuctionWhere = struct { ID whereHelperstring PlayerID whereHelperstring CardID whereHelperstring TimeExtensions whereHelperint EndsAt whereHelpertime_Time CreatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, CardID: whereHelperstring{/* contains filtered or unexported fields */}, TimeExtensions: whereHelperint{/* contains filtered or unexported fields */}, EndsAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var AuctionsBidColumns = struct { ID string AuctionID string PlayerID string Price string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", AuctionID: "auction_id", PlayerID: "player_id", Price: "price", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var AuctionsBidRels = struct { Auction string Player string }{ Auction: "Auction", Player: "Player", }
AuctionsBidRels is where relationship names are stored.
var AuctionsBidTableColumns = struct { ID string AuctionID string PlayerID string Price string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "auctions_bids.id", AuctionID: "auctions_bids.auction_id", PlayerID: "auctions_bids.player_id", Price: "auctions_bids.price", CreatedAt: "auctions_bids.created_at", UpdatedAt: "auctions_bids.updated_at", DeletedAt: "auctions_bids.deleted_at", }
var AuctionsBidWhere = struct { ID whereHelperstring AuctionID whereHelperstring PlayerID whereHelperstring Price whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, AuctionID: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, Price: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var AuthCookieColumns = struct { ID string PlayerID string ExpiresAt string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", PlayerID: "player_id", ExpiresAt: "expires_at", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var AuthCookieRels = struct { Player string }{ Player: "Player", }
AuthCookieRels is where relationship names are stored.
var AuthCookieTableColumns = struct { ID string PlayerID string ExpiresAt string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "auth_cookies.id", PlayerID: "auth_cookies.player_id", ExpiresAt: "auth_cookies.expires_at", CreatedAt: "auth_cookies.created_at", UpdatedAt: "auth_cookies.updated_at", DeletedAt: "auth_cookies.deleted_at", }
var AuthCookieWhere = struct { ID whereHelperstring PlayerID whereHelperstring ExpiresAt whereHelpertime_Time CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, ExpiresAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var AuthDiscordStateColumns = struct { State string PlayerID string RedirectURI string ExpiresAt string Type string CreatedAt string UpdatedAt string DeletedAt string }{ State: "state", PlayerID: "player_id", RedirectURI: "redirect_uri", ExpiresAt: "expires_at", Type: "type", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var AuthDiscordStateRels = struct { Player string }{ Player: "Player", }
AuthDiscordStateRels is where relationship names are stored.
var AuthDiscordStateTableColumns = struct { State string PlayerID string RedirectURI string ExpiresAt string Type string CreatedAt string UpdatedAt string DeletedAt string }{ State: "auth_discord_states.state", PlayerID: "auth_discord_states.player_id", RedirectURI: "auth_discord_states.redirect_uri", ExpiresAt: "auth_discord_states.expires_at", Type: "auth_discord_states.type", CreatedAt: "auth_discord_states.created_at", UpdatedAt: "auth_discord_states.updated_at", DeletedAt: "auth_discord_states.deleted_at", }
var AuthDiscordStateWhere = struct { State whereHelperstring PlayerID whereHelpernull_String RedirectURI whereHelperstring ExpiresAt whereHelpertime_Time Type whereHelperAuthDiscordStatesType CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ State: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelpernull_String{/* contains filtered or unexported fields */}, RedirectURI: whereHelperstring{/* contains filtered or unexported fields */}, ExpiresAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Type: whereHelperAuthDiscordStatesType{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var AuthGithubStateColumns = struct { State string PlayerID string ExpiresAt string Type string CreatedAt string UpdatedAt string DeletedAt string }{ State: "state", PlayerID: "player_id", ExpiresAt: "expires_at", Type: "type", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var AuthGithubStateRels = struct { Player string }{ Player: "Player", }
AuthGithubStateRels is where relationship names are stored.
var AuthGithubStateTableColumns = struct { State string PlayerID string ExpiresAt string Type string CreatedAt string UpdatedAt string DeletedAt string }{ State: "auth_github_states.state", PlayerID: "auth_github_states.player_id", ExpiresAt: "auth_github_states.expires_at", Type: "auth_github_states.type", CreatedAt: "auth_github_states.created_at", UpdatedAt: "auth_github_states.updated_at", DeletedAt: "auth_github_states.deleted_at", }
var AuthGithubStateWhere = struct { State whereHelperstring PlayerID whereHelperstring ExpiresAt whereHelpertime_Time Type whereHelperAuthGithubStatesType CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ State: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, ExpiresAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Type: whereHelperAuthGithubStatesType{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var CardColumns = struct { ID string PlayerID string CreatedAt string UpdatedAt string DeletedAt string XP string NextLevelXP string CardType string IndividualValue string Rarity string Level string Buffs string Metadata string Available string OwnedAt string }{ ID: "id", PlayerID: "player_id", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", XP: "xp", NextLevelXP: "next_level_xp", CardType: "card_type", IndividualValue: "individual_value", Rarity: "rarity", Level: "level", Buffs: "buffs", Metadata: "metadata", Available: "available", OwnedAt: "owned_at", }
var CardRels = struct { Player string IDCardsStat string CardsStat string Auctions string Listings string PlayerCardFavorites string PlayerCards string PlayerCardsDecks string SelectedCardPlayers string }{ Player: "Player", IDCardsStat: "IDCardsStat", CardsStat: "CardsStat", Auctions: "Auctions", Listings: "Listings", PlayerCardFavorites: "PlayerCardFavorites", PlayerCards: "PlayerCards", PlayerCardsDecks: "PlayerCardsDecks", SelectedCardPlayers: "SelectedCardPlayers", }
CardRels is where relationship names are stored.
var CardTableColumns = struct { ID string PlayerID string CreatedAt string UpdatedAt string DeletedAt string XP string NextLevelXP string CardType string IndividualValue string Rarity string Level string Buffs string Metadata string Available string OwnedAt string }{ ID: "cards.id", PlayerID: "cards.player_id", CreatedAt: "cards.created_at", UpdatedAt: "cards.updated_at", DeletedAt: "cards.deleted_at", XP: "cards.xp", NextLevelXP: "cards.next_level_xp", CardType: "cards.card_type", IndividualValue: "cards.individual_value", Rarity: "cards.rarity", Level: "cards.level", Buffs: "cards.buffs", Metadata: "cards.metadata", Available: "cards.available", OwnedAt: "cards.owned_at", }
var CardTypeColumns = struct { CardType string Name string Categories string }{ CardType: "card_type", Name: "name", Categories: "categories", }
var CardTypeRels = struct {
}{}
CardTypeRels is where relationship names are stored.
var CardTypeTableColumns = struct { CardType string Name string Categories string }{ CardType: "card_types.card_type", Name: "card_types.name", Categories: "card_types.categories", }
var CardTypeWhere = struct { CardType whereHelperstring Name whereHelperstring Categories whereHelperstring }{ CardType: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Categories: whereHelperstring{/* contains filtered or unexported fields */}, }
var CardWhere = struct { ID whereHelperstring PlayerID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time XP whereHelperint64 NextLevelXP whereHelperint64 CardType whereHelperstring IndividualValue whereHelperfloat64 Rarity whereHelperint Level whereHelperint Buffs whereHelperint Metadata whereHelpertypes_JSON Available whereHelperbool OwnedAt whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, XP: whereHelperint64{/* contains filtered or unexported fields */}, NextLevelXP: whereHelperint64{/* contains filtered or unexported fields */}, CardType: whereHelperstring{/* contains filtered or unexported fields */}, IndividualValue: whereHelperfloat64{/* contains filtered or unexported fields */}, Rarity: whereHelperint{/* contains filtered or unexported fields */}, Level: whereHelperint{/* contains filtered or unexported fields */}, Buffs: whereHelperint{/* contains filtered or unexported fields */}, Metadata: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, Available: whereHelperbool{/* contains filtered or unexported fields */}, OwnedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var CardsStatColumns = struct { CardID string Health string Armor string Damage string Healing string Speed string CreatedAt string UpdatedAt string DeletedAt string }{ CardID: "card_id", Health: "health", Armor: "armor", Damage: "damage", Healing: "healing", Speed: "speed", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var CardsStatRels = struct { Card string IDCard string }{ Card: "Card", IDCard: "IDCard", }
CardsStatRels is where relationship names are stored.
var CardsStatTableColumns = struct { CardID string Health string Armor string Damage string Healing string Speed string CreatedAt string UpdatedAt string DeletedAt string }{ CardID: "cards_stats.card_id", Health: "cards_stats.health", Armor: "cards_stats.armor", Damage: "cards_stats.damage", Healing: "cards_stats.healing", Speed: "cards_stats.speed", CreatedAt: "cards_stats.created_at", UpdatedAt: "cards_stats.updated_at", DeletedAt: "cards_stats.deleted_at", }
var CardsStatWhere = struct { CardID whereHelperstring Health whereHelperint Armor whereHelperint Damage whereHelperint Healing whereHelperint Speed whereHelperint CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ CardID: whereHelperstring{/* contains filtered or unexported fields */}, Health: whereHelperint{/* contains filtered or unexported fields */}, Armor: whereHelperint{/* contains filtered or unexported fields */}, Damage: whereHelperint{/* contains filtered or unexported fields */}, Healing: whereHelperint{/* contains filtered or unexported fields */}, Speed: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var DailyColumns = struct { PlayerID string HasVoted string LastVoteAt string Streak string CreatedAt string UpdatedAt string DeletedAt string }{ PlayerID: "player_id", HasVoted: "has_voted", LastVoteAt: "last_vote_at", Streak: "streak", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var DailyRels = struct { Player string }{ Player: "Player", }
DailyRels is where relationship names are stored.
var DailyTableColumns = struct { PlayerID string HasVoted string LastVoteAt string Streak string CreatedAt string UpdatedAt string DeletedAt string }{ PlayerID: "dailies.player_id", HasVoted: "dailies.has_voted", LastVoteAt: "dailies.last_vote_at", Streak: "dailies.streak", CreatedAt: "dailies.created_at", UpdatedAt: "dailies.updated_at", DeletedAt: "dailies.deleted_at", }
var DailyWhere = struct { PlayerID whereHelperstring HasVoted whereHelperbool LastVoteAt whereHelpertime_Time Streak whereHelperint CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, HasVoted: whereHelperbool{/* contains filtered or unexported fields */}, LastVoteAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Streak: whereHelperint{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var DungeonColumns = struct { ID string PlayerID string Seed string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", PlayerID: "player_id", Seed: "seed", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var DungeonRels = struct { Player string }{ Player: "Player", }
DungeonRels is where relationship names are stored.
var DungeonTableColumns = struct { ID string PlayerID string Seed string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "dungeons.id", PlayerID: "dungeons.player_id", Seed: "dungeons.seed", CreatedAt: "dungeons.created_at", UpdatedAt: "dungeons.updated_at", DeletedAt: "dungeons.deleted_at", }
var DungeonWhere = struct { ID whereHelperstring PlayerID whereHelperstring Seed whereHelperint64 CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, Seed: whereHelperint64{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var GithubStarColumns = struct { PlayerID string GithubUserID string HasStarred string CreatedAt string UpdatedAt string DeletedAt string }{ PlayerID: "player_id", GithubUserID: "github_user_id", HasStarred: "has_starred", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var GithubStarRels = struct { Player string IDPlayer string }{ Player: "Player", IDPlayer: "IDPlayer", }
GithubStarRels is where relationship names are stored.
var GithubStarTableColumns = struct { PlayerID string GithubUserID string HasStarred string CreatedAt string UpdatedAt string DeletedAt string }{ PlayerID: "github_stars.player_id", GithubUserID: "github_stars.github_user_id", HasStarred: "github_stars.has_starred", CreatedAt: "github_stars.created_at", UpdatedAt: "github_stars.updated_at", DeletedAt: "github_stars.deleted_at", }
var GithubStarWhere = struct { PlayerID whereHelperstring GithubUserID whereHelpernull_String HasStarred whereHelperbool CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, GithubUserID: whereHelpernull_String{/* contains filtered or unexported fields */}, HasStarred: whereHelperbool{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var JobColumns = struct { ID string Jobkey string Retries string RunAt string Params string CreatedAt string UpdatedAt string DeletedAt string LastRunID string Recurring string DeltaTime string Errored string }{ ID: "id", Jobkey: "jobkey", Retries: "retries", RunAt: "run_at", Params: "params", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", LastRunID: "last_run_id", Recurring: "recurring", DeltaTime: "delta_time", Errored: "errored", }
var JobRels = struct {
}{}
JobRels is where relationship names are stored.
var JobTableColumns = struct { ID string Jobkey string Retries string RunAt string Params string CreatedAt string UpdatedAt string DeletedAt string LastRunID string Recurring string DeltaTime string Errored string }{ ID: "jobs.id", Jobkey: "jobs.jobkey", Retries: "jobs.retries", RunAt: "jobs.run_at", Params: "jobs.params", CreatedAt: "jobs.created_at", UpdatedAt: "jobs.updated_at", DeletedAt: "jobs.deleted_at", LastRunID: "jobs.last_run_id", Recurring: "jobs.recurring", DeltaTime: "jobs.delta_time", Errored: "jobs.errored", }
var JobWhere = struct { ID whereHelperstring Jobkey whereHelperstring Retries whereHelperint RunAt whereHelpertime_Time Params whereHelpertypes_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time LastRunID whereHelperint64 Recurring whereHelperbool DeltaTime whereHelperint64 Errored whereHelperbool }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Jobkey: whereHelperstring{/* contains filtered or unexported fields */}, Retries: whereHelperint{/* contains filtered or unexported fields */}, RunAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, Params: whereHelpertypes_JSON{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, LastRunID: whereHelperint64{/* contains filtered or unexported fields */}, Recurring: whereHelperbool{/* contains filtered or unexported fields */}, DeltaTime: whereHelperint64{/* contains filtered or unexported fields */}, Errored: whereHelperbool{/* contains filtered or unexported fields */}, }
var ListingColumns = struct { ID string PlayerID string CardID string Price string Note string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", PlayerID: "player_id", CardID: "card_id", Price: "price", Note: "note", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var ListingRels = struct { Card string Player string }{ Card: "Card", Player: "Player", }
ListingRels is where relationship names are stored.
var ListingTableColumns = struct { ID string PlayerID string CardID string Price string Note string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "listings.id", PlayerID: "listings.player_id", CardID: "listings.card_id", Price: "listings.price", Note: "listings.note", CreatedAt: "listings.created_at", UpdatedAt: "listings.updated_at", DeletedAt: "listings.deleted_at", }
var ListingWhere = struct { ID whereHelperstring PlayerID whereHelperstring CardID whereHelperstring Price whereHelperint64 Note whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, CardID: whereHelperstring{/* contains filtered or unexported fields */}, Price: whereHelperint64{/* contains filtered or unexported fields */}, Note: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var LootBoxColumns = struct { ID string PlayerID string Type string Metadata string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "id", PlayerID: "player_id", Type: "type", Metadata: "metadata", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var LootBoxRels = struct { Player string }{ Player: "Player", }
LootBoxRels is where relationship names are stored.
var LootBoxTableColumns = struct { ID string PlayerID string Type string Metadata string CreatedAt string UpdatedAt string DeletedAt string }{ ID: "loot_boxes.id", PlayerID: "loot_boxes.player_id", Type: "loot_boxes.type", Metadata: "loot_boxes.metadata", CreatedAt: "loot_boxes.created_at", UpdatedAt: "loot_boxes.updated_at", DeletedAt: "loot_boxes.deleted_at", }
var LootBoxWhere = struct { ID whereHelperstring PlayerID whereHelperstring Type whereHelperLootBoxesType Metadata whereHelpernull_JSON CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, Type: whereHelperLootBoxesType{/* contains filtered or unexported fields */}, Metadata: whereHelpernull_JSON{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var PlayerCardColumns = struct { PlayerID string CardID string Position string }{ PlayerID: "player_id", CardID: "card_id", Position: "position", }
var PlayerCardFavoriteColumns = struct { PlayerID string CardID string Position string }{ PlayerID: "player_id", CardID: "card_id", Position: "position", }
var PlayerCardFavoriteRels = struct { Card string Player string }{ Card: "Card", Player: "Player", }
PlayerCardFavoriteRels is where relationship names are stored.
var PlayerCardFavoriteTableColumns = struct { PlayerID string CardID string Position string }{ PlayerID: "player_card_favorites.player_id", CardID: "player_card_favorites.card_id", Position: "player_card_favorites.position", }
var PlayerCardFavoriteWhere = struct { PlayerID whereHelperstring CardID whereHelperstring Position whereHelperint }{ PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, CardID: whereHelperstring{/* contains filtered or unexported fields */}, Position: whereHelperint{/* contains filtered or unexported fields */}, }
var PlayerCardRels = struct { Card string Player string }{ Card: "Card", Player: "Player", }
PlayerCardRels is where relationship names are stored.
var PlayerCardTableColumns = struct { PlayerID string CardID string Position string }{ PlayerID: "player_cards.player_id", CardID: "player_cards.card_id", Position: "player_cards.position", }
var PlayerCardWhere = struct { PlayerID whereHelperstring CardID whereHelperstring Position whereHelperint }{ PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, CardID: whereHelperstring{/* contains filtered or unexported fields */}, Position: whereHelperint{/* contains filtered or unexported fields */}, }
var PlayerCardsDeckColumns = struct { PlayerID string CardID string Position string }{ PlayerID: "player_id", CardID: "card_id", Position: "position", }
var PlayerCardsDeckRels = struct { Card string Player string }{ Card: "Card", Player: "Player", }
PlayerCardsDeckRels is where relationship names are stored.
var PlayerCardsDeckTableColumns = struct { PlayerID string CardID string Position string }{ PlayerID: "player_cards_deck.player_id", CardID: "player_cards_deck.card_id", Position: "player_cards_deck.position", }
var PlayerCardsDeckWhere = struct { PlayerID whereHelperstring CardID whereHelperstring Position whereHelperint }{ PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, CardID: whereHelperstring{/* contains filtered or unexported fields */}, Position: whereHelperint{/* contains filtered or unexported fields */}, }
var PlayerColumns = struct { ID string CreatedAt string UpdatedAt string DeletedAt string SelectedCardID string Liens string Level string XP string NextLevelXP string BackpackLevel string LiensBidded string Username string SlotsReserved string }{ ID: "id", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", SelectedCardID: "selected_card_id", Liens: "liens", Level: "level", XP: "xp", NextLevelXP: "next_level_xp", BackpackLevel: "backpack_level", LiensBidded: "liens_bidded", Username: "username", SlotsReserved: "slots_reserved", }
var PlayerLimitColumns = struct { PlayerID string DungeonsLeft string DungeonsResetAt string CreatedAt string UpdatedAt string DeletedAt string }{ PlayerID: "player_id", DungeonsLeft: "dungeons_left", DungeonsResetAt: "dungeons_reset_at", CreatedAt: "created_at", UpdatedAt: "updated_at", DeletedAt: "deleted_at", }
var PlayerLimitRels = struct { Player string }{ Player: "Player", }
PlayerLimitRels is where relationship names are stored.
var PlayerLimitTableColumns = struct { PlayerID string DungeonsLeft string DungeonsResetAt string CreatedAt string UpdatedAt string DeletedAt string }{ PlayerID: "player_limits.player_id", DungeonsLeft: "player_limits.dungeons_left", DungeonsResetAt: "player_limits.dungeons_reset_at", CreatedAt: "player_limits.created_at", UpdatedAt: "player_limits.updated_at", DeletedAt: "player_limits.deleted_at", }
var PlayerLimitWhere = struct { PlayerID whereHelperstring DungeonsLeft whereHelperint DungeonsResetAt whereHelpernull_Time CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time }{ PlayerID: whereHelperstring{/* contains filtered or unexported fields */}, DungeonsLeft: whereHelperint{/* contains filtered or unexported fields */}, DungeonsResetAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, }
var PlayerRels = struct { IDGithubStar string SelectedCard string Daily string GithubStar string PlayerLimit string Auctions string AuctionsBids string AuthCookies string AuthDiscordStates string AuthGithubStates string Cards string Dungeons string Listings string LootBoxes string PlayerCardFavorites string PlayerCards string PlayerCardsDecks string }{ IDGithubStar: "IDGithubStar", SelectedCard: "SelectedCard", Daily: "Daily", GithubStar: "GithubStar", PlayerLimit: "PlayerLimit", Auctions: "Auctions", AuctionsBids: "AuctionsBids", AuthCookies: "AuthCookies", AuthDiscordStates: "AuthDiscordStates", AuthGithubStates: "AuthGithubStates", Cards: "Cards", Dungeons: "Dungeons", Listings: "Listings", LootBoxes: "LootBoxes", PlayerCardFavorites: "PlayerCardFavorites", PlayerCards: "PlayerCards", PlayerCardsDecks: "PlayerCardsDecks", }
PlayerRels is where relationship names are stored.
var PlayerTableColumns = struct { ID string CreatedAt string UpdatedAt string DeletedAt string SelectedCardID string Liens string Level string XP string NextLevelXP string BackpackLevel string LiensBidded string Username string SlotsReserved string }{ ID: "players.id", CreatedAt: "players.created_at", UpdatedAt: "players.updated_at", DeletedAt: "players.deleted_at", SelectedCardID: "players.selected_card_id", Liens: "players.liens", Level: "players.level", XP: "players.xp", NextLevelXP: "players.next_level_xp", BackpackLevel: "players.backpack_level", LiensBidded: "players.liens_bidded", Username: "players.username", SlotsReserved: "players.slots_reserved", }
var PlayerWhere = struct { ID whereHelperstring CreatedAt whereHelpertime_Time UpdatedAt whereHelpertime_Time DeletedAt whereHelpernull_Time SelectedCardID whereHelpernull_String Liens whereHelperint64 Level whereHelperint XP whereHelperint64 NextLevelXP whereHelperint64 BackpackLevel whereHelperint LiensBidded whereHelperint64 Username whereHelperstring SlotsReserved whereHelperint }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, UpdatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */}, DeletedAt: whereHelpernull_Time{/* contains filtered or unexported fields */}, SelectedCardID: whereHelpernull_String{/* contains filtered or unexported fields */}, Liens: whereHelperint64{/* contains filtered or unexported fields */}, Level: whereHelperint{/* contains filtered or unexported fields */}, XP: whereHelperint64{/* contains filtered or unexported fields */}, NextLevelXP: whereHelperint64{/* contains filtered or unexported fields */}, BackpackLevel: whereHelperint{/* contains filtered or unexported fields */}, LiensBidded: whereHelperint64{/* contains filtered or unexported fields */}, Username: whereHelperstring{/* contains filtered or unexported fields */}, SlotsReserved: whereHelperint{/* contains filtered or unexported fields */}, }
var TableNames = struct { Auctions string AuctionsBids string AuthCookies string AuthDiscordStates string AuthGithubStates string CardTypes string Cards string CardsStats string Dailies string Dungeons string GithubStars string Jobs string Listings string LootBoxes string PlayerCardFavorites string PlayerCards string PlayerCardsDeck string PlayerLimits string Players string }{ Auctions: "auctions", AuctionsBids: "auctions_bids", AuthCookies: "auth_cookies", AuthDiscordStates: "auth_discord_states", AuthGithubStates: "auth_github_states", CardTypes: "card_types", Cards: "cards", CardsStats: "cards_stats", Dailies: "dailies", Dungeons: "dungeons", GithubStars: "github_stars", Jobs: "jobs", Listings: "listings", LootBoxes: "loot_boxes", PlayerCardFavorites: "player_card_favorites", PlayerCards: "player_cards", PlayerCardsDeck: "player_cards_deck", PlayerLimits: "player_limits", Players: "players", }
var ViewNames = struct {
}{}
Functions ¶
func AddAuctionHook ¶
func AddAuctionHook(hookPoint boil.HookPoint, auctionHook AuctionHook)
AddAuctionHook registers your hook function for all future operations.
func AddAuctionsBidHook ¶
func AddAuctionsBidHook(hookPoint boil.HookPoint, auctionsBidHook AuctionsBidHook)
AddAuctionsBidHook registers your hook function for all future operations.
func AddAuthCookieHook ¶
func AddAuthCookieHook(hookPoint boil.HookPoint, authCookieHook AuthCookieHook)
AddAuthCookieHook registers your hook function for all future operations.
func AddAuthDiscordStateHook ¶
func AddAuthDiscordStateHook(hookPoint boil.HookPoint, authDiscordStateHook AuthDiscordStateHook)
AddAuthDiscordStateHook registers your hook function for all future operations.
func AddAuthGithubStateHook ¶
func AddAuthGithubStateHook(hookPoint boil.HookPoint, authGithubStateHook AuthGithubStateHook)
AddAuthGithubStateHook registers your hook function for all future operations.
func AddCardHook ¶
AddCardHook registers your hook function for all future operations.
func AddCardTypeHook ¶
func AddCardTypeHook(hookPoint boil.HookPoint, cardTypeHook CardTypeHook)
AddCardTypeHook registers your hook function for all future operations.
func AddCardsStatHook ¶
func AddCardsStatHook(hookPoint boil.HookPoint, cardsStatHook CardsStatHook)
AddCardsStatHook registers your hook function for all future operations.
func AddDailyHook ¶
AddDailyHook registers your hook function for all future operations.
func AddDungeonHook ¶
func AddDungeonHook(hookPoint boil.HookPoint, dungeonHook DungeonHook)
AddDungeonHook registers your hook function for all future operations.
func AddGithubStarHook ¶
func AddGithubStarHook(hookPoint boil.HookPoint, githubStarHook GithubStarHook)
AddGithubStarHook registers your hook function for all future operations.
func AddJobHook ¶
AddJobHook registers your hook function for all future operations.
func AddListingHook ¶
func AddListingHook(hookPoint boil.HookPoint, listingHook ListingHook)
AddListingHook registers your hook function for all future operations.
func AddLootBoxHook ¶
func AddLootBoxHook(hookPoint boil.HookPoint, lootBoxHook LootBoxHook)
AddLootBoxHook registers your hook function for all future operations.
func AddPlayerCardFavoriteHook ¶
func AddPlayerCardFavoriteHook(hookPoint boil.HookPoint, playerCardFavoriteHook PlayerCardFavoriteHook)
AddPlayerCardFavoriteHook registers your hook function for all future operations.
func AddPlayerCardHook ¶
func AddPlayerCardHook(hookPoint boil.HookPoint, playerCardHook PlayerCardHook)
AddPlayerCardHook registers your hook function for all future operations.
func AddPlayerCardsDeckHook ¶
func AddPlayerCardsDeckHook(hookPoint boil.HookPoint, playerCardsDeckHook PlayerCardsDeckHook)
AddPlayerCardsDeckHook registers your hook function for all future operations.
func AddPlayerHook ¶
func AddPlayerHook(hookPoint boil.HookPoint, playerHook PlayerHook)
AddPlayerHook registers your hook function for all future operations.
func AddPlayerLimitHook ¶
func AddPlayerLimitHook(hookPoint boil.HookPoint, playerLimitHook PlayerLimitHook)
AddPlayerLimitHook registers your hook function for all future operations.
func AuctionExists ¶
AuctionExists checks if the Auction row exists.
func AuctionExistsG ¶
AuctionExistsG checks if the Auction row exists.
func AuctionsBidExists ¶
AuctionsBidExists checks if the AuctionsBid row exists.
func AuctionsBidExistsG ¶
AuctionsBidExistsG checks if the AuctionsBid row exists.
func AuctionsBids ¶
AuctionsBids retrieves all the records using an executor.
func AuthCookieExists ¶
AuthCookieExists checks if the AuthCookie row exists.
func AuthCookieExistsG ¶
AuthCookieExistsG checks if the AuthCookie row exists.
func AuthCookies ¶
AuthCookies retrieves all the records using an executor.
func AuthDiscordStateExists ¶
func AuthDiscordStateExists(ctx context.Context, exec boil.ContextExecutor, state string) (bool, error)
AuthDiscordStateExists checks if the AuthDiscordState row exists.
func AuthDiscordStateExistsG ¶
AuthDiscordStateExistsG checks if the AuthDiscordState row exists.
func AuthDiscordStates ¶
AuthDiscordStates retrieves all the records using an executor.
func AuthGithubStateExists ¶
func AuthGithubStateExists(ctx context.Context, exec boil.ContextExecutor, state string) (bool, error)
AuthGithubStateExists checks if the AuthGithubState row exists.
func AuthGithubStateExistsG ¶
AuthGithubStateExistsG checks if the AuthGithubState row exists.
func AuthGithubStates ¶
AuthGithubStates retrieves all the records using an executor.
func CardExists ¶
CardExists checks if the Card row exists.
func CardExistsG ¶
CardExistsG checks if the Card row exists.
func CardTypeExists ¶
CardTypeExists checks if the CardType row exists.
func CardTypeExistsG ¶
CardTypeExistsG checks if the CardType row exists.
func CardsStatExists ¶
CardsStatExists checks if the CardsStat row exists.
func CardsStatExistsG ¶
CardsStatExistsG checks if the CardsStat row exists.
func CardsStats ¶
CardsStats retrieves all the records using an executor.
func DailyExists ¶
DailyExists checks if the Daily row exists.
func DailyExistsG ¶
DailyExistsG checks if the Daily row exists.
func DungeonExists ¶
DungeonExists checks if the Dungeon row exists.
func DungeonExistsG ¶
DungeonExistsG checks if the Dungeon row exists.
func GithubStarExists ¶
func GithubStarExists(ctx context.Context, exec boil.ContextExecutor, playerID string) (bool, error)
GithubStarExists checks if the GithubStar row exists.
func GithubStarExistsG ¶
GithubStarExistsG checks if the GithubStar row exists.
func GithubStars ¶
GithubStars retrieves all the records using an executor.
func JobExists ¶
func JobExists(ctx context.Context, exec boil.ContextExecutor, iD string, jobkey string) (bool, error)
JobExists checks if the Job row exists.
func JobExistsG ¶
JobExistsG checks if the Job row exists.
func ListingExists ¶
ListingExists checks if the Listing row exists.
func ListingExistsG ¶
ListingExistsG checks if the Listing row exists.
func LootBoxExists ¶
LootBoxExists checks if the LootBox row exists.
func LootBoxExistsG ¶
LootBoxExistsG checks if the LootBox row exists.
func PlayerCardExists ¶
func PlayerCardExists(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string) (bool, error)
PlayerCardExists checks if the PlayerCard row exists.
func PlayerCardExistsG ¶
PlayerCardExistsG checks if the PlayerCard row exists.
func PlayerCardFavoriteExists ¶
func PlayerCardFavoriteExists(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string) (bool, error)
PlayerCardFavoriteExists checks if the PlayerCardFavorite row exists.
func PlayerCardFavoriteExistsG ¶
PlayerCardFavoriteExistsG checks if the PlayerCardFavorite row exists.
func PlayerCardFavorites ¶
PlayerCardFavorites retrieves all the records using an executor.
func PlayerCards ¶
PlayerCards retrieves all the records using an executor.
func PlayerCardsDeckExists ¶
func PlayerCardsDeckExists(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string) (bool, error)
PlayerCardsDeckExists checks if the PlayerCardsDeck row exists.
func PlayerCardsDeckExistsG ¶
PlayerCardsDeckExistsG checks if the PlayerCardsDeck row exists.
func PlayerCardsDecks ¶
PlayerCardsDecks retrieves all the records using an executor.
func PlayerExists ¶
PlayerExists checks if the Player row exists.
func PlayerExistsG ¶
PlayerExistsG checks if the Player row exists.
func PlayerLimitExists ¶
func PlayerLimitExists(ctx context.Context, exec boil.ContextExecutor, playerID string) (bool, error)
PlayerLimitExists checks if the PlayerLimit row exists.
func PlayerLimitExistsG ¶
PlayerLimitExistsG checks if the PlayerLimit row exists.
func PlayerLimits ¶
PlayerLimits retrieves all the records using an executor.
Types ¶
type Auction ¶
type Auction struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
CardID string `boil:"card_id" json:"card_id" toml:"card_id" yaml:"card_id"`
TimeExtensions int `boil:"time_extensions" json:"time_extensions" toml:"time_extensions" yaml:"time_extensions"`
EndsAt time.Time `boil:"ends_at" json:"ends_at" toml:"ends_at" yaml:"ends_at"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *auctionR `boil:"-" json:"-" toml:"-" yaml:"-"`
L auctionL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Auction is an object representing the database table.
func FindAuction ¶
func FindAuction(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Auction, error)
FindAuction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAuctionG ¶
FindAuctionG retrieves a single record by ID.
func (*Auction) AddAuctionsBids ¶
func (o *Auction) AddAuctionsBids(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuctionsBid) error
AddAuctionsBids adds the given related objects to the existing relationships of the auction, optionally inserting them as new records. Appends related to o.R.AuctionsBids. Sets related.R.Auction appropriately.
func (*Auction) AddAuctionsBidsG ¶
AddAuctionsBidsG adds the given related objects to the existing relationships of the auction, optionally inserting them as new records. Appends related to o.R.AuctionsBids. Sets related.R.Auction appropriately. Uses the global database handle.
func (*Auction) AuctionsBids ¶
AuctionsBids retrieves all the auctions_bid's AuctionsBids with an executor.
func (*Auction) Delete ¶
func (o *Auction) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Auction record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Auction) DeleteG ¶
DeleteG deletes a single Auction record. DeleteG will match against the primary key column to find the record to delete.
func (*Auction) Insert ¶
func (o *Auction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Auction) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Auction) SetCard ¶
func (o *Auction) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetCard of the auction to the related item. Sets o.R.Card to related. Adds o to related.R.Auctions.
func (*Auction) SetCardG ¶
SetCardG of the auction to the related item. Sets o.R.Card to related. Adds o to related.R.Auctions. Uses the global database handle.
func (*Auction) SetPlayer ¶
func (o *Auction) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the auction to the related item. Sets o.R.Player to related. Adds o to related.R.Auctions.
func (*Auction) SetPlayerG ¶
SetPlayerG of the auction to the related item. Sets o.R.Player to related. Adds o to related.R.Auctions. Uses the global database handle.
func (*Auction) Update ¶
func (o *Auction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Auction. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Auction) UpdateG ¶
UpdateG a single Auction record using the global executor. See Update for more documentation.
func (*Auction) Upsert ¶
func (o *Auction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AuctionHook ¶
AuctionHook is the signature for custom Auction hook methods
type AuctionSlice ¶
type AuctionSlice []*Auction
AuctionSlice is an alias for a slice of pointers to Auction. This should almost always be used instead of []Auction.
func (AuctionSlice) DeleteAll ¶
func (o AuctionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (AuctionSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*AuctionSlice) ReloadAll ¶
func (o *AuctionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuctionSlice) ReloadAllG ¶
func (o *AuctionSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AuctionSlice) UpdateAll ¶
func (o AuctionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (AuctionSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type AuctionsBid ¶
type AuctionsBid struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
AuctionID string `boil:"auction_id" json:"auction_id" toml:"auction_id" yaml:"auction_id"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
Price int64 `boil:"price" json:"price" toml:"price" yaml:"price"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *auctionsBidR `boil:"-" json:"-" toml:"-" yaml:"-"`
L auctionsBidL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
AuctionsBid is an object representing the database table.
func FindAuctionsBid ¶
func FindAuctionsBid(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*AuctionsBid, error)
FindAuctionsBid retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAuctionsBidG ¶
FindAuctionsBidG retrieves a single record by ID.
func (*AuctionsBid) Auction ¶
func (o *AuctionsBid) Auction(mods ...qm.QueryMod) auctionQuery
Auction pointed to by the foreign key.
func (*AuctionsBid) Delete ¶
func (o *AuctionsBid) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single AuctionsBid record with an executor. Delete will match against the primary key column to find the record to delete.
func (*AuctionsBid) DeleteG ¶
DeleteG deletes a single AuctionsBid record. DeleteG will match against the primary key column to find the record to delete.
func (*AuctionsBid) Exists ¶
func (o *AuctionsBid) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the AuctionsBid row exists.
func (*AuctionsBid) Insert ¶
func (o *AuctionsBid) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*AuctionsBid) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*AuctionsBid) Player ¶
func (o *AuctionsBid) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*AuctionsBid) Reload ¶
func (o *AuctionsBid) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*AuctionsBid) ReloadG ¶
func (o *AuctionsBid) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*AuctionsBid) SetAuction ¶
func (o *AuctionsBid) SetAuction(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Auction) error
SetAuction of the auctionsBid to the related item. Sets o.R.Auction to related. Adds o to related.R.AuctionsBids.
func (*AuctionsBid) SetAuctionG ¶
SetAuctionG of the auctionsBid to the related item. Sets o.R.Auction to related. Adds o to related.R.AuctionsBids. Uses the global database handle.
func (*AuctionsBid) SetPlayer ¶
func (o *AuctionsBid) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the auctionsBid to the related item. Sets o.R.Player to related. Adds o to related.R.AuctionsBids.
func (*AuctionsBid) SetPlayerG ¶
SetPlayerG of the auctionsBid to the related item. Sets o.R.Player to related. Adds o to related.R.AuctionsBids. Uses the global database handle.
func (*AuctionsBid) Update ¶
func (o *AuctionsBid) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the AuctionsBid. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*AuctionsBid) UpdateG ¶
UpdateG a single AuctionsBid record using the global executor. See Update for more documentation.
func (*AuctionsBid) Upsert ¶
func (o *AuctionsBid) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AuctionsBidHook ¶
type AuctionsBidHook func(context.Context, boil.ContextExecutor, *AuctionsBid) error
AuctionsBidHook is the signature for custom AuctionsBid hook methods
type AuctionsBidSlice ¶
type AuctionsBidSlice []*AuctionsBid
AuctionsBidSlice is an alias for a slice of pointers to AuctionsBid. This should almost always be used instead of []AuctionsBid.
func (AuctionsBidSlice) DeleteAll ¶
func (o AuctionsBidSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (AuctionsBidSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*AuctionsBidSlice) ReloadAll ¶
func (o *AuctionsBidSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuctionsBidSlice) ReloadAllG ¶
func (o *AuctionsBidSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AuctionsBidSlice) UpdateAll ¶
func (o AuctionsBidSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (AuctionsBidSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type AuthCookie ¶
type AuthCookie struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
ExpiresAt time.Time `boil:"expires_at" json:"expires_at" toml:"expires_at" yaml:"expires_at"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *authCookieR `boil:"-" json:"-" toml:"-" yaml:"-"`
L authCookieL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
AuthCookie is an object representing the database table.
func FindAuthCookie ¶
func FindAuthCookie(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*AuthCookie, error)
FindAuthCookie retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAuthCookieG ¶
FindAuthCookieG retrieves a single record by ID.
func (*AuthCookie) Delete ¶
func (o *AuthCookie) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single AuthCookie record with an executor. Delete will match against the primary key column to find the record to delete.
func (*AuthCookie) DeleteG ¶
DeleteG deletes a single AuthCookie record. DeleteG will match against the primary key column to find the record to delete.
func (*AuthCookie) Exists ¶
func (o *AuthCookie) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the AuthCookie row exists.
func (*AuthCookie) Insert ¶
func (o *AuthCookie) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*AuthCookie) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*AuthCookie) Player ¶
func (o *AuthCookie) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*AuthCookie) Reload ¶
func (o *AuthCookie) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*AuthCookie) ReloadG ¶
func (o *AuthCookie) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*AuthCookie) SetPlayer ¶
func (o *AuthCookie) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the authCookie to the related item. Sets o.R.Player to related. Adds o to related.R.AuthCookies.
func (*AuthCookie) SetPlayerG ¶
SetPlayerG of the authCookie to the related item. Sets o.R.Player to related. Adds o to related.R.AuthCookies. Uses the global database handle.
func (*AuthCookie) Update ¶
func (o *AuthCookie) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the AuthCookie. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*AuthCookie) UpdateG ¶
UpdateG a single AuthCookie record using the global executor. See Update for more documentation.
func (*AuthCookie) Upsert ¶
func (o *AuthCookie) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AuthCookieHook ¶
type AuthCookieHook func(context.Context, boil.ContextExecutor, *AuthCookie) error
AuthCookieHook is the signature for custom AuthCookie hook methods
type AuthCookieSlice ¶
type AuthCookieSlice []*AuthCookie
AuthCookieSlice is an alias for a slice of pointers to AuthCookie. This should almost always be used instead of []AuthCookie.
func (AuthCookieSlice) DeleteAll ¶
func (o AuthCookieSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (AuthCookieSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*AuthCookieSlice) ReloadAll ¶
func (o *AuthCookieSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuthCookieSlice) ReloadAllG ¶
func (o *AuthCookieSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AuthCookieSlice) UpdateAll ¶
func (o AuthCookieSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (AuthCookieSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type AuthDiscordState ¶
type AuthDiscordState struct {
State string `boil:"state" json:"state" toml:"state" yaml:"state"`
PlayerID null.String `boil:"player_id" json:"player_id,omitempty" toml:"player_id" yaml:"player_id,omitempty"`
RedirectURI string `boil:"redirect_uri" json:"redirect_uri" toml:"redirect_uri" yaml:"redirect_uri"`
ExpiresAt time.Time `boil:"expires_at" json:"expires_at" toml:"expires_at" yaml:"expires_at"`
Type AuthDiscordStatesType `boil:"type" json:"type" toml:"type" yaml:"type"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *authDiscordStateR `boil:"-" json:"-" toml:"-" yaml:"-"`
L authDiscordStateL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
AuthDiscordState is an object representing the database table.
func FindAuthDiscordState ¶
func FindAuthDiscordState(ctx context.Context, exec boil.ContextExecutor, state string, selectCols ...string) (*AuthDiscordState, error)
FindAuthDiscordState retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAuthDiscordStateG ¶
func FindAuthDiscordStateG(ctx context.Context, state string, selectCols ...string) (*AuthDiscordState, error)
FindAuthDiscordStateG retrieves a single record by ID.
func (*AuthDiscordState) Delete ¶
func (o *AuthDiscordState) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single AuthDiscordState record with an executor. Delete will match against the primary key column to find the record to delete.
func (*AuthDiscordState) DeleteG ¶
DeleteG deletes a single AuthDiscordState record. DeleteG will match against the primary key column to find the record to delete.
func (*AuthDiscordState) Exists ¶
func (o *AuthDiscordState) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the AuthDiscordState row exists.
func (*AuthDiscordState) Insert ¶
func (o *AuthDiscordState) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*AuthDiscordState) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*AuthDiscordState) Player ¶
func (o *AuthDiscordState) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*AuthDiscordState) Reload ¶
func (o *AuthDiscordState) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*AuthDiscordState) ReloadG ¶
func (o *AuthDiscordState) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*AuthDiscordState) RemovePlayer ¶
func (o *AuthDiscordState) RemovePlayer(ctx context.Context, exec boil.ContextExecutor, related *Player) error
RemovePlayer relationship. Sets o.R.Player to nil. Removes o from all passed in related items' relationships struct.
func (*AuthDiscordState) RemovePlayerG ¶
func (o *AuthDiscordState) RemovePlayerG(ctx context.Context, related *Player) error
RemovePlayerG relationship. Sets o.R.Player to nil. Removes o from all passed in related items' relationships struct. Uses the global database handle.
func (*AuthDiscordState) SetPlayer ¶
func (o *AuthDiscordState) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the authDiscordState to the related item. Sets o.R.Player to related. Adds o to related.R.AuthDiscordStates.
func (*AuthDiscordState) SetPlayerG ¶
SetPlayerG of the authDiscordState to the related item. Sets o.R.Player to related. Adds o to related.R.AuthDiscordStates. Uses the global database handle.
func (*AuthDiscordState) Update ¶
func (o *AuthDiscordState) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the AuthDiscordState. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*AuthDiscordState) UpdateG ¶
UpdateG a single AuthDiscordState record using the global executor. See Update for more documentation.
func (*AuthDiscordState) Upsert ¶
func (o *AuthDiscordState) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AuthDiscordStateHook ¶
type AuthDiscordStateHook func(context.Context, boil.ContextExecutor, *AuthDiscordState) error
AuthDiscordStateHook is the signature for custom AuthDiscordState hook methods
type AuthDiscordStateSlice ¶
type AuthDiscordStateSlice []*AuthDiscordState
AuthDiscordStateSlice is an alias for a slice of pointers to AuthDiscordState. This should almost always be used instead of []AuthDiscordState.
func (AuthDiscordStateSlice) DeleteAll ¶
func (o AuthDiscordStateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (AuthDiscordStateSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*AuthDiscordStateSlice) ReloadAll ¶
func (o *AuthDiscordStateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuthDiscordStateSlice) ReloadAllG ¶
func (o *AuthDiscordStateSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AuthDiscordStateSlice) UpdateAll ¶
func (o AuthDiscordStateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (AuthDiscordStateSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type AuthDiscordStatesType ¶
type AuthDiscordStatesType string
const (
AuthDiscordStatesTypeLogin AuthDiscordStatesType = "login"
)
Enum values for AuthDiscordStatesType
func AllAuthDiscordStatesType ¶
func AllAuthDiscordStatesType() []AuthDiscordStatesType
func (AuthDiscordStatesType) IsValid ¶
func (e AuthDiscordStatesType) IsValid() error
func (AuthDiscordStatesType) Ordinal ¶
func (e AuthDiscordStatesType) Ordinal() int
func (AuthDiscordStatesType) String ¶
func (e AuthDiscordStatesType) String() string
type AuthGithubState ¶
type AuthGithubState struct {
State string `boil:"state" json:"state" toml:"state" yaml:"state"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
ExpiresAt time.Time `boil:"expires_at" json:"expires_at" toml:"expires_at" yaml:"expires_at"`
Type AuthGithubStatesType `boil:"type" json:"type" toml:"type" yaml:"type"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *authGithubStateR `boil:"-" json:"-" toml:"-" yaml:"-"`
L authGithubStateL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
AuthGithubState is an object representing the database table.
func FindAuthGithubState ¶
func FindAuthGithubState(ctx context.Context, exec boil.ContextExecutor, state string, selectCols ...string) (*AuthGithubState, error)
FindAuthGithubState retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAuthGithubStateG ¶
func FindAuthGithubStateG(ctx context.Context, state string, selectCols ...string) (*AuthGithubState, error)
FindAuthGithubStateG retrieves a single record by ID.
func (*AuthGithubState) Delete ¶
func (o *AuthGithubState) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single AuthGithubState record with an executor. Delete will match against the primary key column to find the record to delete.
func (*AuthGithubState) DeleteG ¶
DeleteG deletes a single AuthGithubState record. DeleteG will match against the primary key column to find the record to delete.
func (*AuthGithubState) Exists ¶
func (o *AuthGithubState) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the AuthGithubState row exists.
func (*AuthGithubState) Insert ¶
func (o *AuthGithubState) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*AuthGithubState) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*AuthGithubState) Player ¶
func (o *AuthGithubState) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*AuthGithubState) Reload ¶
func (o *AuthGithubState) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*AuthGithubState) ReloadG ¶
func (o *AuthGithubState) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*AuthGithubState) SetPlayer ¶
func (o *AuthGithubState) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the authGithubState to the related item. Sets o.R.Player to related. Adds o to related.R.AuthGithubStates.
func (*AuthGithubState) SetPlayerG ¶
SetPlayerG of the authGithubState to the related item. Sets o.R.Player to related. Adds o to related.R.AuthGithubStates. Uses the global database handle.
func (*AuthGithubState) Update ¶
func (o *AuthGithubState) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the AuthGithubState. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*AuthGithubState) UpdateG ¶
UpdateG a single AuthGithubState record using the global executor. See Update for more documentation.
func (*AuthGithubState) Upsert ¶
func (o *AuthGithubState) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AuthGithubStateHook ¶
type AuthGithubStateHook func(context.Context, boil.ContextExecutor, *AuthGithubState) error
AuthGithubStateHook is the signature for custom AuthGithubState hook methods
type AuthGithubStateSlice ¶
type AuthGithubStateSlice []*AuthGithubState
AuthGithubStateSlice is an alias for a slice of pointers to AuthGithubState. This should almost always be used instead of []AuthGithubState.
func (AuthGithubStateSlice) DeleteAll ¶
func (o AuthGithubStateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (AuthGithubStateSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*AuthGithubStateSlice) ReloadAll ¶
func (o *AuthGithubStateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AuthGithubStateSlice) ReloadAllG ¶
func (o *AuthGithubStateSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AuthGithubStateSlice) UpdateAll ¶
func (o AuthGithubStateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (AuthGithubStateSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type AuthGithubStatesType ¶
type AuthGithubStatesType string
const (
AuthGithubStatesTypeCheckStar AuthGithubStatesType = "check_star"
)
Enum values for AuthGithubStatesType
func AllAuthGithubStatesType ¶
func AllAuthGithubStatesType() []AuthGithubStatesType
func (AuthGithubStatesType) IsValid ¶
func (e AuthGithubStatesType) IsValid() error
func (AuthGithubStatesType) Ordinal ¶
func (e AuthGithubStatesType) Ordinal() int
func (AuthGithubStatesType) String ¶
func (e AuthGithubStatesType) String() string
type Card ¶
type Card struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
XP int64 `boil:"xp" json:"xp" toml:"xp" yaml:"xp"`
NextLevelXP int64 `boil:"next_level_xp" json:"next_level_xp" toml:"next_level_xp" yaml:"next_level_xp"`
CardType string `boil:"card_type" json:"card_type" toml:"card_type" yaml:"card_type"`
IndividualValue float64 `boil:"individual_value" json:"individual_value" toml:"individual_value" yaml:"individual_value"`
Rarity int `boil:"rarity" json:"rarity" toml:"rarity" yaml:"rarity"`
Level int `boil:"level" json:"level" toml:"level" yaml:"level"`
Buffs int `boil:"buffs" json:"buffs" toml:"buffs" yaml:"buffs"`
Metadata types.JSON `boil:"metadata" json:"metadata" toml:"metadata" yaml:"metadata"`
Available bool `boil:"available" json:"available" toml:"available" yaml:"available"`
OwnedAt time.Time `boil:"owned_at" json:"owned_at" toml:"owned_at" yaml:"owned_at"`
R *cardR `boil:"-" json:"-" toml:"-" yaml:"-"`
L cardL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Card is an object representing the database table.
func FindCard ¶
func FindCard(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Card, error)
FindCard retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Card) AddAuctions ¶
func (o *Card) AddAuctions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Auction) error
AddAuctions adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.Auctions. Sets related.R.Card appropriately.
func (*Card) AddAuctionsG ¶
AddAuctionsG adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.Auctions. Sets related.R.Card appropriately. Uses the global database handle.
func (*Card) AddListings ¶
func (o *Card) AddListings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Listing) error
AddListings adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.Listings. Sets related.R.Card appropriately.
func (*Card) AddListingsG ¶
AddListingsG adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.Listings. Sets related.R.Card appropriately. Uses the global database handle.
func (*Card) AddPlayerCardFavorites ¶
func (o *Card) AddPlayerCardFavorites(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PlayerCardFavorite) error
AddPlayerCardFavorites adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.PlayerCardFavorites. Sets related.R.Card appropriately.
func (*Card) AddPlayerCardFavoritesG ¶
func (o *Card) AddPlayerCardFavoritesG(ctx context.Context, insert bool, related ...*PlayerCardFavorite) error
AddPlayerCardFavoritesG adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.PlayerCardFavorites. Sets related.R.Card appropriately. Uses the global database handle.
func (*Card) AddPlayerCards ¶
func (o *Card) AddPlayerCards(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PlayerCard) error
AddPlayerCards adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.PlayerCards. Sets related.R.Card appropriately.
func (*Card) AddPlayerCardsDecks ¶
func (o *Card) AddPlayerCardsDecks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PlayerCardsDeck) error
AddPlayerCardsDecks adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.PlayerCardsDecks. Sets related.R.Card appropriately.
func (*Card) AddPlayerCardsDecksG ¶
func (o *Card) AddPlayerCardsDecksG(ctx context.Context, insert bool, related ...*PlayerCardsDeck) error
AddPlayerCardsDecksG adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.PlayerCardsDecks. Sets related.R.Card appropriately. Uses the global database handle.
func (*Card) AddPlayerCardsG ¶
AddPlayerCardsG adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.PlayerCards. Sets related.R.Card appropriately. Uses the global database handle.
func (*Card) AddSelectedCardPlayers ¶
func (o *Card) AddSelectedCardPlayers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Player) error
AddSelectedCardPlayers adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.SelectedCardPlayers. Sets related.R.SelectedCard appropriately.
func (*Card) AddSelectedCardPlayersG ¶
AddSelectedCardPlayersG adds the given related objects to the existing relationships of the card, optionally inserting them as new records. Appends related to o.R.SelectedCardPlayers. Sets related.R.SelectedCard appropriately. Uses the global database handle.
func (*Card) Delete ¶
func (o *Card) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Card record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Card) DeleteG ¶
DeleteG deletes a single Card record. DeleteG will match against the primary key column to find the record to delete.
func (*Card) IDCardsStat ¶
IDCardsStat pointed to by the foreign key.
func (*Card) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Card) PlayerCardFavorites ¶
PlayerCardFavorites retrieves all the player_card_favorite's PlayerCardFavorites with an executor.
func (*Card) PlayerCards ¶
PlayerCards retrieves all the player_card's PlayerCards with an executor.
func (*Card) PlayerCardsDecks ¶
PlayerCardsDecks retrieves all the player_cards_deck's PlayerCardsDecks with an executor.
func (*Card) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Card) RemoveSelectedCardPlayers ¶
func (o *Card) RemoveSelectedCardPlayers(ctx context.Context, exec boil.ContextExecutor, related ...*Player) error
RemoveSelectedCardPlayers relationships from objects passed in. Removes related items from R.SelectedCardPlayers (uses pointer comparison, removal does not keep order) Sets related.R.SelectedCard.
func (*Card) RemoveSelectedCardPlayersG ¶
RemoveSelectedCardPlayersG relationships from objects passed in. Removes related items from R.SelectedCardPlayers (uses pointer comparison, removal does not keep order) Sets related.R.SelectedCard. Uses the global database handle.
func (*Card) SelectedCardPlayers ¶
SelectedCardPlayers retrieves all the player's Players with an executor via selected_card_id column.
func (*Card) SetCardsStat ¶
func (o *Card) SetCardsStat(ctx context.Context, exec boil.ContextExecutor, insert bool, related *CardsStat) error
SetCardsStat of the card to the related item. Sets o.R.CardsStat to related. Adds o to related.R.Card.
func (*Card) SetCardsStatG ¶
SetCardsStatG of the card to the related item. Sets o.R.CardsStat to related. Adds o to related.R.Card. Uses the global database handle.
func (*Card) SetIDCardsStat ¶
func (o *Card) SetIDCardsStat(ctx context.Context, exec boil.ContextExecutor, insert bool, related *CardsStat) error
SetIDCardsStat of the card to the related item. Sets o.R.IDCardsStat to related. Adds o to related.R.IDCard.
func (*Card) SetIDCardsStatG ¶
SetIDCardsStatG of the card to the related item. Sets o.R.IDCardsStat to related. Adds o to related.R.IDCard. Uses the global database handle.
func (*Card) SetPlayer ¶
func (o *Card) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the card to the related item. Sets o.R.Player to related. Adds o to related.R.Cards.
func (*Card) SetPlayerG ¶
SetPlayerG of the card to the related item. Sets o.R.Player to related. Adds o to related.R.Cards. Uses the global database handle.
func (*Card) SetSelectedCardPlayers ¶
func (o *Card) SetSelectedCardPlayers(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Player) error
SetSelectedCardPlayers removes all previously related items of the card replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SelectedCard's SelectedCardPlayers accordingly. Replaces o.R.SelectedCardPlayers with related. Sets related.R.SelectedCard's SelectedCardPlayers accordingly.
func (*Card) SetSelectedCardPlayersG ¶
SetSelectedCardPlayersG removes all previously related items of the card replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SelectedCard's SelectedCardPlayers accordingly. Replaces o.R.SelectedCardPlayers with related. Sets related.R.SelectedCard's SelectedCardPlayers accordingly. Uses the global database handle.
func (*Card) Update ¶
func (o *Card) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Card. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Card) UpdateG ¶
UpdateG a single Card record using the global executor. See Update for more documentation.
func (*Card) Upsert ¶
func (o *Card) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CardSlice ¶
type CardSlice []*Card
CardSlice is an alias for a slice of pointers to Card. This should almost always be used instead of []Card.
func (CardSlice) DeleteAll ¶
func (o CardSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (CardSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*CardSlice) ReloadAll ¶
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CardSlice) ReloadAllG ¶
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
type CardType ¶
type CardType struct {
CardType string `boil:"card_type" json:"card_type" toml:"card_type" yaml:"card_type"`
Name string `boil:"name" json:"name" toml:"name" yaml:"name"`
Categories string `boil:"categories" json:"categories" toml:"categories" yaml:"categories"`
R *cardTypeR `boil:"-" json:"-" toml:"-" yaml:"-"`
L cardTypeL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
CardType is an object representing the database table.
func FindCardType ¶
func FindCardType(ctx context.Context, exec boil.ContextExecutor, cardType string, selectCols ...string) (*CardType, error)
FindCardType retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindCardTypeG ¶
FindCardTypeG retrieves a single record by ID.
func (*CardType) Delete ¶
Delete deletes a single CardType record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CardType) DeleteG ¶
DeleteG deletes a single CardType record. DeleteG will match against the primary key column to find the record to delete.
func (*CardType) Insert ¶
func (o *CardType) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*CardType) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*CardType) Update ¶
func (o *CardType) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the CardType. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*CardType) UpdateG ¶
UpdateG a single CardType record using the global executor. See Update for more documentation.
func (*CardType) Upsert ¶
func (o *CardType) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CardTypeHook ¶
CardTypeHook is the signature for custom CardType hook methods
type CardTypeSlice ¶
type CardTypeSlice []*CardType
CardTypeSlice is an alias for a slice of pointers to CardType. This should almost always be used instead of []CardType.
func (CardTypeSlice) DeleteAll ¶
func (o CardTypeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (CardTypeSlice) DeleteAllG ¶
func (o CardTypeSlice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*CardTypeSlice) ReloadAll ¶
func (o *CardTypeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CardTypeSlice) ReloadAllG ¶
func (o *CardTypeSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (CardTypeSlice) UpdateAll ¶
func (o CardTypeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (CardTypeSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type CardsStat ¶
type CardsStat struct {
CardID string `boil:"card_id" json:"card_id" toml:"card_id" yaml:"card_id"`
Health int `boil:"health" json:"health" toml:"health" yaml:"health"`
Armor int `boil:"armor" json:"armor" toml:"armor" yaml:"armor"`
Damage int `boil:"damage" json:"damage" toml:"damage" yaml:"damage"`
Healing int `boil:"healing" json:"healing" toml:"healing" yaml:"healing"`
Speed int `boil:"speed" json:"speed" toml:"speed" yaml:"speed"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *cardsStatR `boil:"-" json:"-" toml:"-" yaml:"-"`
L cardsStatL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
CardsStat is an object representing the database table.
func FindCardsStat ¶
func FindCardsStat(ctx context.Context, exec boil.ContextExecutor, cardID string, selectCols ...string) (*CardsStat, error)
FindCardsStat retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindCardsStatG ¶
FindCardsStatG retrieves a single record by ID.
func (*CardsStat) Delete ¶
func (o *CardsStat) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single CardsStat record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CardsStat) DeleteG ¶
DeleteG deletes a single CardsStat record. DeleteG will match against the primary key column to find the record to delete.
func (*CardsStat) Insert ¶
func (o *CardsStat) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*CardsStat) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*CardsStat) SetCard ¶
func (o *CardsStat) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetCard of the cardsStat to the related item. Sets o.R.Card to related. Adds o to related.R.CardsStat.
func (*CardsStat) SetCardG ¶
SetCardG of the cardsStat to the related item. Sets o.R.Card to related. Adds o to related.R.CardsStat. Uses the global database handle.
func (*CardsStat) SetIDCard ¶
func (o *CardsStat) SetIDCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetIDCard of the cardsStat to the related item. Sets o.R.IDCard to related. Adds o to related.R.IDCardsStat.
func (*CardsStat) SetIDCardG ¶
SetIDCardG of the cardsStat to the related item. Sets o.R.IDCard to related. Adds o to related.R.IDCardsStat. Uses the global database handle.
func (*CardsStat) Update ¶
func (o *CardsStat) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the CardsStat. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*CardsStat) UpdateG ¶
UpdateG a single CardsStat record using the global executor. See Update for more documentation.
func (*CardsStat) Upsert ¶
func (o *CardsStat) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CardsStatHook ¶
CardsStatHook is the signature for custom CardsStat hook methods
type CardsStatSlice ¶
type CardsStatSlice []*CardsStat
CardsStatSlice is an alias for a slice of pointers to CardsStat. This should almost always be used instead of []CardsStat.
func (CardsStatSlice) DeleteAll ¶
func (o CardsStatSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (CardsStatSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*CardsStatSlice) ReloadAll ¶
func (o *CardsStatSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*CardsStatSlice) ReloadAllG ¶
func (o *CardsStatSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (CardsStatSlice) UpdateAll ¶
func (o CardsStatSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (CardsStatSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type Daily ¶
type Daily struct {
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
HasVoted bool `boil:"has_voted" json:"has_voted" toml:"has_voted" yaml:"has_voted"`
LastVoteAt time.Time `boil:"last_vote_at" json:"last_vote_at" toml:"last_vote_at" yaml:"last_vote_at"`
Streak int `boil:"streak" json:"streak" toml:"streak" yaml:"streak"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *dailyR `boil:"-" json:"-" toml:"-" yaml:"-"`
L dailyL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Daily is an object representing the database table.
func FindDaily ¶
func FindDaily(ctx context.Context, exec boil.ContextExecutor, playerID string, selectCols ...string) (*Daily, error)
FindDaily retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindDailyG ¶
FindDailyG retrieves a single record by ID.
func (*Daily) Delete ¶
func (o *Daily) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Daily record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Daily) DeleteG ¶
DeleteG deletes a single Daily record. DeleteG will match against the primary key column to find the record to delete.
func (*Daily) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Daily) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Daily) SetPlayer ¶
func (o *Daily) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the daily to the related item. Sets o.R.Player to related. Adds o to related.R.Daily.
func (*Daily) SetPlayerG ¶
SetPlayerG of the daily to the related item. Sets o.R.Player to related. Adds o to related.R.Daily. Uses the global database handle.
func (*Daily) Update ¶
func (o *Daily) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Daily. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Daily) UpdateG ¶
UpdateG a single Daily record using the global executor. See Update for more documentation.
func (*Daily) Upsert ¶
func (o *Daily) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DailySlice ¶
type DailySlice []*Daily
DailySlice is an alias for a slice of pointers to Daily. This should almost always be used instead of []Daily.
func (DailySlice) DeleteAll ¶
func (o DailySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (DailySlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*DailySlice) ReloadAll ¶
func (o *DailySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*DailySlice) ReloadAllG ¶
func (o *DailySlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DailySlice) UpdateAll ¶
func (o DailySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (DailySlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type Dungeon ¶
type Dungeon struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
Seed int64 `boil:"seed" json:"seed" toml:"seed" yaml:"seed"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *dungeonR `boil:"-" json:"-" toml:"-" yaml:"-"`
L dungeonL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Dungeon is an object representing the database table.
func FindDungeon ¶
func FindDungeon(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Dungeon, error)
FindDungeon retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindDungeonG ¶
FindDungeonG retrieves a single record by ID.
func (*Dungeon) Delete ¶
func (o *Dungeon) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Dungeon record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Dungeon) DeleteG ¶
DeleteG deletes a single Dungeon record. DeleteG will match against the primary key column to find the record to delete.
func (*Dungeon) Insert ¶
func (o *Dungeon) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Dungeon) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Dungeon) SetPlayer ¶
func (o *Dungeon) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the dungeon to the related item. Sets o.R.Player to related. Adds o to related.R.Dungeons.
func (*Dungeon) SetPlayerG ¶
SetPlayerG of the dungeon to the related item. Sets o.R.Player to related. Adds o to related.R.Dungeons. Uses the global database handle.
func (*Dungeon) Update ¶
func (o *Dungeon) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Dungeon. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Dungeon) UpdateG ¶
UpdateG a single Dungeon record using the global executor. See Update for more documentation.
func (*Dungeon) Upsert ¶
func (o *Dungeon) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type DungeonHook ¶
DungeonHook is the signature for custom Dungeon hook methods
type DungeonSlice ¶
type DungeonSlice []*Dungeon
DungeonSlice is an alias for a slice of pointers to Dungeon. This should almost always be used instead of []Dungeon.
func (DungeonSlice) DeleteAll ¶
func (o DungeonSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (DungeonSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*DungeonSlice) ReloadAll ¶
func (o *DungeonSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*DungeonSlice) ReloadAllG ¶
func (o *DungeonSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (DungeonSlice) UpdateAll ¶
func (o DungeonSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (DungeonSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type GithubStar ¶
type GithubStar struct {
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
GithubUserID null.String `boil:"github_user_id" json:"github_user_id,omitempty" toml:"github_user_id" yaml:"github_user_id,omitempty"`
HasStarred bool `boil:"has_starred" json:"has_starred" toml:"has_starred" yaml:"has_starred"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *githubStarR `boil:"-" json:"-" toml:"-" yaml:"-"`
L githubStarL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
GithubStar is an object representing the database table.
func FindGithubStar ¶
func FindGithubStar(ctx context.Context, exec boil.ContextExecutor, playerID string, selectCols ...string) (*GithubStar, error)
FindGithubStar retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindGithubStarG ¶
func FindGithubStarG(ctx context.Context, playerID string, selectCols ...string) (*GithubStar, error)
FindGithubStarG retrieves a single record by ID.
func (*GithubStar) Delete ¶
func (o *GithubStar) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single GithubStar record with an executor. Delete will match against the primary key column to find the record to delete.
func (*GithubStar) DeleteG ¶
DeleteG deletes a single GithubStar record. DeleteG will match against the primary key column to find the record to delete.
func (*GithubStar) Exists ¶
func (o *GithubStar) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the GithubStar row exists.
func (*GithubStar) IDPlayer ¶
func (o *GithubStar) IDPlayer(mods ...qm.QueryMod) playerQuery
IDPlayer pointed to by the foreign key.
func (*GithubStar) Insert ¶
func (o *GithubStar) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*GithubStar) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*GithubStar) Player ¶
func (o *GithubStar) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*GithubStar) Reload ¶
func (o *GithubStar) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*GithubStar) ReloadG ¶
func (o *GithubStar) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*GithubStar) SetIDPlayer ¶
func (o *GithubStar) SetIDPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetIDPlayer of the githubStar to the related item. Sets o.R.IDPlayer to related. Adds o to related.R.IDGithubStar.
func (*GithubStar) SetIDPlayerG ¶
SetIDPlayerG of the githubStar to the related item. Sets o.R.IDPlayer to related. Adds o to related.R.IDGithubStar. Uses the global database handle.
func (*GithubStar) SetPlayer ¶
func (o *GithubStar) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the githubStar to the related item. Sets o.R.Player to related. Adds o to related.R.GithubStar.
func (*GithubStar) SetPlayerG ¶
SetPlayerG of the githubStar to the related item. Sets o.R.Player to related. Adds o to related.R.GithubStar. Uses the global database handle.
func (*GithubStar) Update ¶
func (o *GithubStar) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the GithubStar. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*GithubStar) UpdateG ¶
UpdateG a single GithubStar record using the global executor. See Update for more documentation.
func (*GithubStar) Upsert ¶
func (o *GithubStar) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type GithubStarHook ¶
type GithubStarHook func(context.Context, boil.ContextExecutor, *GithubStar) error
GithubStarHook is the signature for custom GithubStar hook methods
type GithubStarSlice ¶
type GithubStarSlice []*GithubStar
GithubStarSlice is an alias for a slice of pointers to GithubStar. This should almost always be used instead of []GithubStar.
func (GithubStarSlice) DeleteAll ¶
func (o GithubStarSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (GithubStarSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*GithubStarSlice) ReloadAll ¶
func (o *GithubStarSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*GithubStarSlice) ReloadAllG ¶
func (o *GithubStarSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (GithubStarSlice) UpdateAll ¶
func (o GithubStarSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (GithubStarSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type Job ¶
type Job struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
Jobkey string `boil:"jobkey" json:"jobkey" toml:"jobkey" yaml:"jobkey"`
Retries int `boil:"retries" json:"retries" toml:"retries" yaml:"retries"`
RunAt time.Time `boil:"run_at" json:"run_at" toml:"run_at" yaml:"run_at"`
Params types.JSON `boil:"params" json:"params" toml:"params" yaml:"params"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
LastRunID int64 `boil:"last_run_id" json:"last_run_id" toml:"last_run_id" yaml:"last_run_id"`
Recurring bool `boil:"recurring" json:"recurring" toml:"recurring" yaml:"recurring"`
DeltaTime int64 `boil:"delta_time" json:"delta_time" toml:"delta_time" yaml:"delta_time"`
Errored bool `boil:"errored" json:"errored" toml:"errored" yaml:"errored"`
R *jobR `boil:"-" json:"-" toml:"-" yaml:"-"`
L jobL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Job is an object representing the database table.
func FindJob ¶
func FindJob(ctx context.Context, exec boil.ContextExecutor, iD string, jobkey string, selectCols ...string) (*Job, error)
FindJob retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Job) Delete ¶
func (o *Job) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Job record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Job) DeleteG ¶
DeleteG deletes a single Job record. DeleteG will match against the primary key column to find the record to delete.
func (*Job) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Job) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Job) Update ¶
func (o *Job) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Job. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Job) UpdateG ¶
UpdateG a single Job record using the global executor. See Update for more documentation.
func (*Job) Upsert ¶
func (o *Job) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type JobSlice ¶
type JobSlice []*Job
JobSlice is an alias for a slice of pointers to Job. This should almost always be used instead of []Job.
func (JobSlice) DeleteAll ¶
func (o JobSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (JobSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*JobSlice) ReloadAll ¶
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*JobSlice) ReloadAllG ¶
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
type Listing ¶
type Listing struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
CardID string `boil:"card_id" json:"card_id" toml:"card_id" yaml:"card_id"`
Price int64 `boil:"price" json:"price" toml:"price" yaml:"price"`
Note string `boil:"note" json:"note" toml:"note" yaml:"note"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *listingR `boil:"-" json:"-" toml:"-" yaml:"-"`
L listingL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Listing is an object representing the database table.
func FindListing ¶
func FindListing(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Listing, error)
FindListing retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindListingG ¶
FindListingG retrieves a single record by ID.
func (*Listing) Delete ¶
func (o *Listing) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Listing record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Listing) DeleteG ¶
DeleteG deletes a single Listing record. DeleteG will match against the primary key column to find the record to delete.
func (*Listing) Insert ¶
func (o *Listing) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Listing) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Listing) SetCard ¶
func (o *Listing) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetCard of the listing to the related item. Sets o.R.Card to related. Adds o to related.R.Listings.
func (*Listing) SetCardG ¶
SetCardG of the listing to the related item. Sets o.R.Card to related. Adds o to related.R.Listings. Uses the global database handle.
func (*Listing) SetPlayer ¶
func (o *Listing) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the listing to the related item. Sets o.R.Player to related. Adds o to related.R.Listings.
func (*Listing) SetPlayerG ¶
SetPlayerG of the listing to the related item. Sets o.R.Player to related. Adds o to related.R.Listings. Uses the global database handle.
func (*Listing) Update ¶
func (o *Listing) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Listing. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Listing) UpdateG ¶
UpdateG a single Listing record using the global executor. See Update for more documentation.
func (*Listing) Upsert ¶
func (o *Listing) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type ListingHook ¶
ListingHook is the signature for custom Listing hook methods
type ListingSlice ¶
type ListingSlice []*Listing
ListingSlice is an alias for a slice of pointers to Listing. This should almost always be used instead of []Listing.
func (ListingSlice) DeleteAll ¶
func (o ListingSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (ListingSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*ListingSlice) ReloadAll ¶
func (o *ListingSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ListingSlice) ReloadAllG ¶
func (o *ListingSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (ListingSlice) UpdateAll ¶
func (o ListingSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (ListingSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type LootBox ¶
type LootBox struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
Type LootBoxesType `boil:"type" json:"type" toml:"type" yaml:"type"`
Metadata null.JSON `boil:"metadata" json:"metadata,omitempty" toml:"metadata" yaml:"metadata,omitempty"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *lootBoxR `boil:"-" json:"-" toml:"-" yaml:"-"`
L lootBoxL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
LootBox is an object representing the database table.
func FindLootBox ¶
func FindLootBox(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*LootBox, error)
FindLootBox retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindLootBoxG ¶
FindLootBoxG retrieves a single record by ID.
func (*LootBox) Delete ¶
func (o *LootBox) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single LootBox record with an executor. Delete will match against the primary key column to find the record to delete.
func (*LootBox) DeleteG ¶
DeleteG deletes a single LootBox record. DeleteG will match against the primary key column to find the record to delete.
func (*LootBox) Insert ¶
func (o *LootBox) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*LootBox) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*LootBox) SetPlayer ¶
func (o *LootBox) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the lootBox to the related item. Sets o.R.Player to related. Adds o to related.R.LootBoxes.
func (*LootBox) SetPlayerG ¶
SetPlayerG of the lootBox to the related item. Sets o.R.Player to related. Adds o to related.R.LootBoxes. Uses the global database handle.
func (*LootBox) Update ¶
func (o *LootBox) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the LootBox. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*LootBox) UpdateG ¶
UpdateG a single LootBox record using the global executor. See Update for more documentation.
func (*LootBox) Upsert ¶
func (o *LootBox) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type LootBoxHook ¶
LootBoxHook is the signature for custom LootBox hook methods
type LootBoxSlice ¶
type LootBoxSlice []*LootBox
LootBoxSlice is an alias for a slice of pointers to LootBox. This should almost always be used instead of []LootBox.
func (LootBoxSlice) DeleteAll ¶
func (o LootBoxSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (LootBoxSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*LootBoxSlice) ReloadAll ¶
func (o *LootBoxSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*LootBoxSlice) ReloadAllG ¶
func (o *LootBoxSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (LootBoxSlice) UpdateAll ¶
func (o LootBoxSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (LootBoxSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type LootBoxesType ¶
type LootBoxesType string
const ( LootBoxesTypeClassic LootBoxesType = "classic" LootBoxesTypeRare LootBoxesType = "rare" LootBoxesTypeSpecial LootBoxesType = "special" LootBoxesTypeLimited LootBoxesType = "limited" )
Enum values for LootBoxesType
func AllLootBoxesType ¶
func AllLootBoxesType() []LootBoxesType
func (LootBoxesType) IsValid ¶
func (e LootBoxesType) IsValid() error
func (LootBoxesType) Ordinal ¶
func (e LootBoxesType) Ordinal() int
func (LootBoxesType) String ¶
func (e LootBoxesType) String() string
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Player ¶
type Player struct {
ID string `boil:"id" json:"id" toml:"id" yaml:"id"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
SelectedCardID null.String `boil:"selected_card_id" json:"selected_card_id,omitempty" toml:"selected_card_id" yaml:"selected_card_id,omitempty"`
Liens int64 `boil:"liens" json:"liens" toml:"liens" yaml:"liens"`
Level int `boil:"level" json:"level" toml:"level" yaml:"level"`
XP int64 `boil:"xp" json:"xp" toml:"xp" yaml:"xp"`
NextLevelXP int64 `boil:"next_level_xp" json:"next_level_xp" toml:"next_level_xp" yaml:"next_level_xp"`
BackpackLevel int `boil:"backpack_level" json:"backpack_level" toml:"backpack_level" yaml:"backpack_level"`
LiensBidded int64 `boil:"liens_bidded" json:"liens_bidded" toml:"liens_bidded" yaml:"liens_bidded"`
Username string `boil:"username" json:"username" toml:"username" yaml:"username"`
SlotsReserved int `boil:"slots_reserved" json:"slots_reserved" toml:"slots_reserved" yaml:"slots_reserved"`
R *playerR `boil:"-" json:"-" toml:"-" yaml:"-"`
L playerL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
Player is an object representing the database table.
func FindPlayer ¶
func FindPlayer(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Player, error)
FindPlayer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPlayerG ¶
FindPlayerG retrieves a single record by ID.
func (*Player) AddAuctions ¶
func (o *Player) AddAuctions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Auction) error
AddAuctions adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Auctions. Sets related.R.Player appropriately.
func (*Player) AddAuctionsBids ¶
func (o *Player) AddAuctionsBids(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuctionsBid) error
AddAuctionsBids adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuctionsBids. Sets related.R.Player appropriately.
func (*Player) AddAuctionsBidsG ¶
AddAuctionsBidsG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuctionsBids. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddAuctionsG ¶
AddAuctionsG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Auctions. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddAuthCookies ¶
func (o *Player) AddAuthCookies(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthCookie) error
AddAuthCookies adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuthCookies. Sets related.R.Player appropriately.
func (*Player) AddAuthCookiesG ¶
AddAuthCookiesG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuthCookies. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddAuthDiscordStates ¶
func (o *Player) AddAuthDiscordStates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthDiscordState) error
AddAuthDiscordStates adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuthDiscordStates. Sets related.R.Player appropriately.
func (*Player) AddAuthDiscordStatesG ¶
func (o *Player) AddAuthDiscordStatesG(ctx context.Context, insert bool, related ...*AuthDiscordState) error
AddAuthDiscordStatesG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuthDiscordStates. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddAuthGithubStates ¶
func (o *Player) AddAuthGithubStates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthGithubState) error
AddAuthGithubStates adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuthGithubStates. Sets related.R.Player appropriately.
func (*Player) AddAuthGithubStatesG ¶
func (o *Player) AddAuthGithubStatesG(ctx context.Context, insert bool, related ...*AuthGithubState) error
AddAuthGithubStatesG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.AuthGithubStates. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddCards ¶
func (o *Player) AddCards(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Card) error
AddCards adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Cards. Sets related.R.Player appropriately.
func (*Player) AddCardsG ¶
AddCardsG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Cards. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddDungeons ¶
func (o *Player) AddDungeons(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Dungeon) error
AddDungeons adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Dungeons. Sets related.R.Player appropriately.
func (*Player) AddDungeonsG ¶
AddDungeonsG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Dungeons. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddListings ¶
func (o *Player) AddListings(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Listing) error
AddListings adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Listings. Sets related.R.Player appropriately.
func (*Player) AddListingsG ¶
AddListingsG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.Listings. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddLootBoxes ¶
func (o *Player) AddLootBoxes(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*LootBox) error
AddLootBoxes adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.LootBoxes. Sets related.R.Player appropriately.
func (*Player) AddLootBoxesG ¶
AddLootBoxesG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.LootBoxes. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddPlayerCardFavorites ¶
func (o *Player) AddPlayerCardFavorites(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PlayerCardFavorite) error
AddPlayerCardFavorites adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.PlayerCardFavorites. Sets related.R.Player appropriately.
func (*Player) AddPlayerCardFavoritesG ¶
func (o *Player) AddPlayerCardFavoritesG(ctx context.Context, insert bool, related ...*PlayerCardFavorite) error
AddPlayerCardFavoritesG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.PlayerCardFavorites. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddPlayerCards ¶
func (o *Player) AddPlayerCards(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PlayerCard) error
AddPlayerCards adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.PlayerCards. Sets related.R.Player appropriately.
func (*Player) AddPlayerCardsDecks ¶
func (o *Player) AddPlayerCardsDecks(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*PlayerCardsDeck) error
AddPlayerCardsDecks adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.PlayerCardsDecks. Sets related.R.Player appropriately.
func (*Player) AddPlayerCardsDecksG ¶
func (o *Player) AddPlayerCardsDecksG(ctx context.Context, insert bool, related ...*PlayerCardsDeck) error
AddPlayerCardsDecksG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.PlayerCardsDecks. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AddPlayerCardsG ¶
AddPlayerCardsG adds the given related objects to the existing relationships of the player, optionally inserting them as new records. Appends related to o.R.PlayerCards. Sets related.R.Player appropriately. Uses the global database handle.
func (*Player) AuctionsBids ¶
AuctionsBids retrieves all the auctions_bid's AuctionsBids with an executor.
func (*Player) AuthCookies ¶
AuthCookies retrieves all the auth_cookie's AuthCookies with an executor.
func (*Player) AuthDiscordStates ¶
AuthDiscordStates retrieves all the auth_discord_state's AuthDiscordStates with an executor.
func (*Player) AuthGithubStates ¶
AuthGithubStates retrieves all the auth_github_state's AuthGithubStates with an executor.
func (*Player) Delete ¶
func (o *Player) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single Player record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Player) DeleteG ¶
DeleteG deletes a single Player record. DeleteG will match against the primary key column to find the record to delete.
func (*Player) GithubStar ¶
GithubStar pointed to by the foreign key.
func (*Player) IDGithubStar ¶
IDGithubStar pointed to by the foreign key.
func (*Player) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Player) PlayerCardFavorites ¶
PlayerCardFavorites retrieves all the player_card_favorite's PlayerCardFavorites with an executor.
func (*Player) PlayerCards ¶
PlayerCards retrieves all the player_card's PlayerCards with an executor.
func (*Player) PlayerCardsDecks ¶
PlayerCardsDecks retrieves all the player_cards_deck's PlayerCardsDecks with an executor.
func (*Player) PlayerLimit ¶
PlayerLimit pointed to by the foreign key.
func (*Player) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Player) RemoveAuthDiscordStates ¶
func (o *Player) RemoveAuthDiscordStates(ctx context.Context, exec boil.ContextExecutor, related ...*AuthDiscordState) error
RemoveAuthDiscordStates relationships from objects passed in. Removes related items from R.AuthDiscordStates (uses pointer comparison, removal does not keep order) Sets related.R.Player.
func (*Player) RemoveAuthDiscordStatesG ¶
func (o *Player) RemoveAuthDiscordStatesG(ctx context.Context, related ...*AuthDiscordState) error
RemoveAuthDiscordStatesG relationships from objects passed in. Removes related items from R.AuthDiscordStates (uses pointer comparison, removal does not keep order) Sets related.R.Player. Uses the global database handle.
func (*Player) RemoveSelectedCard ¶
func (o *Player) RemoveSelectedCard(ctx context.Context, exec boil.ContextExecutor, related *Card) error
RemoveSelectedCard relationship. Sets o.R.SelectedCard to nil. Removes o from all passed in related items' relationships struct.
func (*Player) RemoveSelectedCardG ¶
RemoveSelectedCardG relationship. Sets o.R.SelectedCard to nil. Removes o from all passed in related items' relationships struct. Uses the global database handle.
func (*Player) SelectedCard ¶
SelectedCard pointed to by the foreign key.
func (*Player) SetAuthDiscordStates ¶
func (o *Player) SetAuthDiscordStates(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthDiscordState) error
SetAuthDiscordStates removes all previously related items of the player replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Player's AuthDiscordStates accordingly. Replaces o.R.AuthDiscordStates with related. Sets related.R.Player's AuthDiscordStates accordingly.
func (*Player) SetAuthDiscordStatesG ¶
func (o *Player) SetAuthDiscordStatesG(ctx context.Context, insert bool, related ...*AuthDiscordState) error
SetAuthDiscordStatesG removes all previously related items of the player replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Player's AuthDiscordStates accordingly. Replaces o.R.AuthDiscordStates with related. Sets related.R.Player's AuthDiscordStates accordingly. Uses the global database handle.
func (*Player) SetDaily ¶
func (o *Player) SetDaily(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Daily) error
SetDaily of the player to the related item. Sets o.R.Daily to related. Adds o to related.R.Player.
func (*Player) SetDailyG ¶
SetDailyG of the player to the related item. Sets o.R.Daily to related. Adds o to related.R.Player. Uses the global database handle.
func (*Player) SetGithubStar ¶
func (o *Player) SetGithubStar(ctx context.Context, exec boil.ContextExecutor, insert bool, related *GithubStar) error
SetGithubStar of the player to the related item. Sets o.R.GithubStar to related. Adds o to related.R.Player.
func (*Player) SetGithubStarG ¶
SetGithubStarG of the player to the related item. Sets o.R.GithubStar to related. Adds o to related.R.Player. Uses the global database handle.
func (*Player) SetIDGithubStar ¶
func (o *Player) SetIDGithubStar(ctx context.Context, exec boil.ContextExecutor, insert bool, related *GithubStar) error
SetIDGithubStar of the player to the related item. Sets o.R.IDGithubStar to related. Adds o to related.R.IDPlayer.
func (*Player) SetIDGithubStarG ¶
SetIDGithubStarG of the player to the related item. Sets o.R.IDGithubStar to related. Adds o to related.R.IDPlayer. Uses the global database handle.
func (*Player) SetPlayerLimit ¶
func (o *Player) SetPlayerLimit(ctx context.Context, exec boil.ContextExecutor, insert bool, related *PlayerLimit) error
SetPlayerLimit of the player to the related item. Sets o.R.PlayerLimit to related. Adds o to related.R.Player.
func (*Player) SetPlayerLimitG ¶
SetPlayerLimitG of the player to the related item. Sets o.R.PlayerLimit to related. Adds o to related.R.Player. Uses the global database handle.
func (*Player) SetSelectedCard ¶
func (o *Player) SetSelectedCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetSelectedCard of the player to the related item. Sets o.R.SelectedCard to related. Adds o to related.R.SelectedCardPlayers.
func (*Player) SetSelectedCardG ¶
SetSelectedCardG of the player to the related item. Sets o.R.SelectedCard to related. Adds o to related.R.SelectedCardPlayers. Uses the global database handle.
func (*Player) Update ¶
func (o *Player) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Player. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Player) UpdateG ¶
UpdateG a single Player record using the global executor. See Update for more documentation.
func (*Player) Upsert ¶
func (o *Player) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PlayerCard ¶
type PlayerCard struct {
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
CardID string `boil:"card_id" json:"card_id" toml:"card_id" yaml:"card_id"`
Position int `boil:"position" json:"position" toml:"position" yaml:"position"`
R *playerCardR `boil:"-" json:"-" toml:"-" yaml:"-"`
L playerCardL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
PlayerCard is an object representing the database table.
func FindPlayerCard ¶
func FindPlayerCard(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string, selectCols ...string) (*PlayerCard, error)
FindPlayerCard retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPlayerCardG ¶
func FindPlayerCardG(ctx context.Context, playerID string, cardID string, selectCols ...string) (*PlayerCard, error)
FindPlayerCardG retrieves a single record by ID.
func (*PlayerCard) Card ¶
func (o *PlayerCard) Card(mods ...qm.QueryMod) cardQuery
Card pointed to by the foreign key.
func (*PlayerCard) Delete ¶
func (o *PlayerCard) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PlayerCard record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PlayerCard) DeleteG ¶
func (o *PlayerCard) DeleteG(ctx context.Context) (int64, error)
DeleteG deletes a single PlayerCard record. DeleteG will match against the primary key column to find the record to delete.
func (*PlayerCard) Exists ¶
func (o *PlayerCard) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the PlayerCard row exists.
func (*PlayerCard) Insert ¶
func (o *PlayerCard) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*PlayerCard) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*PlayerCard) Player ¶
func (o *PlayerCard) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*PlayerCard) Reload ¶
func (o *PlayerCard) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PlayerCard) ReloadG ¶
func (o *PlayerCard) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*PlayerCard) SetCard ¶
func (o *PlayerCard) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetCard of the playerCard to the related item. Sets o.R.Card to related. Adds o to related.R.PlayerCards.
func (*PlayerCard) SetCardG ¶
SetCardG of the playerCard to the related item. Sets o.R.Card to related. Adds o to related.R.PlayerCards. Uses the global database handle.
func (*PlayerCard) SetPlayer ¶
func (o *PlayerCard) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the playerCard to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerCards.
func (*PlayerCard) SetPlayerG ¶
SetPlayerG of the playerCard to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerCards. Uses the global database handle.
func (*PlayerCard) Update ¶
func (o *PlayerCard) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PlayerCard. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PlayerCard) UpdateG ¶
UpdateG a single PlayerCard record using the global executor. See Update for more documentation.
func (*PlayerCard) Upsert ¶
func (o *PlayerCard) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PlayerCardFavorite ¶
type PlayerCardFavorite struct {
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
CardID string `boil:"card_id" json:"card_id" toml:"card_id" yaml:"card_id"`
Position int `boil:"position" json:"position" toml:"position" yaml:"position"`
R *playerCardFavoriteR `boil:"-" json:"-" toml:"-" yaml:"-"`
L playerCardFavoriteL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
PlayerCardFavorite is an object representing the database table.
func FindPlayerCardFavorite ¶
func FindPlayerCardFavorite(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string, selectCols ...string) (*PlayerCardFavorite, error)
FindPlayerCardFavorite retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPlayerCardFavoriteG ¶
func FindPlayerCardFavoriteG(ctx context.Context, playerID string, cardID string, selectCols ...string) (*PlayerCardFavorite, error)
FindPlayerCardFavoriteG retrieves a single record by ID.
func (*PlayerCardFavorite) Card ¶
func (o *PlayerCardFavorite) Card(mods ...qm.QueryMod) cardQuery
Card pointed to by the foreign key.
func (*PlayerCardFavorite) Delete ¶
func (o *PlayerCardFavorite) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PlayerCardFavorite record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PlayerCardFavorite) DeleteG ¶
func (o *PlayerCardFavorite) DeleteG(ctx context.Context) (int64, error)
DeleteG deletes a single PlayerCardFavorite record. DeleteG will match against the primary key column to find the record to delete.
func (*PlayerCardFavorite) Exists ¶
func (o *PlayerCardFavorite) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the PlayerCardFavorite row exists.
func (*PlayerCardFavorite) Insert ¶
func (o *PlayerCardFavorite) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*PlayerCardFavorite) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*PlayerCardFavorite) Player ¶
func (o *PlayerCardFavorite) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*PlayerCardFavorite) Reload ¶
func (o *PlayerCardFavorite) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PlayerCardFavorite) ReloadG ¶
func (o *PlayerCardFavorite) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*PlayerCardFavorite) SetCard ¶
func (o *PlayerCardFavorite) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetCard of the playerCardFavorite to the related item. Sets o.R.Card to related. Adds o to related.R.PlayerCardFavorites.
func (*PlayerCardFavorite) SetCardG ¶
SetCardG of the playerCardFavorite to the related item. Sets o.R.Card to related. Adds o to related.R.PlayerCardFavorites. Uses the global database handle.
func (*PlayerCardFavorite) SetPlayer ¶
func (o *PlayerCardFavorite) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the playerCardFavorite to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerCardFavorites.
func (*PlayerCardFavorite) SetPlayerG ¶
SetPlayerG of the playerCardFavorite to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerCardFavorites. Uses the global database handle.
func (*PlayerCardFavorite) Update ¶
func (o *PlayerCardFavorite) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PlayerCardFavorite. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PlayerCardFavorite) UpdateG ¶
UpdateG a single PlayerCardFavorite record using the global executor. See Update for more documentation.
func (*PlayerCardFavorite) Upsert ¶
func (o *PlayerCardFavorite) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PlayerCardFavoriteHook ¶
type PlayerCardFavoriteHook func(context.Context, boil.ContextExecutor, *PlayerCardFavorite) error
PlayerCardFavoriteHook is the signature for custom PlayerCardFavorite hook methods
type PlayerCardFavoriteSlice ¶
type PlayerCardFavoriteSlice []*PlayerCardFavorite
PlayerCardFavoriteSlice is an alias for a slice of pointers to PlayerCardFavorite. This should almost always be used instead of []PlayerCardFavorite.
func (PlayerCardFavoriteSlice) DeleteAll ¶
func (o PlayerCardFavoriteSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PlayerCardFavoriteSlice) DeleteAllG ¶
func (o PlayerCardFavoriteSlice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*PlayerCardFavoriteSlice) ReloadAll ¶
func (o *PlayerCardFavoriteSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PlayerCardFavoriteSlice) ReloadAllG ¶
func (o *PlayerCardFavoriteSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PlayerCardFavoriteSlice) UpdateAll ¶
func (o PlayerCardFavoriteSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PlayerCardFavoriteSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type PlayerCardHook ¶
type PlayerCardHook func(context.Context, boil.ContextExecutor, *PlayerCard) error
PlayerCardHook is the signature for custom PlayerCard hook methods
type PlayerCardSlice ¶
type PlayerCardSlice []*PlayerCard
PlayerCardSlice is an alias for a slice of pointers to PlayerCard. This should almost always be used instead of []PlayerCard.
func (PlayerCardSlice) DeleteAll ¶
func (o PlayerCardSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PlayerCardSlice) DeleteAllG ¶
func (o PlayerCardSlice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*PlayerCardSlice) ReloadAll ¶
func (o *PlayerCardSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PlayerCardSlice) ReloadAllG ¶
func (o *PlayerCardSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PlayerCardSlice) UpdateAll ¶
func (o PlayerCardSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PlayerCardSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type PlayerCardsDeck ¶
type PlayerCardsDeck struct {
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
CardID string `boil:"card_id" json:"card_id" toml:"card_id" yaml:"card_id"`
Position int `boil:"position" json:"position" toml:"position" yaml:"position"`
R *playerCardsDeckR `boil:"-" json:"-" toml:"-" yaml:"-"`
L playerCardsDeckL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
PlayerCardsDeck is an object representing the database table.
func FindPlayerCardsDeck ¶
func FindPlayerCardsDeck(ctx context.Context, exec boil.ContextExecutor, playerID string, cardID string, selectCols ...string) (*PlayerCardsDeck, error)
FindPlayerCardsDeck retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPlayerCardsDeckG ¶
func FindPlayerCardsDeckG(ctx context.Context, playerID string, cardID string, selectCols ...string) (*PlayerCardsDeck, error)
FindPlayerCardsDeckG retrieves a single record by ID.
func (*PlayerCardsDeck) Card ¶
func (o *PlayerCardsDeck) Card(mods ...qm.QueryMod) cardQuery
Card pointed to by the foreign key.
func (*PlayerCardsDeck) Delete ¶
func (o *PlayerCardsDeck) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PlayerCardsDeck record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PlayerCardsDeck) DeleteG ¶
func (o *PlayerCardsDeck) DeleteG(ctx context.Context) (int64, error)
DeleteG deletes a single PlayerCardsDeck record. DeleteG will match against the primary key column to find the record to delete.
func (*PlayerCardsDeck) Exists ¶
func (o *PlayerCardsDeck) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the PlayerCardsDeck row exists.
func (*PlayerCardsDeck) Insert ¶
func (o *PlayerCardsDeck) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*PlayerCardsDeck) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*PlayerCardsDeck) Player ¶
func (o *PlayerCardsDeck) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*PlayerCardsDeck) Reload ¶
func (o *PlayerCardsDeck) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PlayerCardsDeck) ReloadG ¶
func (o *PlayerCardsDeck) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*PlayerCardsDeck) SetCard ¶
func (o *PlayerCardsDeck) SetCard(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Card) error
SetCard of the playerCardsDeck to the related item. Sets o.R.Card to related. Adds o to related.R.PlayerCardsDecks.
func (*PlayerCardsDeck) SetCardG ¶
SetCardG of the playerCardsDeck to the related item. Sets o.R.Card to related. Adds o to related.R.PlayerCardsDecks. Uses the global database handle.
func (*PlayerCardsDeck) SetPlayer ¶
func (o *PlayerCardsDeck) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the playerCardsDeck to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerCardsDecks.
func (*PlayerCardsDeck) SetPlayerG ¶
SetPlayerG of the playerCardsDeck to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerCardsDecks. Uses the global database handle.
func (*PlayerCardsDeck) Update ¶
func (o *PlayerCardsDeck) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PlayerCardsDeck. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PlayerCardsDeck) UpdateG ¶
UpdateG a single PlayerCardsDeck record using the global executor. See Update for more documentation.
func (*PlayerCardsDeck) Upsert ¶
func (o *PlayerCardsDeck) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PlayerCardsDeckHook ¶
type PlayerCardsDeckHook func(context.Context, boil.ContextExecutor, *PlayerCardsDeck) error
PlayerCardsDeckHook is the signature for custom PlayerCardsDeck hook methods
type PlayerCardsDeckSlice ¶
type PlayerCardsDeckSlice []*PlayerCardsDeck
PlayerCardsDeckSlice is an alias for a slice of pointers to PlayerCardsDeck. This should almost always be used instead of []PlayerCardsDeck.
func (PlayerCardsDeckSlice) DeleteAll ¶
func (o PlayerCardsDeckSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PlayerCardsDeckSlice) DeleteAllG ¶
func (o PlayerCardsDeckSlice) DeleteAllG(ctx context.Context) (int64, error)
DeleteAllG deletes all rows in the slice.
func (*PlayerCardsDeckSlice) ReloadAll ¶
func (o *PlayerCardsDeckSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PlayerCardsDeckSlice) ReloadAllG ¶
func (o *PlayerCardsDeckSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PlayerCardsDeckSlice) UpdateAll ¶
func (o PlayerCardsDeckSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PlayerCardsDeckSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type PlayerHook ¶
PlayerHook is the signature for custom Player hook methods
type PlayerLimit ¶
type PlayerLimit struct {
PlayerID string `boil:"player_id" json:"player_id" toml:"player_id" yaml:"player_id"`
DungeonsLeft int `boil:"dungeons_left" json:"dungeons_left" toml:"dungeons_left" yaml:"dungeons_left"`
DungeonsResetAt null.Time `boil:"dungeons_reset_at" json:"dungeons_reset_at,omitempty" toml:"dungeons_reset_at" yaml:"dungeons_reset_at,omitempty"`
CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
DeletedAt null.Time `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`
R *playerLimitR `boil:"-" json:"-" toml:"-" yaml:"-"`
L playerLimitL `boil:"-" json:"-" toml:"-" yaml:"-"`
}
PlayerLimit is an object representing the database table.
func FindPlayerLimit ¶
func FindPlayerLimit(ctx context.Context, exec boil.ContextExecutor, playerID string, selectCols ...string) (*PlayerLimit, error)
FindPlayerLimit retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPlayerLimitG ¶
func FindPlayerLimitG(ctx context.Context, playerID string, selectCols ...string) (*PlayerLimit, error)
FindPlayerLimitG retrieves a single record by ID.
func (*PlayerLimit) Delete ¶
func (o *PlayerLimit) Delete(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
Delete deletes a single PlayerLimit record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PlayerLimit) DeleteG ¶
DeleteG deletes a single PlayerLimit record. DeleteG will match against the primary key column to find the record to delete.
func (*PlayerLimit) Exists ¶
func (o *PlayerLimit) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the PlayerLimit row exists.
func (*PlayerLimit) Insert ¶
func (o *PlayerLimit) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*PlayerLimit) InsertG ¶
InsertG a single record. See Insert for whitelist behavior description.
func (*PlayerLimit) Player ¶
func (o *PlayerLimit) Player(mods ...qm.QueryMod) playerQuery
Player pointed to by the foreign key.
func (*PlayerLimit) Reload ¶
func (o *PlayerLimit) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PlayerLimit) ReloadG ¶
func (o *PlayerLimit) ReloadG(ctx context.Context) error
ReloadG refetches the object from the database using the primary keys.
func (*PlayerLimit) SetPlayer ¶
func (o *PlayerLimit) SetPlayer(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Player) error
SetPlayer of the playerLimit to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerLimit.
func (*PlayerLimit) SetPlayerG ¶
SetPlayerG of the playerLimit to the related item. Sets o.R.Player to related. Adds o to related.R.PlayerLimit. Uses the global database handle.
func (*PlayerLimit) Update ¶
func (o *PlayerLimit) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PlayerLimit. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PlayerLimit) UpdateG ¶
UpdateG a single PlayerLimit record using the global executor. See Update for more documentation.
func (*PlayerLimit) Upsert ¶
func (o *PlayerLimit) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns, opts ...UpsertOptionFunc) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PlayerLimitHook ¶
type PlayerLimitHook func(context.Context, boil.ContextExecutor, *PlayerLimit) error
PlayerLimitHook is the signature for custom PlayerLimit hook methods
type PlayerLimitSlice ¶
type PlayerLimitSlice []*PlayerLimit
PlayerLimitSlice is an alias for a slice of pointers to PlayerLimit. This should almost always be used instead of []PlayerLimit.
func (PlayerLimitSlice) DeleteAll ¶
func (o PlayerLimitSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PlayerLimitSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*PlayerLimitSlice) ReloadAll ¶
func (o *PlayerLimitSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PlayerLimitSlice) ReloadAllG ¶
func (o *PlayerLimitSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PlayerLimitSlice) UpdateAll ¶
func (o PlayerLimitSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PlayerLimitSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type PlayerSlice ¶
type PlayerSlice []*Player
PlayerSlice is an alias for a slice of pointers to Player. This should almost always be used instead of []Player.
func (PlayerSlice) DeleteAll ¶
func (o PlayerSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor, hardDelete bool) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (PlayerSlice) DeleteAllG ¶
DeleteAllG deletes all rows in the slice.
func (*PlayerSlice) ReloadAll ¶
func (o *PlayerSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PlayerSlice) ReloadAllG ¶
func (o *PlayerSlice) ReloadAllG(ctx context.Context) error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PlayerSlice) UpdateAll ¶
func (o PlayerSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
func (PlayerSlice) UpdateAllG ¶
UpdateAllG updates all rows with the specified column values.
type UpsertOptionFunc ¶
type UpsertOptionFunc func(o *UpsertOptions)
func UpsertConflictTarget ¶
func UpsertConflictTarget(conflictTarget string) UpsertOptionFunc
func UpsertUpdateSet ¶
func UpsertUpdateSet(updateSet string) UpsertOptionFunc
type UpsertOptions ¶
type UpsertOptions struct {
// contains filtered or unexported fields
}
Source Files
¶
- auctions.go
- auctions_bids.go
- auth_cookies.go
- auth_discord_states.go
- auth_github_states.go
- boil_queries.go
- boil_table_names.go
- boil_types.go
- boil_view_names.go
- card_types.go
- cards.go
- cards_stats.go
- dailies.go
- dungeons.go
- github_stars.go
- jobs.go
- listings.go
- loot_boxes.go
- player_card_favorites.go
- player_cards.go
- player_cards_deck.go
- player_limits.go
- players.go
- psql_upsert.go