Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.FileHistory) predicate.FileHistory
- func Annotation(v string) predicate.FileHistory
- func AnnotationContains(v string) predicate.FileHistory
- func AnnotationContainsFold(v string) predicate.FileHistory
- func AnnotationEQ(v string) predicate.FileHistory
- func AnnotationEqualFold(v string) predicate.FileHistory
- func AnnotationGT(v string) predicate.FileHistory
- func AnnotationGTE(v string) predicate.FileHistory
- func AnnotationHasPrefix(v string) predicate.FileHistory
- func AnnotationHasSuffix(v string) predicate.FileHistory
- func AnnotationIn(vs ...string) predicate.FileHistory
- func AnnotationIsNil() predicate.FileHistory
- func AnnotationLT(v string) predicate.FileHistory
- func AnnotationLTE(v string) predicate.FileHistory
- func AnnotationNEQ(v string) predicate.FileHistory
- func AnnotationNotIn(vs ...string) predicate.FileHistory
- func AnnotationNotNil() predicate.FileHistory
- func Category(v string) predicate.FileHistory
- func CategoryContains(v string) predicate.FileHistory
- func CategoryContainsFold(v string) predicate.FileHistory
- func CategoryEQ(v string) predicate.FileHistory
- func CategoryEqualFold(v string) predicate.FileHistory
- func CategoryGT(v string) predicate.FileHistory
- func CategoryGTE(v string) predicate.FileHistory
- func CategoryHasPrefix(v string) predicate.FileHistory
- func CategoryHasSuffix(v string) predicate.FileHistory
- func CategoryIn(vs ...string) predicate.FileHistory
- func CategoryIsNil() predicate.FileHistory
- func CategoryLT(v string) predicate.FileHistory
- func CategoryLTE(v string) predicate.FileHistory
- func CategoryNEQ(v string) predicate.FileHistory
- func CategoryNotIn(vs ...string) predicate.FileHistory
- func CategoryNotNil() predicate.FileHistory
- func ContentType(v string) predicate.FileHistory
- func ContentTypeContains(v string) predicate.FileHistory
- func ContentTypeContainsFold(v string) predicate.FileHistory
- func ContentTypeEQ(v string) predicate.FileHistory
- func ContentTypeEqualFold(v string) predicate.FileHistory
- func ContentTypeGT(v string) predicate.FileHistory
- func ContentTypeGTE(v string) predicate.FileHistory
- func ContentTypeHasPrefix(v string) predicate.FileHistory
- func ContentTypeHasSuffix(v string) predicate.FileHistory
- func ContentTypeIn(vs ...string) predicate.FileHistory
- func ContentTypeLT(v string) predicate.FileHistory
- func ContentTypeLTE(v string) predicate.FileHistory
- func ContentTypeNEQ(v string) predicate.FileHistory
- func ContentTypeNotIn(vs ...string) predicate.FileHistory
- func CreatedAt(v time.Time) predicate.FileHistory
- func CreatedAtEQ(v time.Time) predicate.FileHistory
- func CreatedAtGT(v time.Time) predicate.FileHistory
- func CreatedAtGTE(v time.Time) predicate.FileHistory
- func CreatedAtIn(vs ...time.Time) predicate.FileHistory
- func CreatedAtIsNil() predicate.FileHistory
- func CreatedAtLT(v time.Time) predicate.FileHistory
- func CreatedAtLTE(v time.Time) predicate.FileHistory
- func CreatedAtNEQ(v time.Time) predicate.FileHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.FileHistory
- func CreatedAtNotNil() predicate.FileHistory
- func CreatedBy(v string) predicate.FileHistory
- func CreatedByContains(v string) predicate.FileHistory
- func CreatedByContainsFold(v string) predicate.FileHistory
- func CreatedByEQ(v string) predicate.FileHistory
- func CreatedByEqualFold(v string) predicate.FileHistory
- func CreatedByGT(v string) predicate.FileHistory
- func CreatedByGTE(v string) predicate.FileHistory
- func CreatedByHasPrefix(v string) predicate.FileHistory
- func CreatedByHasSuffix(v string) predicate.FileHistory
- func CreatedByIn(vs ...string) predicate.FileHistory
- func CreatedByIsNil() predicate.FileHistory
- func CreatedByLT(v string) predicate.FileHistory
- func CreatedByLTE(v string) predicate.FileHistory
- func CreatedByNEQ(v string) predicate.FileHistory
- func CreatedByNotIn(vs ...string) predicate.FileHistory
- func CreatedByNotNil() predicate.FileHistory
- func DeletedAt(v time.Time) predicate.FileHistory
- func DeletedAtEQ(v time.Time) predicate.FileHistory
- func DeletedAtGT(v time.Time) predicate.FileHistory
- func DeletedAtGTE(v time.Time) predicate.FileHistory
- func DeletedAtIn(vs ...time.Time) predicate.FileHistory
- func DeletedAtIsNil() predicate.FileHistory
- func DeletedAtLT(v time.Time) predicate.FileHistory
- func DeletedAtLTE(v time.Time) predicate.FileHistory
- func DeletedAtNEQ(v time.Time) predicate.FileHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.FileHistory
- func DeletedAtNotNil() predicate.FileHistory
- func DeletedBy(v string) predicate.FileHistory
- func DeletedByContains(v string) predicate.FileHistory
- func DeletedByContainsFold(v string) predicate.FileHistory
- func DeletedByEQ(v string) predicate.FileHistory
- func DeletedByEqualFold(v string) predicate.FileHistory
- func DeletedByGT(v string) predicate.FileHistory
- func DeletedByGTE(v string) predicate.FileHistory
- func DeletedByHasPrefix(v string) predicate.FileHistory
- func DeletedByHasSuffix(v string) predicate.FileHistory
- func DeletedByIn(vs ...string) predicate.FileHistory
- func DeletedByIsNil() predicate.FileHistory
- func DeletedByLT(v string) predicate.FileHistory
- func DeletedByLTE(v string) predicate.FileHistory
- func DeletedByNEQ(v string) predicate.FileHistory
- func DeletedByNotIn(vs ...string) predicate.FileHistory
- func DeletedByNotNil() predicate.FileHistory
- func FileExtension(v string) predicate.FileHistory
- func FileExtensionContains(v string) predicate.FileHistory
- func FileExtensionContainsFold(v string) predicate.FileHistory
- func FileExtensionEQ(v string) predicate.FileHistory
- func FileExtensionEqualFold(v string) predicate.FileHistory
- func FileExtensionGT(v string) predicate.FileHistory
- func FileExtensionGTE(v string) predicate.FileHistory
- func FileExtensionHasPrefix(v string) predicate.FileHistory
- func FileExtensionHasSuffix(v string) predicate.FileHistory
- func FileExtensionIn(vs ...string) predicate.FileHistory
- func FileExtensionLT(v string) predicate.FileHistory
- func FileExtensionLTE(v string) predicate.FileHistory
- func FileExtensionNEQ(v string) predicate.FileHistory
- func FileExtensionNotIn(vs ...string) predicate.FileHistory
- func FileName(v string) predicate.FileHistory
- func FileNameContains(v string) predicate.FileHistory
- func FileNameContainsFold(v string) predicate.FileHistory
- func FileNameEQ(v string) predicate.FileHistory
- func FileNameEqualFold(v string) predicate.FileHistory
- func FileNameGT(v string) predicate.FileHistory
- func FileNameGTE(v string) predicate.FileHistory
- func FileNameHasPrefix(v string) predicate.FileHistory
- func FileNameHasSuffix(v string) predicate.FileHistory
- func FileNameIn(vs ...string) predicate.FileHistory
- func FileNameLT(v string) predicate.FileHistory
- func FileNameLTE(v string) predicate.FileHistory
- func FileNameNEQ(v string) predicate.FileHistory
- func FileNameNotIn(vs ...string) predicate.FileHistory
- func FileSize(v int) predicate.FileHistory
- func FileSizeEQ(v int) predicate.FileHistory
- func FileSizeGT(v int) predicate.FileHistory
- func FileSizeGTE(v int) predicate.FileHistory
- func FileSizeIn(vs ...int) predicate.FileHistory
- func FileSizeIsNil() predicate.FileHistory
- func FileSizeLT(v int) predicate.FileHistory
- func FileSizeLTE(v int) predicate.FileHistory
- func FileSizeNEQ(v int) predicate.FileHistory
- func FileSizeNotIn(vs ...int) predicate.FileHistory
- func FileSizeNotNil() predicate.FileHistory
- func HistoryTime(v time.Time) predicate.FileHistory
- func HistoryTimeEQ(v time.Time) predicate.FileHistory
- func HistoryTimeGT(v time.Time) predicate.FileHistory
- func HistoryTimeGTE(v time.Time) predicate.FileHistory
- func HistoryTimeIn(vs ...time.Time) predicate.FileHistory
- func HistoryTimeLT(v time.Time) predicate.FileHistory
- func HistoryTimeLTE(v time.Time) predicate.FileHistory
- func HistoryTimeNEQ(v time.Time) predicate.FileHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.FileHistory
- func ID(id string) predicate.FileHistory
- func IDContainsFold(id string) predicate.FileHistory
- func IDEQ(id string) predicate.FileHistory
- func IDEqualFold(id string) predicate.FileHistory
- func IDGT(id string) predicate.FileHistory
- func IDGTE(id string) predicate.FileHistory
- func IDIn(ids ...string) predicate.FileHistory
- func IDLT(id string) predicate.FileHistory
- func IDLTE(id string) predicate.FileHistory
- func IDNEQ(id string) predicate.FileHistory
- func IDNotIn(ids ...string) predicate.FileHistory
- func MappingID(v string) predicate.FileHistory
- func MappingIDContains(v string) predicate.FileHistory
- func MappingIDContainsFold(v string) predicate.FileHistory
- func MappingIDEQ(v string) predicate.FileHistory
- func MappingIDEqualFold(v string) predicate.FileHistory
- func MappingIDGT(v string) predicate.FileHistory
- func MappingIDGTE(v string) predicate.FileHistory
- func MappingIDHasPrefix(v string) predicate.FileHistory
- func MappingIDHasSuffix(v string) predicate.FileHistory
- func MappingIDIn(vs ...string) predicate.FileHistory
- func MappingIDLT(v string) predicate.FileHistory
- func MappingIDLTE(v string) predicate.FileHistory
- func MappingIDNEQ(v string) predicate.FileHistory
- func MappingIDNotIn(vs ...string) predicate.FileHistory
- func Not(p predicate.FileHistory) predicate.FileHistory
- func OperationEQ(v history.OpType) predicate.FileHistory
- func OperationIn(vs ...history.OpType) predicate.FileHistory
- func OperationNEQ(v history.OpType) predicate.FileHistory
- func OperationNotIn(vs ...history.OpType) predicate.FileHistory
- func OperationValidator(o history.OpType) error
- func Or(predicates ...predicate.FileHistory) predicate.FileHistory
- func Ref(v string) predicate.FileHistory
- func RefContains(v string) predicate.FileHistory
- func RefContainsFold(v string) predicate.FileHistory
- func RefEQ(v string) predicate.FileHistory
- func RefEqualFold(v string) predicate.FileHistory
- func RefGT(v string) predicate.FileHistory
- func RefGTE(v string) predicate.FileHistory
- func RefHasPrefix(v string) predicate.FileHistory
- func RefHasSuffix(v string) predicate.FileHistory
- func RefIn(vs ...string) predicate.FileHistory
- func RefIsNil() predicate.FileHistory
- func RefLT(v string) predicate.FileHistory
- func RefLTE(v string) predicate.FileHistory
- func RefNEQ(v string) predicate.FileHistory
- func RefNotIn(vs ...string) predicate.FileHistory
- func RefNotNil() predicate.FileHistory
- func StoreKey(v string) predicate.FileHistory
- func StoreKeyContains(v string) predicate.FileHistory
- func StoreKeyContainsFold(v string) predicate.FileHistory
- func StoreKeyEQ(v string) predicate.FileHistory
- func StoreKeyEqualFold(v string) predicate.FileHistory
- func StoreKeyGT(v string) predicate.FileHistory
- func StoreKeyGTE(v string) predicate.FileHistory
- func StoreKeyHasPrefix(v string) predicate.FileHistory
- func StoreKeyHasSuffix(v string) predicate.FileHistory
- func StoreKeyIn(vs ...string) predicate.FileHistory
- func StoreKeyLT(v string) predicate.FileHistory
- func StoreKeyLTE(v string) predicate.FileHistory
- func StoreKeyNEQ(v string) predicate.FileHistory
- func StoreKeyNotIn(vs ...string) predicate.FileHistory
- func TagsIsNil() predicate.FileHistory
- func TagsNotNil() predicate.FileHistory
- func UpdatedAt(v time.Time) predicate.FileHistory
- func UpdatedAtEQ(v time.Time) predicate.FileHistory
- func UpdatedAtGT(v time.Time) predicate.FileHistory
- func UpdatedAtGTE(v time.Time) predicate.FileHistory
- func UpdatedAtIn(vs ...time.Time) predicate.FileHistory
- func UpdatedAtIsNil() predicate.FileHistory
- func UpdatedAtLT(v time.Time) predicate.FileHistory
- func UpdatedAtLTE(v time.Time) predicate.FileHistory
- func UpdatedAtNEQ(v time.Time) predicate.FileHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.FileHistory
- func UpdatedAtNotNil() predicate.FileHistory
- func UpdatedBy(v string) predicate.FileHistory
- func UpdatedByContains(v string) predicate.FileHistory
- func UpdatedByContainsFold(v string) predicate.FileHistory
- func UpdatedByEQ(v string) predicate.FileHistory
- func UpdatedByEqualFold(v string) predicate.FileHistory
- func UpdatedByGT(v string) predicate.FileHistory
- func UpdatedByGTE(v string) predicate.FileHistory
- func UpdatedByHasPrefix(v string) predicate.FileHistory
- func UpdatedByHasSuffix(v string) predicate.FileHistory
- func UpdatedByIn(vs ...string) predicate.FileHistory
- func UpdatedByIsNil() predicate.FileHistory
- func UpdatedByLT(v string) predicate.FileHistory
- func UpdatedByLTE(v string) predicate.FileHistory
- func UpdatedByNEQ(v string) predicate.FileHistory
- func UpdatedByNotIn(vs ...string) predicate.FileHistory
- func UpdatedByNotNil() predicate.FileHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByAnnotation(opts ...sql.OrderTermOption) OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByContentType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByFileExtension(opts ...sql.OrderTermOption) OrderOption
- func ByFileName(opts ...sql.OrderTermOption) OrderOption
- func ByFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByStoreKey(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 filehistory type in the database. Label = "file_history" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHistoryTime holds the string denoting the history_time field in the database. FieldHistoryTime = "history_time" // FieldRef holds the string denoting the ref field in the database. FieldRef = "ref" // FieldOperation holds the string denoting the operation field in the database. FieldOperation = "operation" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // 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" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldFileName holds the string denoting the file_name field in the database. FieldFileName = "file_name" // FieldFileExtension holds the string denoting the file_extension field in the database. FieldFileExtension = "file_extension" // FieldFileSize holds the string denoting the file_size field in the database. FieldFileSize = "file_size" // FieldContentType holds the string denoting the content_type field in the database. FieldContentType = "content_type" // FieldStoreKey holds the string denoting the store_key field in the database. FieldStoreKey = "store_key" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // FieldAnnotation holds the string denoting the annotation field in the database. FieldAnnotation = "annotation" // Table holds the table name of the filehistory in the database. Table = "file_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 // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldFileName, FieldFileExtension, FieldFileSize, FieldContentType, FieldStoreKey, FieldCategory, FieldAnnotation, }
Columns holds all SQL columns for filehistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.FileHistory) predicate.FileHistory
And groups predicates with the AND operator between them.
func Annotation ¶
func Annotation(v string) predicate.FileHistory
Annotation applies equality check predicate on the "annotation" field. It's identical to AnnotationEQ.
func AnnotationContains ¶
func AnnotationContains(v string) predicate.FileHistory
AnnotationContains applies the Contains predicate on the "annotation" field.
func AnnotationContainsFold ¶
func AnnotationContainsFold(v string) predicate.FileHistory
AnnotationContainsFold applies the ContainsFold predicate on the "annotation" field.
func AnnotationEQ ¶
func AnnotationEQ(v string) predicate.FileHistory
AnnotationEQ applies the EQ predicate on the "annotation" field.
func AnnotationEqualFold ¶
func AnnotationEqualFold(v string) predicate.FileHistory
AnnotationEqualFold applies the EqualFold predicate on the "annotation" field.
func AnnotationGT ¶
func AnnotationGT(v string) predicate.FileHistory
AnnotationGT applies the GT predicate on the "annotation" field.
func AnnotationGTE ¶
func AnnotationGTE(v string) predicate.FileHistory
AnnotationGTE applies the GTE predicate on the "annotation" field.
func AnnotationHasPrefix ¶
func AnnotationHasPrefix(v string) predicate.FileHistory
AnnotationHasPrefix applies the HasPrefix predicate on the "annotation" field.
func AnnotationHasSuffix ¶
func AnnotationHasSuffix(v string) predicate.FileHistory
AnnotationHasSuffix applies the HasSuffix predicate on the "annotation" field.
func AnnotationIn ¶
func AnnotationIn(vs ...string) predicate.FileHistory
AnnotationIn applies the In predicate on the "annotation" field.
func AnnotationIsNil ¶
func AnnotationIsNil() predicate.FileHistory
AnnotationIsNil applies the IsNil predicate on the "annotation" field.
func AnnotationLT ¶
func AnnotationLT(v string) predicate.FileHistory
AnnotationLT applies the LT predicate on the "annotation" field.
func AnnotationLTE ¶
func AnnotationLTE(v string) predicate.FileHistory
AnnotationLTE applies the LTE predicate on the "annotation" field.
func AnnotationNEQ ¶
func AnnotationNEQ(v string) predicate.FileHistory
AnnotationNEQ applies the NEQ predicate on the "annotation" field.
func AnnotationNotIn ¶
func AnnotationNotIn(vs ...string) predicate.FileHistory
AnnotationNotIn applies the NotIn predicate on the "annotation" field.
func AnnotationNotNil ¶
func AnnotationNotNil() predicate.FileHistory
AnnotationNotNil applies the NotNil predicate on the "annotation" field.
func Category ¶
func Category(v string) predicate.FileHistory
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
func CategoryContains(v string) predicate.FileHistory
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
func CategoryContainsFold(v string) predicate.FileHistory
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
func CategoryEQ(v string) predicate.FileHistory
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
func CategoryEqualFold(v string) predicate.FileHistory
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
func CategoryGT(v string) predicate.FileHistory
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
func CategoryGTE(v string) predicate.FileHistory
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
func CategoryHasPrefix(v string) predicate.FileHistory
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
func CategoryHasSuffix(v string) predicate.FileHistory
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
func CategoryIn(vs ...string) predicate.FileHistory
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶
func CategoryIsNil() predicate.FileHistory
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶
func CategoryLT(v string) predicate.FileHistory
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
func CategoryLTE(v string) predicate.FileHistory
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
func CategoryNEQ(v string) predicate.FileHistory
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
func CategoryNotIn(vs ...string) predicate.FileHistory
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶
func CategoryNotNil() predicate.FileHistory
CategoryNotNil applies the NotNil predicate on the "category" field.
func ContentType ¶
func ContentType(v string) predicate.FileHistory
ContentType applies equality check predicate on the "content_type" field. It's identical to ContentTypeEQ.
func ContentTypeContains ¶
func ContentTypeContains(v string) predicate.FileHistory
ContentTypeContains applies the Contains predicate on the "content_type" field.
func ContentTypeContainsFold ¶
func ContentTypeContainsFold(v string) predicate.FileHistory
ContentTypeContainsFold applies the ContainsFold predicate on the "content_type" field.
func ContentTypeEQ ¶
func ContentTypeEQ(v string) predicate.FileHistory
ContentTypeEQ applies the EQ predicate on the "content_type" field.
func ContentTypeEqualFold ¶
func ContentTypeEqualFold(v string) predicate.FileHistory
ContentTypeEqualFold applies the EqualFold predicate on the "content_type" field.
func ContentTypeGT ¶
func ContentTypeGT(v string) predicate.FileHistory
ContentTypeGT applies the GT predicate on the "content_type" field.
func ContentTypeGTE ¶
func ContentTypeGTE(v string) predicate.FileHistory
ContentTypeGTE applies the GTE predicate on the "content_type" field.
func ContentTypeHasPrefix ¶
func ContentTypeHasPrefix(v string) predicate.FileHistory
ContentTypeHasPrefix applies the HasPrefix predicate on the "content_type" field.
func ContentTypeHasSuffix ¶
func ContentTypeHasSuffix(v string) predicate.FileHistory
ContentTypeHasSuffix applies the HasSuffix predicate on the "content_type" field.
func ContentTypeIn ¶
func ContentTypeIn(vs ...string) predicate.FileHistory
ContentTypeIn applies the In predicate on the "content_type" field.
func ContentTypeLT ¶
func ContentTypeLT(v string) predicate.FileHistory
ContentTypeLT applies the LT predicate on the "content_type" field.
func ContentTypeLTE ¶
func ContentTypeLTE(v string) predicate.FileHistory
ContentTypeLTE applies the LTE predicate on the "content_type" field.
func ContentTypeNEQ ¶
func ContentTypeNEQ(v string) predicate.FileHistory
ContentTypeNEQ applies the NEQ predicate on the "content_type" field.
func ContentTypeNotIn ¶
func ContentTypeNotIn(vs ...string) predicate.FileHistory
ContentTypeNotIn applies the NotIn predicate on the "content_type" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.FileHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.FileHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.FileHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.FileHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.FileHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.FileHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.FileHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.FileHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.FileHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.FileHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.FileHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.FileHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.FileHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.FileHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.FileHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.FileHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.FileHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.FileHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.FileHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.FileHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.FileHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.FileHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.FileHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.FileHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.FileHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.FileHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.FileHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.FileHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.FileHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.FileHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.FileHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.FileHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.FileHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.FileHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.FileHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.FileHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.FileHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.FileHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.FileHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.FileHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.FileHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.FileHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.FileHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.FileHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.FileHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.FileHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.FileHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.FileHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.FileHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.FileHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.FileHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.FileHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.FileHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.FileHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func FileExtension ¶
func FileExtension(v string) predicate.FileHistory
FileExtension applies equality check predicate on the "file_extension" field. It's identical to FileExtensionEQ.
func FileExtensionContains ¶
func FileExtensionContains(v string) predicate.FileHistory
FileExtensionContains applies the Contains predicate on the "file_extension" field.
func FileExtensionContainsFold ¶
func FileExtensionContainsFold(v string) predicate.FileHistory
FileExtensionContainsFold applies the ContainsFold predicate on the "file_extension" field.
func FileExtensionEQ ¶
func FileExtensionEQ(v string) predicate.FileHistory
FileExtensionEQ applies the EQ predicate on the "file_extension" field.
func FileExtensionEqualFold ¶
func FileExtensionEqualFold(v string) predicate.FileHistory
FileExtensionEqualFold applies the EqualFold predicate on the "file_extension" field.
func FileExtensionGT ¶
func FileExtensionGT(v string) predicate.FileHistory
FileExtensionGT applies the GT predicate on the "file_extension" field.
func FileExtensionGTE ¶
func FileExtensionGTE(v string) predicate.FileHistory
FileExtensionGTE applies the GTE predicate on the "file_extension" field.
func FileExtensionHasPrefix ¶
func FileExtensionHasPrefix(v string) predicate.FileHistory
FileExtensionHasPrefix applies the HasPrefix predicate on the "file_extension" field.
func FileExtensionHasSuffix ¶
func FileExtensionHasSuffix(v string) predicate.FileHistory
FileExtensionHasSuffix applies the HasSuffix predicate on the "file_extension" field.
func FileExtensionIn ¶
func FileExtensionIn(vs ...string) predicate.FileHistory
FileExtensionIn applies the In predicate on the "file_extension" field.
func FileExtensionLT ¶
func FileExtensionLT(v string) predicate.FileHistory
FileExtensionLT applies the LT predicate on the "file_extension" field.
func FileExtensionLTE ¶
func FileExtensionLTE(v string) predicate.FileHistory
FileExtensionLTE applies the LTE predicate on the "file_extension" field.
func FileExtensionNEQ ¶
func FileExtensionNEQ(v string) predicate.FileHistory
FileExtensionNEQ applies the NEQ predicate on the "file_extension" field.
func FileExtensionNotIn ¶
func FileExtensionNotIn(vs ...string) predicate.FileHistory
FileExtensionNotIn applies the NotIn predicate on the "file_extension" field.
func FileName ¶
func FileName(v string) predicate.FileHistory
FileName applies equality check predicate on the "file_name" field. It's identical to FileNameEQ.
func FileNameContains ¶
func FileNameContains(v string) predicate.FileHistory
FileNameContains applies the Contains predicate on the "file_name" field.
func FileNameContainsFold ¶
func FileNameContainsFold(v string) predicate.FileHistory
FileNameContainsFold applies the ContainsFold predicate on the "file_name" field.
func FileNameEQ ¶
func FileNameEQ(v string) predicate.FileHistory
FileNameEQ applies the EQ predicate on the "file_name" field.
func FileNameEqualFold ¶
func FileNameEqualFold(v string) predicate.FileHistory
FileNameEqualFold applies the EqualFold predicate on the "file_name" field.
func FileNameGT ¶
func FileNameGT(v string) predicate.FileHistory
FileNameGT applies the GT predicate on the "file_name" field.
func FileNameGTE ¶
func FileNameGTE(v string) predicate.FileHistory
FileNameGTE applies the GTE predicate on the "file_name" field.
func FileNameHasPrefix ¶
func FileNameHasPrefix(v string) predicate.FileHistory
FileNameHasPrefix applies the HasPrefix predicate on the "file_name" field.
func FileNameHasSuffix ¶
func FileNameHasSuffix(v string) predicate.FileHistory
FileNameHasSuffix applies the HasSuffix predicate on the "file_name" field.
func FileNameIn ¶
func FileNameIn(vs ...string) predicate.FileHistory
FileNameIn applies the In predicate on the "file_name" field.
func FileNameLT ¶
func FileNameLT(v string) predicate.FileHistory
FileNameLT applies the LT predicate on the "file_name" field.
func FileNameLTE ¶
func FileNameLTE(v string) predicate.FileHistory
FileNameLTE applies the LTE predicate on the "file_name" field.
func FileNameNEQ ¶
func FileNameNEQ(v string) predicate.FileHistory
FileNameNEQ applies the NEQ predicate on the "file_name" field.
func FileNameNotIn ¶
func FileNameNotIn(vs ...string) predicate.FileHistory
FileNameNotIn applies the NotIn predicate on the "file_name" field.
func FileSize ¶
func FileSize(v int) predicate.FileHistory
FileSize applies equality check predicate on the "file_size" field. It's identical to FileSizeEQ.
func FileSizeEQ ¶
func FileSizeEQ(v int) predicate.FileHistory
FileSizeEQ applies the EQ predicate on the "file_size" field.
func FileSizeGT ¶
func FileSizeGT(v int) predicate.FileHistory
FileSizeGT applies the GT predicate on the "file_size" field.
func FileSizeGTE ¶
func FileSizeGTE(v int) predicate.FileHistory
FileSizeGTE applies the GTE predicate on the "file_size" field.
func FileSizeIn ¶
func FileSizeIn(vs ...int) predicate.FileHistory
FileSizeIn applies the In predicate on the "file_size" field.
func FileSizeIsNil ¶
func FileSizeIsNil() predicate.FileHistory
FileSizeIsNil applies the IsNil predicate on the "file_size" field.
func FileSizeLT ¶
func FileSizeLT(v int) predicate.FileHistory
FileSizeLT applies the LT predicate on the "file_size" field.
func FileSizeLTE ¶
func FileSizeLTE(v int) predicate.FileHistory
FileSizeLTE applies the LTE predicate on the "file_size" field.
func FileSizeNEQ ¶
func FileSizeNEQ(v int) predicate.FileHistory
FileSizeNEQ applies the NEQ predicate on the "file_size" field.
func FileSizeNotIn ¶
func FileSizeNotIn(vs ...int) predicate.FileHistory
FileSizeNotIn applies the NotIn predicate on the "file_size" field.
func FileSizeNotNil ¶
func FileSizeNotNil() predicate.FileHistory
FileSizeNotNil applies the NotNil predicate on the "file_size" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.FileHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.FileHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.FileHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.FileHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.FileHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.FileHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.FileHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.FileHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.FileHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.FileHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.FileHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.FileHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.FileHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.FileHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.FileHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.FileHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.FileHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.FileHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.FileHistory
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶
func MappingID(v string) predicate.FileHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.FileHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.FileHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.FileHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.FileHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.FileHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.FileHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.FileHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.FileHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.FileHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.FileHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.FileHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.FileHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.FileHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.FileHistory) predicate.FileHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v history.OpType) predicate.FileHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...history.OpType) predicate.FileHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v history.OpType) predicate.FileHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...history.OpType) predicate.FileHistory
OperationNotIn applies the NotIn predicate on the "operation" field.
func OperationValidator ¶
OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.FileHistory) predicate.FileHistory
Or groups predicates with the OR operator between them.
func Ref ¶
func Ref(v string) predicate.FileHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.FileHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.FileHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.FileHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.FileHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.FileHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.FileHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.FileHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.FileHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.FileHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.FileHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.FileHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.FileHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.FileHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.FileHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.FileHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func StoreKey ¶
func StoreKey(v string) predicate.FileHistory
StoreKey applies equality check predicate on the "store_key" field. It's identical to StoreKeyEQ.
func StoreKeyContains ¶
func StoreKeyContains(v string) predicate.FileHistory
StoreKeyContains applies the Contains predicate on the "store_key" field.
func StoreKeyContainsFold ¶
func StoreKeyContainsFold(v string) predicate.FileHistory
StoreKeyContainsFold applies the ContainsFold predicate on the "store_key" field.
func StoreKeyEQ ¶
func StoreKeyEQ(v string) predicate.FileHistory
StoreKeyEQ applies the EQ predicate on the "store_key" field.
func StoreKeyEqualFold ¶
func StoreKeyEqualFold(v string) predicate.FileHistory
StoreKeyEqualFold applies the EqualFold predicate on the "store_key" field.
func StoreKeyGT ¶
func StoreKeyGT(v string) predicate.FileHistory
StoreKeyGT applies the GT predicate on the "store_key" field.
func StoreKeyGTE ¶
func StoreKeyGTE(v string) predicate.FileHistory
StoreKeyGTE applies the GTE predicate on the "store_key" field.
func StoreKeyHasPrefix ¶
func StoreKeyHasPrefix(v string) predicate.FileHistory
StoreKeyHasPrefix applies the HasPrefix predicate on the "store_key" field.
func StoreKeyHasSuffix ¶
func StoreKeyHasSuffix(v string) predicate.FileHistory
StoreKeyHasSuffix applies the HasSuffix predicate on the "store_key" field.
func StoreKeyIn ¶
func StoreKeyIn(vs ...string) predicate.FileHistory
StoreKeyIn applies the In predicate on the "store_key" field.
func StoreKeyLT ¶
func StoreKeyLT(v string) predicate.FileHistory
StoreKeyLT applies the LT predicate on the "store_key" field.
func StoreKeyLTE ¶
func StoreKeyLTE(v string) predicate.FileHistory
StoreKeyLTE applies the LTE predicate on the "store_key" field.
func StoreKeyNEQ ¶
func StoreKeyNEQ(v string) predicate.FileHistory
StoreKeyNEQ applies the NEQ predicate on the "store_key" field.
func StoreKeyNotIn ¶
func StoreKeyNotIn(vs ...string) predicate.FileHistory
StoreKeyNotIn applies the NotIn predicate on the "store_key" field.
func TagsIsNil ¶
func TagsIsNil() predicate.FileHistory
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.FileHistory
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.FileHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.FileHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.FileHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.FileHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.FileHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.FileHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.FileHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.FileHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.FileHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.FileHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.FileHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.FileHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.FileHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.FileHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.FileHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.FileHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.FileHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.FileHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.FileHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.FileHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.FileHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.FileHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.FileHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.FileHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.FileHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.FileHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.FileHistory
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 FileHistory queries.
func ByAnnotation ¶
func ByAnnotation(opts ...sql.OrderTermOption) OrderOption
ByAnnotation orders the results by the annotation field.
func ByCategory ¶
func ByCategory(opts ...sql.OrderTermOption) OrderOption
ByCategory orders the results by the category field.
func ByContentType ¶
func ByContentType(opts ...sql.OrderTermOption) OrderOption
ByContentType orders the results by the content_type field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByFileExtension ¶
func ByFileExtension(opts ...sql.OrderTermOption) OrderOption
ByFileExtension orders the results by the file_extension field.
func ByFileName ¶
func ByFileName(opts ...sql.OrderTermOption) OrderOption
ByFileName orders the results by the file_name field.
func ByFileSize ¶
func ByFileSize(opts ...sql.OrderTermOption) OrderOption
ByFileSize orders the results by the file_size field.
func ByHistoryTime ¶
func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
ByHistoryTime orders the results by the history_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func ByStoreKey ¶
func ByStoreKey(opts ...sql.OrderTermOption) OrderOption
ByStoreKey orders the results by the store_key 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.