Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserPlatformTokens) predicate.UserPlatformTokens
- func AppID(v string) predicate.UserPlatformTokens
- func AppIDContains(v string) predicate.UserPlatformTokens
- func AppIDContainsFold(v string) predicate.UserPlatformTokens
- func AppIDEQ(v string) predicate.UserPlatformTokens
- func AppIDEqualFold(v string) predicate.UserPlatformTokens
- func AppIDGT(v string) predicate.UserPlatformTokens
- func AppIDGTE(v string) predicate.UserPlatformTokens
- func AppIDHasPrefix(v string) predicate.UserPlatformTokens
- func AppIDHasSuffix(v string) predicate.UserPlatformTokens
- func AppIDIn(vs ...string) predicate.UserPlatformTokens
- func AppIDLT(v string) predicate.UserPlatformTokens
- func AppIDLTE(v string) predicate.UserPlatformTokens
- func AppIDNEQ(v string) predicate.UserPlatformTokens
- func AppIDNotIn(vs ...string) predicate.UserPlatformTokens
- func CreatedAt(v time.Time) predicate.UserPlatformTokens
- func CreatedAtEQ(v time.Time) predicate.UserPlatformTokens
- func CreatedAtGT(v time.Time) predicate.UserPlatformTokens
- func CreatedAtGTE(v time.Time) predicate.UserPlatformTokens
- func CreatedAtIn(vs ...time.Time) predicate.UserPlatformTokens
- func CreatedAtLT(v time.Time) predicate.UserPlatformTokens
- func CreatedAtLTE(v time.Time) predicate.UserPlatformTokens
- func CreatedAtNEQ(v time.Time) predicate.UserPlatformTokens
- func CreatedAtNotIn(vs ...time.Time) predicate.UserPlatformTokens
- func DeviceID(v string) predicate.UserPlatformTokens
- func DeviceIDContains(v string) predicate.UserPlatformTokens
- func DeviceIDContainsFold(v string) predicate.UserPlatformTokens
- func DeviceIDEQ(v string) predicate.UserPlatformTokens
- func DeviceIDEqualFold(v string) predicate.UserPlatformTokens
- func DeviceIDGT(v string) predicate.UserPlatformTokens
- func DeviceIDGTE(v string) predicate.UserPlatformTokens
- func DeviceIDHasPrefix(v string) predicate.UserPlatformTokens
- func DeviceIDHasSuffix(v string) predicate.UserPlatformTokens
- func DeviceIDIn(vs ...string) predicate.UserPlatformTokens
- func DeviceIDLT(v string) predicate.UserPlatformTokens
- func DeviceIDLTE(v string) predicate.UserPlatformTokens
- func DeviceIDNEQ(v string) predicate.UserPlatformTokens
- func DeviceIDNotIn(vs ...string) predicate.UserPlatformTokens
- func ID(id int) predicate.UserPlatformTokens
- func IDEQ(id int) predicate.UserPlatformTokens
- func IDGT(id int) predicate.UserPlatformTokens
- func IDGTE(id int) predicate.UserPlatformTokens
- func IDIn(ids ...int) predicate.UserPlatformTokens
- func IDLT(id int) predicate.UserPlatformTokens
- func IDLTE(id int) predicate.UserPlatformTokens
- func IDNEQ(id int) predicate.UserPlatformTokens
- func IDNotIn(ids ...int) predicate.UserPlatformTokens
- func Not(p predicate.UserPlatformTokens) predicate.UserPlatformTokens
- func Or(predicates ...predicate.UserPlatformTokens) predicate.UserPlatformTokens
- func Token(v string) predicate.UserPlatformTokens
- func TokenContains(v string) predicate.UserPlatformTokens
- func TokenContainsFold(v string) predicate.UserPlatformTokens
- func TokenEQ(v string) predicate.UserPlatformTokens
- func TokenEqualFold(v string) predicate.UserPlatformTokens
- func TokenGT(v string) predicate.UserPlatformTokens
- func TokenGTE(v string) predicate.UserPlatformTokens
- func TokenHasPrefix(v string) predicate.UserPlatformTokens
- func TokenHasSuffix(v string) predicate.UserPlatformTokens
- func TokenIn(vs ...string) predicate.UserPlatformTokens
- func TokenLT(v string) predicate.UserPlatformTokens
- func TokenLTE(v string) predicate.UserPlatformTokens
- func TokenNEQ(v string) predicate.UserPlatformTokens
- func TokenNotIn(vs ...string) predicate.UserPlatformTokens
- func Type(v uint8) predicate.UserPlatformTokens
- func TypeEQ(v uint8) predicate.UserPlatformTokens
- func TypeGT(v uint8) predicate.UserPlatformTokens
- func TypeGTE(v uint8) predicate.UserPlatformTokens
- func TypeIn(vs ...uint8) predicate.UserPlatformTokens
- func TypeLT(v uint8) predicate.UserPlatformTokens
- func TypeLTE(v uint8) predicate.UserPlatformTokens
- func TypeNEQ(v uint8) predicate.UserPlatformTokens
- func TypeNotIn(vs ...uint8) predicate.UserPlatformTokens
- func UpdatedAt(v time.Time) predicate.UserPlatformTokens
- func UpdatedAtEQ(v time.Time) predicate.UserPlatformTokens
- func UpdatedAtGT(v time.Time) predicate.UserPlatformTokens
- func UpdatedAtGTE(v time.Time) predicate.UserPlatformTokens
- func UpdatedAtIn(vs ...time.Time) predicate.UserPlatformTokens
- func UpdatedAtLT(v time.Time) predicate.UserPlatformTokens
- func UpdatedAtLTE(v time.Time) predicate.UserPlatformTokens
- func UpdatedAtNEQ(v time.Time) predicate.UserPlatformTokens
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserPlatformTokens
- func UserID(v string) predicate.UserPlatformTokens
- func UserIDContains(v string) predicate.UserPlatformTokens
- func UserIDContainsFold(v string) predicate.UserPlatformTokens
- func UserIDEQ(v string) predicate.UserPlatformTokens
- func UserIDEqualFold(v string) predicate.UserPlatformTokens
- func UserIDGT(v string) predicate.UserPlatformTokens
- func UserIDGTE(v string) predicate.UserPlatformTokens
- func UserIDHasPrefix(v string) predicate.UserPlatformTokens
- func UserIDHasSuffix(v string) predicate.UserPlatformTokens
- func UserIDIn(vs ...string) predicate.UserPlatformTokens
- func UserIDLT(v string) predicate.UserPlatformTokens
- func UserIDLTE(v string) predicate.UserPlatformTokens
- func UserIDNEQ(v string) predicate.UserPlatformTokens
- func UserIDNotIn(vs ...string) predicate.UserPlatformTokens
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the userplatformtokens type in the database. Label = "user_platform_tokens" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldDeviceID holds the string denoting the device_id field in the database. FieldDeviceID = "device_id" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldAppID holds the string denoting the app_id field in the database. FieldAppID = "app_id" // 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" // Table holds the table name of the userplatformtokens in the database. Table = "user_platform_tokens" )
Variables ¶
var Columns = []string{ FieldID, FieldType, FieldUserID, FieldDeviceID, FieldToken, FieldAppID, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for userplatformtokens fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserPlatformTokens) predicate.UserPlatformTokens
And groups predicates with the AND operator between them.
func AppID ¶
func AppID(v string) predicate.UserPlatformTokens
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDContains ¶
func AppIDContains(v string) predicate.UserPlatformTokens
AppIDContains applies the Contains predicate on the "app_id" field.
func AppIDContainsFold ¶
func AppIDContainsFold(v string) predicate.UserPlatformTokens
AppIDContainsFold applies the ContainsFold predicate on the "app_id" field.
func AppIDEQ ¶
func AppIDEQ(v string) predicate.UserPlatformTokens
AppIDEQ applies the EQ predicate on the "app_id" field.
func AppIDEqualFold ¶
func AppIDEqualFold(v string) predicate.UserPlatformTokens
AppIDEqualFold applies the EqualFold predicate on the "app_id" field.
func AppIDGT ¶
func AppIDGT(v string) predicate.UserPlatformTokens
AppIDGT applies the GT predicate on the "app_id" field.
func AppIDGTE ¶
func AppIDGTE(v string) predicate.UserPlatformTokens
AppIDGTE applies the GTE predicate on the "app_id" field.
func AppIDHasPrefix ¶
func AppIDHasPrefix(v string) predicate.UserPlatformTokens
AppIDHasPrefix applies the HasPrefix predicate on the "app_id" field.
func AppIDHasSuffix ¶
func AppIDHasSuffix(v string) predicate.UserPlatformTokens
AppIDHasSuffix applies the HasSuffix predicate on the "app_id" field.
func AppIDIn ¶
func AppIDIn(vs ...string) predicate.UserPlatformTokens
AppIDIn applies the In predicate on the "app_id" field.
func AppIDLT ¶
func AppIDLT(v string) predicate.UserPlatformTokens
AppIDLT applies the LT predicate on the "app_id" field.
func AppIDLTE ¶
func AppIDLTE(v string) predicate.UserPlatformTokens
AppIDLTE applies the LTE predicate on the "app_id" field.
func AppIDNEQ ¶
func AppIDNEQ(v string) predicate.UserPlatformTokens
AppIDNEQ applies the NEQ predicate on the "app_id" field.
func AppIDNotIn ¶
func AppIDNotIn(vs ...string) predicate.UserPlatformTokens
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserPlatformTokens
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserPlatformTokens
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserPlatformTokens
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserPlatformTokens
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserPlatformTokens
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserPlatformTokens
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserPlatformTokens
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserPlatformTokens
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserPlatformTokens
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeviceID ¶
func DeviceID(v string) predicate.UserPlatformTokens
DeviceID applies equality check predicate on the "device_id" field. It's identical to DeviceIDEQ.
func DeviceIDContains ¶
func DeviceIDContains(v string) predicate.UserPlatformTokens
DeviceIDContains applies the Contains predicate on the "device_id" field.
func DeviceIDContainsFold ¶
func DeviceIDContainsFold(v string) predicate.UserPlatformTokens
DeviceIDContainsFold applies the ContainsFold predicate on the "device_id" field.
func DeviceIDEQ ¶
func DeviceIDEQ(v string) predicate.UserPlatformTokens
DeviceIDEQ applies the EQ predicate on the "device_id" field.
func DeviceIDEqualFold ¶
func DeviceIDEqualFold(v string) predicate.UserPlatformTokens
DeviceIDEqualFold applies the EqualFold predicate on the "device_id" field.
func DeviceIDGT ¶
func DeviceIDGT(v string) predicate.UserPlatformTokens
DeviceIDGT applies the GT predicate on the "device_id" field.
func DeviceIDGTE ¶
func DeviceIDGTE(v string) predicate.UserPlatformTokens
DeviceIDGTE applies the GTE predicate on the "device_id" field.
func DeviceIDHasPrefix ¶
func DeviceIDHasPrefix(v string) predicate.UserPlatformTokens
DeviceIDHasPrefix applies the HasPrefix predicate on the "device_id" field.
func DeviceIDHasSuffix ¶
func DeviceIDHasSuffix(v string) predicate.UserPlatformTokens
DeviceIDHasSuffix applies the HasSuffix predicate on the "device_id" field.
func DeviceIDIn ¶
func DeviceIDIn(vs ...string) predicate.UserPlatformTokens
DeviceIDIn applies the In predicate on the "device_id" field.
func DeviceIDLT ¶
func DeviceIDLT(v string) predicate.UserPlatformTokens
DeviceIDLT applies the LT predicate on the "device_id" field.
func DeviceIDLTE ¶
func DeviceIDLTE(v string) predicate.UserPlatformTokens
DeviceIDLTE applies the LTE predicate on the "device_id" field.
func DeviceIDNEQ ¶
func DeviceIDNEQ(v string) predicate.UserPlatformTokens
DeviceIDNEQ applies the NEQ predicate on the "device_id" field.
func DeviceIDNotIn ¶
func DeviceIDNotIn(vs ...string) predicate.UserPlatformTokens
DeviceIDNotIn applies the NotIn predicate on the "device_id" field.
func IDEQ ¶
func IDEQ(id int) predicate.UserPlatformTokens
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.UserPlatformTokens
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.UserPlatformTokens
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserPlatformTokens
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.UserPlatformTokens
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserPlatformTokens
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserPlatformTokens
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserPlatformTokens
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.UserPlatformTokens) predicate.UserPlatformTokens
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserPlatformTokens) predicate.UserPlatformTokens
Or groups predicates with the OR operator between them.
func Token ¶
func Token(v string) predicate.UserPlatformTokens
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
func TokenContains(v string) predicate.UserPlatformTokens
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
func TokenContainsFold(v string) predicate.UserPlatformTokens
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEQ ¶
func TokenEQ(v string) predicate.UserPlatformTokens
TokenEQ applies the EQ predicate on the "token" field.
func TokenEqualFold ¶
func TokenEqualFold(v string) predicate.UserPlatformTokens
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenGT ¶
func TokenGT(v string) predicate.UserPlatformTokens
TokenGT applies the GT predicate on the "token" field.
func TokenGTE ¶
func TokenGTE(v string) predicate.UserPlatformTokens
TokenGTE applies the GTE predicate on the "token" field.
func TokenHasPrefix ¶
func TokenHasPrefix(v string) predicate.UserPlatformTokens
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
func TokenHasSuffix(v string) predicate.UserPlatformTokens
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIn ¶
func TokenIn(vs ...string) predicate.UserPlatformTokens
TokenIn applies the In predicate on the "token" field.
func TokenLT ¶
func TokenLT(v string) predicate.UserPlatformTokens
TokenLT applies the LT predicate on the "token" field.
func TokenLTE ¶
func TokenLTE(v string) predicate.UserPlatformTokens
TokenLTE applies the LTE predicate on the "token" field.
func TokenNEQ ¶
func TokenNEQ(v string) predicate.UserPlatformTokens
TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNotIn ¶
func TokenNotIn(vs ...string) predicate.UserPlatformTokens
TokenNotIn applies the NotIn predicate on the "token" field.
func Type ¶
func Type(v uint8) predicate.UserPlatformTokens
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeEQ ¶
func TypeEQ(v uint8) predicate.UserPlatformTokens
TypeEQ applies the EQ predicate on the "type" field.
func TypeGT ¶
func TypeGT(v uint8) predicate.UserPlatformTokens
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v uint8) predicate.UserPlatformTokens
TypeGTE applies the GTE predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...uint8) predicate.UserPlatformTokens
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v uint8) predicate.UserPlatformTokens
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v uint8) predicate.UserPlatformTokens
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v uint8) predicate.UserPlatformTokens
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...uint8) predicate.UserPlatformTokens
TypeNotIn applies the NotIn predicate on the "type" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserPlatformTokens
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserPlatformTokens
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserPlatformTokens
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserPlatformTokens
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserPlatformTokens
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserPlatformTokens
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserPlatformTokens
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserPlatformTokens
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserPlatformTokens
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v string) predicate.UserPlatformTokens
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
func UserIDContains(v string) predicate.UserPlatformTokens
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
func UserIDContainsFold(v string) predicate.UserPlatformTokens
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶
func UserIDEQ(v string) predicate.UserPlatformTokens
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶
func UserIDEqualFold(v string) predicate.UserPlatformTokens
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v string) predicate.UserPlatformTokens
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v string) predicate.UserPlatformTokens
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶
func UserIDHasPrefix(v string) predicate.UserPlatformTokens
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
func UserIDHasSuffix(v string) predicate.UserPlatformTokens
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...string) predicate.UserPlatformTokens
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v string) predicate.UserPlatformTokens
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v string) predicate.UserPlatformTokens
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v string) predicate.UserPlatformTokens
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...string) predicate.UserPlatformTokens
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.