Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EventHistory) predicate.EventHistory
- func CorrelationID(v string) predicate.EventHistory
- func CorrelationIDContains(v string) predicate.EventHistory
- func CorrelationIDContainsFold(v string) predicate.EventHistory
- func CorrelationIDEQ(v string) predicate.EventHistory
- func CorrelationIDEqualFold(v string) predicate.EventHistory
- func CorrelationIDGT(v string) predicate.EventHistory
- func CorrelationIDGTE(v string) predicate.EventHistory
- func CorrelationIDHasPrefix(v string) predicate.EventHistory
- func CorrelationIDHasSuffix(v string) predicate.EventHistory
- func CorrelationIDIn(vs ...string) predicate.EventHistory
- func CorrelationIDLT(v string) predicate.EventHistory
- func CorrelationIDLTE(v string) predicate.EventHistory
- func CorrelationIDNEQ(v string) predicate.EventHistory
- func CorrelationIDNotIn(vs ...string) predicate.EventHistory
- func CreatedAt(v time.Time) predicate.EventHistory
- func CreatedAtEQ(v time.Time) predicate.EventHistory
- func CreatedAtGT(v time.Time) predicate.EventHistory
- func CreatedAtGTE(v time.Time) predicate.EventHistory
- func CreatedAtIn(vs ...time.Time) predicate.EventHistory
- func CreatedAtIsNil() predicate.EventHistory
- func CreatedAtLT(v time.Time) predicate.EventHistory
- func CreatedAtLTE(v time.Time) predicate.EventHistory
- func CreatedAtNEQ(v time.Time) predicate.EventHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.EventHistory
- func CreatedAtNotNil() predicate.EventHistory
- func CreatedBy(v string) predicate.EventHistory
- func CreatedByContains(v string) predicate.EventHistory
- func CreatedByContainsFold(v string) predicate.EventHistory
- func CreatedByEQ(v string) predicate.EventHistory
- func CreatedByEqualFold(v string) predicate.EventHistory
- func CreatedByGT(v string) predicate.EventHistory
- func CreatedByGTE(v string) predicate.EventHistory
- func CreatedByHasPrefix(v string) predicate.EventHistory
- func CreatedByHasSuffix(v string) predicate.EventHistory
- func CreatedByIn(vs ...string) predicate.EventHistory
- func CreatedByIsNil() predicate.EventHistory
- func CreatedByLT(v string) predicate.EventHistory
- func CreatedByLTE(v string) predicate.EventHistory
- func CreatedByNEQ(v string) predicate.EventHistory
- func CreatedByNotIn(vs ...string) predicate.EventHistory
- func CreatedByNotNil() predicate.EventHistory
- func EventID(v string) predicate.EventHistory
- func EventIDContains(v string) predicate.EventHistory
- func EventIDContainsFold(v string) predicate.EventHistory
- func EventIDEQ(v string) predicate.EventHistory
- func EventIDEqualFold(v string) predicate.EventHistory
- func EventIDGT(v string) predicate.EventHistory
- func EventIDGTE(v string) predicate.EventHistory
- func EventIDHasPrefix(v string) predicate.EventHistory
- func EventIDHasSuffix(v string) predicate.EventHistory
- func EventIDIn(vs ...string) predicate.EventHistory
- func EventIDLT(v string) predicate.EventHistory
- func EventIDLTE(v string) predicate.EventHistory
- func EventIDNEQ(v string) predicate.EventHistory
- func EventIDNotIn(vs ...string) predicate.EventHistory
- func EventType(v string) predicate.EventHistory
- func EventTypeContains(v string) predicate.EventHistory
- func EventTypeContainsFold(v string) predicate.EventHistory
- func EventTypeEQ(v string) predicate.EventHistory
- func EventTypeEqualFold(v string) predicate.EventHistory
- func EventTypeGT(v string) predicate.EventHistory
- func EventTypeGTE(v string) predicate.EventHistory
- func EventTypeHasPrefix(v string) predicate.EventHistory
- func EventTypeHasSuffix(v string) predicate.EventHistory
- func EventTypeIn(vs ...string) predicate.EventHistory
- func EventTypeLT(v string) predicate.EventHistory
- func EventTypeLTE(v string) predicate.EventHistory
- func EventTypeNEQ(v string) predicate.EventHistory
- func EventTypeNotIn(vs ...string) predicate.EventHistory
- func HistoryTime(v time.Time) predicate.EventHistory
- func HistoryTimeEQ(v time.Time) predicate.EventHistory
- func HistoryTimeGT(v time.Time) predicate.EventHistory
- func HistoryTimeGTE(v time.Time) predicate.EventHistory
- func HistoryTimeIn(vs ...time.Time) predicate.EventHistory
- func HistoryTimeLT(v time.Time) predicate.EventHistory
- func HistoryTimeLTE(v time.Time) predicate.EventHistory
- func HistoryTimeNEQ(v time.Time) predicate.EventHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.EventHistory
- func ID(id string) predicate.EventHistory
- func IDContainsFold(id string) predicate.EventHistory
- func IDEQ(id string) predicate.EventHistory
- func IDEqualFold(id string) predicate.EventHistory
- func IDGT(id string) predicate.EventHistory
- func IDGTE(id string) predicate.EventHistory
- func IDIn(ids ...string) predicate.EventHistory
- func IDLT(id string) predicate.EventHistory
- func IDLTE(id string) predicate.EventHistory
- func IDNEQ(id string) predicate.EventHistory
- func IDNotIn(ids ...string) predicate.EventHistory
- func MetadataIsNil() predicate.EventHistory
- func MetadataNotNil() predicate.EventHistory
- func Not(p predicate.EventHistory) predicate.EventHistory
- func OperationEQ(v enthistory.OpType) predicate.EventHistory
- func OperationIn(vs ...enthistory.OpType) predicate.EventHistory
- func OperationNEQ(v enthistory.OpType) predicate.EventHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.EventHistory
- func OperationValidator(o enthistory.OpType) error
- func Or(predicates ...predicate.EventHistory) predicate.EventHistory
- func Ref(v string) predicate.EventHistory
- func RefContains(v string) predicate.EventHistory
- func RefContainsFold(v string) predicate.EventHistory
- func RefEQ(v string) predicate.EventHistory
- func RefEqualFold(v string) predicate.EventHistory
- func RefGT(v string) predicate.EventHistory
- func RefGTE(v string) predicate.EventHistory
- func RefHasPrefix(v string) predicate.EventHistory
- func RefHasSuffix(v string) predicate.EventHistory
- func RefIn(vs ...string) predicate.EventHistory
- func RefIsNil() predicate.EventHistory
- func RefLT(v string) predicate.EventHistory
- func RefLTE(v string) predicate.EventHistory
- func RefNEQ(v string) predicate.EventHistory
- func RefNotIn(vs ...string) predicate.EventHistory
- func RefNotNil() predicate.EventHistory
- func UpdatedAt(v time.Time) predicate.EventHistory
- func UpdatedAtEQ(v time.Time) predicate.EventHistory
- func UpdatedAtGT(v time.Time) predicate.EventHistory
- func UpdatedAtGTE(v time.Time) predicate.EventHistory
- func UpdatedAtIn(vs ...time.Time) predicate.EventHistory
- func UpdatedAtIsNil() predicate.EventHistory
- func UpdatedAtLT(v time.Time) predicate.EventHistory
- func UpdatedAtLTE(v time.Time) predicate.EventHistory
- func UpdatedAtNEQ(v time.Time) predicate.EventHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.EventHistory
- func UpdatedAtNotNil() predicate.EventHistory
- func UpdatedBy(v string) predicate.EventHistory
- func UpdatedByContains(v string) predicate.EventHistory
- func UpdatedByContainsFold(v string) predicate.EventHistory
- func UpdatedByEQ(v string) predicate.EventHistory
- func UpdatedByEqualFold(v string) predicate.EventHistory
- func UpdatedByGT(v string) predicate.EventHistory
- func UpdatedByGTE(v string) predicate.EventHistory
- func UpdatedByHasPrefix(v string) predicate.EventHistory
- func UpdatedByHasSuffix(v string) predicate.EventHistory
- func UpdatedByIn(vs ...string) predicate.EventHistory
- func UpdatedByIsNil() predicate.EventHistory
- func UpdatedByLT(v string) predicate.EventHistory
- func UpdatedByLTE(v string) predicate.EventHistory
- func UpdatedByNEQ(v string) predicate.EventHistory
- func UpdatedByNotIn(vs ...string) predicate.EventHistory
- func UpdatedByNotNil() predicate.EventHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByCorrelationID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEventID(opts ...sql.OrderTermOption) OrderOption
- func ByEventType(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByRef(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 eventhistory type in the database. Label = "event_history" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHistoryTime holds the string denoting the history_time field in the database. FieldHistoryTime = "history_time" // FieldOperation holds the string denoting the operation field in the database. FieldOperation = "operation" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldEventID holds the string denoting the event_id field in the database. FieldEventID = "event_id" // FieldCorrelationID holds the string denoting the correlation_id field in the database. FieldCorrelationID = "correlation_id" // FieldEventType holds the string denoting the event_type field in the database. FieldEventType = "event_type" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // Table holds the table name of the eventhistory in the database. Table = "event_history" )
Variables ¶
var ( // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldHistoryTime, FieldOperation, FieldRef, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEventID, FieldCorrelationID, FieldEventType, FieldMetadata, }
Columns holds all SQL columns for eventhistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.EventHistory) predicate.EventHistory
And groups predicates with the AND operator between them.
func CorrelationID ¶
func CorrelationID(v string) predicate.EventHistory
CorrelationID applies equality check predicate on the "correlation_id" field. It's identical to CorrelationIDEQ.
func CorrelationIDContains ¶
func CorrelationIDContains(v string) predicate.EventHistory
CorrelationIDContains applies the Contains predicate on the "correlation_id" field.
func CorrelationIDContainsFold ¶
func CorrelationIDContainsFold(v string) predicate.EventHistory
CorrelationIDContainsFold applies the ContainsFold predicate on the "correlation_id" field.
func CorrelationIDEQ ¶
func CorrelationIDEQ(v string) predicate.EventHistory
CorrelationIDEQ applies the EQ predicate on the "correlation_id" field.
func CorrelationIDEqualFold ¶
func CorrelationIDEqualFold(v string) predicate.EventHistory
CorrelationIDEqualFold applies the EqualFold predicate on the "correlation_id" field.
func CorrelationIDGT ¶
func CorrelationIDGT(v string) predicate.EventHistory
CorrelationIDGT applies the GT predicate on the "correlation_id" field.
func CorrelationIDGTE ¶
func CorrelationIDGTE(v string) predicate.EventHistory
CorrelationIDGTE applies the GTE predicate on the "correlation_id" field.
func CorrelationIDHasPrefix ¶
func CorrelationIDHasPrefix(v string) predicate.EventHistory
CorrelationIDHasPrefix applies the HasPrefix predicate on the "correlation_id" field.
func CorrelationIDHasSuffix ¶
func CorrelationIDHasSuffix(v string) predicate.EventHistory
CorrelationIDHasSuffix applies the HasSuffix predicate on the "correlation_id" field.
func CorrelationIDIn ¶
func CorrelationIDIn(vs ...string) predicate.EventHistory
CorrelationIDIn applies the In predicate on the "correlation_id" field.
func CorrelationIDLT ¶
func CorrelationIDLT(v string) predicate.EventHistory
CorrelationIDLT applies the LT predicate on the "correlation_id" field.
func CorrelationIDLTE ¶
func CorrelationIDLTE(v string) predicate.EventHistory
CorrelationIDLTE applies the LTE predicate on the "correlation_id" field.
func CorrelationIDNEQ ¶
func CorrelationIDNEQ(v string) predicate.EventHistory
CorrelationIDNEQ applies the NEQ predicate on the "correlation_id" field.
func CorrelationIDNotIn ¶
func CorrelationIDNotIn(vs ...string) predicate.EventHistory
CorrelationIDNotIn applies the NotIn predicate on the "correlation_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.EventHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.EventHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.EventHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.EventHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.EventHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.EventHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.EventHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.EventHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.EventHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.EventHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.EventHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.EventHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.EventHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.EventHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.EventHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.EventHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.EventHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.EventHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.EventHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.EventHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.EventHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.EventHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.EventHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.EventHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.EventHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.EventHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.EventHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func EventID ¶
func EventID(v string) predicate.EventHistory
EventID applies equality check predicate on the "event_id" field. It's identical to EventIDEQ.
func EventIDContains ¶
func EventIDContains(v string) predicate.EventHistory
EventIDContains applies the Contains predicate on the "event_id" field.
func EventIDContainsFold ¶
func EventIDContainsFold(v string) predicate.EventHistory
EventIDContainsFold applies the ContainsFold predicate on the "event_id" field.
func EventIDEQ ¶
func EventIDEQ(v string) predicate.EventHistory
EventIDEQ applies the EQ predicate on the "event_id" field.
func EventIDEqualFold ¶
func EventIDEqualFold(v string) predicate.EventHistory
EventIDEqualFold applies the EqualFold predicate on the "event_id" field.
func EventIDGT ¶
func EventIDGT(v string) predicate.EventHistory
EventIDGT applies the GT predicate on the "event_id" field.
func EventIDGTE ¶
func EventIDGTE(v string) predicate.EventHistory
EventIDGTE applies the GTE predicate on the "event_id" field.
func EventIDHasPrefix ¶
func EventIDHasPrefix(v string) predicate.EventHistory
EventIDHasPrefix applies the HasPrefix predicate on the "event_id" field.
func EventIDHasSuffix ¶
func EventIDHasSuffix(v string) predicate.EventHistory
EventIDHasSuffix applies the HasSuffix predicate on the "event_id" field.
func EventIDIn ¶
func EventIDIn(vs ...string) predicate.EventHistory
EventIDIn applies the In predicate on the "event_id" field.
func EventIDLT ¶
func EventIDLT(v string) predicate.EventHistory
EventIDLT applies the LT predicate on the "event_id" field.
func EventIDLTE ¶
func EventIDLTE(v string) predicate.EventHistory
EventIDLTE applies the LTE predicate on the "event_id" field.
func EventIDNEQ ¶
func EventIDNEQ(v string) predicate.EventHistory
EventIDNEQ applies the NEQ predicate on the "event_id" field.
func EventIDNotIn ¶
func EventIDNotIn(vs ...string) predicate.EventHistory
EventIDNotIn applies the NotIn predicate on the "event_id" field.
func EventType ¶
func EventType(v string) predicate.EventHistory
EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
func EventTypeContains ¶
func EventTypeContains(v string) predicate.EventHistory
EventTypeContains applies the Contains predicate on the "event_type" field.
func EventTypeContainsFold ¶
func EventTypeContainsFold(v string) predicate.EventHistory
EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
func EventTypeEQ ¶
func EventTypeEQ(v string) predicate.EventHistory
EventTypeEQ applies the EQ predicate on the "event_type" field.
func EventTypeEqualFold ¶
func EventTypeEqualFold(v string) predicate.EventHistory
EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
func EventTypeGT ¶
func EventTypeGT(v string) predicate.EventHistory
EventTypeGT applies the GT predicate on the "event_type" field.
func EventTypeGTE ¶
func EventTypeGTE(v string) predicate.EventHistory
EventTypeGTE applies the GTE predicate on the "event_type" field.
func EventTypeHasPrefix ¶
func EventTypeHasPrefix(v string) predicate.EventHistory
EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
func EventTypeHasSuffix ¶
func EventTypeHasSuffix(v string) predicate.EventHistory
EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
func EventTypeIn ¶
func EventTypeIn(vs ...string) predicate.EventHistory
EventTypeIn applies the In predicate on the "event_type" field.
func EventTypeLT ¶
func EventTypeLT(v string) predicate.EventHistory
EventTypeLT applies the LT predicate on the "event_type" field.
func EventTypeLTE ¶
func EventTypeLTE(v string) predicate.EventHistory
EventTypeLTE applies the LTE predicate on the "event_type" field.
func EventTypeNEQ ¶
func EventTypeNEQ(v string) predicate.EventHistory
EventTypeNEQ applies the NEQ predicate on the "event_type" field.
func EventTypeNotIn ¶
func EventTypeNotIn(vs ...string) predicate.EventHistory
EventTypeNotIn applies the NotIn predicate on the "event_type" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.EventHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.EventHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.EventHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.EventHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.EventHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.EventHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.EventHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.EventHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.EventHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.EventHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.EventHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.EventHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.EventHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.EventHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.EventHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.EventHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.EventHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.EventHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.EventHistory
IDNotIn applies the NotIn predicate on the ID field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.EventHistory
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.EventHistory
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Not ¶
func Not(p predicate.EventHistory) predicate.EventHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v enthistory.OpType) predicate.EventHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...enthistory.OpType) predicate.EventHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v enthistory.OpType) predicate.EventHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...enthistory.OpType) predicate.EventHistory
OperationNotIn applies the NotIn predicate on the "operation" field.
func OperationValidator ¶
func OperationValidator(o enthistory.OpType) error
OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.EventHistory) predicate.EventHistory
Or groups predicates with the OR operator between them.
func Ref ¶
func Ref(v string) predicate.EventHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.EventHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.EventHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.EventHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.EventHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.EventHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.EventHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.EventHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.EventHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.EventHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.EventHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.EventHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.EventHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.EventHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.EventHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.EventHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.EventHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.EventHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.EventHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.EventHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.EventHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.EventHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.EventHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.EventHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.EventHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.EventHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.EventHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.EventHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.EventHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.EventHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.EventHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.EventHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.EventHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.EventHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.EventHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.EventHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.EventHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.EventHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.EventHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.EventHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.EventHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.EventHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.EventHistory
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 EventHistory queries.
func ByCorrelationID ¶
func ByCorrelationID(opts ...sql.OrderTermOption) OrderOption
ByCorrelationID orders the results by the correlation_id 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 ByEventID ¶
func ByEventID(opts ...sql.OrderTermOption) OrderOption
ByEventID orders the results by the event_id field.
func ByEventType ¶
func ByEventType(opts ...sql.OrderTermOption) OrderOption
ByEventType orders the results by the event_type 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 ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func 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.