Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DocumentDataHistory) predicate.DocumentDataHistory
- func CreatedAt(v time.Time) predicate.DocumentDataHistory
- func CreatedAtEQ(v time.Time) predicate.DocumentDataHistory
- func CreatedAtGT(v time.Time) predicate.DocumentDataHistory
- func CreatedAtGTE(v time.Time) predicate.DocumentDataHistory
- func CreatedAtIn(vs ...time.Time) predicate.DocumentDataHistory
- func CreatedAtIsNil() predicate.DocumentDataHistory
- func CreatedAtLT(v time.Time) predicate.DocumentDataHistory
- func CreatedAtLTE(v time.Time) predicate.DocumentDataHistory
- func CreatedAtNEQ(v time.Time) predicate.DocumentDataHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.DocumentDataHistory
- func CreatedAtNotNil() predicate.DocumentDataHistory
- func CreatedBy(v string) predicate.DocumentDataHistory
- func CreatedByContains(v string) predicate.DocumentDataHistory
- func CreatedByContainsFold(v string) predicate.DocumentDataHistory
- func CreatedByEQ(v string) predicate.DocumentDataHistory
- func CreatedByEqualFold(v string) predicate.DocumentDataHistory
- func CreatedByGT(v string) predicate.DocumentDataHistory
- func CreatedByGTE(v string) predicate.DocumentDataHistory
- func CreatedByHasPrefix(v string) predicate.DocumentDataHistory
- func CreatedByHasSuffix(v string) predicate.DocumentDataHistory
- func CreatedByIn(vs ...string) predicate.DocumentDataHistory
- func CreatedByIsNil() predicate.DocumentDataHistory
- func CreatedByLT(v string) predicate.DocumentDataHistory
- func CreatedByLTE(v string) predicate.DocumentDataHistory
- func CreatedByNEQ(v string) predicate.DocumentDataHistory
- func CreatedByNotIn(vs ...string) predicate.DocumentDataHistory
- func CreatedByNotNil() predicate.DocumentDataHistory
- func DeletedAt(v time.Time) predicate.DocumentDataHistory
- func DeletedAtEQ(v time.Time) predicate.DocumentDataHistory
- func DeletedAtGT(v time.Time) predicate.DocumentDataHistory
- func DeletedAtGTE(v time.Time) predicate.DocumentDataHistory
- func DeletedAtIn(vs ...time.Time) predicate.DocumentDataHistory
- func DeletedAtIsNil() predicate.DocumentDataHistory
- func DeletedAtLT(v time.Time) predicate.DocumentDataHistory
- func DeletedAtLTE(v time.Time) predicate.DocumentDataHistory
- func DeletedAtNEQ(v time.Time) predicate.DocumentDataHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.DocumentDataHistory
- func DeletedAtNotNil() predicate.DocumentDataHistory
- func DeletedBy(v string) predicate.DocumentDataHistory
- func DeletedByContains(v string) predicate.DocumentDataHistory
- func DeletedByContainsFold(v string) predicate.DocumentDataHistory
- func DeletedByEQ(v string) predicate.DocumentDataHistory
- func DeletedByEqualFold(v string) predicate.DocumentDataHistory
- func DeletedByGT(v string) predicate.DocumentDataHistory
- func DeletedByGTE(v string) predicate.DocumentDataHistory
- func DeletedByHasPrefix(v string) predicate.DocumentDataHistory
- func DeletedByHasSuffix(v string) predicate.DocumentDataHistory
- func DeletedByIn(vs ...string) predicate.DocumentDataHistory
- func DeletedByIsNil() predicate.DocumentDataHistory
- func DeletedByLT(v string) predicate.DocumentDataHistory
- func DeletedByLTE(v string) predicate.DocumentDataHistory
- func DeletedByNEQ(v string) predicate.DocumentDataHistory
- func DeletedByNotIn(vs ...string) predicate.DocumentDataHistory
- func DeletedByNotNil() predicate.DocumentDataHistory
- func HistoryTime(v time.Time) predicate.DocumentDataHistory
- func HistoryTimeEQ(v time.Time) predicate.DocumentDataHistory
- func HistoryTimeGT(v time.Time) predicate.DocumentDataHistory
- func HistoryTimeGTE(v time.Time) predicate.DocumentDataHistory
- func HistoryTimeIn(vs ...time.Time) predicate.DocumentDataHistory
- func HistoryTimeLT(v time.Time) predicate.DocumentDataHistory
- func HistoryTimeLTE(v time.Time) predicate.DocumentDataHistory
- func HistoryTimeNEQ(v time.Time) predicate.DocumentDataHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.DocumentDataHistory
- func ID(id string) predicate.DocumentDataHistory
- func IDContainsFold(id string) predicate.DocumentDataHistory
- func IDEQ(id string) predicate.DocumentDataHistory
- func IDEqualFold(id string) predicate.DocumentDataHistory
- func IDGT(id string) predicate.DocumentDataHistory
- func IDGTE(id string) predicate.DocumentDataHistory
- func IDIn(ids ...string) predicate.DocumentDataHistory
- func IDLT(id string) predicate.DocumentDataHistory
- func IDLTE(id string) predicate.DocumentDataHistory
- func IDNEQ(id string) predicate.DocumentDataHistory
- func IDNotIn(ids ...string) predicate.DocumentDataHistory
- func Not(p predicate.DocumentDataHistory) predicate.DocumentDataHistory
- func OperationEQ(v enthistory.OpType) predicate.DocumentDataHistory
- func OperationIn(vs ...enthistory.OpType) predicate.DocumentDataHistory
- func OperationNEQ(v enthistory.OpType) predicate.DocumentDataHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.DocumentDataHistory
- func OperationValidator(o enthistory.OpType) error
- func Or(predicates ...predicate.DocumentDataHistory) predicate.DocumentDataHistory
- func Ref(v string) predicate.DocumentDataHistory
- func RefContains(v string) predicate.DocumentDataHistory
- func RefContainsFold(v string) predicate.DocumentDataHistory
- func RefEQ(v string) predicate.DocumentDataHistory
- func RefEqualFold(v string) predicate.DocumentDataHistory
- func RefGT(v string) predicate.DocumentDataHistory
- func RefGTE(v string) predicate.DocumentDataHistory
- func RefHasPrefix(v string) predicate.DocumentDataHistory
- func RefHasSuffix(v string) predicate.DocumentDataHistory
- func RefIn(vs ...string) predicate.DocumentDataHistory
- func RefIsNil() predicate.DocumentDataHistory
- func RefLT(v string) predicate.DocumentDataHistory
- func RefLTE(v string) predicate.DocumentDataHistory
- func RefNEQ(v string) predicate.DocumentDataHistory
- func RefNotIn(vs ...string) predicate.DocumentDataHistory
- func RefNotNil() predicate.DocumentDataHistory
- func TemplateID(v string) predicate.DocumentDataHistory
- func TemplateIDContains(v string) predicate.DocumentDataHistory
- func TemplateIDContainsFold(v string) predicate.DocumentDataHistory
- func TemplateIDEQ(v string) predicate.DocumentDataHistory
- func TemplateIDEqualFold(v string) predicate.DocumentDataHistory
- func TemplateIDGT(v string) predicate.DocumentDataHistory
- func TemplateIDGTE(v string) predicate.DocumentDataHistory
- func TemplateIDHasPrefix(v string) predicate.DocumentDataHistory
- func TemplateIDHasSuffix(v string) predicate.DocumentDataHistory
- func TemplateIDIn(vs ...string) predicate.DocumentDataHistory
- func TemplateIDLT(v string) predicate.DocumentDataHistory
- func TemplateIDLTE(v string) predicate.DocumentDataHistory
- func TemplateIDNEQ(v string) predicate.DocumentDataHistory
- func TemplateIDNotIn(vs ...string) predicate.DocumentDataHistory
- func UpdatedAt(v time.Time) predicate.DocumentDataHistory
- func UpdatedAtEQ(v time.Time) predicate.DocumentDataHistory
- func UpdatedAtGT(v time.Time) predicate.DocumentDataHistory
- func UpdatedAtGTE(v time.Time) predicate.DocumentDataHistory
- func UpdatedAtIn(vs ...time.Time) predicate.DocumentDataHistory
- func UpdatedAtIsNil() predicate.DocumentDataHistory
- func UpdatedAtLT(v time.Time) predicate.DocumentDataHistory
- func UpdatedAtLTE(v time.Time) predicate.DocumentDataHistory
- func UpdatedAtNEQ(v time.Time) predicate.DocumentDataHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.DocumentDataHistory
- func UpdatedAtNotNil() predicate.DocumentDataHistory
- func UpdatedBy(v string) predicate.DocumentDataHistory
- func UpdatedByContains(v string) predicate.DocumentDataHistory
- func UpdatedByContainsFold(v string) predicate.DocumentDataHistory
- func UpdatedByEQ(v string) predicate.DocumentDataHistory
- func UpdatedByEqualFold(v string) predicate.DocumentDataHistory
- func UpdatedByGT(v string) predicate.DocumentDataHistory
- func UpdatedByGTE(v string) predicate.DocumentDataHistory
- func UpdatedByHasPrefix(v string) predicate.DocumentDataHistory
- func UpdatedByHasSuffix(v string) predicate.DocumentDataHistory
- func UpdatedByIn(vs ...string) predicate.DocumentDataHistory
- func UpdatedByIsNil() predicate.DocumentDataHistory
- func UpdatedByLT(v string) predicate.DocumentDataHistory
- func UpdatedByLTE(v string) predicate.DocumentDataHistory
- func UpdatedByNEQ(v string) predicate.DocumentDataHistory
- func UpdatedByNotIn(vs ...string) predicate.DocumentDataHistory
- func UpdatedByNotNil() predicate.DocumentDataHistory
- 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 ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByTemplateID(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 documentdatahistory type in the database. Label = "document_data_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" // 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" // FieldTemplateID holds the string denoting the template_id field in the database. FieldTemplateID = "template_id" // FieldData holds the string denoting the data field in the database. FieldData = "data" // Table holds the table name of the documentdatahistory in the database. Table = "document_data_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, FieldDeletedAt, FieldDeletedBy, FieldTemplateID, FieldData, }
Columns holds all SQL columns for documentdatahistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DocumentDataHistory) predicate.DocumentDataHistory
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DocumentDataHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DocumentDataHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DocumentDataHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DocumentDataHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DocumentDataHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.DocumentDataHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DocumentDataHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DocumentDataHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DocumentDataHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DocumentDataHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.DocumentDataHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.DocumentDataHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.DocumentDataHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.DocumentDataHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.DocumentDataHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.DocumentDataHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.DocumentDataHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.DocumentDataHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.DocumentDataHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.DocumentDataHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.DocumentDataHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.DocumentDataHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.DocumentDataHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.DocumentDataHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.DocumentDataHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.DocumentDataHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.DocumentDataHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.DocumentDataHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.DocumentDataHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.DocumentDataHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.DocumentDataHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.DocumentDataHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.DocumentDataHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.DocumentDataHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.DocumentDataHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.DocumentDataHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.DocumentDataHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.DocumentDataHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.DocumentDataHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.DocumentDataHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.DocumentDataHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.DocumentDataHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.DocumentDataHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.DocumentDataHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.DocumentDataHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.DocumentDataHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.DocumentDataHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.DocumentDataHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.DocumentDataHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.DocumentDataHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.DocumentDataHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.DocumentDataHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.DocumentDataHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.DocumentDataHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.DocumentDataHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.DocumentDataHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.DocumentDataHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.DocumentDataHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.DocumentDataHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.DocumentDataHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.DocumentDataHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.DocumentDataHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.DocumentDataHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func ID ¶
func ID(id string) predicate.DocumentDataHistory
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.DocumentDataHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.DocumentDataHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.DocumentDataHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.DocumentDataHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.DocumentDataHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.DocumentDataHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.DocumentDataHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.DocumentDataHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.DocumentDataHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.DocumentDataHistory
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.DocumentDataHistory) predicate.DocumentDataHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v enthistory.OpType) predicate.DocumentDataHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...enthistory.OpType) predicate.DocumentDataHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v enthistory.OpType) predicate.DocumentDataHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...enthistory.OpType) predicate.DocumentDataHistory
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.DocumentDataHistory) predicate.DocumentDataHistory
Or groups predicates with the OR operator between them.
func Ref ¶
func Ref(v string) predicate.DocumentDataHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.DocumentDataHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.DocumentDataHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.DocumentDataHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.DocumentDataHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.DocumentDataHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.DocumentDataHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.DocumentDataHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.DocumentDataHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.DocumentDataHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.DocumentDataHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.DocumentDataHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.DocumentDataHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.DocumentDataHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.DocumentDataHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.DocumentDataHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func TemplateID ¶
func TemplateID(v string) predicate.DocumentDataHistory
TemplateID applies equality check predicate on the "template_id" field. It's identical to TemplateIDEQ.
func TemplateIDContains ¶
func TemplateIDContains(v string) predicate.DocumentDataHistory
TemplateIDContains applies the Contains predicate on the "template_id" field.
func TemplateIDContainsFold ¶
func TemplateIDContainsFold(v string) predicate.DocumentDataHistory
TemplateIDContainsFold applies the ContainsFold predicate on the "template_id" field.
func TemplateIDEQ ¶
func TemplateIDEQ(v string) predicate.DocumentDataHistory
TemplateIDEQ applies the EQ predicate on the "template_id" field.
func TemplateIDEqualFold ¶
func TemplateIDEqualFold(v string) predicate.DocumentDataHistory
TemplateIDEqualFold applies the EqualFold predicate on the "template_id" field.
func TemplateIDGT ¶
func TemplateIDGT(v string) predicate.DocumentDataHistory
TemplateIDGT applies the GT predicate on the "template_id" field.
func TemplateIDGTE ¶
func TemplateIDGTE(v string) predicate.DocumentDataHistory
TemplateIDGTE applies the GTE predicate on the "template_id" field.
func TemplateIDHasPrefix ¶
func TemplateIDHasPrefix(v string) predicate.DocumentDataHistory
TemplateIDHasPrefix applies the HasPrefix predicate on the "template_id" field.
func TemplateIDHasSuffix ¶
func TemplateIDHasSuffix(v string) predicate.DocumentDataHistory
TemplateIDHasSuffix applies the HasSuffix predicate on the "template_id" field.
func TemplateIDIn ¶
func TemplateIDIn(vs ...string) predicate.DocumentDataHistory
TemplateIDIn applies the In predicate on the "template_id" field.
func TemplateIDLT ¶
func TemplateIDLT(v string) predicate.DocumentDataHistory
TemplateIDLT applies the LT predicate on the "template_id" field.
func TemplateIDLTE ¶
func TemplateIDLTE(v string) predicate.DocumentDataHistory
TemplateIDLTE applies the LTE predicate on the "template_id" field.
func TemplateIDNEQ ¶
func TemplateIDNEQ(v string) predicate.DocumentDataHistory
TemplateIDNEQ applies the NEQ predicate on the "template_id" field.
func TemplateIDNotIn ¶
func TemplateIDNotIn(vs ...string) predicate.DocumentDataHistory
TemplateIDNotIn applies the NotIn predicate on the "template_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DocumentDataHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DocumentDataHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DocumentDataHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DocumentDataHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DocumentDataHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.DocumentDataHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DocumentDataHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DocumentDataHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DocumentDataHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DocumentDataHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.DocumentDataHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.DocumentDataHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.DocumentDataHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.DocumentDataHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.DocumentDataHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.DocumentDataHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.DocumentDataHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.DocumentDataHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.DocumentDataHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.DocumentDataHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.DocumentDataHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.DocumentDataHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.DocumentDataHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.DocumentDataHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.DocumentDataHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.DocumentDataHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.DocumentDataHistory
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 DocumentDataHistory 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 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 ByTemplateID ¶
func ByTemplateID(opts ...sql.OrderTermOption) OrderOption
ByTemplateID orders the results by the template_id 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.