Documentation ¶
Index ¶
- Constants
- Variables
- func Amount(v int32) predicate.TipLog
- func AmountEQ(v int32) predicate.TipLog
- func AmountGT(v int32) predicate.TipLog
- func AmountGTE(v int32) predicate.TipLog
- func AmountIn(vs ...int32) predicate.TipLog
- func AmountLT(v int32) predicate.TipLog
- func AmountLTE(v int32) predicate.TipLog
- func AmountNEQ(v int32) predicate.TipLog
- func AmountNotIn(vs ...int32) predicate.TipLog
- func And(predicates ...predicate.TipLog) predicate.TipLog
- func CreatedAt(v time.Time) predicate.TipLog
- func CreatedAtEQ(v time.Time) predicate.TipLog
- func CreatedAtGT(v time.Time) predicate.TipLog
- func CreatedAtGTE(v time.Time) predicate.TipLog
- func CreatedAtIn(vs ...time.Time) predicate.TipLog
- func CreatedAtLT(v time.Time) predicate.TipLog
- func CreatedAtLTE(v time.Time) predicate.TipLog
- func CreatedAtNEQ(v time.Time) predicate.TipLog
- func CreatedAtNotIn(vs ...time.Time) predicate.TipLog
- func HasTipsGiven() predicate.TipLog
- func HasTipsGivenWith(preds ...predicate.User) predicate.TipLog
- func HasTipsReceived() predicate.TipLog
- func HasTipsReceivedWith(preds ...predicate.User) predicate.TipLog
- func ID(id uuid.UUID) predicate.TipLog
- func IDEQ(id uuid.UUID) predicate.TipLog
- func IDGT(id uuid.UUID) predicate.TipLog
- func IDGTE(id uuid.UUID) predicate.TipLog
- func IDIn(ids ...uuid.UUID) predicate.TipLog
- func IDLT(id uuid.UUID) predicate.TipLog
- func IDLTE(id uuid.UUID) predicate.TipLog
- func IDNEQ(id uuid.UUID) predicate.TipLog
- func IDNotIn(ids ...uuid.UUID) predicate.TipLog
- func Not(p predicate.TipLog) predicate.TipLog
- func Or(predicates ...predicate.TipLog) predicate.TipLog
- func TippedBy(v uuid.UUID) predicate.TipLog
- func TippedByEQ(v uuid.UUID) predicate.TipLog
- func TippedByIn(vs ...uuid.UUID) predicate.TipLog
- func TippedByNEQ(v uuid.UUID) predicate.TipLog
- func TippedByNotIn(vs ...uuid.UUID) predicate.TipLog
- func TippedTo(v uuid.UUID) predicate.TipLog
- func TippedToDiscordID(v string) predicate.TipLog
- func TippedToDiscordIDContains(v string) predicate.TipLog
- func TippedToDiscordIDContainsFold(v string) predicate.TipLog
- func TippedToDiscordIDEQ(v string) predicate.TipLog
- func TippedToDiscordIDEqualFold(v string) predicate.TipLog
- func TippedToDiscordIDGT(v string) predicate.TipLog
- func TippedToDiscordIDGTE(v string) predicate.TipLog
- func TippedToDiscordIDHasPrefix(v string) predicate.TipLog
- func TippedToDiscordIDHasSuffix(v string) predicate.TipLog
- func TippedToDiscordIDIn(vs ...string) predicate.TipLog
- func TippedToDiscordIDLT(v string) predicate.TipLog
- func TippedToDiscordIDLTE(v string) predicate.TipLog
- func TippedToDiscordIDNEQ(v string) predicate.TipLog
- func TippedToDiscordIDNotIn(vs ...string) predicate.TipLog
- func TippedToEQ(v uuid.UUID) predicate.TipLog
- func TippedToIn(vs ...uuid.UUID) predicate.TipLog
- func TippedToIsNil() predicate.TipLog
- func TippedToNEQ(v uuid.UUID) predicate.TipLog
- func TippedToNotIn(vs ...uuid.UUID) predicate.TipLog
- func TippedToNotNil() predicate.TipLog
- func UpdatedAt(v time.Time) predicate.TipLog
- func UpdatedAtEQ(v time.Time) predicate.TipLog
- func UpdatedAtGT(v time.Time) predicate.TipLog
- func UpdatedAtGTE(v time.Time) predicate.TipLog
- func UpdatedAtIn(vs ...time.Time) predicate.TipLog
- func UpdatedAtLT(v time.Time) predicate.TipLog
- func UpdatedAtLTE(v time.Time) predicate.TipLog
- func UpdatedAtNEQ(v time.Time) predicate.TipLog
- func UpdatedAtNotIn(vs ...time.Time) predicate.TipLog
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the tiplog type in the database. Label = "tip_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldTippedToDiscordID holds the string denoting the tipped_to_discord_id field in the database. FieldTippedToDiscordID = "tipped_to_discord_id" // FieldTippedBy holds the string denoting the tipped_by field in the database. FieldTippedBy = "tipped_by" // FieldTippedTo holds the string denoting the tipped_to field in the database. FieldTippedTo = "tipped_to" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeTipsReceived holds the string denoting the tips_received edge name in mutations. EdgeTipsReceived = "tips_received" // EdgeTipsGiven holds the string denoting the tips_given edge name in mutations. EdgeTipsGiven = "tips_given" // Table holds the table name of the tiplog in the database. Table = "tip_log" // TipsReceivedTable is the table that holds the tips_received relation/edge. TipsReceivedTable = "tip_log" // TipsReceivedInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. TipsReceivedInverseTable = "users" // TipsReceivedColumn is the table column denoting the tips_received relation/edge. TipsReceivedColumn = "tipped_to" // TipsGivenTable is the table that holds the tips_given relation/edge. TipsGivenTable = "tip_log" // TipsGivenInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. TipsGivenInverseTable = "users" // TipsGivenColumn is the table column denoting the tips_given relation/edge. TipsGivenColumn = "tipped_by" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldAmount, FieldTippedToDiscordID, FieldTippedBy, FieldTippedTo, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for tiplog fields.
Functions ¶
func Amount ¶
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountNotIn ¶
AmountNotIn applies the NotIn predicate on the "amount" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasTipsGiven ¶
HasTipsGiven applies the HasEdge predicate on the "tips_given" edge.
func HasTipsGivenWith ¶
HasTipsGivenWith applies the HasEdge predicate on the "tips_given" edge with a given conditions (other predicates).
func HasTipsReceived ¶
HasTipsReceived applies the HasEdge predicate on the "tips_received" edge.
func HasTipsReceivedWith ¶
HasTipsReceivedWith applies the HasEdge predicate on the "tips_received" edge with a given conditions (other predicates).
func TippedBy ¶
TippedBy applies equality check predicate on the "tipped_by" field. It's identical to TippedByEQ.
func TippedByEQ ¶
TippedByEQ applies the EQ predicate on the "tipped_by" field.
func TippedByIn ¶
TippedByIn applies the In predicate on the "tipped_by" field.
func TippedByNEQ ¶
TippedByNEQ applies the NEQ predicate on the "tipped_by" field.
func TippedByNotIn ¶
TippedByNotIn applies the NotIn predicate on the "tipped_by" field.
func TippedTo ¶
TippedTo applies equality check predicate on the "tipped_to" field. It's identical to TippedToEQ.
func TippedToDiscordID ¶
TippedToDiscordID applies equality check predicate on the "tipped_to_discord_id" field. It's identical to TippedToDiscordIDEQ.
func TippedToDiscordIDContains ¶
TippedToDiscordIDContains applies the Contains predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDContainsFold ¶
TippedToDiscordIDContainsFold applies the ContainsFold predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDEQ ¶
TippedToDiscordIDEQ applies the EQ predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDEqualFold ¶
TippedToDiscordIDEqualFold applies the EqualFold predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDGT ¶
TippedToDiscordIDGT applies the GT predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDGTE ¶
TippedToDiscordIDGTE applies the GTE predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDHasPrefix ¶
TippedToDiscordIDHasPrefix applies the HasPrefix predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDHasSuffix ¶
TippedToDiscordIDHasSuffix applies the HasSuffix predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDIn ¶
TippedToDiscordIDIn applies the In predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDLT ¶
TippedToDiscordIDLT applies the LT predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDLTE ¶
TippedToDiscordIDLTE applies the LTE predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDNEQ ¶
TippedToDiscordIDNEQ applies the NEQ predicate on the "tipped_to_discord_id" field.
func TippedToDiscordIDNotIn ¶
TippedToDiscordIDNotIn applies the NotIn predicate on the "tipped_to_discord_id" field.
func TippedToEQ ¶
TippedToEQ applies the EQ predicate on the "tipped_to" field.
func TippedToIn ¶
TippedToIn applies the In predicate on the "tipped_to" field.
func TippedToIsNil ¶
TippedToIsNil applies the IsNil predicate on the "tipped_to" field.
func TippedToNEQ ¶
TippedToNEQ applies the NEQ predicate on the "tipped_to" field.
func TippedToNotIn ¶
TippedToNotIn applies the NotIn predicate on the "tipped_to" field.
func TippedToNotNil ¶
TippedToNotNil applies the NotNil predicate on the "tipped_to" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.