Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GroupMembershipHistory) predicate.GroupMembershipHistory
- func CreatedAt(v time.Time) predicate.GroupMembershipHistory
- func CreatedAtEQ(v time.Time) predicate.GroupMembershipHistory
- func CreatedAtGT(v time.Time) predicate.GroupMembershipHistory
- func CreatedAtGTE(v time.Time) predicate.GroupMembershipHistory
- func CreatedAtIn(vs ...time.Time) predicate.GroupMembershipHistory
- func CreatedAtIsNil() predicate.GroupMembershipHistory
- func CreatedAtLT(v time.Time) predicate.GroupMembershipHistory
- func CreatedAtLTE(v time.Time) predicate.GroupMembershipHistory
- func CreatedAtNEQ(v time.Time) predicate.GroupMembershipHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.GroupMembershipHistory
- func CreatedAtNotNil() predicate.GroupMembershipHistory
- func CreatedBy(v string) predicate.GroupMembershipHistory
- func CreatedByContains(v string) predicate.GroupMembershipHistory
- func CreatedByContainsFold(v string) predicate.GroupMembershipHistory
- func CreatedByEQ(v string) predicate.GroupMembershipHistory
- func CreatedByEqualFold(v string) predicate.GroupMembershipHistory
- func CreatedByGT(v string) predicate.GroupMembershipHistory
- func CreatedByGTE(v string) predicate.GroupMembershipHistory
- func CreatedByHasPrefix(v string) predicate.GroupMembershipHistory
- func CreatedByHasSuffix(v string) predicate.GroupMembershipHistory
- func CreatedByIn(vs ...string) predicate.GroupMembershipHistory
- func CreatedByIsNil() predicate.GroupMembershipHistory
- func CreatedByLT(v string) predicate.GroupMembershipHistory
- func CreatedByLTE(v string) predicate.GroupMembershipHistory
- func CreatedByNEQ(v string) predicate.GroupMembershipHistory
- func CreatedByNotIn(vs ...string) predicate.GroupMembershipHistory
- func CreatedByNotNil() predicate.GroupMembershipHistory
- func DeletedAt(v time.Time) predicate.GroupMembershipHistory
- func DeletedAtEQ(v time.Time) predicate.GroupMembershipHistory
- func DeletedAtGT(v time.Time) predicate.GroupMembershipHistory
- func DeletedAtGTE(v time.Time) predicate.GroupMembershipHistory
- func DeletedAtIn(vs ...time.Time) predicate.GroupMembershipHistory
- func DeletedAtIsNil() predicate.GroupMembershipHistory
- func DeletedAtLT(v time.Time) predicate.GroupMembershipHistory
- func DeletedAtLTE(v time.Time) predicate.GroupMembershipHistory
- func DeletedAtNEQ(v time.Time) predicate.GroupMembershipHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.GroupMembershipHistory
- func DeletedAtNotNil() predicate.GroupMembershipHistory
- func DeletedBy(v string) predicate.GroupMembershipHistory
- func DeletedByContains(v string) predicate.GroupMembershipHistory
- func DeletedByContainsFold(v string) predicate.GroupMembershipHistory
- func DeletedByEQ(v string) predicate.GroupMembershipHistory
- func DeletedByEqualFold(v string) predicate.GroupMembershipHistory
- func DeletedByGT(v string) predicate.GroupMembershipHistory
- func DeletedByGTE(v string) predicate.GroupMembershipHistory
- func DeletedByHasPrefix(v string) predicate.GroupMembershipHistory
- func DeletedByHasSuffix(v string) predicate.GroupMembershipHistory
- func DeletedByIn(vs ...string) predicate.GroupMembershipHistory
- func DeletedByIsNil() predicate.GroupMembershipHistory
- func DeletedByLT(v string) predicate.GroupMembershipHistory
- func DeletedByLTE(v string) predicate.GroupMembershipHistory
- func DeletedByNEQ(v string) predicate.GroupMembershipHistory
- func DeletedByNotIn(vs ...string) predicate.GroupMembershipHistory
- func DeletedByNotNil() predicate.GroupMembershipHistory
- func GroupID(v string) predicate.GroupMembershipHistory
- func GroupIDContains(v string) predicate.GroupMembershipHistory
- func GroupIDContainsFold(v string) predicate.GroupMembershipHistory
- func GroupIDEQ(v string) predicate.GroupMembershipHistory
- func GroupIDEqualFold(v string) predicate.GroupMembershipHistory
- func GroupIDGT(v string) predicate.GroupMembershipHistory
- func GroupIDGTE(v string) predicate.GroupMembershipHistory
- func GroupIDHasPrefix(v string) predicate.GroupMembershipHistory
- func GroupIDHasSuffix(v string) predicate.GroupMembershipHistory
- func GroupIDIn(vs ...string) predicate.GroupMembershipHistory
- func GroupIDLT(v string) predicate.GroupMembershipHistory
- func GroupIDLTE(v string) predicate.GroupMembershipHistory
- func GroupIDNEQ(v string) predicate.GroupMembershipHistory
- func GroupIDNotIn(vs ...string) predicate.GroupMembershipHistory
- func HistoryTime(v time.Time) predicate.GroupMembershipHistory
- func HistoryTimeEQ(v time.Time) predicate.GroupMembershipHistory
- func HistoryTimeGT(v time.Time) predicate.GroupMembershipHistory
- func HistoryTimeGTE(v time.Time) predicate.GroupMembershipHistory
- func HistoryTimeIn(vs ...time.Time) predicate.GroupMembershipHistory
- func HistoryTimeLT(v time.Time) predicate.GroupMembershipHistory
- func HistoryTimeLTE(v time.Time) predicate.GroupMembershipHistory
- func HistoryTimeNEQ(v time.Time) predicate.GroupMembershipHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.GroupMembershipHistory
- func ID(id string) predicate.GroupMembershipHistory
- func IDContainsFold(id string) predicate.GroupMembershipHistory
- func IDEQ(id string) predicate.GroupMembershipHistory
- func IDEqualFold(id string) predicate.GroupMembershipHistory
- func IDGT(id string) predicate.GroupMembershipHistory
- func IDGTE(id string) predicate.GroupMembershipHistory
- func IDIn(ids ...string) predicate.GroupMembershipHistory
- func IDLT(id string) predicate.GroupMembershipHistory
- func IDLTE(id string) predicate.GroupMembershipHistory
- func IDNEQ(id string) predicate.GroupMembershipHistory
- func IDNotIn(ids ...string) predicate.GroupMembershipHistory
- func MappingID(v string) predicate.GroupMembershipHistory
- func MappingIDContains(v string) predicate.GroupMembershipHistory
- func MappingIDContainsFold(v string) predicate.GroupMembershipHistory
- func MappingIDEQ(v string) predicate.GroupMembershipHistory
- func MappingIDEqualFold(v string) predicate.GroupMembershipHistory
- func MappingIDGT(v string) predicate.GroupMembershipHistory
- func MappingIDGTE(v string) predicate.GroupMembershipHistory
- func MappingIDHasPrefix(v string) predicate.GroupMembershipHistory
- func MappingIDHasSuffix(v string) predicate.GroupMembershipHistory
- func MappingIDIn(vs ...string) predicate.GroupMembershipHistory
- func MappingIDLT(v string) predicate.GroupMembershipHistory
- func MappingIDLTE(v string) predicate.GroupMembershipHistory
- func MappingIDNEQ(v string) predicate.GroupMembershipHistory
- func MappingIDNotIn(vs ...string) predicate.GroupMembershipHistory
- func Not(p predicate.GroupMembershipHistory) predicate.GroupMembershipHistory
- func OperationEQ(v enthistory.OpType) predicate.GroupMembershipHistory
- func OperationIn(vs ...enthistory.OpType) predicate.GroupMembershipHistory
- func OperationNEQ(v enthistory.OpType) predicate.GroupMembershipHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.GroupMembershipHistory
- func OperationValidator(o enthistory.OpType) error
- func Or(predicates ...predicate.GroupMembershipHistory) predicate.GroupMembershipHistory
- func Ref(v string) predicate.GroupMembershipHistory
- func RefContains(v string) predicate.GroupMembershipHistory
- func RefContainsFold(v string) predicate.GroupMembershipHistory
- func RefEQ(v string) predicate.GroupMembershipHistory
- func RefEqualFold(v string) predicate.GroupMembershipHistory
- func RefGT(v string) predicate.GroupMembershipHistory
- func RefGTE(v string) predicate.GroupMembershipHistory
- func RefHasPrefix(v string) predicate.GroupMembershipHistory
- func RefHasSuffix(v string) predicate.GroupMembershipHistory
- func RefIn(vs ...string) predicate.GroupMembershipHistory
- func RefIsNil() predicate.GroupMembershipHistory
- func RefLT(v string) predicate.GroupMembershipHistory
- func RefLTE(v string) predicate.GroupMembershipHistory
- func RefNEQ(v string) predicate.GroupMembershipHistory
- func RefNotIn(vs ...string) predicate.GroupMembershipHistory
- func RefNotNil() predicate.GroupMembershipHistory
- func RoleEQ(v enums.Role) predicate.GroupMembershipHistory
- func RoleIn(vs ...enums.Role) predicate.GroupMembershipHistory
- func RoleNEQ(v enums.Role) predicate.GroupMembershipHistory
- func RoleNotIn(vs ...enums.Role) predicate.GroupMembershipHistory
- func RoleValidator(r enums.Role) error
- func UpdatedAt(v time.Time) predicate.GroupMembershipHistory
- func UpdatedAtEQ(v time.Time) predicate.GroupMembershipHistory
- func UpdatedAtGT(v time.Time) predicate.GroupMembershipHistory
- func UpdatedAtGTE(v time.Time) predicate.GroupMembershipHistory
- func UpdatedAtIn(vs ...time.Time) predicate.GroupMembershipHistory
- func UpdatedAtIsNil() predicate.GroupMembershipHistory
- func UpdatedAtLT(v time.Time) predicate.GroupMembershipHistory
- func UpdatedAtLTE(v time.Time) predicate.GroupMembershipHistory
- func UpdatedAtNEQ(v time.Time) predicate.GroupMembershipHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.GroupMembershipHistory
- func UpdatedAtNotNil() predicate.GroupMembershipHistory
- func UpdatedBy(v string) predicate.GroupMembershipHistory
- func UpdatedByContains(v string) predicate.GroupMembershipHistory
- func UpdatedByContainsFold(v string) predicate.GroupMembershipHistory
- func UpdatedByEQ(v string) predicate.GroupMembershipHistory
- func UpdatedByEqualFold(v string) predicate.GroupMembershipHistory
- func UpdatedByGT(v string) predicate.GroupMembershipHistory
- func UpdatedByGTE(v string) predicate.GroupMembershipHistory
- func UpdatedByHasPrefix(v string) predicate.GroupMembershipHistory
- func UpdatedByHasSuffix(v string) predicate.GroupMembershipHistory
- func UpdatedByIn(vs ...string) predicate.GroupMembershipHistory
- func UpdatedByIsNil() predicate.GroupMembershipHistory
- func UpdatedByLT(v string) predicate.GroupMembershipHistory
- func UpdatedByLTE(v string) predicate.GroupMembershipHistory
- func UpdatedByNEQ(v string) predicate.GroupMembershipHistory
- func UpdatedByNotIn(vs ...string) predicate.GroupMembershipHistory
- func UpdatedByNotNil() predicate.GroupMembershipHistory
- func UserID(v string) predicate.GroupMembershipHistory
- func UserIDContains(v string) predicate.GroupMembershipHistory
- func UserIDContainsFold(v string) predicate.GroupMembershipHistory
- func UserIDEQ(v string) predicate.GroupMembershipHistory
- func UserIDEqualFold(v string) predicate.GroupMembershipHistory
- func UserIDGT(v string) predicate.GroupMembershipHistory
- func UserIDGTE(v string) predicate.GroupMembershipHistory
- func UserIDHasPrefix(v string) predicate.GroupMembershipHistory
- func UserIDHasSuffix(v string) predicate.GroupMembershipHistory
- func UserIDIn(vs ...string) predicate.GroupMembershipHistory
- func UserIDLT(v string) predicate.GroupMembershipHistory
- func UserIDLTE(v string) predicate.GroupMembershipHistory
- func UserIDNEQ(v string) predicate.GroupMembershipHistory
- func UserIDNotIn(vs ...string) predicate.GroupMembershipHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByGroupID(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByRole(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 groupmembershiphistory type in the database. Label = "group_membership_history" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHistoryTime holds the string denoting the history_time field in the database. FieldHistoryTime = "history_time" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldOperation holds the string denoting the operation field in the database. FieldOperation = "operation" // 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" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldRole holds the string denoting the role field in the database. FieldRole = "role" // FieldGroupID holds the string denoting the group_id field in the database. FieldGroupID = "group_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // Table holds the table name of the groupmembershiphistory in the database. Table = "group_membership_history" )
const DefaultRole enums.Role = "MEMBER"
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor Policy ent.Policy // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/datumforge/datum/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldRole, FieldGroupID, FieldUserID, }
Columns holds all SQL columns for groupmembershiphistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.GroupMembershipHistory) predicate.GroupMembershipHistory
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.GroupMembershipHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.GroupMembershipHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.GroupMembershipHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.GroupMembershipHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.GroupMembershipHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.GroupMembershipHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.GroupMembershipHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.GroupMembershipHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.GroupMembershipHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.GroupMembershipHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.GroupMembershipHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.GroupMembershipHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.GroupMembershipHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.GroupMembershipHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.GroupMembershipHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.GroupMembershipHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.GroupMembershipHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.GroupMembershipHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.GroupMembershipHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.GroupMembershipHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.GroupMembershipHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.GroupMembershipHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.GroupMembershipHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.GroupMembershipHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.GroupMembershipHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.GroupMembershipHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.GroupMembershipHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.GroupMembershipHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.GroupMembershipHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.GroupMembershipHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.GroupMembershipHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.GroupMembershipHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.GroupMembershipHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.GroupMembershipHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.GroupMembershipHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.GroupMembershipHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.GroupMembershipHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.GroupMembershipHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.GroupMembershipHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.GroupMembershipHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.GroupMembershipHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.GroupMembershipHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.GroupMembershipHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.GroupMembershipHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.GroupMembershipHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.GroupMembershipHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.GroupMembershipHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.GroupMembershipHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.GroupMembershipHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.GroupMembershipHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.GroupMembershipHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.GroupMembershipHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.GroupMembershipHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.GroupMembershipHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func GroupID ¶
func GroupID(v string) predicate.GroupMembershipHistory
GroupID applies equality check predicate on the "group_id" field. It's identical to GroupIDEQ.
func GroupIDContains ¶
func GroupIDContains(v string) predicate.GroupMembershipHistory
GroupIDContains applies the Contains predicate on the "group_id" field.
func GroupIDContainsFold ¶
func GroupIDContainsFold(v string) predicate.GroupMembershipHistory
GroupIDContainsFold applies the ContainsFold predicate on the "group_id" field.
func GroupIDEQ ¶
func GroupIDEQ(v string) predicate.GroupMembershipHistory
GroupIDEQ applies the EQ predicate on the "group_id" field.
func GroupIDEqualFold ¶
func GroupIDEqualFold(v string) predicate.GroupMembershipHistory
GroupIDEqualFold applies the EqualFold predicate on the "group_id" field.
func GroupIDGT ¶
func GroupIDGT(v string) predicate.GroupMembershipHistory
GroupIDGT applies the GT predicate on the "group_id" field.
func GroupIDGTE ¶
func GroupIDGTE(v string) predicate.GroupMembershipHistory
GroupIDGTE applies the GTE predicate on the "group_id" field.
func GroupIDHasPrefix ¶
func GroupIDHasPrefix(v string) predicate.GroupMembershipHistory
GroupIDHasPrefix applies the HasPrefix predicate on the "group_id" field.
func GroupIDHasSuffix ¶
func GroupIDHasSuffix(v string) predicate.GroupMembershipHistory
GroupIDHasSuffix applies the HasSuffix predicate on the "group_id" field.
func GroupIDIn ¶
func GroupIDIn(vs ...string) predicate.GroupMembershipHistory
GroupIDIn applies the In predicate on the "group_id" field.
func GroupIDLT ¶
func GroupIDLT(v string) predicate.GroupMembershipHistory
GroupIDLT applies the LT predicate on the "group_id" field.
func GroupIDLTE ¶
func GroupIDLTE(v string) predicate.GroupMembershipHistory
GroupIDLTE applies the LTE predicate on the "group_id" field.
func GroupIDNEQ ¶
func GroupIDNEQ(v string) predicate.GroupMembershipHistory
GroupIDNEQ applies the NEQ predicate on the "group_id" field.
func GroupIDNotIn ¶
func GroupIDNotIn(vs ...string) predicate.GroupMembershipHistory
GroupIDNotIn applies the NotIn predicate on the "group_id" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.GroupMembershipHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.GroupMembershipHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.GroupMembershipHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.GroupMembershipHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.GroupMembershipHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.GroupMembershipHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.GroupMembershipHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.GroupMembershipHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.GroupMembershipHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func ID ¶
func ID(id string) predicate.GroupMembershipHistory
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.GroupMembershipHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.GroupMembershipHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.GroupMembershipHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.GroupMembershipHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.GroupMembershipHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.GroupMembershipHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.GroupMembershipHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.GroupMembershipHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.GroupMembershipHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.GroupMembershipHistory
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶ added in v0.5.0
func MappingID(v string) predicate.GroupMembershipHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶ added in v0.5.0
func MappingIDContains(v string) predicate.GroupMembershipHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶ added in v0.5.0
func MappingIDContainsFold(v string) predicate.GroupMembershipHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶ added in v0.5.0
func MappingIDEQ(v string) predicate.GroupMembershipHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶ added in v0.5.0
func MappingIDEqualFold(v string) predicate.GroupMembershipHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶ added in v0.5.0
func MappingIDGT(v string) predicate.GroupMembershipHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶ added in v0.5.0
func MappingIDGTE(v string) predicate.GroupMembershipHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶ added in v0.5.0
func MappingIDHasPrefix(v string) predicate.GroupMembershipHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶ added in v0.5.0
func MappingIDHasSuffix(v string) predicate.GroupMembershipHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶ added in v0.5.0
func MappingIDIn(vs ...string) predicate.GroupMembershipHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶ added in v0.5.0
func MappingIDLT(v string) predicate.GroupMembershipHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶ added in v0.5.0
func MappingIDLTE(v string) predicate.GroupMembershipHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶ added in v0.5.0
func MappingIDNEQ(v string) predicate.GroupMembershipHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶ added in v0.5.0
func MappingIDNotIn(vs ...string) predicate.GroupMembershipHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func OperationEQ ¶
func OperationEQ(v enthistory.OpType) predicate.GroupMembershipHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...enthistory.OpType) predicate.GroupMembershipHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v enthistory.OpType) predicate.GroupMembershipHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...enthistory.OpType) predicate.GroupMembershipHistory
OperationNotIn applies the NotIn predicate on the "operation" field.
func OperationValidator ¶
func OperationValidator(o enthistory.OpType) error
OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.GroupMembershipHistory) predicate.GroupMembershipHistory
Or groups predicates with the OR operator between them.
func Ref ¶
func Ref(v string) predicate.GroupMembershipHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.GroupMembershipHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.GroupMembershipHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.GroupMembershipHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.GroupMembershipHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.GroupMembershipHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.GroupMembershipHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.GroupMembershipHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.GroupMembershipHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.GroupMembershipHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.GroupMembershipHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.GroupMembershipHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.GroupMembershipHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.GroupMembershipHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.GroupMembershipHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.GroupMembershipHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func RoleEQ ¶
func RoleEQ(v enums.Role) predicate.GroupMembershipHistory
RoleEQ applies the EQ predicate on the "role" field.
func RoleIn ¶
func RoleIn(vs ...enums.Role) predicate.GroupMembershipHistory
RoleIn applies the In predicate on the "role" field.
func RoleNEQ ¶
func RoleNEQ(v enums.Role) predicate.GroupMembershipHistory
RoleNEQ applies the NEQ predicate on the "role" field.
func RoleNotIn ¶
func RoleNotIn(vs ...enums.Role) predicate.GroupMembershipHistory
RoleNotIn applies the NotIn predicate on the "role" field.
func RoleValidator ¶
RoleValidator is a validator for the "role" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.GroupMembershipHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.GroupMembershipHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.GroupMembershipHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.GroupMembershipHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.GroupMembershipHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.GroupMembershipHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.GroupMembershipHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.GroupMembershipHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.GroupMembershipHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.GroupMembershipHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.GroupMembershipHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.GroupMembershipHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.GroupMembershipHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.GroupMembershipHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.GroupMembershipHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.GroupMembershipHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.GroupMembershipHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.GroupMembershipHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.GroupMembershipHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.GroupMembershipHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.GroupMembershipHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.GroupMembershipHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.GroupMembershipHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.GroupMembershipHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.GroupMembershipHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.GroupMembershipHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.GroupMembershipHistory
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v string) predicate.GroupMembershipHistory
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
func UserIDContains(v string) predicate.GroupMembershipHistory
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
func UserIDContainsFold(v string) predicate.GroupMembershipHistory
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶
func UserIDEQ(v string) predicate.GroupMembershipHistory
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶
func UserIDEqualFold(v string) predicate.GroupMembershipHistory
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v string) predicate.GroupMembershipHistory
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v string) predicate.GroupMembershipHistory
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶
func UserIDHasPrefix(v string) predicate.GroupMembershipHistory
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
func UserIDHasSuffix(v string) predicate.GroupMembershipHistory
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...string) predicate.GroupMembershipHistory
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v string) predicate.GroupMembershipHistory
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v string) predicate.GroupMembershipHistory
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v string) predicate.GroupMembershipHistory
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...string) predicate.GroupMembershipHistory
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 GroupMembershipHistory 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 ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByGroupID ¶
func ByGroupID(opts ...sql.OrderTermOption) OrderOption
ByGroupID orders the results by the group_id field.
func ByHistoryTime ¶
func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
ByHistoryTime orders the results by the history_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶ added in v0.5.0
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func ByRole ¶
func ByRole(opts ...sql.OrderTermOption) OrderOption
ByRole orders the results by the role 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.