Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserGroups) predicate.UserGroups
- func CreatedAt(v time.Time) predicate.UserGroups
- func CreatedAtEQ(v time.Time) predicate.UserGroups
- func CreatedAtGT(v time.Time) predicate.UserGroups
- func CreatedAtGTE(v time.Time) predicate.UserGroups
- func CreatedAtIn(vs ...time.Time) predicate.UserGroups
- func CreatedAtLT(v time.Time) predicate.UserGroups
- func CreatedAtLTE(v time.Time) predicate.UserGroups
- func CreatedAtNEQ(v time.Time) predicate.UserGroups
- func CreatedAtNotIn(vs ...time.Time) predicate.UserGroups
- func CreatedBy(v int64) predicate.UserGroups
- func CreatedByEQ(v int64) predicate.UserGroups
- func CreatedByGT(v int64) predicate.UserGroups
- func CreatedByGTE(v int64) predicate.UserGroups
- func CreatedByIn(vs ...int64) predicate.UserGroups
- func CreatedByIsNil() predicate.UserGroups
- func CreatedByLT(v int64) predicate.UserGroups
- func CreatedByLTE(v int64) predicate.UserGroups
- func CreatedByNEQ(v int64) predicate.UserGroups
- func CreatedByNotIn(vs ...int64) predicate.UserGroups
- func CreatedByNotNil() predicate.UserGroups
- func Description(v string) predicate.UserGroups
- func DescriptionContains(v string) predicate.UserGroups
- func DescriptionContainsFold(v string) predicate.UserGroups
- func DescriptionEQ(v string) predicate.UserGroups
- func DescriptionEqualFold(v string) predicate.UserGroups
- func DescriptionGT(v string) predicate.UserGroups
- func DescriptionGTE(v string) predicate.UserGroups
- func DescriptionHasPrefix(v string) predicate.UserGroups
- func DescriptionHasSuffix(v string) predicate.UserGroups
- func DescriptionIn(vs ...string) predicate.UserGroups
- func DescriptionLT(v string) predicate.UserGroups
- func DescriptionLTE(v string) predicate.UserGroups
- func DescriptionNEQ(v string) predicate.UserGroups
- func DescriptionNotIn(vs ...string) predicate.UserGroups
- func ExpiredAt(v time.Time) predicate.UserGroups
- func ExpiredAtEQ(v time.Time) predicate.UserGroups
- func ExpiredAtGT(v time.Time) predicate.UserGroups
- func ExpiredAtGTE(v time.Time) predicate.UserGroups
- func ExpiredAtIn(vs ...time.Time) predicate.UserGroups
- func ExpiredAtIsNil() predicate.UserGroups
- func ExpiredAtLT(v time.Time) predicate.UserGroups
- func ExpiredAtLTE(v time.Time) predicate.UserGroups
- func ExpiredAtNEQ(v time.Time) predicate.UserGroups
- func ExpiredAtNotIn(vs ...time.Time) predicate.UserGroups
- func ExpiredAtNotNil() predicate.UserGroups
- func GroupID(v int) predicate.UserGroups
- func GroupIDEQ(v int) predicate.UserGroups
- func GroupIDIn(vs ...int) predicate.UserGroups
- func GroupIDNEQ(v int) predicate.UserGroups
- func GroupIDNotIn(vs ...int) predicate.UserGroups
- func HasLionGroups() predicate.UserGroups
- func HasLionGroupsWith(preds ...predicate.Groups) predicate.UserGroups
- func HasLionUsers() predicate.UserGroups
- func HasLionUsersWith(preds ...predicate.Users) predicate.UserGroups
- func ID(id int) predicate.UserGroups
- func IDEQ(id int) predicate.UserGroups
- func IDGT(id int) predicate.UserGroups
- func IDGTE(id int) predicate.UserGroups
- func IDIn(ids ...int) predicate.UserGroups
- func IDLT(id int) predicate.UserGroups
- func IDLTE(id int) predicate.UserGroups
- func IDNEQ(id int) predicate.UserGroups
- func IDNotIn(ids ...int) predicate.UserGroups
- func JoinedAt(v time.Time) predicate.UserGroups
- func JoinedAtEQ(v time.Time) predicate.UserGroups
- func JoinedAtGT(v time.Time) predicate.UserGroups
- func JoinedAtGTE(v time.Time) predicate.UserGroups
- func JoinedAtIn(vs ...time.Time) predicate.UserGroups
- func JoinedAtIsNil() predicate.UserGroups
- func JoinedAtLT(v time.Time) predicate.UserGroups
- func JoinedAtLTE(v time.Time) predicate.UserGroups
- func JoinedAtNEQ(v time.Time) predicate.UserGroups
- func JoinedAtNotIn(vs ...time.Time) predicate.UserGroups
- func JoinedAtNotNil() predicate.UserGroups
- func MemberRole(v int) predicate.UserGroups
- func MemberRoleEQ(v int) predicate.UserGroups
- func MemberRoleGT(v int) predicate.UserGroups
- func MemberRoleGTE(v int) predicate.UserGroups
- func MemberRoleIn(vs ...int) predicate.UserGroups
- func MemberRoleLT(v int) predicate.UserGroups
- func MemberRoleLTE(v int) predicate.UserGroups
- func MemberRoleNEQ(v int) predicate.UserGroups
- func MemberRoleNotIn(vs ...int) predicate.UserGroups
- func MemberStatus(v int) predicate.UserGroups
- func MemberStatusEQ(v int) predicate.UserGroups
- func MemberStatusGT(v int) predicate.UserGroups
- func MemberStatusGTE(v int) predicate.UserGroups
- func MemberStatusIn(vs ...int) predicate.UserGroups
- func MemberStatusLT(v int) predicate.UserGroups
- func MemberStatusLTE(v int) predicate.UserGroups
- func MemberStatusNEQ(v int) predicate.UserGroups
- func MemberStatusNotIn(vs ...int) predicate.UserGroups
- func MetadataIsNil() predicate.UserGroups
- func MetadataNotNil() predicate.UserGroups
- func Not(p predicate.UserGroups) predicate.UserGroups
- func Or(predicates ...predicate.UserGroups) predicate.UserGroups
- func UpdatedAt(v time.Time) predicate.UserGroups
- func UpdatedAtEQ(v time.Time) predicate.UserGroups
- func UpdatedAtGT(v time.Time) predicate.UserGroups
- func UpdatedAtGTE(v time.Time) predicate.UserGroups
- func UpdatedAtIn(vs ...time.Time) predicate.UserGroups
- func UpdatedAtLT(v time.Time) predicate.UserGroups
- func UpdatedAtLTE(v time.Time) predicate.UserGroups
- func UpdatedAtNEQ(v time.Time) predicate.UserGroups
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserGroups
- func UpdatedBy(v int64) predicate.UserGroups
- func UpdatedByEQ(v int64) predicate.UserGroups
- func UpdatedByGT(v int64) predicate.UserGroups
- func UpdatedByGTE(v int64) predicate.UserGroups
- func UpdatedByIn(vs ...int64) predicate.UserGroups
- func UpdatedByIsNil() predicate.UserGroups
- func UpdatedByLT(v int64) predicate.UserGroups
- func UpdatedByLTE(v int64) predicate.UserGroups
- func UpdatedByNEQ(v int64) predicate.UserGroups
- func UpdatedByNotIn(vs ...int64) predicate.UserGroups
- func UpdatedByNotNil() predicate.UserGroups
- func UserID(v int) predicate.UserGroups
- func UserIDEQ(v int) predicate.UserGroups
- func UserIDIn(vs ...int) predicate.UserGroups
- func UserIDNEQ(v int) predicate.UserGroups
- func UserIDNotIn(vs ...int) predicate.UserGroups
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByExpiredAt(opts ...sql.OrderTermOption) OrderOption
- func ByGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByJoinedAt(opts ...sql.OrderTermOption) OrderOption
- func ByLionGroupsField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLionUsersField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByMemberRole(opts ...sql.OrderTermOption) OrderOption
- func ByMemberStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the usergroups type in the database. Label = "user_groups" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldGroupID holds the string denoting the group_id field in the database. FieldGroupID = "group_id" // FieldMemberRole holds the string denoting the member_role field in the database. FieldMemberRole = "member_role" // FieldMemberStatus holds the string denoting the member_status field in the database. FieldMemberStatus = "member_status" // FieldJoinedAt holds the string denoting the joined_at field in the database. FieldJoinedAt = "joined_at" // FieldExpiredAt holds the string denoting the expired_at field in the database. FieldExpiredAt = "expired_at" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeLionUsers holds the string denoting the lion_users edge name in mutations. EdgeLionUsers = "lion_users" // EdgeLionGroups holds the string denoting the lion_groups edge name in mutations. EdgeLionGroups = "lion_groups" // Table holds the table name of the usergroups in the database. Table = "lion_user_groups" // LionUsersTable is the table that holds the lion_users relation/edge. LionUsersTable = "lion_user_groups" // LionUsersInverseTable is the table name for the Users entity. // It exists in this package in order to avoid circular dependency with the "users" package. LionUsersInverseTable = "lion_users" // LionUsersColumn is the table column denoting the lion_users relation/edge. LionUsersColumn = "user_id" // LionGroupsTable is the table that holds the lion_groups relation/edge. LionGroupsTable = "lion_user_groups" // LionGroupsInverseTable is the table name for the Groups entity. // It exists in this package in order to avoid circular dependency with the "groups" package. LionGroupsInverseTable = "lion_groups" // LionGroupsColumn is the table column denoting the lion_groups relation/edge. LionGroupsColumn = "group_id" )
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 // DefaultCreatedBy holds the default value on creation for the "created_by" field. DefaultCreatedBy int64 // DefaultUpdatedBy holds the default value on creation for the "updated_by" field. DefaultUpdatedBy int64 // UserIDValidator is a validator for the "user_id" field. It is called by the builders before save. UserIDValidator func(int) error // GroupIDValidator is a validator for the "group_id" field. It is called by the builders before save. GroupIDValidator func(int) error // DefaultMemberRole holds the default value on creation for the "member_role" field. DefaultMemberRole int // DefaultMemberStatus holds the default value on creation for the "member_status" field. DefaultMemberStatus int // DefaultDescription holds the default value on creation for the "description" field. DefaultDescription string // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(int) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldUserID, FieldGroupID, FieldMemberRole, FieldMemberStatus, FieldJoinedAt, FieldExpiredAt, FieldMetadata, FieldDescription, }
Columns holds all SQL columns for usergroups fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserGroups) predicate.UserGroups
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserGroups
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserGroups
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserGroups
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserGroups
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserGroups
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserGroups
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserGroups
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserGroups
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserGroups
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int64) predicate.UserGroups
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int64) predicate.UserGroups
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int64) predicate.UserGroups
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int64) predicate.UserGroups
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int64) predicate.UserGroups
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.UserGroups
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int64) predicate.UserGroups
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int64) predicate.UserGroups
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int64) predicate.UserGroups
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int64) predicate.UserGroups
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.UserGroups
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func Description ¶
func Description(v string) predicate.UserGroups
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.UserGroups
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.UserGroups
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.UserGroups
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.UserGroups
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.UserGroups
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.UserGroups
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.UserGroups
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.UserGroups
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.UserGroups
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.UserGroups
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.UserGroups
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.UserGroups
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.UserGroups
DescriptionNotIn applies the NotIn predicate on the "description" field.
func ExpiredAt ¶
func ExpiredAt(v time.Time) predicate.UserGroups
ExpiredAt applies equality check predicate on the "expired_at" field. It's identical to ExpiredAtEQ.
func ExpiredAtEQ ¶
func ExpiredAtEQ(v time.Time) predicate.UserGroups
ExpiredAtEQ applies the EQ predicate on the "expired_at" field.
func ExpiredAtGT ¶
func ExpiredAtGT(v time.Time) predicate.UserGroups
ExpiredAtGT applies the GT predicate on the "expired_at" field.
func ExpiredAtGTE ¶
func ExpiredAtGTE(v time.Time) predicate.UserGroups
ExpiredAtGTE applies the GTE predicate on the "expired_at" field.
func ExpiredAtIn ¶
func ExpiredAtIn(vs ...time.Time) predicate.UserGroups
ExpiredAtIn applies the In predicate on the "expired_at" field.
func ExpiredAtIsNil ¶
func ExpiredAtIsNil() predicate.UserGroups
ExpiredAtIsNil applies the IsNil predicate on the "expired_at" field.
func ExpiredAtLT ¶
func ExpiredAtLT(v time.Time) predicate.UserGroups
ExpiredAtLT applies the LT predicate on the "expired_at" field.
func ExpiredAtLTE ¶
func ExpiredAtLTE(v time.Time) predicate.UserGroups
ExpiredAtLTE applies the LTE predicate on the "expired_at" field.
func ExpiredAtNEQ ¶
func ExpiredAtNEQ(v time.Time) predicate.UserGroups
ExpiredAtNEQ applies the NEQ predicate on the "expired_at" field.
func ExpiredAtNotIn ¶
func ExpiredAtNotIn(vs ...time.Time) predicate.UserGroups
ExpiredAtNotIn applies the NotIn predicate on the "expired_at" field.
func ExpiredAtNotNil ¶
func ExpiredAtNotNil() predicate.UserGroups
ExpiredAtNotNil applies the NotNil predicate on the "expired_at" field.
func GroupID ¶
func GroupID(v int) predicate.UserGroups
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDEQ ¶
func GroupIDEQ(v int) predicate.UserGroups
GroupIDEQ applies the EQ predicate on the "group_id" field.
func GroupIDIn ¶
func GroupIDIn(vs ...int) predicate.UserGroups
GroupIDIn applies the In predicate on the "group_id" field.
func GroupIDNEQ ¶
func GroupIDNEQ(v int) predicate.UserGroups
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
func GroupIDNotIn(vs ...int) predicate.UserGroups
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func HasLionGroups ¶
func HasLionGroups() predicate.UserGroups
HasLionGroups applies the HasEdge predicate on the "lion_groups" edge.
func HasLionGroupsWith ¶
func HasLionGroupsWith(preds ...predicate.Groups) predicate.UserGroups
HasLionGroupsWith applies the HasEdge predicate on the "lion_groups" edge with a given conditions (other predicates).
func HasLionUsers ¶
func HasLionUsers() predicate.UserGroups
HasLionUsers applies the HasEdge predicate on the "lion_users" edge.
func HasLionUsersWith ¶
func HasLionUsersWith(preds ...predicate.Users) predicate.UserGroups
HasLionUsersWith applies the HasEdge predicate on the "lion_users" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.UserGroups
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.UserGroups
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.UserGroups
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.UserGroups
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.UserGroups
IDNotIn applies the NotIn predicate on the ID field.
func JoinedAt ¶
func JoinedAt(v time.Time) predicate.UserGroups
JoinedAt applies equality check predicate on the "joined_at" field. It's identical to JoinedAtEQ.
func JoinedAtEQ ¶
func JoinedAtEQ(v time.Time) predicate.UserGroups
JoinedAtEQ applies the EQ predicate on the "joined_at" field.
func JoinedAtGT ¶
func JoinedAtGT(v time.Time) predicate.UserGroups
JoinedAtGT applies the GT predicate on the "joined_at" field.
func JoinedAtGTE ¶
func JoinedAtGTE(v time.Time) predicate.UserGroups
JoinedAtGTE applies the GTE predicate on the "joined_at" field.
func JoinedAtIn ¶
func JoinedAtIn(vs ...time.Time) predicate.UserGroups
JoinedAtIn applies the In predicate on the "joined_at" field.
func JoinedAtIsNil ¶
func JoinedAtIsNil() predicate.UserGroups
JoinedAtIsNil applies the IsNil predicate on the "joined_at" field.
func JoinedAtLT ¶
func JoinedAtLT(v time.Time) predicate.UserGroups
JoinedAtLT applies the LT predicate on the "joined_at" field.
func JoinedAtLTE ¶
func JoinedAtLTE(v time.Time) predicate.UserGroups
JoinedAtLTE applies the LTE predicate on the "joined_at" field.
func JoinedAtNEQ ¶
func JoinedAtNEQ(v time.Time) predicate.UserGroups
JoinedAtNEQ applies the NEQ predicate on the "joined_at" field.
func JoinedAtNotIn ¶
func JoinedAtNotIn(vs ...time.Time) predicate.UserGroups
JoinedAtNotIn applies the NotIn predicate on the "joined_at" field.
func JoinedAtNotNil ¶
func JoinedAtNotNil() predicate.UserGroups
JoinedAtNotNil applies the NotNil predicate on the "joined_at" field.
func MemberRole ¶
func MemberRole(v int) predicate.UserGroups
MemberRole applies equality check predicate on the "member_role" field. It's identical to MemberRoleEQ.
func MemberRoleEQ ¶
func MemberRoleEQ(v int) predicate.UserGroups
MemberRoleEQ applies the EQ predicate on the "member_role" field.
func MemberRoleGT ¶
func MemberRoleGT(v int) predicate.UserGroups
MemberRoleGT applies the GT predicate on the "member_role" field.
func MemberRoleGTE ¶
func MemberRoleGTE(v int) predicate.UserGroups
MemberRoleGTE applies the GTE predicate on the "member_role" field.
func MemberRoleIn ¶
func MemberRoleIn(vs ...int) predicate.UserGroups
MemberRoleIn applies the In predicate on the "member_role" field.
func MemberRoleLT ¶
func MemberRoleLT(v int) predicate.UserGroups
MemberRoleLT applies the LT predicate on the "member_role" field.
func MemberRoleLTE ¶
func MemberRoleLTE(v int) predicate.UserGroups
MemberRoleLTE applies the LTE predicate on the "member_role" field.
func MemberRoleNEQ ¶
func MemberRoleNEQ(v int) predicate.UserGroups
MemberRoleNEQ applies the NEQ predicate on the "member_role" field.
func MemberRoleNotIn ¶
func MemberRoleNotIn(vs ...int) predicate.UserGroups
MemberRoleNotIn applies the NotIn predicate on the "member_role" field.
func MemberStatus ¶
func MemberStatus(v int) predicate.UserGroups
MemberStatus applies equality check predicate on the "member_status" field. It's identical to MemberStatusEQ.
func MemberStatusEQ ¶
func MemberStatusEQ(v int) predicate.UserGroups
MemberStatusEQ applies the EQ predicate on the "member_status" field.
func MemberStatusGT ¶
func MemberStatusGT(v int) predicate.UserGroups
MemberStatusGT applies the GT predicate on the "member_status" field.
func MemberStatusGTE ¶
func MemberStatusGTE(v int) predicate.UserGroups
MemberStatusGTE applies the GTE predicate on the "member_status" field.
func MemberStatusIn ¶
func MemberStatusIn(vs ...int) predicate.UserGroups
MemberStatusIn applies the In predicate on the "member_status" field.
func MemberStatusLT ¶
func MemberStatusLT(v int) predicate.UserGroups
MemberStatusLT applies the LT predicate on the "member_status" field.
func MemberStatusLTE ¶
func MemberStatusLTE(v int) predicate.UserGroups
MemberStatusLTE applies the LTE predicate on the "member_status" field.
func MemberStatusNEQ ¶
func MemberStatusNEQ(v int) predicate.UserGroups
MemberStatusNEQ applies the NEQ predicate on the "member_status" field.
func MemberStatusNotIn ¶
func MemberStatusNotIn(vs ...int) predicate.UserGroups
MemberStatusNotIn applies the NotIn predicate on the "member_status" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.UserGroups
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.UserGroups
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Not ¶
func Not(p predicate.UserGroups) predicate.UserGroups
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserGroups) predicate.UserGroups
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserGroups
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserGroups
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserGroups
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserGroups
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserGroups
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserGroups
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserGroups
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserGroups
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserGroups
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int64) predicate.UserGroups
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int64) predicate.UserGroups
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int64) predicate.UserGroups
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int64) predicate.UserGroups
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int64) predicate.UserGroups
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.UserGroups
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int64) predicate.UserGroups
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int64) predicate.UserGroups
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int64) predicate.UserGroups
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int64) predicate.UserGroups
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.UserGroups
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v int) predicate.UserGroups
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.UserGroups
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.UserGroups
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.UserGroups
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.UserGroups
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 ¶
type OrderOption ¶
OrderOption defines the ordering options for the UserGroups queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByExpiredAt ¶
func ByExpiredAt(opts ...sql.OrderTermOption) OrderOption
ByExpiredAt orders the results by the expired_at field.
func ByGroupID ¶
func ByGroupID(opts ...sql.OrderTermOption) OrderOption
ByGroupID orders the results by the group_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByJoinedAt ¶
func ByJoinedAt(opts ...sql.OrderTermOption) OrderOption
ByJoinedAt orders the results by the joined_at field.
func ByLionGroupsField ¶
func ByLionGroupsField(field string, opts ...sql.OrderTermOption) OrderOption
ByLionGroupsField orders the results by lion_groups field.
func ByLionUsersField ¶
func ByLionUsersField(field string, opts ...sql.OrderTermOption) OrderOption
ByLionUsersField orders the results by lion_users field.
func ByMemberRole ¶
func ByMemberRole(opts ...sql.OrderTermOption) OrderOption
ByMemberRole orders the results by the member_role field.
func ByMemberStatus ¶
func ByMemberStatus(opts ...sql.OrderTermOption) OrderOption
ByMemberStatus orders the results by the member_status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.