Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ProgramHistory) predicate.ProgramHistory
- func AuditorReadComments(v bool) predicate.ProgramHistory
- func AuditorReadCommentsEQ(v bool) predicate.ProgramHistory
- func AuditorReadCommentsNEQ(v bool) predicate.ProgramHistory
- func AuditorReady(v bool) predicate.ProgramHistory
- func AuditorReadyEQ(v bool) predicate.ProgramHistory
- func AuditorReadyNEQ(v bool) predicate.ProgramHistory
- func AuditorWriteComments(v bool) predicate.ProgramHistory
- func AuditorWriteCommentsEQ(v bool) predicate.ProgramHistory
- func AuditorWriteCommentsNEQ(v bool) predicate.ProgramHistory
- func CreatedAt(v time.Time) predicate.ProgramHistory
- func CreatedAtEQ(v time.Time) predicate.ProgramHistory
- func CreatedAtGT(v time.Time) predicate.ProgramHistory
- func CreatedAtGTE(v time.Time) predicate.ProgramHistory
- func CreatedAtIn(vs ...time.Time) predicate.ProgramHistory
- func CreatedAtIsNil() predicate.ProgramHistory
- func CreatedAtLT(v time.Time) predicate.ProgramHistory
- func CreatedAtLTE(v time.Time) predicate.ProgramHistory
- func CreatedAtNEQ(v time.Time) predicate.ProgramHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.ProgramHistory
- func CreatedAtNotNil() predicate.ProgramHistory
- func CreatedBy(v string) predicate.ProgramHistory
- func CreatedByContains(v string) predicate.ProgramHistory
- func CreatedByContainsFold(v string) predicate.ProgramHistory
- func CreatedByEQ(v string) predicate.ProgramHistory
- func CreatedByEqualFold(v string) predicate.ProgramHistory
- func CreatedByGT(v string) predicate.ProgramHistory
- func CreatedByGTE(v string) predicate.ProgramHistory
- func CreatedByHasPrefix(v string) predicate.ProgramHistory
- func CreatedByHasSuffix(v string) predicate.ProgramHistory
- func CreatedByIn(vs ...string) predicate.ProgramHistory
- func CreatedByIsNil() predicate.ProgramHistory
- func CreatedByLT(v string) predicate.ProgramHistory
- func CreatedByLTE(v string) predicate.ProgramHistory
- func CreatedByNEQ(v string) predicate.ProgramHistory
- func CreatedByNotIn(vs ...string) predicate.ProgramHistory
- func CreatedByNotNil() predicate.ProgramHistory
- func DeletedAt(v time.Time) predicate.ProgramHistory
- func DeletedAtEQ(v time.Time) predicate.ProgramHistory
- func DeletedAtGT(v time.Time) predicate.ProgramHistory
- func DeletedAtGTE(v time.Time) predicate.ProgramHistory
- func DeletedAtIn(vs ...time.Time) predicate.ProgramHistory
- func DeletedAtIsNil() predicate.ProgramHistory
- func DeletedAtLT(v time.Time) predicate.ProgramHistory
- func DeletedAtLTE(v time.Time) predicate.ProgramHistory
- func DeletedAtNEQ(v time.Time) predicate.ProgramHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.ProgramHistory
- func DeletedAtNotNil() predicate.ProgramHistory
- func DeletedBy(v string) predicate.ProgramHistory
- func DeletedByContains(v string) predicate.ProgramHistory
- func DeletedByContainsFold(v string) predicate.ProgramHistory
- func DeletedByEQ(v string) predicate.ProgramHistory
- func DeletedByEqualFold(v string) predicate.ProgramHistory
- func DeletedByGT(v string) predicate.ProgramHistory
- func DeletedByGTE(v string) predicate.ProgramHistory
- func DeletedByHasPrefix(v string) predicate.ProgramHistory
- func DeletedByHasSuffix(v string) predicate.ProgramHistory
- func DeletedByIn(vs ...string) predicate.ProgramHistory
- func DeletedByIsNil() predicate.ProgramHistory
- func DeletedByLT(v string) predicate.ProgramHistory
- func DeletedByLTE(v string) predicate.ProgramHistory
- func DeletedByNEQ(v string) predicate.ProgramHistory
- func DeletedByNotIn(vs ...string) predicate.ProgramHistory
- func DeletedByNotNil() predicate.ProgramHistory
- func Description(v string) predicate.ProgramHistory
- func DescriptionContains(v string) predicate.ProgramHistory
- func DescriptionContainsFold(v string) predicate.ProgramHistory
- func DescriptionEQ(v string) predicate.ProgramHistory
- func DescriptionEqualFold(v string) predicate.ProgramHistory
- func DescriptionGT(v string) predicate.ProgramHistory
- func DescriptionGTE(v string) predicate.ProgramHistory
- func DescriptionHasPrefix(v string) predicate.ProgramHistory
- func DescriptionHasSuffix(v string) predicate.ProgramHistory
- func DescriptionIn(vs ...string) predicate.ProgramHistory
- func DescriptionIsNil() predicate.ProgramHistory
- func DescriptionLT(v string) predicate.ProgramHistory
- func DescriptionLTE(v string) predicate.ProgramHistory
- func DescriptionNEQ(v string) predicate.ProgramHistory
- func DescriptionNotIn(vs ...string) predicate.ProgramHistory
- func DescriptionNotNil() predicate.ProgramHistory
- func EndDate(v time.Time) predicate.ProgramHistory
- func EndDateEQ(v time.Time) predicate.ProgramHistory
- func EndDateGT(v time.Time) predicate.ProgramHistory
- func EndDateGTE(v time.Time) predicate.ProgramHistory
- func EndDateIn(vs ...time.Time) predicate.ProgramHistory
- func EndDateIsNil() predicate.ProgramHistory
- func EndDateLT(v time.Time) predicate.ProgramHistory
- func EndDateLTE(v time.Time) predicate.ProgramHistory
- func EndDateNEQ(v time.Time) predicate.ProgramHistory
- func EndDateNotIn(vs ...time.Time) predicate.ProgramHistory
- func EndDateNotNil() predicate.ProgramHistory
- func HistoryTime(v time.Time) predicate.ProgramHistory
- func HistoryTimeEQ(v time.Time) predicate.ProgramHistory
- func HistoryTimeGT(v time.Time) predicate.ProgramHistory
- func HistoryTimeGTE(v time.Time) predicate.ProgramHistory
- func HistoryTimeIn(vs ...time.Time) predicate.ProgramHistory
- func HistoryTimeLT(v time.Time) predicate.ProgramHistory
- func HistoryTimeLTE(v time.Time) predicate.ProgramHistory
- func HistoryTimeNEQ(v time.Time) predicate.ProgramHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.ProgramHistory
- func ID(id string) predicate.ProgramHistory
- func IDContainsFold(id string) predicate.ProgramHistory
- func IDEQ(id string) predicate.ProgramHistory
- func IDEqualFold(id string) predicate.ProgramHistory
- func IDGT(id string) predicate.ProgramHistory
- func IDGTE(id string) predicate.ProgramHistory
- func IDIn(ids ...string) predicate.ProgramHistory
- func IDLT(id string) predicate.ProgramHistory
- func IDLTE(id string) predicate.ProgramHistory
- func IDNEQ(id string) predicate.ProgramHistory
- func IDNotIn(ids ...string) predicate.ProgramHistory
- func MappingID(v string) predicate.ProgramHistory
- func MappingIDContains(v string) predicate.ProgramHistory
- func MappingIDContainsFold(v string) predicate.ProgramHistory
- func MappingIDEQ(v string) predicate.ProgramHistory
- func MappingIDEqualFold(v string) predicate.ProgramHistory
- func MappingIDGT(v string) predicate.ProgramHistory
- func MappingIDGTE(v string) predicate.ProgramHistory
- func MappingIDHasPrefix(v string) predicate.ProgramHistory
- func MappingIDHasSuffix(v string) predicate.ProgramHistory
- func MappingIDIn(vs ...string) predicate.ProgramHistory
- func MappingIDLT(v string) predicate.ProgramHistory
- func MappingIDLTE(v string) predicate.ProgramHistory
- func MappingIDNEQ(v string) predicate.ProgramHistory
- func MappingIDNotIn(vs ...string) predicate.ProgramHistory
- func Name(v string) predicate.ProgramHistory
- func NameContains(v string) predicate.ProgramHistory
- func NameContainsFold(v string) predicate.ProgramHistory
- func NameEQ(v string) predicate.ProgramHistory
- func NameEqualFold(v string) predicate.ProgramHistory
- func NameGT(v string) predicate.ProgramHistory
- func NameGTE(v string) predicate.ProgramHistory
- func NameHasPrefix(v string) predicate.ProgramHistory
- func NameHasSuffix(v string) predicate.ProgramHistory
- func NameIn(vs ...string) predicate.ProgramHistory
- func NameLT(v string) predicate.ProgramHistory
- func NameLTE(v string) predicate.ProgramHistory
- func NameNEQ(v string) predicate.ProgramHistory
- func NameNotIn(vs ...string) predicate.ProgramHistory
- func Not(p predicate.ProgramHistory) predicate.ProgramHistory
- func OperationEQ(v history.OpType) predicate.ProgramHistory
- func OperationIn(vs ...history.OpType) predicate.ProgramHistory
- func OperationNEQ(v history.OpType) predicate.ProgramHistory
- func OperationNotIn(vs ...history.OpType) predicate.ProgramHistory
- func OperationValidator(o history.OpType) error
- func Or(predicates ...predicate.ProgramHistory) predicate.ProgramHistory
- func OwnerID(v string) predicate.ProgramHistory
- func OwnerIDContains(v string) predicate.ProgramHistory
- func OwnerIDContainsFold(v string) predicate.ProgramHistory
- func OwnerIDEQ(v string) predicate.ProgramHistory
- func OwnerIDEqualFold(v string) predicate.ProgramHistory
- func OwnerIDGT(v string) predicate.ProgramHistory
- func OwnerIDGTE(v string) predicate.ProgramHistory
- func OwnerIDHasPrefix(v string) predicate.ProgramHistory
- func OwnerIDHasSuffix(v string) predicate.ProgramHistory
- func OwnerIDIn(vs ...string) predicate.ProgramHistory
- func OwnerIDIsNil() predicate.ProgramHistory
- func OwnerIDLT(v string) predicate.ProgramHistory
- func OwnerIDLTE(v string) predicate.ProgramHistory
- func OwnerIDNEQ(v string) predicate.ProgramHistory
- func OwnerIDNotIn(vs ...string) predicate.ProgramHistory
- func OwnerIDNotNil() predicate.ProgramHistory
- func Ref(v string) predicate.ProgramHistory
- func RefContains(v string) predicate.ProgramHistory
- func RefContainsFold(v string) predicate.ProgramHistory
- func RefEQ(v string) predicate.ProgramHistory
- func RefEqualFold(v string) predicate.ProgramHistory
- func RefGT(v string) predicate.ProgramHistory
- func RefGTE(v string) predicate.ProgramHistory
- func RefHasPrefix(v string) predicate.ProgramHistory
- func RefHasSuffix(v string) predicate.ProgramHistory
- func RefIn(vs ...string) predicate.ProgramHistory
- func RefIsNil() predicate.ProgramHistory
- func RefLT(v string) predicate.ProgramHistory
- func RefLTE(v string) predicate.ProgramHistory
- func RefNEQ(v string) predicate.ProgramHistory
- func RefNotIn(vs ...string) predicate.ProgramHistory
- func RefNotNil() predicate.ProgramHistory
- func StartDate(v time.Time) predicate.ProgramHistory
- func StartDateEQ(v time.Time) predicate.ProgramHistory
- func StartDateGT(v time.Time) predicate.ProgramHistory
- func StartDateGTE(v time.Time) predicate.ProgramHistory
- func StartDateIn(vs ...time.Time) predicate.ProgramHistory
- func StartDateIsNil() predicate.ProgramHistory
- func StartDateLT(v time.Time) predicate.ProgramHistory
- func StartDateLTE(v time.Time) predicate.ProgramHistory
- func StartDateNEQ(v time.Time) predicate.ProgramHistory
- func StartDateNotIn(vs ...time.Time) predicate.ProgramHistory
- func StartDateNotNil() predicate.ProgramHistory
- func StatusEQ(v enums.ProgramStatus) predicate.ProgramHistory
- func StatusIn(vs ...enums.ProgramStatus) predicate.ProgramHistory
- func StatusNEQ(v enums.ProgramStatus) predicate.ProgramHistory
- func StatusNotIn(vs ...enums.ProgramStatus) predicate.ProgramHistory
- func StatusValidator(s enums.ProgramStatus) error
- func TagsIsNil() predicate.ProgramHistory
- func TagsNotNil() predicate.ProgramHistory
- func UpdatedAt(v time.Time) predicate.ProgramHistory
- func UpdatedAtEQ(v time.Time) predicate.ProgramHistory
- func UpdatedAtGT(v time.Time) predicate.ProgramHistory
- func UpdatedAtGTE(v time.Time) predicate.ProgramHistory
- func UpdatedAtIn(vs ...time.Time) predicate.ProgramHistory
- func UpdatedAtIsNil() predicate.ProgramHistory
- func UpdatedAtLT(v time.Time) predicate.ProgramHistory
- func UpdatedAtLTE(v time.Time) predicate.ProgramHistory
- func UpdatedAtNEQ(v time.Time) predicate.ProgramHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.ProgramHistory
- func UpdatedAtNotNil() predicate.ProgramHistory
- func UpdatedBy(v string) predicate.ProgramHistory
- func UpdatedByContains(v string) predicate.ProgramHistory
- func UpdatedByContainsFold(v string) predicate.ProgramHistory
- func UpdatedByEQ(v string) predicate.ProgramHistory
- func UpdatedByEqualFold(v string) predicate.ProgramHistory
- func UpdatedByGT(v string) predicate.ProgramHistory
- func UpdatedByGTE(v string) predicate.ProgramHistory
- func UpdatedByHasPrefix(v string) predicate.ProgramHistory
- func UpdatedByHasSuffix(v string) predicate.ProgramHistory
- func UpdatedByIn(vs ...string) predicate.ProgramHistory
- func UpdatedByIsNil() predicate.ProgramHistory
- func UpdatedByLT(v string) predicate.ProgramHistory
- func UpdatedByLTE(v string) predicate.ProgramHistory
- func UpdatedByNEQ(v string) predicate.ProgramHistory
- func UpdatedByNotIn(vs ...string) predicate.ProgramHistory
- func UpdatedByNotNil() predicate.ProgramHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByAuditorReadComments(opts ...sql.OrderTermOption) OrderOption
- func ByAuditorReady(opts ...sql.OrderTermOption) OrderOption
- func ByAuditorWriteComments(opts ...sql.OrderTermOption) 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 ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEndDate(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByStartDate(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the programhistory type in the database. Label = "program_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" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldStartDate holds the string denoting the start_date field in the database. FieldStartDate = "start_date" // FieldEndDate holds the string denoting the end_date field in the database. FieldEndDate = "end_date" // FieldAuditorReady holds the string denoting the auditor_ready field in the database. FieldAuditorReady = "auditor_ready" // FieldAuditorWriteComments holds the string denoting the auditor_write_comments field in the database. FieldAuditorWriteComments = "auditor_write_comments" // FieldAuditorReadComments holds the string denoting the auditor_read_comments field in the database. FieldAuditorReadComments = "auditor_read_comments" // Table holds the table name of the programhistory in the database. Table = "program_history" )
const DefaultStatus enums.ProgramStatus = "NOT_STARTED"
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 // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultAuditorReady holds the default value on creation for the "auditor_ready" field. DefaultAuditorReady bool // DefaultAuditorWriteComments holds the default value on creation for the "auditor_write_comments" field. DefaultAuditorWriteComments bool // DefaultAuditorReadComments holds the default value on creation for the "auditor_read_comments" field. DefaultAuditorReadComments bool // 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, FieldTags, FieldOwnerID, FieldName, FieldDescription, FieldStatus, FieldStartDate, FieldEndDate, FieldAuditorReady, FieldAuditorWriteComments, FieldAuditorReadComments, }
Columns holds all SQL columns for programhistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ProgramHistory) predicate.ProgramHistory
And groups predicates with the AND operator between them.
func AuditorReadComments ¶
func AuditorReadComments(v bool) predicate.ProgramHistory
AuditorReadComments applies equality check predicate on the "auditor_read_comments" field. It's identical to AuditorReadCommentsEQ.
func AuditorReadCommentsEQ ¶
func AuditorReadCommentsEQ(v bool) predicate.ProgramHistory
AuditorReadCommentsEQ applies the EQ predicate on the "auditor_read_comments" field.
func AuditorReadCommentsNEQ ¶
func AuditorReadCommentsNEQ(v bool) predicate.ProgramHistory
AuditorReadCommentsNEQ applies the NEQ predicate on the "auditor_read_comments" field.
func AuditorReady ¶
func AuditorReady(v bool) predicate.ProgramHistory
AuditorReady applies equality check predicate on the "auditor_ready" field. It's identical to AuditorReadyEQ.
func AuditorReadyEQ ¶
func AuditorReadyEQ(v bool) predicate.ProgramHistory
AuditorReadyEQ applies the EQ predicate on the "auditor_ready" field.
func AuditorReadyNEQ ¶
func AuditorReadyNEQ(v bool) predicate.ProgramHistory
AuditorReadyNEQ applies the NEQ predicate on the "auditor_ready" field.
func AuditorWriteComments ¶
func AuditorWriteComments(v bool) predicate.ProgramHistory
AuditorWriteComments applies equality check predicate on the "auditor_write_comments" field. It's identical to AuditorWriteCommentsEQ.
func AuditorWriteCommentsEQ ¶
func AuditorWriteCommentsEQ(v bool) predicate.ProgramHistory
AuditorWriteCommentsEQ applies the EQ predicate on the "auditor_write_comments" field.
func AuditorWriteCommentsNEQ ¶
func AuditorWriteCommentsNEQ(v bool) predicate.ProgramHistory
AuditorWriteCommentsNEQ applies the NEQ predicate on the "auditor_write_comments" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ProgramHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ProgramHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ProgramHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ProgramHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ProgramHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ProgramHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ProgramHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ProgramHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ProgramHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ProgramHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ProgramHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.ProgramHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.ProgramHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.ProgramHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.ProgramHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.ProgramHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.ProgramHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.ProgramHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.ProgramHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.ProgramHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.ProgramHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.ProgramHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.ProgramHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.ProgramHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.ProgramHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.ProgramHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.ProgramHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ProgramHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ProgramHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ProgramHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ProgramHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ProgramHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ProgramHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ProgramHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ProgramHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ProgramHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ProgramHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ProgramHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.ProgramHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.ProgramHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.ProgramHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.ProgramHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.ProgramHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.ProgramHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.ProgramHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.ProgramHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.ProgramHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.ProgramHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.ProgramHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.ProgramHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.ProgramHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.ProgramHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.ProgramHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.ProgramHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
func Description(v string) predicate.ProgramHistory
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ProgramHistory
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ProgramHistory
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ProgramHistory
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ProgramHistory
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ProgramHistory
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ProgramHistory
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ProgramHistory
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ProgramHistory
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ProgramHistory
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ProgramHistory
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ProgramHistory
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ProgramHistory
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ProgramHistory
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ProgramHistory
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ProgramHistory
DescriptionNotNil applies the NotNil predicate on the "description" field.
func EndDate ¶
func EndDate(v time.Time) predicate.ProgramHistory
EndDate applies equality check predicate on the "end_date" field. It's identical to EndDateEQ.
func EndDateEQ ¶
func EndDateEQ(v time.Time) predicate.ProgramHistory
EndDateEQ applies the EQ predicate on the "end_date" field.
func EndDateGT ¶
func EndDateGT(v time.Time) predicate.ProgramHistory
EndDateGT applies the GT predicate on the "end_date" field.
func EndDateGTE ¶
func EndDateGTE(v time.Time) predicate.ProgramHistory
EndDateGTE applies the GTE predicate on the "end_date" field.
func EndDateIn ¶
func EndDateIn(vs ...time.Time) predicate.ProgramHistory
EndDateIn applies the In predicate on the "end_date" field.
func EndDateIsNil ¶
func EndDateIsNil() predicate.ProgramHistory
EndDateIsNil applies the IsNil predicate on the "end_date" field.
func EndDateLT ¶
func EndDateLT(v time.Time) predicate.ProgramHistory
EndDateLT applies the LT predicate on the "end_date" field.
func EndDateLTE ¶
func EndDateLTE(v time.Time) predicate.ProgramHistory
EndDateLTE applies the LTE predicate on the "end_date" field.
func EndDateNEQ ¶
func EndDateNEQ(v time.Time) predicate.ProgramHistory
EndDateNEQ applies the NEQ predicate on the "end_date" field.
func EndDateNotIn ¶
func EndDateNotIn(vs ...time.Time) predicate.ProgramHistory
EndDateNotIn applies the NotIn predicate on the "end_date" field.
func EndDateNotNil ¶
func EndDateNotNil() predicate.ProgramHistory
EndDateNotNil applies the NotNil predicate on the "end_date" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.ProgramHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.ProgramHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.ProgramHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.ProgramHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.ProgramHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.ProgramHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.ProgramHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.ProgramHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.ProgramHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.ProgramHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.ProgramHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.ProgramHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.ProgramHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ProgramHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ProgramHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ProgramHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ProgramHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ProgramHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.ProgramHistory
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶
func MappingID(v string) predicate.ProgramHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.ProgramHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.ProgramHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.ProgramHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.ProgramHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.ProgramHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.ProgramHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.ProgramHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.ProgramHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.ProgramHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.ProgramHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.ProgramHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.ProgramHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.ProgramHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Name ¶
func Name(v string) predicate.ProgramHistory
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ProgramHistory
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ProgramHistory
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ProgramHistory
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ProgramHistory
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ProgramHistory
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ProgramHistory
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ProgramHistory
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ProgramHistory
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ProgramHistory
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ProgramHistory
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ProgramHistory
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ProgramHistory
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ProgramHistory
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ProgramHistory) predicate.ProgramHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v history.OpType) predicate.ProgramHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...history.OpType) predicate.ProgramHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v history.OpType) predicate.ProgramHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...history.OpType) predicate.ProgramHistory
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.ProgramHistory) predicate.ProgramHistory
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v string) predicate.ProgramHistory
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.ProgramHistory
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.ProgramHistory
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.ProgramHistory
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.ProgramHistory
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.ProgramHistory
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.ProgramHistory
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.ProgramHistory
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.ProgramHistory
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.ProgramHistory
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶
func OwnerIDIsNil() predicate.ProgramHistory
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.ProgramHistory
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.ProgramHistory
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.ProgramHistory
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.ProgramHistory
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
func OwnerIDNotNil() predicate.ProgramHistory
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func Ref ¶
func Ref(v string) predicate.ProgramHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.ProgramHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.ProgramHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.ProgramHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.ProgramHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.ProgramHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.ProgramHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.ProgramHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.ProgramHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.ProgramHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.ProgramHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.ProgramHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.ProgramHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.ProgramHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.ProgramHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.ProgramHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func StartDate ¶
func StartDate(v time.Time) predicate.ProgramHistory
StartDate applies equality check predicate on the "start_date" field. It's identical to StartDateEQ.
func StartDateEQ ¶
func StartDateEQ(v time.Time) predicate.ProgramHistory
StartDateEQ applies the EQ predicate on the "start_date" field.
func StartDateGT ¶
func StartDateGT(v time.Time) predicate.ProgramHistory
StartDateGT applies the GT predicate on the "start_date" field.
func StartDateGTE ¶
func StartDateGTE(v time.Time) predicate.ProgramHistory
StartDateGTE applies the GTE predicate on the "start_date" field.
func StartDateIn ¶
func StartDateIn(vs ...time.Time) predicate.ProgramHistory
StartDateIn applies the In predicate on the "start_date" field.
func StartDateIsNil ¶
func StartDateIsNil() predicate.ProgramHistory
StartDateIsNil applies the IsNil predicate on the "start_date" field.
func StartDateLT ¶
func StartDateLT(v time.Time) predicate.ProgramHistory
StartDateLT applies the LT predicate on the "start_date" field.
func StartDateLTE ¶
func StartDateLTE(v time.Time) predicate.ProgramHistory
StartDateLTE applies the LTE predicate on the "start_date" field.
func StartDateNEQ ¶
func StartDateNEQ(v time.Time) predicate.ProgramHistory
StartDateNEQ applies the NEQ predicate on the "start_date" field.
func StartDateNotIn ¶
func StartDateNotIn(vs ...time.Time) predicate.ProgramHistory
StartDateNotIn applies the NotIn predicate on the "start_date" field.
func StartDateNotNil ¶
func StartDateNotNil() predicate.ProgramHistory
StartDateNotNil applies the NotNil predicate on the "start_date" field.
func StatusEQ ¶
func StatusEQ(v enums.ProgramStatus) predicate.ProgramHistory
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.ProgramStatus) predicate.ProgramHistory
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.ProgramStatus) predicate.ProgramHistory
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.ProgramStatus) predicate.ProgramHistory
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.ProgramStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TagsIsNil ¶
func TagsIsNil() predicate.ProgramHistory
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.ProgramHistory
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ProgramHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ProgramHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ProgramHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ProgramHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ProgramHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ProgramHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ProgramHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ProgramHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ProgramHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ProgramHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ProgramHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.ProgramHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.ProgramHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.ProgramHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.ProgramHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.ProgramHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.ProgramHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.ProgramHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.ProgramHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.ProgramHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.ProgramHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.ProgramHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.ProgramHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.ProgramHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.ProgramHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.ProgramHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.ProgramHistory
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 ProgramHistory queries.
func ByAuditorReadComments ¶
func ByAuditorReadComments(opts ...sql.OrderTermOption) OrderOption
ByAuditorReadComments orders the results by the auditor_read_comments field.
func ByAuditorReady ¶
func ByAuditorReady(opts ...sql.OrderTermOption) OrderOption
ByAuditorReady orders the results by the auditor_ready field.
func ByAuditorWriteComments ¶
func ByAuditorWriteComments(opts ...sql.OrderTermOption) OrderOption
ByAuditorWriteComments orders the results by the auditor_write_comments field.
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 ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEndDate ¶
func ByEndDate(opts ...sql.OrderTermOption) OrderOption
ByEndDate orders the results by the end_date 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 ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func ByStartDate ¶
func ByStartDate(opts ...sql.OrderTermOption) OrderOption
ByStartDate orders the results by the start_date field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.