Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OrgMembershipHistory) predicate.OrgMembershipHistory
- func CreatedAt(v time.Time) predicate.OrgMembershipHistory
- func CreatedAtEQ(v time.Time) predicate.OrgMembershipHistory
- func CreatedAtGT(v time.Time) predicate.OrgMembershipHistory
- func CreatedAtGTE(v time.Time) predicate.OrgMembershipHistory
- func CreatedAtIn(vs ...time.Time) predicate.OrgMembershipHistory
- func CreatedAtIsNil() predicate.OrgMembershipHistory
- func CreatedAtLT(v time.Time) predicate.OrgMembershipHistory
- func CreatedAtLTE(v time.Time) predicate.OrgMembershipHistory
- func CreatedAtNEQ(v time.Time) predicate.OrgMembershipHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.OrgMembershipHistory
- func CreatedAtNotNil() predicate.OrgMembershipHistory
- func CreatedBy(v string) predicate.OrgMembershipHistory
- func CreatedByContains(v string) predicate.OrgMembershipHistory
- func CreatedByContainsFold(v string) predicate.OrgMembershipHistory
- func CreatedByEQ(v string) predicate.OrgMembershipHistory
- func CreatedByEqualFold(v string) predicate.OrgMembershipHistory
- func CreatedByGT(v string) predicate.OrgMembershipHistory
- func CreatedByGTE(v string) predicate.OrgMembershipHistory
- func CreatedByHasPrefix(v string) predicate.OrgMembershipHistory
- func CreatedByHasSuffix(v string) predicate.OrgMembershipHistory
- func CreatedByIn(vs ...string) predicate.OrgMembershipHistory
- func CreatedByIsNil() predicate.OrgMembershipHistory
- func CreatedByLT(v string) predicate.OrgMembershipHistory
- func CreatedByLTE(v string) predicate.OrgMembershipHistory
- func CreatedByNEQ(v string) predicate.OrgMembershipHistory
- func CreatedByNotIn(vs ...string) predicate.OrgMembershipHistory
- func CreatedByNotNil() predicate.OrgMembershipHistory
- func DeletedAt(v time.Time) predicate.OrgMembershipHistory
- func DeletedAtEQ(v time.Time) predicate.OrgMembershipHistory
- func DeletedAtGT(v time.Time) predicate.OrgMembershipHistory
- func DeletedAtGTE(v time.Time) predicate.OrgMembershipHistory
- func DeletedAtIn(vs ...time.Time) predicate.OrgMembershipHistory
- func DeletedAtIsNil() predicate.OrgMembershipHistory
- func DeletedAtLT(v time.Time) predicate.OrgMembershipHistory
- func DeletedAtLTE(v time.Time) predicate.OrgMembershipHistory
- func DeletedAtNEQ(v time.Time) predicate.OrgMembershipHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.OrgMembershipHistory
- func DeletedAtNotNil() predicate.OrgMembershipHistory
- func DeletedBy(v string) predicate.OrgMembershipHistory
- func DeletedByContains(v string) predicate.OrgMembershipHistory
- func DeletedByContainsFold(v string) predicate.OrgMembershipHistory
- func DeletedByEQ(v string) predicate.OrgMembershipHistory
- func DeletedByEqualFold(v string) predicate.OrgMembershipHistory
- func DeletedByGT(v string) predicate.OrgMembershipHistory
- func DeletedByGTE(v string) predicate.OrgMembershipHistory
- func DeletedByHasPrefix(v string) predicate.OrgMembershipHistory
- func DeletedByHasSuffix(v string) predicate.OrgMembershipHistory
- func DeletedByIn(vs ...string) predicate.OrgMembershipHistory
- func DeletedByIsNil() predicate.OrgMembershipHistory
- func DeletedByLT(v string) predicate.OrgMembershipHistory
- func DeletedByLTE(v string) predicate.OrgMembershipHistory
- func DeletedByNEQ(v string) predicate.OrgMembershipHistory
- func DeletedByNotIn(vs ...string) predicate.OrgMembershipHistory
- func DeletedByNotNil() predicate.OrgMembershipHistory
- func HistoryTime(v time.Time) predicate.OrgMembershipHistory
- func HistoryTimeEQ(v time.Time) predicate.OrgMembershipHistory
- func HistoryTimeGT(v time.Time) predicate.OrgMembershipHistory
- func HistoryTimeGTE(v time.Time) predicate.OrgMembershipHistory
- func HistoryTimeIn(vs ...time.Time) predicate.OrgMembershipHistory
- func HistoryTimeLT(v time.Time) predicate.OrgMembershipHistory
- func HistoryTimeLTE(v time.Time) predicate.OrgMembershipHistory
- func HistoryTimeNEQ(v time.Time) predicate.OrgMembershipHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.OrgMembershipHistory
- func ID(id string) predicate.OrgMembershipHistory
- func IDContainsFold(id string) predicate.OrgMembershipHistory
- func IDEQ(id string) predicate.OrgMembershipHistory
- func IDEqualFold(id string) predicate.OrgMembershipHistory
- func IDGT(id string) predicate.OrgMembershipHistory
- func IDGTE(id string) predicate.OrgMembershipHistory
- func IDIn(ids ...string) predicate.OrgMembershipHistory
- func IDLT(id string) predicate.OrgMembershipHistory
- func IDLTE(id string) predicate.OrgMembershipHistory
- func IDNEQ(id string) predicate.OrgMembershipHistory
- func IDNotIn(ids ...string) predicate.OrgMembershipHistory
- func MappingID(v string) predicate.OrgMembershipHistory
- func MappingIDContains(v string) predicate.OrgMembershipHistory
- func MappingIDContainsFold(v string) predicate.OrgMembershipHistory
- func MappingIDEQ(v string) predicate.OrgMembershipHistory
- func MappingIDEqualFold(v string) predicate.OrgMembershipHistory
- func MappingIDGT(v string) predicate.OrgMembershipHistory
- func MappingIDGTE(v string) predicate.OrgMembershipHistory
- func MappingIDHasPrefix(v string) predicate.OrgMembershipHistory
- func MappingIDHasSuffix(v string) predicate.OrgMembershipHistory
- func MappingIDIn(vs ...string) predicate.OrgMembershipHistory
- func MappingIDLT(v string) predicate.OrgMembershipHistory
- func MappingIDLTE(v string) predicate.OrgMembershipHistory
- func MappingIDNEQ(v string) predicate.OrgMembershipHistory
- func MappingIDNotIn(vs ...string) predicate.OrgMembershipHistory
- func Not(p predicate.OrgMembershipHistory) predicate.OrgMembershipHistory
- func OperationEQ(v enthistory.OpType) predicate.OrgMembershipHistory
- func OperationIn(vs ...enthistory.OpType) predicate.OrgMembershipHistory
- func OperationNEQ(v enthistory.OpType) predicate.OrgMembershipHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.OrgMembershipHistory
- func OperationValidator(o enthistory.OpType) error
- func Or(predicates ...predicate.OrgMembershipHistory) predicate.OrgMembershipHistory
- func OrganizationID(v string) predicate.OrgMembershipHistory
- func OrganizationIDContains(v string) predicate.OrgMembershipHistory
- func OrganizationIDContainsFold(v string) predicate.OrgMembershipHistory
- func OrganizationIDEQ(v string) predicate.OrgMembershipHistory
- func OrganizationIDEqualFold(v string) predicate.OrgMembershipHistory
- func OrganizationIDGT(v string) predicate.OrgMembershipHistory
- func OrganizationIDGTE(v string) predicate.OrgMembershipHistory
- func OrganizationIDHasPrefix(v string) predicate.OrgMembershipHistory
- func OrganizationIDHasSuffix(v string) predicate.OrgMembershipHistory
- func OrganizationIDIn(vs ...string) predicate.OrgMembershipHistory
- func OrganizationIDLT(v string) predicate.OrgMembershipHistory
- func OrganizationIDLTE(v string) predicate.OrgMembershipHistory
- func OrganizationIDNEQ(v string) predicate.OrgMembershipHistory
- func OrganizationIDNotIn(vs ...string) predicate.OrgMembershipHistory
- func Ref(v string) predicate.OrgMembershipHistory
- func RefContains(v string) predicate.OrgMembershipHistory
- func RefContainsFold(v string) predicate.OrgMembershipHistory
- func RefEQ(v string) predicate.OrgMembershipHistory
- func RefEqualFold(v string) predicate.OrgMembershipHistory
- func RefGT(v string) predicate.OrgMembershipHistory
- func RefGTE(v string) predicate.OrgMembershipHistory
- func RefHasPrefix(v string) predicate.OrgMembershipHistory
- func RefHasSuffix(v string) predicate.OrgMembershipHistory
- func RefIn(vs ...string) predicate.OrgMembershipHistory
- func RefIsNil() predicate.OrgMembershipHistory
- func RefLT(v string) predicate.OrgMembershipHistory
- func RefLTE(v string) predicate.OrgMembershipHistory
- func RefNEQ(v string) predicate.OrgMembershipHistory
- func RefNotIn(vs ...string) predicate.OrgMembershipHistory
- func RefNotNil() predicate.OrgMembershipHistory
- func RoleEQ(v enums.Role) predicate.OrgMembershipHistory
- func RoleIn(vs ...enums.Role) predicate.OrgMembershipHistory
- func RoleNEQ(v enums.Role) predicate.OrgMembershipHistory
- func RoleNotIn(vs ...enums.Role) predicate.OrgMembershipHistory
- func RoleValidator(r enums.Role) error
- func UpdatedAt(v time.Time) predicate.OrgMembershipHistory
- func UpdatedAtEQ(v time.Time) predicate.OrgMembershipHistory
- func UpdatedAtGT(v time.Time) predicate.OrgMembershipHistory
- func UpdatedAtGTE(v time.Time) predicate.OrgMembershipHistory
- func UpdatedAtIn(vs ...time.Time) predicate.OrgMembershipHistory
- func UpdatedAtIsNil() predicate.OrgMembershipHistory
- func UpdatedAtLT(v time.Time) predicate.OrgMembershipHistory
- func UpdatedAtLTE(v time.Time) predicate.OrgMembershipHistory
- func UpdatedAtNEQ(v time.Time) predicate.OrgMembershipHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.OrgMembershipHistory
- func UpdatedAtNotNil() predicate.OrgMembershipHistory
- func UpdatedBy(v string) predicate.OrgMembershipHistory
- func UpdatedByContains(v string) predicate.OrgMembershipHistory
- func UpdatedByContainsFold(v string) predicate.OrgMembershipHistory
- func UpdatedByEQ(v string) predicate.OrgMembershipHistory
- func UpdatedByEqualFold(v string) predicate.OrgMembershipHistory
- func UpdatedByGT(v string) predicate.OrgMembershipHistory
- func UpdatedByGTE(v string) predicate.OrgMembershipHistory
- func UpdatedByHasPrefix(v string) predicate.OrgMembershipHistory
- func UpdatedByHasSuffix(v string) predicate.OrgMembershipHistory
- func UpdatedByIn(vs ...string) predicate.OrgMembershipHistory
- func UpdatedByIsNil() predicate.OrgMembershipHistory
- func UpdatedByLT(v string) predicate.OrgMembershipHistory
- func UpdatedByLTE(v string) predicate.OrgMembershipHistory
- func UpdatedByNEQ(v string) predicate.OrgMembershipHistory
- func UpdatedByNotIn(vs ...string) predicate.OrgMembershipHistory
- func UpdatedByNotNil() predicate.OrgMembershipHistory
- func UserID(v string) predicate.OrgMembershipHistory
- func UserIDContains(v string) predicate.OrgMembershipHistory
- func UserIDContainsFold(v string) predicate.OrgMembershipHistory
- func UserIDEQ(v string) predicate.OrgMembershipHistory
- func UserIDEqualFold(v string) predicate.OrgMembershipHistory
- func UserIDGT(v string) predicate.OrgMembershipHistory
- func UserIDGTE(v string) predicate.OrgMembershipHistory
- func UserIDHasPrefix(v string) predicate.OrgMembershipHistory
- func UserIDHasSuffix(v string) predicate.OrgMembershipHistory
- func UserIDIn(vs ...string) predicate.OrgMembershipHistory
- func UserIDLT(v string) predicate.OrgMembershipHistory
- func UserIDLTE(v string) predicate.OrgMembershipHistory
- func UserIDNEQ(v string) predicate.OrgMembershipHistory
- func UserIDNotIn(vs ...string) predicate.OrgMembershipHistory
- 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 ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(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 orgmembershiphistory type in the database. Label = "org_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" // FieldOperation holds the string denoting the operation field in the database. FieldOperation = "operation" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // 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" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // Table holds the table name of the orgmembershiphistory in the database. Table = "org_membership_history" )
const DefaultRole enums.Role = "MEMBER"
Variables ¶
var ( // 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 // 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 )
var Columns = []string{ FieldID, FieldHistoryTime, FieldOperation, FieldRef, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldRole, FieldOrganizationID, FieldUserID, }
Columns holds all SQL columns for orgmembershiphistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OrgMembershipHistory) predicate.OrgMembershipHistory
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OrgMembershipHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OrgMembershipHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OrgMembershipHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OrgMembershipHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OrgMembershipHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.OrgMembershipHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OrgMembershipHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OrgMembershipHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OrgMembershipHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OrgMembershipHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.OrgMembershipHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.OrgMembershipHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.OrgMembershipHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.OrgMembershipHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.OrgMembershipHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.OrgMembershipHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.OrgMembershipHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.OrgMembershipHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.OrgMembershipHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.OrgMembershipHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.OrgMembershipHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.OrgMembershipHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.OrgMembershipHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.OrgMembershipHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.OrgMembershipHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.OrgMembershipHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.OrgMembershipHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.OrgMembershipHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.OrgMembershipHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.OrgMembershipHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.OrgMembershipHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.OrgMembershipHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.OrgMembershipHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.OrgMembershipHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.OrgMembershipHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.OrgMembershipHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.OrgMembershipHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.OrgMembershipHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.OrgMembershipHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.OrgMembershipHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.OrgMembershipHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.OrgMembershipHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.OrgMembershipHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.OrgMembershipHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.OrgMembershipHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.OrgMembershipHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.OrgMembershipHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.OrgMembershipHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.OrgMembershipHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.OrgMembershipHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.OrgMembershipHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.OrgMembershipHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.OrgMembershipHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.OrgMembershipHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.OrgMembershipHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.OrgMembershipHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.OrgMembershipHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.OrgMembershipHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.OrgMembershipHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.OrgMembershipHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.OrgMembershipHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.OrgMembershipHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.OrgMembershipHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func ID ¶
func ID(id string) predicate.OrgMembershipHistory
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.OrgMembershipHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.OrgMembershipHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.OrgMembershipHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.OrgMembershipHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.OrgMembershipHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.OrgMembershipHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.OrgMembershipHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.OrgMembershipHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.OrgMembershipHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.OrgMembershipHistory
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶ added in v0.5.0
func MappingID(v string) predicate.OrgMembershipHistory
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.OrgMembershipHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶ added in v0.5.0
func MappingIDContainsFold(v string) predicate.OrgMembershipHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶ added in v0.5.0
func MappingIDEQ(v string) predicate.OrgMembershipHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶ added in v0.5.0
func MappingIDEqualFold(v string) predicate.OrgMembershipHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶ added in v0.5.0
func MappingIDGT(v string) predicate.OrgMembershipHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶ added in v0.5.0
func MappingIDGTE(v string) predicate.OrgMembershipHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶ added in v0.5.0
func MappingIDHasPrefix(v string) predicate.OrgMembershipHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶ added in v0.5.0
func MappingIDHasSuffix(v string) predicate.OrgMembershipHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶ added in v0.5.0
func MappingIDIn(vs ...string) predicate.OrgMembershipHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶ added in v0.5.0
func MappingIDLT(v string) predicate.OrgMembershipHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶ added in v0.5.0
func MappingIDLTE(v string) predicate.OrgMembershipHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶ added in v0.5.0
func MappingIDNEQ(v string) predicate.OrgMembershipHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶ added in v0.5.0
func MappingIDNotIn(vs ...string) predicate.OrgMembershipHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.OrgMembershipHistory) predicate.OrgMembershipHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v enthistory.OpType) predicate.OrgMembershipHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...enthistory.OpType) predicate.OrgMembershipHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v enthistory.OpType) predicate.OrgMembershipHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...enthistory.OpType) predicate.OrgMembershipHistory
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.OrgMembershipHistory) predicate.OrgMembershipHistory
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v string) predicate.OrgMembershipHistory
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDContains ¶
func OrganizationIDContains(v string) predicate.OrgMembershipHistory
OrganizationIDContains applies the Contains predicate on the "organization_id" field.
func OrganizationIDContainsFold ¶
func OrganizationIDContainsFold(v string) predicate.OrgMembershipHistory
OrganizationIDContainsFold applies the ContainsFold predicate on the "organization_id" field.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v string) predicate.OrgMembershipHistory
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDEqualFold ¶
func OrganizationIDEqualFold(v string) predicate.OrgMembershipHistory
OrganizationIDEqualFold applies the EqualFold predicate on the "organization_id" field.
func OrganizationIDGT ¶
func OrganizationIDGT(v string) predicate.OrgMembershipHistory
OrganizationIDGT applies the GT predicate on the "organization_id" field.
func OrganizationIDGTE ¶
func OrganizationIDGTE(v string) predicate.OrgMembershipHistory
OrganizationIDGTE applies the GTE predicate on the "organization_id" field.
func OrganizationIDHasPrefix ¶
func OrganizationIDHasPrefix(v string) predicate.OrgMembershipHistory
OrganizationIDHasPrefix applies the HasPrefix predicate on the "organization_id" field.
func OrganizationIDHasSuffix ¶
func OrganizationIDHasSuffix(v string) predicate.OrgMembershipHistory
OrganizationIDHasSuffix applies the HasSuffix predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...string) predicate.OrgMembershipHistory
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDLT ¶
func OrganizationIDLT(v string) predicate.OrgMembershipHistory
OrganizationIDLT applies the LT predicate on the "organization_id" field.
func OrganizationIDLTE ¶
func OrganizationIDLTE(v string) predicate.OrgMembershipHistory
OrganizationIDLTE applies the LTE predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v string) predicate.OrgMembershipHistory
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...string) predicate.OrgMembershipHistory
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func Ref ¶
func Ref(v string) predicate.OrgMembershipHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.OrgMembershipHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.OrgMembershipHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.OrgMembershipHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.OrgMembershipHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.OrgMembershipHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.OrgMembershipHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.OrgMembershipHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.OrgMembershipHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.OrgMembershipHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.OrgMembershipHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.OrgMembershipHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.OrgMembershipHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.OrgMembershipHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.OrgMembershipHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.OrgMembershipHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func RoleEQ ¶
func RoleEQ(v enums.Role) predicate.OrgMembershipHistory
RoleEQ applies the EQ predicate on the "role" field.
func RoleIn ¶
func RoleIn(vs ...enums.Role) predicate.OrgMembershipHistory
RoleIn applies the In predicate on the "role" field.
func RoleNEQ ¶
func RoleNEQ(v enums.Role) predicate.OrgMembershipHistory
RoleNEQ applies the NEQ predicate on the "role" field.
func RoleNotIn ¶
func RoleNotIn(vs ...enums.Role) predicate.OrgMembershipHistory
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.OrgMembershipHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.OrgMembershipHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.OrgMembershipHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.OrgMembershipHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.OrgMembershipHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.OrgMembershipHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.OrgMembershipHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.OrgMembershipHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.OrgMembershipHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.OrgMembershipHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.OrgMembershipHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.OrgMembershipHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.OrgMembershipHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.OrgMembershipHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.OrgMembershipHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.OrgMembershipHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.OrgMembershipHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.OrgMembershipHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.OrgMembershipHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.OrgMembershipHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.OrgMembershipHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.OrgMembershipHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.OrgMembershipHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.OrgMembershipHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.OrgMembershipHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.OrgMembershipHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.OrgMembershipHistory
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
func UserID(v string) predicate.OrgMembershipHistory
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
func UserIDContains(v string) predicate.OrgMembershipHistory
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
func UserIDContainsFold(v string) predicate.OrgMembershipHistory
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEQ ¶
func UserIDEQ(v string) predicate.OrgMembershipHistory
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEqualFold ¶
func UserIDEqualFold(v string) predicate.OrgMembershipHistory
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v string) predicate.OrgMembershipHistory
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v string) predicate.OrgMembershipHistory
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDHasPrefix ¶
func UserIDHasPrefix(v string) predicate.OrgMembershipHistory
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
func UserIDHasSuffix(v string) predicate.OrgMembershipHistory
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...string) predicate.OrgMembershipHistory
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v string) predicate.OrgMembershipHistory
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v string) predicate.OrgMembershipHistory
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v string) predicate.OrgMembershipHistory
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...string) predicate.OrgMembershipHistory
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 OrgMembershipHistory 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 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 ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id 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.