turn

package
v0.0.0-...-cbae595 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the turn type in the database.
	Label = "turn"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldLocationID holds the string denoting the location_id field in the database.
	FieldLocationID = "location_id"
	// FieldItemID holds the string denoting the item_id field in the database.
	FieldItemID = "item_id"
	// FieldBuyOrSell holds the string denoting the buy_or_sell field in the database.
	FieldBuyOrSell = "buy_or_sell"
	// FieldAmountToGive holds the string denoting the amount_to_give field in the database.
	FieldAmountToGive = "amount_to_give"
	// FieldUserCombatStats holds the string denoting the user_combat_stats field in the database.
	FieldUserCombatStats = "user_combat_stats"
	// FieldDrugLordCombatStats holds the string denoting the drug_lord_combat_stats field in the database.
	FieldDrugLordCombatStats = "drug_lord_combat_stats"
	// FieldTradeOccurs holds the string denoting the trade_occurs field in the database.
	FieldTradeOccurs = "trade_occurs"
	// FieldUserPreTradeItem holds the string denoting the user_pre_trade_item field in the database.
	FieldUserPreTradeItem = "user_pre_trade_item"
	// FieldUserPostTradePreEventItem holds the string denoting the user_post_trade_pre_event_item field in the database.
	FieldUserPostTradePreEventItem = "user_post_trade_pre_event_item"
	// FieldUserPostTradePostEventItem holds the string denoting the user_post_trade_post_event_item field in the database.
	FieldUserPostTradePostEventItem = "user_post_trade_post_event_item"
	// FieldUserPreTradeMoney holds the string denoting the user_pre_trade_money field in the database.
	FieldUserPreTradeMoney = "user_pre_trade_money"
	// FieldUserPostTradePreEventMoney holds the string denoting the user_post_trade_pre_event_money field in the database.
	FieldUserPostTradePreEventMoney = "user_post_trade_pre_event_money"
	// FieldUserPostTradePostEventMoney holds the string denoting the user_post_trade_post_event_money field in the database.
	FieldUserPostTradePostEventMoney = "user_post_trade_post_event_money"
	// FieldMarketPreTradeItem holds the string denoting the market_pre_trade_item field in the database.
	FieldMarketPreTradeItem = "market_pre_trade_item"
	// FieldMarketPostTradePreEventItem holds the string denoting the market_post_trade_pre_event_item field in the database.
	FieldMarketPostTradePreEventItem = "market_post_trade_pre_event_item"
	// FieldMarketPostTradePostEventItem holds the string denoting the market_post_trade_post_event_item field in the database.
	FieldMarketPostTradePostEventItem = "market_post_trade_post_event_item"
	// FieldMarketPreTradeMoney holds the string denoting the market_pre_trademoney field in the database.
	FieldMarketPreTradeMoney = "market_pre_trade_money"
	// FieldMarketPostTradePreEventMoney holds the string denoting the market_post_trade_pre_eventmoney field in the database.
	FieldMarketPostTradePreEventMoney = "market_post_trade_pre_event_money"
	// FieldMarketPostTradePostEventMoney holds the string denoting the market_post_trade_post_eventmoney field in the database.
	FieldMarketPostTradePostEventMoney = "market_post_trade_post_event_money"
	// FieldDealerDash holds the string denoting the dealer_dash field in the database.
	FieldDealerDash = "dealer_dash"
	// FieldWrangleDashedDealer holds the string denoting the wrangle_dashed_dealer field in the database.
	FieldWrangleDashedDealer = "wrangle_dashed_dealer"
	// FieldMugging holds the string denoting the mugging field in the database.
	FieldMugging = "mugging"
	// FieldRunFromMugging holds the string denoting the run_from_mugging field in the database.
	FieldRunFromMugging = "run_from_mugging"
	// FieldGangWar holds the string denoting the gang_war field in the database.
	FieldGangWar = "gang_war"
	// FieldDefendGangWar holds the string denoting the defend_gang_war field in the database.
	FieldDefendGangWar = "defend_gang_war"
	// FieldCopRaid holds the string denoting the cop_raid field in the database.
	FieldCopRaid = "cop_raid"
	// FieldBribeCops holds the string denoting the bribe_cops field in the database.
	FieldBribeCops = "bribe_cops"
	// FieldFindItem holds the string denoting the find_item field in the database.
	FieldFindItem = "find_item"
	// FieldLocalShipment holds the string denoting the local_shipment field in the database.
	FieldLocalShipment = "local_shipment"
	// FieldWarehouseSeizure holds the string denoting the warehouse_seizure field in the database.
	FieldWarehouseSeizure = "warehouse_seizure"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// Table holds the table name of the turn in the database.
	Table = "turns"
)

Variables

View Source
var (
	// UserIDValidator is a validator for the "user_id" field. It is called by the builders before save.
	UserIDValidator func(string) error
	// LocationIDValidator is a validator for the "location_id" field. It is called by the builders before save.
	LocationIDValidator func(string) error
	// ItemIDValidator is a validator for the "item_id" field. It is called by the builders before save.
	ItemIDValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)

