✨ add i18n support
This commit is contained in:
@@ -14,6 +14,12 @@ const (
|
||||
Label = "sca_auth_user_social"
|
||||
// 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"
|
||||
// FieldDeleted holds the string denoting the deleted field in the database.
|
||||
FieldDeleted = "deleted"
|
||||
// FieldUserID holds the string denoting the user_id field in the database.
|
||||
FieldUserID = "user_id"
|
||||
// FieldOpenID holds the string denoting the open_id field in the database.
|
||||
@@ -22,21 +28,15 @@ const (
|
||||
FieldSource = "source"
|
||||
// FieldStatus holds the string denoting the status field in the database.
|
||||
FieldStatus = "status"
|
||||
// FieldCreatedAt holds the string denoting the created_at field in the database.
|
||||
FieldCreatedAt = "created_at"
|
||||
// FieldUpdateAt holds the string denoting the update_at field in the database.
|
||||
FieldUpdateAt = "update_at"
|
||||
// FieldDeleted holds the string denoting the deleted field in the database.
|
||||
FieldDeleted = "deleted"
|
||||
// EdgeScaAuthUser holds the string denoting the sca_auth_user edge name in mutations.
|
||||
EdgeScaAuthUser = "sca_auth_user"
|
||||
// Table holds the table name of the scaauthusersocial in the database.
|
||||
Table = "sca_auth_user_socials"
|
||||
Table = "sca_auth_user_social"
|
||||
// ScaAuthUserTable is the table that holds the sca_auth_user relation/edge.
|
||||
ScaAuthUserTable = "sca_auth_user_socials"
|
||||
ScaAuthUserTable = "sca_auth_user_social"
|
||||
// ScaAuthUserInverseTable is the table name for the ScaAuthUser entity.
|
||||
// It exists in this package in order to avoid circular dependency with the "scaauthuser" package.
|
||||
ScaAuthUserInverseTable = "sca_auth_users"
|
||||
ScaAuthUserInverseTable = "sca_auth_user"
|
||||
// ScaAuthUserColumn is the table column denoting the sca_auth_user relation/edge.
|
||||
ScaAuthUserColumn = "sca_auth_user_sca_auth_user_social"
|
||||
)
|
||||
@@ -44,16 +44,16 @@ const (
|
||||
// Columns holds all SQL columns for scaauthusersocial fields.
|
||||
var Columns = []string{
|
||||
FieldID,
|
||||
FieldCreatedAt,
|
||||
FieldUpdatedAt,
|
||||
FieldDeleted,
|
||||
FieldUserID,
|
||||
FieldOpenID,
|
||||
FieldSource,
|
||||
FieldStatus,
|
||||
FieldCreatedAt,
|
||||
FieldUpdateAt,
|
||||
FieldDeleted,
|
||||
}
|
||||
|
||||
// ForeignKeys holds the SQL foreign-keys that are owned by the "sca_auth_user_socials"
|
||||
// ForeignKeys holds the SQL foreign-keys that are owned by the "sca_auth_user_social"
|
||||
// table and are not defined as standalone fields in the schema.
|
||||
var ForeignKeys = []string{
|
||||
"sca_auth_user_sca_auth_user_social",
|
||||
@@ -75,6 +75,16 @@ func ValidColumn(column string) bool {
|
||||
}
|
||||
|
||||
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
|
||||
// DefaultDeleted holds the default value on creation for the "deleted" field.
|
||||
DefaultDeleted int8
|
||||
// DeletedValidator is a validator for the "deleted" field. It is called by the builders before save.
|
||||
DeletedValidator func(int8) error
|
||||
// UserIDValidator is a validator for the "user_id" field. It is called by the builders before save.
|
||||
UserIDValidator func(string) error
|
||||
// OpenIDValidator is a validator for the "open_id" field. It is called by the builders before save.
|
||||
@@ -83,14 +93,6 @@ var (
|
||||
SourceValidator func(string) error
|
||||
// DefaultStatus holds the default value on creation for the "status" field.
|
||||
DefaultStatus int
|
||||
// DefaultCreatedAt holds the default value on creation for the "created_at" field.
|
||||
DefaultCreatedAt func() time.Time
|
||||
// DefaultUpdateAt holds the default value on creation for the "update_at" field.
|
||||
DefaultUpdateAt func() time.Time
|
||||
// UpdateDefaultUpdateAt holds the default value on update for the "update_at" field.
|
||||
UpdateDefaultUpdateAt func() time.Time
|
||||
// DefaultDeleted holds the default value on creation for the "deleted" field.
|
||||
DefaultDeleted int
|
||||
)
|
||||
|
||||
// OrderOption defines the ordering options for the ScaAuthUserSocial queries.
|
||||
@@ -101,6 +103,21 @@ func ByID(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldID, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCreatedAt orders the results by the created_at field.
|
||||
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCreatedAt, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByUpdatedAt orders the results by the updated_at field.
|
||||
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldUpdatedAt, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByDeleted orders the results by the deleted field.
|
||||
func ByDeleted(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldDeleted, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByUserID orders the results by the user_id field.
|
||||
func ByUserID(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldUserID, opts...).ToFunc()
|
||||
@@ -121,21 +138,6 @@ func ByStatus(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldStatus, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByCreatedAt orders the results by the created_at field.
|
||||
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCreatedAt, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByUpdateAt orders the results by the update_at field.
|
||||
func ByUpdateAt(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldUpdateAt, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByDeleted orders the results by the deleted field.
|
||||
func ByDeleted(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldDeleted, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByScaAuthUserField orders the results by sca_auth_user field.
|
||||
func ByScaAuthUserField(field string, opts ...sql.OrderTermOption) OrderOption {
|
||||
return func(s *sql.Selector) {
|
||||
|
@@ -55,6 +55,21 @@ func IDLTE(id int64) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldID, id))
|
||||
}
|
||||
|
||||
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
||||
func CreatedAt(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
|
||||
func UpdatedAt(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUpdatedAt, v))
|
||||
}
|
||||
|
||||
// Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
|
||||
func Deleted(v int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
|
||||
func UserID(v string) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUserID, v))
|
||||
@@ -75,21 +90,136 @@ func Status(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldStatus, v))
|
||||
}
|
||||
|
||||
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
|
||||
func CreatedAt(v time.Time) predicate.ScaAuthUserSocial {
|
||||
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
||||
func CreatedAtEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// UpdateAt applies equality check predicate on the "update_at" field. It's identical to UpdateAtEQ.
|
||||
func UpdateAt(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUpdateAt, v))
|
||||
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
||||
func CreatedAtNEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.
|
||||
func Deleted(v int) predicate.ScaAuthUserSocial {
|
||||
// CreatedAtIn applies the In predicate on the "created_at" field.
|
||||
func CreatedAtIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
||||
func CreatedAtNotIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
||||
func CreatedAtGT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
||||
func CreatedAtGTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
||||
func CreatedAtLT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
||||
func CreatedAtLTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
|
||||
func UpdatedAtEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUpdatedAt, v))
|
||||
}
|
||||
|
||||
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
|
||||
func UpdatedAtNEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldUpdatedAt, v))
|
||||
}
|
||||
|
||||
// UpdatedAtIn applies the In predicate on the "updated_at" field.
|
||||
func UpdatedAtIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIn(FieldUpdatedAt, vs...))
|
||||
}
|
||||
|
||||
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
|
||||
func UpdatedAtNotIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldUpdatedAt, vs...))
|
||||
}
|
||||
|
||||
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
|
||||
func UpdatedAtGT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGT(FieldUpdatedAt, v))
|
||||
}
|
||||
|
||||
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
|
||||
func UpdatedAtGTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldUpdatedAt, v))
|
||||
}
|
||||
|
||||
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
|
||||
func UpdatedAtLT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLT(FieldUpdatedAt, v))
|
||||
}
|
||||
|
||||
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
|
||||
func UpdatedAtLTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldUpdatedAt, v))
|
||||
}
|
||||
|
||||
// DeletedEQ applies the EQ predicate on the "deleted" field.
|
||||
func DeletedEQ(v int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedNEQ applies the NEQ predicate on the "deleted" field.
|
||||
func DeletedNEQ(v int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedIn applies the In predicate on the "deleted" field.
|
||||
func DeletedIn(vs ...int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIn(FieldDeleted, vs...))
|
||||
}
|
||||
|
||||
// DeletedNotIn applies the NotIn predicate on the "deleted" field.
|
||||
func DeletedNotIn(vs ...int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldDeleted, vs...))
|
||||
}
|
||||
|
||||
// DeletedGT applies the GT predicate on the "deleted" field.
|
||||
func DeletedGT(v int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGT(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedGTE applies the GTE predicate on the "deleted" field.
|
||||
func DeletedGTE(v int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedLT applies the LT predicate on the "deleted" field.
|
||||
func DeletedLT(v int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLT(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedLTE applies the LTE predicate on the "deleted" field.
|
||||
func DeletedLTE(v int8) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedIsNil applies the IsNil predicate on the "deleted" field.
|
||||
func DeletedIsNil() predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIsNull(FieldDeleted))
|
||||
}
|
||||
|
||||
// DeletedNotNil applies the NotNil predicate on the "deleted" field.
|
||||
func DeletedNotNil() predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotNull(FieldDeleted))
|
||||
}
|
||||
|
||||
// UserIDEQ applies the EQ predicate on the "user_id" field.
|
||||
func UserIDEQ(v string) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUserID, v))
|
||||
@@ -325,136 +455,6 @@ func StatusLTE(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldStatus, v))
|
||||
}
|
||||
|
||||
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
|
||||
func CreatedAtEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
|
||||
func CreatedAtNEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtIn applies the In predicate on the "created_at" field.
|
||||
func CreatedAtIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
|
||||
func CreatedAtNotIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldCreatedAt, vs...))
|
||||
}
|
||||
|
||||
// CreatedAtGT applies the GT predicate on the "created_at" field.
|
||||
func CreatedAtGT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
|
||||
func CreatedAtGTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLT applies the LT predicate on the "created_at" field.
|
||||
func CreatedAtLT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLT(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
|
||||
func CreatedAtLTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldCreatedAt, v))
|
||||
}
|
||||
|
||||
// UpdateAtEQ applies the EQ predicate on the "update_at" field.
|
||||
func UpdateAtEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldUpdateAt, v))
|
||||
}
|
||||
|
||||
// UpdateAtNEQ applies the NEQ predicate on the "update_at" field.
|
||||
func UpdateAtNEQ(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldUpdateAt, v))
|
||||
}
|
||||
|
||||
// UpdateAtIn applies the In predicate on the "update_at" field.
|
||||
func UpdateAtIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIn(FieldUpdateAt, vs...))
|
||||
}
|
||||
|
||||
// UpdateAtNotIn applies the NotIn predicate on the "update_at" field.
|
||||
func UpdateAtNotIn(vs ...time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldUpdateAt, vs...))
|
||||
}
|
||||
|
||||
// UpdateAtGT applies the GT predicate on the "update_at" field.
|
||||
func UpdateAtGT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGT(FieldUpdateAt, v))
|
||||
}
|
||||
|
||||
// UpdateAtGTE applies the GTE predicate on the "update_at" field.
|
||||
func UpdateAtGTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldUpdateAt, v))
|
||||
}
|
||||
|
||||
// UpdateAtLT applies the LT predicate on the "update_at" field.
|
||||
func UpdateAtLT(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLT(FieldUpdateAt, v))
|
||||
}
|
||||
|
||||
// UpdateAtLTE applies the LTE predicate on the "update_at" field.
|
||||
func UpdateAtLTE(v time.Time) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldUpdateAt, v))
|
||||
}
|
||||
|
||||
// UpdateAtIsNil applies the IsNil predicate on the "update_at" field.
|
||||
func UpdateAtIsNil() predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIsNull(FieldUpdateAt))
|
||||
}
|
||||
|
||||
// UpdateAtNotNil applies the NotNil predicate on the "update_at" field.
|
||||
func UpdateAtNotNil() predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotNull(FieldUpdateAt))
|
||||
}
|
||||
|
||||
// DeletedEQ applies the EQ predicate on the "deleted" field.
|
||||
func DeletedEQ(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedNEQ applies the NEQ predicate on the "deleted" field.
|
||||
func DeletedNEQ(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNEQ(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedIn applies the In predicate on the "deleted" field.
|
||||
func DeletedIn(vs ...int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldIn(FieldDeleted, vs...))
|
||||
}
|
||||
|
||||
// DeletedNotIn applies the NotIn predicate on the "deleted" field.
|
||||
func DeletedNotIn(vs ...int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldNotIn(FieldDeleted, vs...))
|
||||
}
|
||||
|
||||
// DeletedGT applies the GT predicate on the "deleted" field.
|
||||
func DeletedGT(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGT(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedGTE applies the GTE predicate on the "deleted" field.
|
||||
func DeletedGTE(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldGTE(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedLT applies the LT predicate on the "deleted" field.
|
||||
func DeletedLT(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLT(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// DeletedLTE applies the LTE predicate on the "deleted" field.
|
||||
func DeletedLTE(v int) predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(sql.FieldLTE(FieldDeleted, v))
|
||||
}
|
||||
|
||||
// HasScaAuthUser applies the HasEdge predicate on the "sca_auth_user" edge.
|
||||
func HasScaAuthUser() predicate.ScaAuthUserSocial {
|
||||
return predicate.ScaAuthUserSocial(func(s *sql.Selector) {
|
||||
|
Reference in New Issue
Block a user