Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserLoginMethod) predicate.UserLoginMethod
- func CreatedAt(v time.Time) predicate.UserLoginMethod
- func CreatedAtEQ(v time.Time) predicate.UserLoginMethod
- func CreatedAtGT(v time.Time) predicate.UserLoginMethod
- func CreatedAtGTE(v time.Time) predicate.UserLoginMethod
- func CreatedAtIn(vs ...time.Time) predicate.UserLoginMethod
- func CreatedAtLT(v time.Time) predicate.UserLoginMethod
- func CreatedAtLTE(v time.Time) predicate.UserLoginMethod
- func CreatedAtNEQ(v time.Time) predicate.UserLoginMethod
- func CreatedAtNotIn(vs ...time.Time) predicate.UserLoginMethod
- func DeletedAt(v time.Time) predicate.UserLoginMethod
- func DeletedAtEQ(v time.Time) predicate.UserLoginMethod
- func DeletedAtGT(v time.Time) predicate.UserLoginMethod
- func DeletedAtGTE(v time.Time) predicate.UserLoginMethod
- func DeletedAtIn(vs ...time.Time) predicate.UserLoginMethod
- func DeletedAtIsNil() predicate.UserLoginMethod
- func DeletedAtLT(v time.Time) predicate.UserLoginMethod
- func DeletedAtLTE(v time.Time) predicate.UserLoginMethod
- func DeletedAtNEQ(v time.Time) predicate.UserLoginMethod
- func DeletedAtNotIn(vs ...time.Time) predicate.UserLoginMethod
- func DeletedAtNotNil() predicate.UserLoginMethod
- func ID(id uint64) predicate.UserLoginMethod
- func IDEQ(id uint64) predicate.UserLoginMethod
- func IDGT(id uint64) predicate.UserLoginMethod
- func IDGTE(id uint64) predicate.UserLoginMethod
- func IDIn(ids ...uint64) predicate.UserLoginMethod
- func IDLT(id uint64) predicate.UserLoginMethod
- func IDLTE(id uint64) predicate.UserLoginMethod
- func IDNEQ(id uint64) predicate.UserLoginMethod
- func IDNotIn(ids ...uint64) predicate.UserLoginMethod
- func Identifier(v string) predicate.UserLoginMethod
- func IdentifierContains(v string) predicate.UserLoginMethod
- func IdentifierContainsFold(v string) predicate.UserLoginMethod
- func IdentifierEQ(v string) predicate.UserLoginMethod
- func IdentifierEqualFold(v string) predicate.UserLoginMethod
- func IdentifierGT(v string) predicate.UserLoginMethod
- func IdentifierGTE(v string) predicate.UserLoginMethod
- func IdentifierHasPrefix(v string) predicate.UserLoginMethod
- func IdentifierHasSuffix(v string) predicate.UserLoginMethod
- func IdentifierIn(vs ...string) predicate.UserLoginMethod
- func IdentifierLT(v string) predicate.UserLoginMethod
- func IdentifierLTE(v string) predicate.UserLoginMethod
- func IdentifierNEQ(v string) predicate.UserLoginMethod
- func IdentifierNotIn(vs ...string) predicate.UserLoginMethod
- func LoginType(v string) predicate.UserLoginMethod
- func LoginTypeContains(v string) predicate.UserLoginMethod
- func LoginTypeContainsFold(v string) predicate.UserLoginMethod
- func LoginTypeEQ(v string) predicate.UserLoginMethod
- func LoginTypeEqualFold(v string) predicate.UserLoginMethod
- func LoginTypeGT(v string) predicate.UserLoginMethod
- func LoginTypeGTE(v string) predicate.UserLoginMethod
- func LoginTypeHasPrefix(v string) predicate.UserLoginMethod
- func LoginTypeHasSuffix(v string) predicate.UserLoginMethod
- func LoginTypeIn(vs ...string) predicate.UserLoginMethod
- func LoginTypeLT(v string) predicate.UserLoginMethod
- func LoginTypeLTE(v string) predicate.UserLoginMethod
- func LoginTypeNEQ(v string) predicate.UserLoginMethod
- func LoginTypeNotIn(vs ...string) predicate.UserLoginMethod
- func Not(p predicate.UserLoginMethod) predicate.UserLoginMethod
- func Or(predicates ...predicate.UserLoginMethod) predicate.UserLoginMethod
- func UpdatedAt(v time.Time) predicate.UserLoginMethod
- func UpdatedAtEQ(v time.Time) predicate.UserLoginMethod
- func UpdatedAtGT(v time.Time) predicate.UserLoginMethod
- func UpdatedAtGTE(v time.Time) predicate.UserLoginMethod
- func UpdatedAtIn(vs ...time.Time) predicate.UserLoginMethod
- func UpdatedAtLT(v time.Time) predicate.UserLoginMethod
- func UpdatedAtLTE(v time.Time) predicate.UserLoginMethod
- func UpdatedAtNEQ(v time.Time) predicate.UserLoginMethod
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserLoginMethod
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
- func ByLoginType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the userloginmethod type in the database. Label = "user_login_method" // FieldID holds the string denoting the id field in the database. FieldID = "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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldLoginType holds the string denoting the login_type field in the database. FieldLoginType = "login_type" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "identifier" // Table holds the table name of the userloginmethod in the database. Table = "user_login_methods" )
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() uint64 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldLoginType, FieldIdentifier, }
Columns holds all SQL columns for userloginmethod fields.
var ForeignKeys = []string{
"user_login_methods",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "user_login_methods" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.UserLoginMethod) predicate.UserLoginMethod
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserLoginMethod
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserLoginMethod
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserLoginMethod
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserLoginMethod
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserLoginMethod
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserLoginMethod
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserLoginMethod
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserLoginMethod
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserLoginMethod
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.UserLoginMethod
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.UserLoginMethod
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.UserLoginMethod
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.UserLoginMethod
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.UserLoginMethod
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.UserLoginMethod
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.UserLoginMethod
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.UserLoginMethod
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.UserLoginMethod
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.UserLoginMethod
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.UserLoginMethod
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func IDEQ ¶
func IDEQ(id uint64) predicate.UserLoginMethod
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.UserLoginMethod
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.UserLoginMethod
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.UserLoginMethod
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.UserLoginMethod
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.UserLoginMethod
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.UserLoginMethod
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.UserLoginMethod
IDNotIn applies the NotIn predicate on the ID field.
func Identifier ¶
func Identifier(v string) predicate.UserLoginMethod
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
func IdentifierContains(v string) predicate.UserLoginMethod
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
func IdentifierContainsFold(v string) predicate.UserLoginMethod
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
func IdentifierEQ(v string) predicate.UserLoginMethod
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
func IdentifierEqualFold(v string) predicate.UserLoginMethod
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
func IdentifierGT(v string) predicate.UserLoginMethod
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
func IdentifierGTE(v string) predicate.UserLoginMethod
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
func IdentifierHasPrefix(v string) predicate.UserLoginMethod
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
func IdentifierHasSuffix(v string) predicate.UserLoginMethod
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
func IdentifierIn(vs ...string) predicate.UserLoginMethod
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierLT ¶
func IdentifierLT(v string) predicate.UserLoginMethod
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
func IdentifierLTE(v string) predicate.UserLoginMethod
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
func IdentifierNEQ(v string) predicate.UserLoginMethod
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
func IdentifierNotIn(vs ...string) predicate.UserLoginMethod
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func LoginType ¶
func LoginType(v string) predicate.UserLoginMethod
LoginType applies equality check predicate on the "login_type" field. It's identical to LoginTypeEQ.
func LoginTypeContains ¶
func LoginTypeContains(v string) predicate.UserLoginMethod
LoginTypeContains applies the Contains predicate on the "login_type" field.
func LoginTypeContainsFold ¶
func LoginTypeContainsFold(v string) predicate.UserLoginMethod
LoginTypeContainsFold applies the ContainsFold predicate on the "login_type" field.
func LoginTypeEQ ¶
func LoginTypeEQ(v string) predicate.UserLoginMethod
LoginTypeEQ applies the EQ predicate on the "login_type" field.
func LoginTypeEqualFold ¶
func LoginTypeEqualFold(v string) predicate.UserLoginMethod
LoginTypeEqualFold applies the EqualFold predicate on the "login_type" field.
func LoginTypeGT ¶
func LoginTypeGT(v string) predicate.UserLoginMethod
LoginTypeGT applies the GT predicate on the "login_type" field.
func LoginTypeGTE ¶
func LoginTypeGTE(v string) predicate.UserLoginMethod
LoginTypeGTE applies the GTE predicate on the "login_type" field.
func LoginTypeHasPrefix ¶
func LoginTypeHasPrefix(v string) predicate.UserLoginMethod
LoginTypeHasPrefix applies the HasPrefix predicate on the "login_type" field.
func LoginTypeHasSuffix ¶
func LoginTypeHasSuffix(v string) predicate.UserLoginMethod
LoginTypeHasSuffix applies the HasSuffix predicate on the "login_type" field.
func LoginTypeIn ¶
func LoginTypeIn(vs ...string) predicate.UserLoginMethod
LoginTypeIn applies the In predicate on the "login_type" field.
func LoginTypeLT ¶
func LoginTypeLT(v string) predicate.UserLoginMethod
LoginTypeLT applies the LT predicate on the "login_type" field.
func LoginTypeLTE ¶
func LoginTypeLTE(v string) predicate.UserLoginMethod
LoginTypeLTE applies the LTE predicate on the "login_type" field.
func LoginTypeNEQ ¶
func LoginTypeNEQ(v string) predicate.UserLoginMethod
LoginTypeNEQ applies the NEQ predicate on the "login_type" field.
func LoginTypeNotIn ¶
func LoginTypeNotIn(vs ...string) predicate.UserLoginMethod
LoginTypeNotIn applies the NotIn predicate on the "login_type" field.
func Not ¶
func Not(p predicate.UserLoginMethod) predicate.UserLoginMethod
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserLoginMethod) predicate.UserLoginMethod
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserLoginMethod
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserLoginMethod
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserLoginMethod
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserLoginMethod
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserLoginMethod
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserLoginMethod
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserLoginMethod
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserLoginMethod
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserLoginMethod
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 ¶
type OrderOption ¶
OrderOption defines the ordering options for the UserLoginMethod queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdentifier ¶
func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
ByIdentifier orders the results by the identifier field.
func ByLoginType ¶
func ByLoginType(opts ...sql.OrderTermOption) OrderOption
ByLoginType orders the results by the login_type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.