Columns holds all SQL columns for turn fields.

Functions

func AmountToGive

func AmountToGive(v schema.BigInt) predicate.Turn

AmountToGive applies equality check predicate on the "amount_to_give" field. It's identical to AmountToGiveEQ.

func AmountToGiveEQ

func AmountToGiveEQ(v schema.BigInt) predicate.Turn

AmountToGiveEQ applies the EQ predicate on the "amount_to_give" field.

func AmountToGiveGT

func AmountToGiveGT(v schema.BigInt) predicate.Turn

AmountToGiveGT applies the GT predicate on the "amount_to_give" field.

func AmountToGiveGTE

func AmountToGiveGTE(v schema.BigInt) predicate.Turn

AmountToGiveGTE applies the GTE predicate on the "amount_to_give" field.

func AmountToGiveIn

func AmountToGiveIn(vs ...schema.BigInt) predicate.Turn

AmountToGiveIn applies the In predicate on the "amount_to_give" field.

func AmountToGiveLT

func AmountToGiveLT(v schema.BigInt) predicate.Turn

AmountToGiveLT applies the LT predicate on the "amount_to_give" field.

func AmountToGiveLTE

func AmountToGiveLTE(v schema.BigInt) predicate.Turn

AmountToGiveLTE applies the LTE predicate on the "amount_to_give" field.

func AmountToGiveNEQ

func AmountToGiveNEQ(v schema.BigInt) predicate.Turn

AmountToGiveNEQ applies the NEQ predicate on the "amount_to_give" field.

func AmountToGiveNotIn

func AmountToGiveNotIn(vs ...schema.BigInt) predicate.Turn

AmountToGiveNotIn applies the NotIn predicate on the "amount_to_give" field.

func And

func And(predicates ...predicate.Turn) predicate.Turn

And groups predicates with the AND operator between them.

func BribeCops

func BribeCops(v bool) predicate.Turn

BribeCops applies equality check predicate on the "bribe_cops" field. It's identical to BribeCopsEQ.

func BribeCopsEQ

func BribeCopsEQ(v bool) predicate.Turn

BribeCopsEQ applies the EQ predicate on the "bribe_cops" field.

func BribeCopsNEQ

func BribeCopsNEQ(v bool) predicate.Turn

BribeCopsNEQ applies the NEQ predicate on the "bribe_cops" field.

func BuyOrSell

func BuyOrSell(v bool) predicate.Turn

BuyOrSell applies equality check predicate on the "buy_or_sell" field. It's identical to BuyOrSellEQ.

func BuyOrSellEQ

func BuyOrSellEQ(v bool) predicate.Turn

BuyOrSellEQ applies the EQ predicate on the "buy_or_sell" field.

func BuyOrSellNEQ

func BuyOrSellNEQ(v bool) predicate.Turn

BuyOrSellNEQ applies the NEQ predicate on the "buy_or_sell" field.

func CopRaid

func CopRaid(v bool) predicate.Turn

CopRaid applies equality check predicate on the "cop_raid" field. It's identical to CopRaidEQ.

func CopRaidEQ

func CopRaidEQ(v bool) predicate.Turn

CopRaidEQ applies the EQ predicate on the "cop_raid" field.

func CopRaidNEQ

func CopRaidNEQ(v bool) predicate.Turn

CopRaidNEQ applies the NEQ predicate on the "cop_raid" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Turn

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Turn

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Turn

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Turn

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Turn

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Turn

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Turn

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Turn

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Turn

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DealerDash

func DealerDash(v bool) predicate.Turn

DealerDash applies equality check predicate on the "dealer_dash" field. It's identical to DealerDashEQ.

func DealerDashEQ

func DealerDashEQ(v bool) predicate.Turn

DealerDashEQ applies the EQ predicate on the "dealer_dash" field.

func DealerDashNEQ

func DealerDashNEQ(v bool) predicate.Turn

DealerDashNEQ applies the NEQ predicate on the "dealer_dash" field.

func DefendGangWar

func DefendGangWar(v bool) predicate.Turn

DefendGangWar applies equality check predicate on the "defend_gang_war" field. It's identical to DefendGangWarEQ.

func DefendGangWarEQ

func DefendGangWarEQ(v bool) predicate.Turn

DefendGangWarEQ applies the EQ predicate on the "defend_gang_war" field.

func DefendGangWarNEQ

func DefendGangWarNEQ(v bool) predicate.Turn

DefendGangWarNEQ applies the NEQ predicate on the "defend_gang_war" field.

func FindItem

func FindItem(v bool) predicate.Turn

FindItem applies equality check predicate on the "find_item" field. It's identical to FindItemEQ.

func FindItemEQ

func FindItemEQ(v bool) predicate.Turn

