Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DocumentHistory) predicate.DocumentHistory
- func Content(v string) predicate.DocumentHistory
- func ContentContains(v string) predicate.DocumentHistory
- func ContentContainsFold(v string) predicate.DocumentHistory
- func ContentEQ(v string) predicate.DocumentHistory
- func ContentEqualFold(v string) predicate.DocumentHistory
- func ContentGT(v string) predicate.DocumentHistory
- func ContentGTE(v string) predicate.DocumentHistory
- func ContentHasPrefix(v string) predicate.DocumentHistory
- func ContentHasSuffix(v string) predicate.DocumentHistory
- func ContentHash(v string) predicate.DocumentHistory
- func ContentHashContains(v string) predicate.DocumentHistory
- func ContentHashContainsFold(v string) predicate.DocumentHistory
- func ContentHashEQ(v string) predicate.DocumentHistory
- func ContentHashEqualFold(v string) predicate.DocumentHistory
- func ContentHashGT(v string) predicate.DocumentHistory
- func ContentHashGTE(v string) predicate.DocumentHistory
- func ContentHashHasPrefix(v string) predicate.DocumentHistory
- func ContentHashHasSuffix(v string) predicate.DocumentHistory
- func ContentHashIn(vs ...string) predicate.DocumentHistory
- func ContentHashIsNil() predicate.DocumentHistory
- func ContentHashLT(v string) predicate.DocumentHistory
- func ContentHashLTE(v string) predicate.DocumentHistory
- func ContentHashNEQ(v string) predicate.DocumentHistory
- func ContentHashNotIn(vs ...string) predicate.DocumentHistory
- func ContentHashNotNil() predicate.DocumentHistory
- func ContentIn(vs ...string) predicate.DocumentHistory
- func ContentIsNil() predicate.DocumentHistory
- func ContentLT(v string) predicate.DocumentHistory
- func ContentLTE(v string) predicate.DocumentHistory
- func ContentNEQ(v string) predicate.DocumentHistory
- func ContentNotIn(vs ...string) predicate.DocumentHistory
- func ContentNotNil() predicate.DocumentHistory
- func CreatedAt(v time.Time) predicate.DocumentHistory
- func CreatedAtEQ(v time.Time) predicate.DocumentHistory
- func CreatedAtGT(v time.Time) predicate.DocumentHistory
- func CreatedAtGTE(v time.Time) predicate.DocumentHistory
- func CreatedAtIn(vs ...time.Time) predicate.DocumentHistory
- func CreatedAtLT(v time.Time) predicate.DocumentHistory
- func CreatedAtLTE(v time.Time) predicate.DocumentHistory
- func CreatedAtNEQ(v time.Time) predicate.DocumentHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.DocumentHistory
- func Description(v string) predicate.DocumentHistory
- func DescriptionContains(v string) predicate.DocumentHistory
- func DescriptionContainsFold(v string) predicate.DocumentHistory
- func DescriptionEQ(v string) predicate.DocumentHistory
- func DescriptionEqualFold(v string) predicate.DocumentHistory
- func DescriptionGT(v string) predicate.DocumentHistory
- func DescriptionGTE(v string) predicate.DocumentHistory
- func DescriptionHasPrefix(v string) predicate.DocumentHistory
- func DescriptionHasSuffix(v string) predicate.DocumentHistory
- func DescriptionIn(vs ...string) predicate.DocumentHistory
- func DescriptionLT(v string) predicate.DocumentHistory
- func DescriptionLTE(v string) predicate.DocumentHistory
- func DescriptionNEQ(v string) predicate.DocumentHistory
- func DescriptionNotIn(vs ...string) predicate.DocumentHistory
- func Filename(v string) predicate.DocumentHistory
- func FilenameContains(v string) predicate.DocumentHistory
- func FilenameContainsFold(v string) predicate.DocumentHistory
- func FilenameEQ(v string) predicate.DocumentHistory
- func FilenameEqualFold(v string) predicate.DocumentHistory
- func FilenameGT(v string) predicate.DocumentHistory
- func FilenameGTE(v string) predicate.DocumentHistory
- func FilenameHasPrefix(v string) predicate.DocumentHistory
- func FilenameHasSuffix(v string) predicate.DocumentHistory
- func FilenameIn(vs ...string) predicate.DocumentHistory
- func FilenameLT(v string) predicate.DocumentHistory
- func FilenameLTE(v string) predicate.DocumentHistory
- func FilenameNEQ(v string) predicate.DocumentHistory
- func FilenameNotIn(vs ...string) predicate.DocumentHistory
- func FiletypeEQ(v types.Filetype) predicate.DocumentHistory
- func FiletypeIn(vs ...types.Filetype) predicate.DocumentHistory
- func FiletypeNEQ(v types.Filetype) predicate.DocumentHistory
- func FiletypeNotIn(vs ...types.Filetype) predicate.DocumentHistory
- func FiletypeValidator(f types.Filetype) error
- func HistoryTime(v time.Time) predicate.DocumentHistory
- func HistoryTimeEQ(v time.Time) predicate.DocumentHistory
- func HistoryTimeGT(v time.Time) predicate.DocumentHistory
- func HistoryTimeGTE(v time.Time) predicate.DocumentHistory
- func HistoryTimeIn(vs ...time.Time) predicate.DocumentHistory
- func HistoryTimeLT(v time.Time) predicate.DocumentHistory
- func HistoryTimeLTE(v time.Time) predicate.DocumentHistory
- func HistoryTimeNEQ(v time.Time) predicate.DocumentHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.DocumentHistory
- func ID(id int) predicate.DocumentHistory
- func IDEQ(id int) predicate.DocumentHistory
- func IDGT(id int) predicate.DocumentHistory
- func IDGTE(id int) predicate.DocumentHistory
- func IDIn(ids ...int) predicate.DocumentHistory
- func IDLT(id int) predicate.DocumentHistory
- func IDLTE(id int) predicate.DocumentHistory
- func IDNEQ(id int) predicate.DocumentHistory
- func IDNotIn(ids ...int) predicate.DocumentHistory
- func Not(p predicate.DocumentHistory) predicate.DocumentHistory
- func OperationEQ(v enthistory.OpType) predicate.DocumentHistory
- func OperationIn(vs ...enthistory.OpType) predicate.DocumentHistory
- func OperationNEQ(v enthistory.OpType) predicate.DocumentHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.DocumentHistory
- func OperationValidator(o enthistory.OpType) error
- func Or(predicates ...predicate.DocumentHistory) predicate.DocumentHistory
- func Ref(v int) predicate.DocumentHistory
- func RefEQ(v int) predicate.DocumentHistory
- func RefGT(v int) predicate.DocumentHistory
- func RefGTE(v int) predicate.DocumentHistory
- func RefIn(vs ...int) predicate.DocumentHistory
- func RefIsNil() predicate.DocumentHistory
- func RefLT(v int) predicate.DocumentHistory
- func RefLTE(v int) predicate.DocumentHistory
- func RefNEQ(v int) predicate.DocumentHistory
- func RefNotIn(vs ...int) predicate.DocumentHistory
- func RefNotNil() predicate.DocumentHistory
- func Title(v string) predicate.DocumentHistory
- func TitleContains(v string) predicate.DocumentHistory
- func TitleContainsFold(v string) predicate.DocumentHistory
- func TitleEQ(v string) predicate.DocumentHistory
- func TitleEqualFold(v string) predicate.DocumentHistory
- func TitleGT(v string) predicate.DocumentHistory
- func TitleGTE(v string) predicate.DocumentHistory
- func TitleHasPrefix(v string) predicate.DocumentHistory
- func TitleHasSuffix(v string) predicate.DocumentHistory
- func TitleIn(vs ...string) predicate.DocumentHistory
- func TitleLT(v string) predicate.DocumentHistory
- func TitleLTE(v string) predicate.DocumentHistory
- func TitleNEQ(v string) predicate.DocumentHistory
- func TitleNotIn(vs ...string) predicate.DocumentHistory
- func UUID(v uuid.UUID) predicate.DocumentHistory
- func UUIDEQ(v uuid.UUID) predicate.DocumentHistory
- func UUIDGT(v uuid.UUID) predicate.DocumentHistory
- func UUIDGTE(v uuid.UUID) predicate.DocumentHistory
- func UUIDIn(vs ...uuid.UUID) predicate.DocumentHistory
- func UUIDLT(v uuid.UUID) predicate.DocumentHistory
- func UUIDLTE(v uuid.UUID) predicate.DocumentHistory
- func UUIDNEQ(v uuid.UUID) predicate.DocumentHistory
- func UUIDNotIn(vs ...uuid.UUID) predicate.DocumentHistory
- func UpdatedAt(v time.Time) predicate.DocumentHistory
- func UpdatedAtEQ(v time.Time) predicate.DocumentHistory
- func UpdatedAtGT(v time.Time) predicate.DocumentHistory
- func UpdatedAtGTE(v time.Time) predicate.DocumentHistory
- func UpdatedAtIn(vs ...time.Time) predicate.DocumentHistory
- func UpdatedAtLT(v time.Time) predicate.DocumentHistory
- func UpdatedAtLTE(v time.Time) predicate.DocumentHistory
- func UpdatedAtNEQ(v time.Time) predicate.DocumentHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.DocumentHistory
- func UpdatedBy(v string) predicate.DocumentHistory
- func UpdatedByContains(v string) predicate.DocumentHistory
- func UpdatedByContainsFold(v string) predicate.DocumentHistory
- func UpdatedByEQ(v string) predicate.DocumentHistory
- func UpdatedByEqualFold(v string) predicate.DocumentHistory
- func UpdatedByGT(v string) predicate.DocumentHistory
- func UpdatedByGTE(v string) predicate.DocumentHistory
- func UpdatedByHasPrefix(v string) predicate.DocumentHistory
- func UpdatedByHasSuffix(v string) predicate.DocumentHistory
- func UpdatedByIn(vs ...string) predicate.DocumentHistory
- func UpdatedByIsNil() predicate.DocumentHistory
- func UpdatedByLT(v string) predicate.DocumentHistory
- func UpdatedByLTE(v string) predicate.DocumentHistory
- func UpdatedByNEQ(v string) predicate.DocumentHistory
- func UpdatedByNotIn(vs ...string) predicate.DocumentHistory
- func UpdatedByNotNil() predicate.DocumentHistory
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the documenthistory type in the database. Label = "document_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" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUUID holds the string denoting the uuid field in the database. FieldUUID = "uuid" // 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" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldFilename holds the string denoting the filename field in the database. FieldFilename = "filename" // FieldFiletype holds the string denoting the filetype field in the database. FieldFiletype = "filetype" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldContentHash holds the string denoting the content_hash field in the database. FieldContentHash = "content_hash" // Table holds the table name of the documenthistory in the database. Table = "document_history" )
Variables ¶
var ( // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // DefaultUUID holds the default value on creation for the "uuid" field. DefaultUUID func() uuid.UUID // 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 )
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldUpdatedBy, FieldUUID, FieldCreatedAt, FieldUpdatedAt, FieldTitle, FieldDescription, FieldFilename, FieldFiletype, FieldContent, FieldContentHash, }
Columns holds all SQL columns for documenthistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.DocumentHistory) predicate.DocumentHistory
And groups predicates with the AND operator between them.
func Content ¶
func Content(v string) predicate.DocumentHistory
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
func ContentContains(v string) predicate.DocumentHistory
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
func ContentContainsFold(v string) predicate.DocumentHistory
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEQ ¶
func ContentEQ(v string) predicate.DocumentHistory
ContentEQ applies the EQ predicate on the "content" field.
func ContentEqualFold ¶
func ContentEqualFold(v string) predicate.DocumentHistory
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGT ¶
func ContentGT(v string) predicate.DocumentHistory
ContentGT applies the GT predicate on the "content" field.
func ContentGTE ¶
func ContentGTE(v string) predicate.DocumentHistory
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
func ContentHasPrefix(v string) predicate.DocumentHistory
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
func ContentHasSuffix(v string) predicate.DocumentHistory
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentHash ¶
func ContentHash(v string) predicate.DocumentHistory
ContentHash applies equality check predicate on the "content_hash" field. It's identical to ContentHashEQ.
func ContentHashContains ¶
func ContentHashContains(v string) predicate.DocumentHistory
ContentHashContains applies the Contains predicate on the "content_hash" field.
func ContentHashContainsFold ¶
func ContentHashContainsFold(v string) predicate.DocumentHistory
ContentHashContainsFold applies the ContainsFold predicate on the "content_hash" field.
func ContentHashEQ ¶
func ContentHashEQ(v string) predicate.DocumentHistory
ContentHashEQ applies the EQ predicate on the "content_hash" field.
func ContentHashEqualFold ¶
func ContentHashEqualFold(v string) predicate.DocumentHistory
ContentHashEqualFold applies the EqualFold predicate on the "content_hash" field.
func ContentHashGT ¶
func ContentHashGT(v string) predicate.DocumentHistory
ContentHashGT applies the GT predicate on the "content_hash" field.
func ContentHashGTE ¶
func ContentHashGTE(v string) predicate.DocumentHistory
ContentHashGTE applies the GTE predicate on the "content_hash" field.
func ContentHashHasPrefix ¶
func ContentHashHasPrefix(v string) predicate.DocumentHistory
ContentHashHasPrefix applies the HasPrefix predicate on the "content_hash" field.
func ContentHashHasSuffix ¶
func ContentHashHasSuffix(v string) predicate.DocumentHistory
ContentHashHasSuffix applies the HasSuffix predicate on the "content_hash" field.
func ContentHashIn ¶
func ContentHashIn(vs ...string) predicate.DocumentHistory
ContentHashIn applies the In predicate on the "content_hash" field.
func ContentHashIsNil ¶
func ContentHashIsNil() predicate.DocumentHistory
ContentHashIsNil applies the IsNil predicate on the "content_hash" field.
func ContentHashLT ¶
func ContentHashLT(v string) predicate.DocumentHistory
ContentHashLT applies the LT predicate on the "content_hash" field.
func ContentHashLTE ¶
func ContentHashLTE(v string) predicate.DocumentHistory
ContentHashLTE applies the LTE predicate on the "content_hash" field.
func ContentHashNEQ ¶
func ContentHashNEQ(v string) predicate.DocumentHistory
ContentHashNEQ applies the NEQ predicate on the "content_hash" field.
func ContentHashNotIn ¶
func ContentHashNotIn(vs ...string) predicate.DocumentHistory
ContentHashNotIn applies the NotIn predicate on the "content_hash" field.
func ContentHashNotNil ¶
func ContentHashNotNil() predicate.DocumentHistory
ContentHashNotNil applies the NotNil predicate on the "content_hash" field.
func ContentIn ¶
func ContentIn(vs ...string) predicate.DocumentHistory
ContentIn applies the In predicate on the "content" field.
func ContentIsNil ¶
func ContentIsNil() predicate.DocumentHistory
ContentIsNil applies the IsNil predicate on the "content" field.
func ContentLT ¶
func ContentLT(v string) predicate.DocumentHistory
ContentLT applies the LT predicate on the "content" field.
func ContentLTE ¶
func ContentLTE(v string) predicate.DocumentHistory
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
func ContentNEQ(v string) predicate.DocumentHistory
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
func ContentNotIn(vs ...string) predicate.DocumentHistory
ContentNotIn applies the NotIn predicate on the "content" field.
func ContentNotNil ¶
func ContentNotNil() predicate.DocumentHistory
ContentNotNil applies the NotNil predicate on the "content" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.DocumentHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.DocumentHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.DocumentHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.DocumentHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.DocumentHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.DocumentHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.DocumentHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.DocumentHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.DocumentHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.DocumentHistory
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.DocumentHistory
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.DocumentHistory
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.DocumentHistory
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.DocumentHistory
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.DocumentHistory
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.DocumentHistory
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.DocumentHistory
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.DocumentHistory
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.DocumentHistory
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.DocumentHistory
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.DocumentHistory
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.DocumentHistory
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.DocumentHistory
DescriptionNotIn applies the NotIn predicate on the "description" field.
func Filename ¶
func Filename(v string) predicate.DocumentHistory
Filename applies equality check predicate on the "filename" field. It's identical to FilenameEQ.
func FilenameContains ¶
func FilenameContains(v string) predicate.DocumentHistory
FilenameContains applies the Contains predicate on the "filename" field.
func FilenameContainsFold ¶
func FilenameContainsFold(v string) predicate.DocumentHistory
FilenameContainsFold applies the ContainsFold predicate on the "filename" field.
func FilenameEQ ¶
func FilenameEQ(v string) predicate.DocumentHistory
FilenameEQ applies the EQ predicate on the "filename" field.
func FilenameEqualFold ¶
func FilenameEqualFold(v string) predicate.DocumentHistory
FilenameEqualFold applies the EqualFold predicate on the "filename" field.
func FilenameGT ¶
func FilenameGT(v string) predicate.DocumentHistory
FilenameGT applies the GT predicate on the "filename" field.
func FilenameGTE ¶
func FilenameGTE(v string) predicate.DocumentHistory
FilenameGTE applies the GTE predicate on the "filename" field.
func FilenameHasPrefix ¶
func FilenameHasPrefix(v string) predicate.DocumentHistory
FilenameHasPrefix applies the HasPrefix predicate on the "filename" field.
func FilenameHasSuffix ¶
func FilenameHasSuffix(v string) predicate.DocumentHistory
FilenameHasSuffix applies the HasSuffix predicate on the "filename" field.
func FilenameIn ¶
func FilenameIn(vs ...string) predicate.DocumentHistory
FilenameIn applies the In predicate on the "filename" field.
func FilenameLT ¶
func FilenameLT(v string) predicate.DocumentHistory
FilenameLT applies the LT predicate on the "filename" field.
func FilenameLTE ¶
func FilenameLTE(v string) predicate.DocumentHistory
FilenameLTE applies the LTE predicate on the "filename" field.
func FilenameNEQ ¶
func FilenameNEQ(v string) predicate.DocumentHistory
FilenameNEQ applies the NEQ predicate on the "filename" field.
func FilenameNotIn ¶
func FilenameNotIn(vs ...string) predicate.DocumentHistory
FilenameNotIn applies the NotIn predicate on the "filename" field.
func FiletypeEQ ¶
func FiletypeEQ(v types.Filetype) predicate.DocumentHistory
FiletypeEQ applies the EQ predicate on the "filetype" field.
func FiletypeIn ¶
func FiletypeIn(vs ...types.Filetype) predicate.DocumentHistory
FiletypeIn applies the In predicate on the "filetype" field.
func FiletypeNEQ ¶
func FiletypeNEQ(v types.Filetype) predicate.DocumentHistory
FiletypeNEQ applies the NEQ predicate on the "filetype" field.
func FiletypeNotIn ¶
func FiletypeNotIn(vs ...types.Filetype) predicate.DocumentHistory
FiletypeNotIn applies the NotIn predicate on the "filetype" field.
func FiletypeValidator ¶
FiletypeValidator is a validator for the "filetype" field enum values. It is called by the builders before save.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.DocumentHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.DocumentHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.DocumentHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.DocumentHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.DocumentHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.DocumentHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.DocumentHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.DocumentHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.DocumentHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func IDEQ ¶
func IDEQ(id int) predicate.DocumentHistory
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.DocumentHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.DocumentHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.DocumentHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.DocumentHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.DocumentHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.DocumentHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.DocumentHistory
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.DocumentHistory) predicate.DocumentHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v enthistory.OpType) predicate.DocumentHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...enthistory.OpType) predicate.DocumentHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v enthistory.OpType) predicate.DocumentHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...enthistory.OpType) predicate.DocumentHistory
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.DocumentHistory) predicate.DocumentHistory
Or groups predicates with the OR operator between them.
func Ref ¶
func Ref(v int) predicate.DocumentHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefEQ ¶
func RefEQ(v int) predicate.DocumentHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefGT ¶
func RefGT(v int) predicate.DocumentHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v int) predicate.DocumentHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...int) predicate.DocumentHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.DocumentHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v int) predicate.DocumentHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v int) predicate.DocumentHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v int) predicate.DocumentHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...int) predicate.DocumentHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.DocumentHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func Title ¶
func Title(v string) predicate.DocumentHistory
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.DocumentHistory
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.DocumentHistory
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.DocumentHistory
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.DocumentHistory
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.DocumentHistory
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.DocumentHistory
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.DocumentHistory
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.DocumentHistory
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.DocumentHistory
TitleIn applies the In predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.DocumentHistory
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.DocumentHistory
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.DocumentHistory
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.DocumentHistory
TitleNotIn applies the NotIn predicate on the "title" field.
func UUID ¶
func UUID(v uuid.UUID) predicate.DocumentHistory
UUID applies equality check predicate on the "uuid" field. It's identical to UUIDEQ.
func UUIDEQ ¶
func UUIDEQ(v uuid.UUID) predicate.DocumentHistory
UUIDEQ applies the EQ predicate on the "uuid" field.
func UUIDGT ¶
func UUIDGT(v uuid.UUID) predicate.DocumentHistory
UUIDGT applies the GT predicate on the "uuid" field.
func UUIDGTE ¶
func UUIDGTE(v uuid.UUID) predicate.DocumentHistory
UUIDGTE applies the GTE predicate on the "uuid" field.
func UUIDIn ¶
func UUIDIn(vs ...uuid.UUID) predicate.DocumentHistory
UUIDIn applies the In predicate on the "uuid" field.
func UUIDLT ¶
func UUIDLT(v uuid.UUID) predicate.DocumentHistory
UUIDLT applies the LT predicate on the "uuid" field.
func UUIDLTE ¶
func UUIDLTE(v uuid.UUID) predicate.DocumentHistory
UUIDLTE applies the LTE predicate on the "uuid" field.
func UUIDNEQ ¶
func UUIDNEQ(v uuid.UUID) predicate.DocumentHistory
UUIDNEQ applies the NEQ predicate on the "uuid" field.
func UUIDNotIn ¶
func UUIDNotIn(vs ...uuid.UUID) predicate.DocumentHistory
UUIDNotIn applies the NotIn predicate on the "uuid" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.DocumentHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.DocumentHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.DocumentHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.DocumentHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.DocumentHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.DocumentHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.DocumentHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.DocumentHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.DocumentHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.DocumentHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.DocumentHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.DocumentHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.DocumentHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.DocumentHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.DocumentHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.DocumentHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.DocumentHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.DocumentHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.DocumentHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.DocumentHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.DocumentHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.DocumentHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.DocumentHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.DocumentHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.DocumentHistory
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 ¶
This section is empty.