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