FindItemEQ applies the EQ predicate on the "find_item" field.

func FindItemNEQ

func FindItemNEQ(v bool) predicate.Turn

FindItemNEQ applies the NEQ predicate on the "find_item" field.

func GangWar

func GangWar(v bool) predicate.Turn

GangWar applies equality check predicate on the "gang_war" field. It's identical to GangWarEQ.

func GangWarEQ

func GangWarEQ(v bool) predicate.Turn

GangWarEQ applies the EQ predicate on the "gang_war" field.

func GangWarNEQ

func GangWarNEQ(v bool) predicate.Turn

GangWarNEQ applies the NEQ predicate on the "gang_war" field.

func ID

func ID(id int) predicate.Turn

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Turn

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Turn

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Turn

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Turn

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Turn

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Turn

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Turn

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Turn

IDNotIn applies the NotIn predicate on the ID field.

func ItemID

func ItemID(v string) predicate.Turn

ItemID applies equality check predicate on the "item_id" field. It's identical to ItemIDEQ.

func ItemIDContains

func ItemIDContains(v string) predicate.Turn

ItemIDContains applies the Contains predicate on the "item_id" field.

func ItemIDContainsFold

func ItemIDContainsFold(v string) predicate.Turn

ItemIDContainsFold applies the ContainsFold predicate on the "item_id" field.

func ItemIDEQ

func ItemIDEQ(v string) predicate.Turn

ItemIDEQ applies the EQ predicate on the "item_id" field.

func ItemIDEqualFold

func ItemIDEqualFold(v string) predicate.Turn

ItemIDEqualFold applies the EqualFold predicate on the "item_id" field.

func ItemIDGT

func ItemIDGT(v string) predicate.Turn

ItemIDGT applies the GT predicate on the "item_id" field.

func ItemIDGTE

func ItemIDGTE(v string) predicate.Turn

ItemIDGTE applies the GTE predicate on the "item_id" field.

func ItemIDHasPrefix

func ItemIDHasPrefix(v string) predicate.Turn

ItemIDHasPrefix applies the HasPrefix predicate on the "item_id" field.

func ItemIDHasSuffix

func ItemIDHasSuffix(v string) predicate.Turn

ItemIDHasSuffix applies the HasSuffix predicate on the "item_id" field.

func ItemIDIn

func ItemIDIn(vs ...string) predicate.Turn

ItemIDIn applies the In predicate on the "item_id" field.

func ItemIDLT

func ItemIDLT(v string) predicate.Turn

ItemIDLT applies the LT predicate on the "item_id" field.

func ItemIDLTE

func ItemIDLTE(v string) predicate.Turn

ItemIDLTE applies the LTE predicate on the "item_id" field.

func ItemIDNEQ

func ItemIDNEQ(v string) predicate.Turn

ItemIDNEQ applies the NEQ predicate on the "item_id" field.

func ItemIDNotIn

func ItemIDNotIn(vs ...string) predicate.Turn

ItemIDNotIn applies the NotIn predicate on the "item_id" field.

func LocalShipment

func LocalShipment(v bool) predicate.Turn

LocalShipment applies equality check predicate on the "local_shipment" field. It's identical to LocalShipmentEQ.

func LocalShipmentEQ

func LocalShipmentEQ(v bool) predicate.Turn

LocalShipmentEQ applies the EQ predicate on the "local_shipment" field.

func LocalShipmentNEQ

func LocalShipmentNEQ(v bool) predicate.Turn

LocalShipmentNEQ applies the NEQ predicate on the "local_shipment" field.

func LocationID

func LocationID(v string) predicate.Turn

LocationID applies equality check predicate on the "location_id" field. It's identical to LocationIDEQ.

func LocationIDContains

func LocationIDContains(v string) predicate.Turn

LocationIDContains applies the Contains predicate on the "location_id" field.

func LocationIDContainsFold

func LocationIDContainsFold(v string) predicate.Turn

LocationIDContainsFold applies the ContainsFold predicate on the "location_id" field.

func LocationIDEQ

func LocationIDEQ(v string) predicate.Turn

LocationIDEQ applies the EQ predicate on the "location_id" field.

func LocationIDEqualFold

func LocationIDEqualFold(v string) predicate.Turn

LocationIDEqualFold applies the EqualFold predicate on the "location_id" field.

func LocationIDGT

func LocationIDGT(v string) predicate.Turn

LocationIDGT applies the GT predicate on the "location_id" field.

func LocationIDGTE

func LocationIDGTE(v string) predicate.Turn

LocationIDGTE applies the GTE predicate on the "location_id" field.

func LocationIDHasPrefix

func LocationIDHasPrefix(v string) predicate.Turn

LocationIDHasPrefix applies the HasPrefix predicate on the "location_id" field.

func LocationIDHasSuffix

func LocationIDHasSuffix(v string) predicate.Turn

LocationIDHasSuffix applies the HasSuffix predicate on the "location_id" field.

func LocationIDIn

func LocationIDIn(vs ...string) predicate.Turn

LocationIDIn applies the In predicate on the "location_id" field.

func LocationIDLT

func LocationIDLT(v string) predicate.Turn

LocationIDLT applies the LT predicate on the "location_id" field.

func LocationIDLTE

func LocationIDLTE(v string) predicate.Turn

LocationIDLTE applies the LTE predicate on the "location_id" field.

func LocationIDNEQ

func LocationIDNEQ(v string) predicate.Turn

LocationIDNEQ applies the NEQ predicate on the "location_id" field.

func LocationIDNotIn

func LocationIDNotIn(vs ...string) predicate.Turn

LocationIDNotIn applies the NotIn predicate on the "location_id" field.

func MarketPostTradePostEventItem

func MarketPostTradePostEventItem(v schema.BigInt) predicate.Turn

MarketPostTradePostEventItem applies equality check predicate on the "market_post_trade_post_event_item" field. It's identical to MarketPostTradePostEventItemEQ.

func MarketPostTradePostEventItemEQ

func MarketPostTradePostEventItemEQ(v schema.BigInt) predicate.Turn

MarketPostTradePostEventItemEQ applies the EQ predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventItemGT

func MarketPostTradePostEventItemGT(v schema.BigInt) predicate.Turn

MarketPostTradePostEventItemGT applies the GT predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventItemGTE

func MarketPostTradePostEventItemGTE(v schema.BigInt) predicate.Turn

MarketPostTradePostEventItemGTE applies the GTE predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventItemIn

func MarketPostTradePostEventItemIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePostEventItemIn applies the In predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventItemLT

func MarketPostTradePostEventItemLT(v schema.BigInt) predicate.Turn

MarketPostTradePostEventItemLT applies the LT predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventItemLTE

func MarketPostTradePostEventItemLTE(v schema.BigInt) predicate.Turn

MarketPostTradePostEventItemLTE applies the LTE predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventItemNEQ

func MarketPostTradePostEventItemNEQ(v schema.BigInt) predicate.Turn

MarketPostTradePostEventItemNEQ applies the NEQ predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventItemNotIn

func MarketPostTradePostEventItemNotIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePostEventItemNotIn applies the NotIn predicate on the "market_post_trade_post_event_item" field.

func MarketPostTradePostEventMoney

func MarketPostTradePostEventMoney(v schema.BigInt) predicate.Turn

MarketPostTradePostEventMoney applies equality check predicate on the "market_post_trade_post_eventMoney" field. It's identical to MarketPostTradePostEventMoneyEQ.

func MarketPostTradePostEventMoneyEQ

func MarketPostTradePostEventMoneyEQ(v schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyEQ applies the EQ predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePostEventMoneyGT

func MarketPostTradePostEventMoneyGT(v schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyGT applies the GT predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePostEventMoneyGTE

func MarketPostTradePostEventMoneyGTE(v schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyGTE applies the GTE predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePostEventMoneyIn

func MarketPostTradePostEventMoneyIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyIn applies the In predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePostEventMoneyLT

func MarketPostTradePostEventMoneyLT(v schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyLT applies the LT predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePostEventMoneyLTE

func MarketPostTradePostEventMoneyLTE(v schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyLTE applies the LTE predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePostEventMoneyNEQ

func MarketPostTradePostEventMoneyNEQ(v schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyNEQ applies the NEQ predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePostEventMoneyNotIn

func MarketPostTradePostEventMoneyNotIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePostEventMoneyNotIn applies the NotIn predicate on the "market_post_trade_post_eventMoney" field.

func MarketPostTradePreEventItem

func MarketPostTradePreEventItem(v schema.BigInt) predicate.Turn

MarketPostTradePreEventItem applies equality check predicate on the "market_post_trade_pre_event_item" field. It's identical to MarketPostTradePreEventItemEQ.

func MarketPostTradePreEventItemEQ

func MarketPostTradePreEventItemEQ(v schema.BigInt) predicate.Turn

MarketPostTradePreEventItemEQ applies the EQ predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventItemGT

func MarketPostTradePreEventItemGT(v schema.BigInt) predicate.Turn

MarketPostTradePreEventItemGT applies the GT predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventItemGTE

func MarketPostTradePreEventItemGTE(v schema.BigInt) predicate.Turn

MarketPostTradePreEventItemGTE applies the GTE predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventItemIn

func MarketPostTradePreEventItemIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePreEventItemIn applies the In predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventItemLT

func MarketPostTradePreEventItemLT(v schema.BigInt) predicate.Turn

MarketPostTradePreEventItemLT applies the LT predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventItemLTE

func MarketPostTradePreEventItemLTE(v schema.BigInt) predicate.Turn

MarketPostTradePreEventItemLTE applies the LTE predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventItemNEQ

func MarketPostTradePreEventItemNEQ(v schema.BigInt) predicate.Turn

MarketPostTradePreEventItemNEQ applies the NEQ predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventItemNotIn

func MarketPostTradePreEventItemNotIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePreEventItemNotIn applies the NotIn predicate on the "market_post_trade_pre_event_item" field.

func MarketPostTradePreEventMoney

func MarketPostTradePreEventMoney(v schema.BigInt) predicate.Turn

MarketPostTradePreEventMoney applies equality check predicate on the "market_post_trade_pre_eventMoney" field. It's identical to MarketPostTradePreEventMoneyEQ.

func MarketPostTradePreEventMoneyEQ

func MarketPostTradePreEventMoneyEQ(v schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyEQ applies the EQ predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPostTradePreEventMoneyGT

func MarketPostTradePreEventMoneyGT(v schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyGT applies the GT predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPostTradePreEventMoneyGTE

func MarketPostTradePreEventMoneyGTE(v schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyGTE applies the GTE predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPostTradePreEventMoneyIn

func MarketPostTradePreEventMoneyIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyIn applies the In predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPostTradePreEventMoneyLT

func MarketPostTradePreEventMoneyLT(v schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyLT applies the LT predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPostTradePreEventMoneyLTE

func MarketPostTradePreEventMoneyLTE(v schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyLTE applies the LTE predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPostTradePreEventMoneyNEQ

func MarketPostTradePreEventMoneyNEQ(v schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyNEQ applies the NEQ predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPostTradePreEventMoneyNotIn

func MarketPostTradePreEventMoneyNotIn(vs ...schema.BigInt) predicate.Turn

MarketPostTradePreEventMoneyNotIn applies the NotIn predicate on the "market_post_trade_pre_eventMoney" field.

func MarketPreTradeItem

func MarketPreTradeItem(v schema.BigInt) predicate.Turn

MarketPreTradeItem applies equality check predicate on the "market_pre_trade_item" field. It's identical to MarketPreTradeItemEQ.

func MarketPreTradeItemEQ

func MarketPreTradeItemEQ(v schema.BigInt) predicate.Turn

MarketPreTradeItemEQ applies the EQ predicate on the "market_pre_trade_item" field.

func MarketPreTradeItemGT

func MarketPreTradeItemGT(v schema.BigInt) predicate.Turn

MarketPreTradeItemGT applies the GT predicate on the "market_pre_trade_item" field.

func MarketPreTradeItemGTE

func MarketPreTradeItemGTE(v schema.BigInt) predicate.Turn

MarketPreTradeItemGTE applies the GTE predicate on the "market_pre_trade_item" field.

func MarketPreTradeItemIn

func MarketPreTradeItemIn(vs ...schema.BigInt) predicate.Turn

MarketPreTradeItemIn applies the In predicate on the "market_pre_trade_item" field.

func MarketPreTradeItemLT

func MarketPreTradeItemLT(v schema.BigInt) predicate.Turn

MarketPreTradeItemLT applies the LT predicate on the "market_pre_trade_item" field.

func MarketPreTradeItemLTE

func MarketPreTradeItemLTE(v schema.BigInt) predicate.Turn

MarketPreTradeItemLTE applies the LTE predicate on the "market_pre_trade_item" field.

func MarketPreTradeItemNEQ

func MarketPreTradeItemNEQ(v schema.BigInt) predicate.Turn

MarketPreTradeItemNEQ applies the NEQ predicate on the "market_pre_trade_item" field.

func MarketPreTradeItemNotIn

func MarketPreTradeItemNotIn(vs ...schema.BigInt) predicate.Turn

MarketPreTradeItemNotIn applies the NotIn predicate on the "market_pre_trade_item" field.

func MarketPreTradeMoney

func MarketPreTradeMoney(v schema.BigInt) predicate.Turn

MarketPreTradeMoney applies equality check predicate on the "market_pre_tradeMoney" field. It's identical to MarketPreTradeMoneyEQ.

func MarketPreTradeMoneyEQ

func MarketPreTradeMoneyEQ(v schema.BigInt) predicate.Turn

MarketPreTradeMoneyEQ applies the EQ predicate on the "market_pre_tradeMoney" field.

func MarketPreTradeMoneyGT

func MarketPreTradeMoneyGT(v schema.BigInt) predicate.Turn

MarketPreTradeMoneyGT applies the GT predicate on the "market_pre_tradeMoney" field.

func MarketPreTradeMoneyGTE

func MarketPreTradeMoneyGTE(v schema.BigInt) predicate.Turn

MarketPreTradeMoneyGTE applies the GTE predicate on the "market_pre_tradeMoney" field.

func MarketPreTradeMoneyIn

func MarketPreTradeMoneyIn(vs ...schema.BigInt) predicate.Turn

MarketPreTradeMoneyIn applies the In predicate on the "market_pre_tradeMoney" field.

func MarketPreTradeMoneyLT

func MarketPreTradeMoneyLT(v schema.BigInt) predicate.Turn

MarketPreTradeMoneyLT applies the LT predicate on the "market_pre_tradeMoney" field.

func MarketPreTradeMoneyLTE

func MarketPreTradeMoneyLTE(v schema.BigInt) predicate.Turn

MarketPreTradeMoneyLTE applies the LTE predicate on the "market_pre_tradeMoney" field.

func MarketPreTradeMoneyNEQ

func MarketPreTradeMoneyNEQ(v schema.BigInt) predicate.Turn

MarketPreTradeMoneyNEQ applies the NEQ predicate on the "market_pre_tradeMoney" field.

func MarketPreTradeMoneyNotIn

func MarketPreTradeMoneyNotIn(vs ...schema.BigInt) predicate.Turn

MarketPreTradeMoneyNotIn applies the NotIn predicate on the "market_pre_tradeMoney" field.

func Mugging

func Mugging(v bool) predicate.Turn

Mugging applies equality check predicate on the "mugging" field. It's identical to MuggingEQ.

func MuggingEQ

func MuggingEQ(v bool) predicate.Turn

MuggingEQ applies the EQ predicate on the "mugging" field.

func MuggingNEQ

func MuggingNEQ(v bool) predicate.Turn

MuggingNEQ applies the NEQ predicate on the "mugging" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Turn) predicate.Turn

Or groups predicates with the OR operator between them.

func RunFromMugging

func RunFromMugging(v bool) predicate.Turn

RunFromMugging applies equality check predicate on the "run_from_mugging" field. It's identical to RunFromMuggingEQ.

func RunFromMuggingEQ

func RunFromMuggingEQ(v bool) predicate.Turn

RunFromMuggingEQ applies the EQ predicate on the "run_from_mugging" field.

func RunFromMuggingNEQ

func RunFromMuggingNEQ(v bool) predicate.Turn

RunFromMuggingNEQ applies the NEQ predicate on the "run_from_mugging" field.

func TradeOccurs

func TradeOccurs(v bool) predicate.Turn

TradeOccurs applies equality check predicate on the "trade_occurs" field. It's identical to TradeOccursEQ.

func TradeOccursEQ

func TradeOccursEQ(v bool) predicate.Turn

TradeOccursEQ applies the EQ predicate on the "trade_occurs" field.

func TradeOccursNEQ

func TradeOccursNEQ(v bool) predicate.Turn

TradeOccursNEQ applies the NEQ predicate on the "trade_occurs" field.

func UserID

func UserID(v string) predicate.Turn

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDContains

func UserIDContains(v string) predicate.Turn

UserIDContains applies the Contains predicate on the "user_id" field.

func UserIDContainsFold

func UserIDContainsFold(v string) predicate.Turn

UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.

func UserIDEQ

func UserIDEQ(v string) predicate.Turn

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDEqualFold

func UserIDEqualFold(v string) predicate.Turn

UserIDEqualFold applies the EqualFold predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v string) predicate.Turn

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v string) predicate.Turn

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDHasPrefix

func UserIDHasPrefix(v string) predicate.Turn

UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.

func UserIDHasSuffix

func UserIDHasSuffix(v string) predicate.Turn

UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...string) predicate.Turn

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v string) predicate.Turn

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v string) predicate.Turn

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v string) predicate.Turn

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...string) predicate.Turn

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func UserPostTradePostEventItem

func UserPostTradePostEventItem(v schema.BigInt) predicate.Turn

UserPostTradePostEventItem applies equality check predicate on the "user_post_trade_post_event_item" field. It's identical to UserPostTradePostEventItemEQ.

func UserPostTradePostEventItemEQ

func UserPostTradePostEventItemEQ(v schema.BigInt) predicate.Turn

UserPostTradePostEventItemEQ applies the EQ predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventItemGT

func UserPostTradePostEventItemGT(v schema.BigInt) predicate.Turn

UserPostTradePostEventItemGT applies the GT predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventItemGTE

func UserPostTradePostEventItemGTE(v schema.BigInt) predicate.Turn

UserPostTradePostEventItemGTE applies the GTE predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventItemIn

func UserPostTradePostEventItemIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePostEventItemIn applies the In predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventItemLT

func UserPostTradePostEventItemLT(v schema.BigInt) predicate.Turn

UserPostTradePostEventItemLT applies the LT predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventItemLTE

func UserPostTradePostEventItemLTE(v schema.BigInt) predicate.Turn

UserPostTradePostEventItemLTE applies the LTE predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventItemNEQ

func UserPostTradePostEventItemNEQ(v schema.BigInt) predicate.Turn

UserPostTradePostEventItemNEQ applies the NEQ predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventItemNotIn

func UserPostTradePostEventItemNotIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePostEventItemNotIn applies the NotIn predicate on the "user_post_trade_post_event_item" field.

func UserPostTradePostEventMoney

func UserPostTradePostEventMoney(v schema.BigInt) predicate.Turn

UserPostTradePostEventMoney applies equality check predicate on the "user_post_trade_post_event_money" field. It's identical to UserPostTradePostEventMoneyEQ.

func UserPostTradePostEventMoneyEQ

func UserPostTradePostEventMoneyEQ(v schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyEQ applies the EQ predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePostEventMoneyGT

func UserPostTradePostEventMoneyGT(v schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyGT applies the GT predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePostEventMoneyGTE

func UserPostTradePostEventMoneyGTE(v schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyGTE applies the GTE predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePostEventMoneyIn

func UserPostTradePostEventMoneyIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyIn applies the In predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePostEventMoneyLT

func UserPostTradePostEventMoneyLT(v schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyLT applies the LT predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePostEventMoneyLTE

func UserPostTradePostEventMoneyLTE(v schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyLTE applies the LTE predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePostEventMoneyNEQ

func UserPostTradePostEventMoneyNEQ(v schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyNEQ applies the NEQ predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePostEventMoneyNotIn

func UserPostTradePostEventMoneyNotIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePostEventMoneyNotIn applies the NotIn predicate on the "user_post_trade_post_event_money" field.

func UserPostTradePreEventItem

func UserPostTradePreEventItem(v schema.BigInt) predicate.Turn

UserPostTradePreEventItem applies equality check predicate on the "user_post_trade_pre_event_item" field. It's identical to UserPostTradePreEventItemEQ.

func UserPostTradePreEventItemEQ

func UserPostTradePreEventItemEQ(v schema.BigInt) predicate.Turn

UserPostTradePreEventItemEQ applies the EQ predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventItemGT

func UserPostTradePreEventItemGT(v schema.BigInt) predicate.Turn

UserPostTradePreEventItemGT applies the GT predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventItemGTE

func UserPostTradePreEventItemGTE(v schema.BigInt) predicate.Turn

UserPostTradePreEventItemGTE applies the GTE predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventItemIn

func UserPostTradePreEventItemIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePreEventItemIn applies the In predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventItemLT

func UserPostTradePreEventItemLT(v schema.BigInt) predicate.Turn

UserPostTradePreEventItemLT applies the LT predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventItemLTE

func UserPostTradePreEventItemLTE(v schema.BigInt) predicate.Turn

UserPostTradePreEventItemLTE applies the LTE predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventItemNEQ

func UserPostTradePreEventItemNEQ(v schema.BigInt) predicate.Turn

UserPostTradePreEventItemNEQ applies the NEQ predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventItemNotIn

func UserPostTradePreEventItemNotIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePreEventItemNotIn applies the NotIn predicate on the "user_post_trade_pre_event_item" field.

func UserPostTradePreEventMoney

func UserPostTradePreEventMoney(v schema.BigInt) predicate.Turn

UserPostTradePreEventMoney applies equality check predicate on the "user_post_trade_pre_event_money" field. It's identical to UserPostTradePreEventMoneyEQ.

func UserPostTradePreEventMoneyEQ

func UserPostTradePreEventMoneyEQ(v schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyEQ applies the EQ predicate on the "user_post_trade_pre_event_money" field.

func UserPostTradePreEventMoneyGT

func UserPostTradePreEventMoneyGT(v schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyGT applies the GT predicate on the "user_post_trade_pre_event_money" field.

func UserPostTradePreEventMoneyGTE

func UserPostTradePreEventMoneyGTE(v schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyGTE applies the GTE predicate on the "user_post_trade_pre_event_money" field.

func UserPostTradePreEventMoneyIn

func UserPostTradePreEventMoneyIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyIn applies the In predicate on the "user_post_trade_pre_event_money" field.

func UserPostTradePreEventMoneyLT

func UserPostTradePreEventMoneyLT(v schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyLT applies the LT predicate on the "user_post_trade_pre_event_money" field.

func UserPostTradePreEventMoneyLTE

func UserPostTradePreEventMoneyLTE(v schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyLTE applies the LTE predicate on the "user_post_trade_pre_event_money" field.

func UserPostTradePreEventMoneyNEQ

func UserPostTradePreEventMoneyNEQ(v schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyNEQ applies the NEQ predicate on the "user_post_trade_pre_event_money" field.

func UserPostTradePreEventMoneyNotIn

func UserPostTradePreEventMoneyNotIn(vs ...schema.BigInt) predicate.Turn

UserPostTradePreEventMoneyNotIn applies the NotIn predicate on the "user_post_trade_pre_event_money" field.

func UserPreTradeItem

func UserPreTradeItem(v schema.BigInt) predicate.Turn

UserPreTradeItem applies equality check predicate on the "user_pre_trade_item" field. It's identical to UserPreTradeItemEQ.

func UserPreTradeItemEQ

func UserPreTradeItemEQ(v schema.BigInt) predicate.Turn

UserPreTradeItemEQ applies the EQ predicate on the "user_pre_trade_item" field.

func UserPreTradeItemGT

func UserPreTradeItemGT(v schema.BigInt) predicate.Turn

UserPreTradeItemGT applies the GT predicate on the "user_pre_trade_item" field.

func UserPreTradeItemGTE

func UserPreTradeItemGTE(v schema.BigInt) predicate.Turn

UserPreTradeItemGTE applies the GTE predicate on the "user_pre_trade_item" field.

func UserPreTradeItemIn

func UserPreTradeItemIn(vs ...schema.BigInt) predicate.Turn

UserPreTradeItemIn applies the In predicate on the "user_pre_trade_item" field.

func UserPreTradeItemLT

func UserPreTradeItemLT(v schema.BigInt) predicate.Turn

UserPreTradeItemLT applies the LT predicate on the "user_pre_trade_item" field.

func UserPreTradeItemLTE

func UserPreTradeItemLTE(v schema.BigInt) predicate.Turn

UserPreTradeItemLTE applies the LTE predicate on the "user_pre_trade_item" field.

func UserPreTradeItemNEQ

func UserPreTradeItemNEQ(v schema.BigInt) predicate.Turn

UserPreTradeItemNEQ applies the NEQ predicate on the "user_pre_trade_item" field.

func UserPreTradeItemNotIn

func UserPreTradeItemNotIn(vs ...schema.BigInt) predicate.Turn

UserPreTradeItemNotIn applies the NotIn predicate on the "user_pre_trade_item" field.

func UserPreTradeMoney

func UserPreTradeMoney(v schema.BigInt) predicate.Turn

UserPreTradeMoney applies equality check predicate on the "user_pre_trade_money" field. It's identical to UserPreTradeMoneyEQ.

func UserPreTradeMoneyEQ

func UserPreTradeMoneyEQ(v schema.BigInt) predicate.Turn

UserPreTradeMoneyEQ applies the EQ predicate on the "user_pre_trade_money" field.

func UserPreTradeMoneyGT

func UserPreTradeMoneyGT(v schema.BigInt) predicate.Turn

UserPreTradeMoneyGT applies the GT predicate on the "user_pre_trade_money" field.

func UserPreTradeMoneyGTE

func UserPreTradeMoneyGTE(v schema.BigInt) predicate.Turn

UserPreTradeMoneyGTE applies the GTE predicate on the "user_pre_trade_money" field.

func UserPreTradeMoneyIn

func UserPreTradeMoneyIn(vs ...schema.BigInt) predicate.Turn

UserPreTradeMoneyIn applies the In predicate on the "user_pre_trade_money" field.

func UserPreTradeMoneyLT

func UserPreTradeMoneyLT(v schema.BigInt) predicate.Turn

UserPreTradeMoneyLT applies the LT predicate on the "user_pre_trade_money" field.

func UserPreTradeMoneyLTE

func UserPreTradeMoneyLTE(v schema.BigInt) predicate.Turn

UserPreTradeMoneyLTE applies the LTE predicate on the "user_pre_trade_money" field.

func UserPreTradeMoneyNEQ

func UserPreTradeMoneyNEQ(v schema.BigInt) predicate.Turn

UserPreTradeMoneyNEQ applies the NEQ predicate on the "user_pre_trade_money" field.

func UserPreTradeMoneyNotIn

func UserPreTradeMoneyNotIn(vs ...schema.BigInt) predicate.Turn

UserPreTradeMoneyNotIn applies the NotIn predicate on the "user_pre_trade_money" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WarehouseSeizure

func WarehouseSeizure(v bool) predicate.Turn

WarehouseSeizure applies equality check predicate on the "warehouse_seizure" field. It's identical to WarehouseSeizureEQ.

func WarehouseSeizureEQ

func WarehouseSeizureEQ(v bool) predicate.Turn

WarehouseSeizureEQ applies the EQ predicate on the "warehouse_seizure" field.

func WarehouseSeizureNEQ

func WarehouseSeizureNEQ(v bool) predicate.Turn

WarehouseSeizureNEQ applies the NEQ predicate on the "warehouse_seizure" field.

func WrangleDashedDealer

func WrangleDashedDealer(v bool) predicate.Turn

WrangleDashedDealer applies equality check predicate on the "wrangle_dashed_dealer" field. It's identical to WrangleDashedDealerEQ.

func WrangleDashedDealerEQ

func WrangleDashedDealerEQ(v bool) predicate.Turn

WrangleDashedDealerEQ applies the EQ predicate on the "wrangle_dashed_dealer" field.

func WrangleDashedDealerNEQ

func WrangleDashedDealerNEQ(v bool) predicate.Turn

WrangleDashedDealerNEQ applies the NEQ predicate on the "wrangle_dashed_dealer" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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