Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.FileHistory) predicate.FileHistory
- func CategoryType(v string) predicate.FileHistory
- func CategoryTypeContains(v string) predicate.FileHistory
- func CategoryTypeContainsFold(v string) predicate.FileHistory
- func CategoryTypeEQ(v string) predicate.FileHistory
- func CategoryTypeEqualFold(v string) predicate.FileHistory
- func CategoryTypeGT(v string) predicate.FileHistory
- func CategoryTypeGTE(v string) predicate.FileHistory
- func CategoryTypeHasPrefix(v string) predicate.FileHistory
- func CategoryTypeHasSuffix(v string) predicate.FileHistory
- func CategoryTypeIn(vs ...string) predicate.FileHistory
- func CategoryTypeIsNil() predicate.FileHistory
- func CategoryTypeLT(v string) predicate.FileHistory
- func CategoryTypeLTE(v string) predicate.FileHistory
- func CategoryTypeNEQ(v string) predicate.FileHistory
- func CategoryTypeNotIn(vs ...string) predicate.FileHistory
- func CategoryTypeNotNil() 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 DetectedContentType(v string) predicate.FileHistory
- func DetectedContentTypeContains(v string) predicate.FileHistory
- func DetectedContentTypeContainsFold(v string) predicate.FileHistory
- func DetectedContentTypeEQ(v string) predicate.FileHistory
- func DetectedContentTypeEqualFold(v string) predicate.FileHistory
- func DetectedContentTypeGT(v string) predicate.FileHistory
- func DetectedContentTypeGTE(v string) predicate.FileHistory
- func DetectedContentTypeHasPrefix(v string) predicate.FileHistory
- func DetectedContentTypeHasSuffix(v string) predicate.FileHistory
- func DetectedContentTypeIn(vs ...string) predicate.FileHistory
- func DetectedContentTypeLT(v string) predicate.FileHistory
- func DetectedContentTypeLTE(v string) predicate.FileHistory
- func DetectedContentTypeNEQ(v string) predicate.FileHistory
- func DetectedContentTypeNotIn(vs ...string) predicate.FileHistory
- func DetectedMimeType(v string) predicate.FileHistory
- func DetectedMimeTypeContains(v string) predicate.FileHistory
- func DetectedMimeTypeContainsFold(v string) predicate.FileHistory
- func DetectedMimeTypeEQ(v string) predicate.FileHistory
- func DetectedMimeTypeEqualFold(v string) predicate.FileHistory
- func DetectedMimeTypeGT(v string) predicate.FileHistory
- func DetectedMimeTypeGTE(v string) predicate.FileHistory
- func DetectedMimeTypeHasPrefix(v string) predicate.FileHistory
- func DetectedMimeTypeHasSuffix(v string) predicate.FileHistory
- func DetectedMimeTypeIn(vs ...string) predicate.FileHistory
- func DetectedMimeTypeIsNil() predicate.FileHistory
- func DetectedMimeTypeLT(v string) predicate.FileHistory
- func DetectedMimeTypeLTE(v string) predicate.FileHistory
- func DetectedMimeTypeNEQ(v string) predicate.FileHistory
- func DetectedMimeTypeNotIn(vs ...string) predicate.FileHistory
- func DetectedMimeTypeNotNil() predicate.FileHistory
- func FileContents(v []byte) predicate.FileHistory
- func FileContentsEQ(v []byte) predicate.FileHistory
- func FileContentsGT(v []byte) predicate.FileHistory
- func FileContentsGTE(v []byte) predicate.FileHistory
- func FileContentsIn(vs ...[]byte) predicate.FileHistory
- func FileContentsIsNil() predicate.FileHistory
- func FileContentsLT(v []byte) predicate.FileHistory
- func FileContentsLTE(v []byte) predicate.FileHistory
- func FileContentsNEQ(v []byte) predicate.FileHistory
- func FileContentsNotIn(vs ...[]byte) predicate.FileHistory
- func FileContentsNotNil() 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 Md5Hash(v string) predicate.FileHistory
- func Md5HashContains(v string) predicate.FileHistory
- func Md5HashContainsFold(v string) predicate.FileHistory
- func Md5HashEQ(v string) predicate.FileHistory
- func Md5HashEqualFold(v string) predicate.FileHistory
- func Md5HashGT(v string) predicate.FileHistory
- func Md5HashGTE(v string) predicate.FileHistory
- func Md5HashHasPrefix(v string) predicate.FileHistory
- func Md5HashHasSuffix(v string) predicate.FileHistory
- func Md5HashIn(vs ...string) predicate.FileHistory
- func Md5HashIsNil() predicate.FileHistory
- func Md5HashLT(v string) predicate.FileHistory
- func Md5HashLTE(v string) predicate.FileHistory
- func Md5HashNEQ(v string) predicate.FileHistory
- func Md5HashNotIn(vs ...string) predicate.FileHistory
- func Md5HashNotNil() 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 PersistedFileSize(v int64) predicate.FileHistory
- func PersistedFileSizeEQ(v int64) predicate.FileHistory
- func PersistedFileSizeGT(v int64) predicate.FileHistory
- func PersistedFileSizeGTE(v int64) predicate.FileHistory
- func PersistedFileSizeIn(vs ...int64) predicate.FileHistory
- func PersistedFileSizeIsNil() predicate.FileHistory
- func PersistedFileSizeLT(v int64) predicate.FileHistory
- func PersistedFileSizeLTE(v int64) predicate.FileHistory
- func PersistedFileSizeNEQ(v int64) predicate.FileHistory
- func PersistedFileSizeNotIn(vs ...int64) predicate.FileHistory
- func PersistedFileSizeNotNil() predicate.FileHistory
- func ProvidedFileExtension(v string) predicate.FileHistory
- func ProvidedFileExtensionContains(v string) predicate.FileHistory
- func ProvidedFileExtensionContainsFold(v string) predicate.FileHistory
- func ProvidedFileExtensionEQ(v string) predicate.FileHistory
- func ProvidedFileExtensionEqualFold(v string) predicate.FileHistory
- func ProvidedFileExtensionGT(v string) predicate.FileHistory
- func ProvidedFileExtensionGTE(v string) predicate.FileHistory
- func ProvidedFileExtensionHasPrefix(v string) predicate.FileHistory
- func ProvidedFileExtensionHasSuffix(v string) predicate.FileHistory
- func ProvidedFileExtensionIn(vs ...string) predicate.FileHistory
- func ProvidedFileExtensionLT(v string) predicate.FileHistory
- func ProvidedFileExtensionLTE(v string) predicate.FileHistory
- func ProvidedFileExtensionNEQ(v string) predicate.FileHistory
- func ProvidedFileExtensionNotIn(vs ...string) predicate.FileHistory
- func ProvidedFileName(v string) predicate.FileHistory
- func ProvidedFileNameContains(v string) predicate.FileHistory
- func ProvidedFileNameContainsFold(v string) predicate.FileHistory
- func ProvidedFileNameEQ(v string) predicate.FileHistory
- func ProvidedFileNameEqualFold(v string) predicate.FileHistory
- func ProvidedFileNameGT(v string) predicate.FileHistory
- func ProvidedFileNameGTE(v string) predicate.FileHistory
- func ProvidedFileNameHasPrefix(v string) predicate.FileHistory
- func ProvidedFileNameHasSuffix(v string) predicate.FileHistory
- func ProvidedFileNameIn(vs ...string) predicate.FileHistory
- func ProvidedFileNameLT(v string) predicate.FileHistory
- func ProvidedFileNameLTE(v string) predicate.FileHistory
- func ProvidedFileNameNEQ(v string) predicate.FileHistory
- func ProvidedFileNameNotIn(vs ...string) predicate.FileHistory
- func ProvidedFileSize(v int64) predicate.FileHistory
- func ProvidedFileSizeEQ(v int64) predicate.FileHistory
- func ProvidedFileSizeGT(v int64) predicate.FileHistory
- func ProvidedFileSizeGTE(v int64) predicate.FileHistory
- func ProvidedFileSizeIn(vs ...int64) predicate.FileHistory
- func ProvidedFileSizeIsNil() predicate.FileHistory
- func ProvidedFileSizeLT(v int64) predicate.FileHistory
- func ProvidedFileSizeLTE(v int64) predicate.FileHistory
- func ProvidedFileSizeNEQ(v int64) predicate.FileHistory
- func ProvidedFileSizeNotIn(vs ...int64) predicate.FileHistory
- func ProvidedFileSizeNotNil() 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 StoragePath(v string) predicate.FileHistory
- func StoragePathContains(v string) predicate.FileHistory
- func StoragePathContainsFold(v string) predicate.FileHistory
- func StoragePathEQ(v string) predicate.FileHistory
- func StoragePathEqualFold(v string) predicate.FileHistory
- func StoragePathGT(v string) predicate.FileHistory
- func StoragePathGTE(v string) predicate.FileHistory
- func StoragePathHasPrefix(v string) predicate.FileHistory
- func StoragePathHasSuffix(v string) predicate.FileHistory
- func StoragePathIn(vs ...string) predicate.FileHistory
- func StoragePathIsNil() predicate.FileHistory
- func StoragePathLT(v string) predicate.FileHistory
- func StoragePathLTE(v string) predicate.FileHistory
- func StoragePathNEQ(v string) predicate.FileHistory
- func StoragePathNotIn(vs ...string) predicate.FileHistory
- func StoragePathNotNil() predicate.FileHistory
- func StorageScheme(v string) predicate.FileHistory
- func StorageSchemeContains(v string) predicate.FileHistory
- func StorageSchemeContainsFold(v string) predicate.FileHistory
- func StorageSchemeEQ(v string) predicate.FileHistory
- func StorageSchemeEqualFold(v string) predicate.FileHistory
- func StorageSchemeGT(v string) predicate.FileHistory
- func StorageSchemeGTE(v string) predicate.FileHistory
- func StorageSchemeHasPrefix(v string) predicate.FileHistory
- func StorageSchemeHasSuffix(v string) predicate.FileHistory
- func StorageSchemeIn(vs ...string) predicate.FileHistory
- func StorageSchemeIsNil() predicate.FileHistory
- func StorageSchemeLT(v string) predicate.FileHistory
- func StorageSchemeLTE(v string) predicate.FileHistory
- func StorageSchemeNEQ(v string) predicate.FileHistory
- func StorageSchemeNotIn(vs ...string) predicate.FileHistory
- func StorageSchemeNotNil() predicate.FileHistory
- func StorageVolume(v string) predicate.FileHistory
- func StorageVolumeContains(v string) predicate.FileHistory
- func StorageVolumeContainsFold(v string) predicate.FileHistory
- func StorageVolumeEQ(v string) predicate.FileHistory
- func StorageVolumeEqualFold(v string) predicate.FileHistory
- func StorageVolumeGT(v string) predicate.FileHistory
- func StorageVolumeGTE(v string) predicate.FileHistory
- func StorageVolumeHasPrefix(v string) predicate.FileHistory
- func StorageVolumeHasSuffix(v string) predicate.FileHistory
- func StorageVolumeIn(vs ...string) predicate.FileHistory
- func StorageVolumeIsNil() predicate.FileHistory
- func StorageVolumeLT(v string) predicate.FileHistory
- func StorageVolumeLTE(v string) predicate.FileHistory
- func StorageVolumeNEQ(v string) predicate.FileHistory
- func StorageVolumeNotIn(vs ...string) predicate.FileHistory
- func StorageVolumeNotNil() 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 StoreKeyIsNil() 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 StoreKeyNotNil() predicate.FileHistory
- func TagsIsNil() predicate.FileHistory
- func TagsNotNil() predicate.FileHistory
- func URI(v string) predicate.FileHistory
- func URIContains(v string) predicate.FileHistory
- func URIContainsFold(v string) predicate.FileHistory
- func URIEQ(v string) predicate.FileHistory
- func URIEqualFold(v string) predicate.FileHistory
- func URIGT(v string) predicate.FileHistory
- func URIGTE(v string) predicate.FileHistory
- func URIHasPrefix(v string) predicate.FileHistory
- func URIHasSuffix(v string) predicate.FileHistory
- func URIIn(vs ...string) predicate.FileHistory
- func URIIsNil() predicate.FileHistory
- func URILT(v string) predicate.FileHistory
- func URILTE(v string) predicate.FileHistory
- func URINEQ(v string) predicate.FileHistory
- func URINotIn(vs ...string) predicate.FileHistory
- func URINotNil() 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 ByCategoryType(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 ByDetectedContentType(opts ...sql.OrderTermOption) OrderOption
- func ByDetectedMimeType(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByMd5Hash(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByPersistedFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByProvidedFileExtension(opts ...sql.OrderTermOption) OrderOption
- func ByProvidedFileName(opts ...sql.OrderTermOption) OrderOption
- func ByProvidedFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByStoragePath(opts ...sql.OrderTermOption) OrderOption
- func ByStorageScheme(opts ...sql.OrderTermOption) OrderOption
- func ByStorageVolume(opts ...sql.OrderTermOption) OrderOption
- func ByStoreKey(opts ...sql.OrderTermOption) OrderOption
- func ByURI(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" // FieldProvidedFileName holds the string denoting the provided_file_name field in the database. FieldProvidedFileName = "provided_file_name" // FieldProvidedFileExtension holds the string denoting the provided_file_extension field in the database. FieldProvidedFileExtension = "provided_file_extension" // FieldProvidedFileSize holds the string denoting the provided_file_size field in the database. FieldProvidedFileSize = "provided_file_size" // FieldPersistedFileSize holds the string denoting the persisted_file_size field in the database. FieldPersistedFileSize = "persisted_file_size" // FieldDetectedMimeType holds the string denoting the detected_mime_type field in the database. FieldDetectedMimeType = "detected_mime_type" // FieldMd5Hash holds the string denoting the md5_hash field in the database. FieldMd5Hash = "md5_hash" // FieldDetectedContentType holds the string denoting the detected_content_type field in the database. FieldDetectedContentType = "detected_content_type" // FieldStoreKey holds the string denoting the store_key field in the database. FieldStoreKey = "store_key" // FieldCategoryType holds the string denoting the category_type field in the database. FieldCategoryType = "category_type" // FieldURI holds the string denoting the uri field in the database. FieldURI = "uri" // FieldStorageScheme holds the string denoting the storage_scheme field in the database. FieldStorageScheme = "storage_scheme" // FieldStorageVolume holds the string denoting the storage_volume field in the database. FieldStorageVolume = "storage_volume" // FieldStoragePath holds the string denoting the storage_path field in the database. FieldStoragePath = "storage_path" // FieldFileContents holds the string denoting the file_contents field in the database. FieldFileContents = "file_contents" // Table holds the table name of the filehistory in the database. Table = "file_history" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor Policy ent.Policy // DefaultHistoryTime holds the default value on creation for the "history_time" field. DefaultHistoryTime func() time.Time // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldProvidedFileName, FieldProvidedFileExtension, FieldProvidedFileSize, FieldPersistedFileSize, FieldDetectedMimeType, FieldMd5Hash, FieldDetectedContentType, FieldStoreKey, FieldCategoryType, FieldURI, FieldStorageScheme, FieldStorageVolume, FieldStoragePath, FieldFileContents, }
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 CategoryType ¶ added in v0.3.0
func CategoryType(v string) predicate.FileHistory
CategoryType applies equality check predicate on the "category_type" field. It's identical to CategoryTypeEQ.
func CategoryTypeContains ¶ added in v0.3.0
func CategoryTypeContains(v string) predicate.FileHistory
CategoryTypeContains applies the Contains predicate on the "category_type" field.
func CategoryTypeContainsFold ¶ added in v0.3.0
func CategoryTypeContainsFold(v string) predicate.FileHistory
CategoryTypeContainsFold applies the ContainsFold predicate on the "category_type" field.
func CategoryTypeEQ ¶ added in v0.3.0
func CategoryTypeEQ(v string) predicate.FileHistory
CategoryTypeEQ applies the EQ predicate on the "category_type" field.
func CategoryTypeEqualFold ¶ added in v0.3.0
func CategoryTypeEqualFold(v string) predicate.FileHistory
CategoryTypeEqualFold applies the EqualFold predicate on the "category_type" field.
func CategoryTypeGT ¶ added in v0.3.0
func CategoryTypeGT(v string) predicate.FileHistory
CategoryTypeGT applies the GT predicate on the "category_type" field.
func CategoryTypeGTE ¶ added in v0.3.0
func CategoryTypeGTE(v string) predicate.FileHistory
CategoryTypeGTE applies the GTE predicate on the "category_type" field.
func CategoryTypeHasPrefix ¶ added in v0.3.0
func CategoryTypeHasPrefix(v string) predicate.FileHistory
CategoryTypeHasPrefix applies the HasPrefix predicate on the "category_type" field.
func CategoryTypeHasSuffix ¶ added in v0.3.0
func CategoryTypeHasSuffix(v string) predicate.FileHistory
CategoryTypeHasSuffix applies the HasSuffix predicate on the "category_type" field.
func CategoryTypeIn ¶ added in v0.3.0
func CategoryTypeIn(vs ...string) predicate.FileHistory
CategoryTypeIn applies the In predicate on the "category_type" field.
func CategoryTypeIsNil ¶ added in v0.3.0
func CategoryTypeIsNil() predicate.FileHistory
CategoryTypeIsNil applies the IsNil predicate on the "category_type" field.
func CategoryTypeLT ¶ added in v0.3.0
func CategoryTypeLT(v string) predicate.FileHistory
CategoryTypeLT applies the LT predicate on the "category_type" field.
func CategoryTypeLTE ¶ added in v0.3.0
func CategoryTypeLTE(v string) predicate.FileHistory
CategoryTypeLTE applies the LTE predicate on the "category_type" field.
func CategoryTypeNEQ ¶ added in v0.3.0
func CategoryTypeNEQ(v string) predicate.FileHistory
CategoryTypeNEQ applies the NEQ predicate on the "category_type" field.
func CategoryTypeNotIn ¶ added in v0.3.0
func CategoryTypeNotIn(vs ...string) predicate.FileHistory
CategoryTypeNotIn applies the NotIn predicate on the "category_type" field.
func CategoryTypeNotNil ¶ added in v0.3.0
func CategoryTypeNotNil() predicate.FileHistory
CategoryTypeNotNil applies the NotNil predicate on the "category_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 DetectedContentType ¶ added in v0.3.0
func DetectedContentType(v string) predicate.FileHistory
DetectedContentType applies equality check predicate on the "detected_content_type" field. It's identical to DetectedContentTypeEQ.
func DetectedContentTypeContains ¶ added in v0.3.0
func DetectedContentTypeContains(v string) predicate.FileHistory
DetectedContentTypeContains applies the Contains predicate on the "detected_content_type" field.
func DetectedContentTypeContainsFold ¶ added in v0.3.0
func DetectedContentTypeContainsFold(v string) predicate.FileHistory
DetectedContentTypeContainsFold applies the ContainsFold predicate on the "detected_content_type" field.
func DetectedContentTypeEQ ¶ added in v0.3.0
func DetectedContentTypeEQ(v string) predicate.FileHistory
DetectedContentTypeEQ applies the EQ predicate on the "detected_content_type" field.
func DetectedContentTypeEqualFold ¶ added in v0.3.0
func DetectedContentTypeEqualFold(v string) predicate.FileHistory
DetectedContentTypeEqualFold applies the EqualFold predicate on the "detected_content_type" field.
func DetectedContentTypeGT ¶ added in v0.3.0
func DetectedContentTypeGT(v string) predicate.FileHistory
DetectedContentTypeGT applies the GT predicate on the "detected_content_type" field.
func DetectedContentTypeGTE ¶ added in v0.3.0
func DetectedContentTypeGTE(v string) predicate.FileHistory
DetectedContentTypeGTE applies the GTE predicate on the "detected_content_type" field.
func DetectedContentTypeHasPrefix ¶ added in v0.3.0
func DetectedContentTypeHasPrefix(v string) predicate.FileHistory
DetectedContentTypeHasPrefix applies the HasPrefix predicate on the "detected_content_type" field.
func DetectedContentTypeHasSuffix ¶ added in v0.3.0
func DetectedContentTypeHasSuffix(v string) predicate.FileHistory
DetectedContentTypeHasSuffix applies the HasSuffix predicate on the "detected_content_type" field.
func DetectedContentTypeIn ¶ added in v0.3.0
func DetectedContentTypeIn(vs ...string) predicate.FileHistory
DetectedContentTypeIn applies the In predicate on the "detected_content_type" field.
func DetectedContentTypeLT ¶ added in v0.3.0
func DetectedContentTypeLT(v string) predicate.FileHistory
DetectedContentTypeLT applies the LT predicate on the "detected_content_type" field.
func DetectedContentTypeLTE ¶ added in v0.3.0
func DetectedContentTypeLTE(v string) predicate.FileHistory
DetectedContentTypeLTE applies the LTE predicate on the "detected_content_type" field.
func DetectedContentTypeNEQ ¶ added in v0.3.0
func DetectedContentTypeNEQ(v string) predicate.FileHistory
DetectedContentTypeNEQ applies the NEQ predicate on the "detected_content_type" field.
func DetectedContentTypeNotIn ¶ added in v0.3.0
func DetectedContentTypeNotIn(vs ...string) predicate.FileHistory
DetectedContentTypeNotIn applies the NotIn predicate on the "detected_content_type" field.
func DetectedMimeType ¶ added in v0.3.0
func DetectedMimeType(v string) predicate.FileHistory
DetectedMimeType applies equality check predicate on the "detected_mime_type" field. It's identical to DetectedMimeTypeEQ.
func DetectedMimeTypeContains ¶ added in v0.3.0
func DetectedMimeTypeContains(v string) predicate.FileHistory
DetectedMimeTypeContains applies the Contains predicate on the "detected_mime_type" field.
func DetectedMimeTypeContainsFold ¶ added in v0.3.0
func DetectedMimeTypeContainsFold(v string) predicate.FileHistory
DetectedMimeTypeContainsFold applies the ContainsFold predicate on the "detected_mime_type" field.
func DetectedMimeTypeEQ ¶ added in v0.3.0
func DetectedMimeTypeEQ(v string) predicate.FileHistory
DetectedMimeTypeEQ applies the EQ predicate on the "detected_mime_type" field.
func DetectedMimeTypeEqualFold ¶ added in v0.3.0
func DetectedMimeTypeEqualFold(v string) predicate.FileHistory
DetectedMimeTypeEqualFold applies the EqualFold predicate on the "detected_mime_type" field.
func DetectedMimeTypeGT ¶ added in v0.3.0
func DetectedMimeTypeGT(v string) predicate.FileHistory
DetectedMimeTypeGT applies the GT predicate on the "detected_mime_type" field.
func DetectedMimeTypeGTE ¶ added in v0.3.0
func DetectedMimeTypeGTE(v string) predicate.FileHistory
DetectedMimeTypeGTE applies the GTE predicate on the "detected_mime_type" field.
func DetectedMimeTypeHasPrefix ¶ added in v0.3.0
func DetectedMimeTypeHasPrefix(v string) predicate.FileHistory
DetectedMimeTypeHasPrefix applies the HasPrefix predicate on the "detected_mime_type" field.
func DetectedMimeTypeHasSuffix ¶ added in v0.3.0
func DetectedMimeTypeHasSuffix(v string) predicate.FileHistory
DetectedMimeTypeHasSuffix applies the HasSuffix predicate on the "detected_mime_type" field.
func DetectedMimeTypeIn ¶ added in v0.3.0
func DetectedMimeTypeIn(vs ...string) predicate.FileHistory
DetectedMimeTypeIn applies the In predicate on the "detected_mime_type" field.
func DetectedMimeTypeIsNil ¶ added in v0.3.0
func DetectedMimeTypeIsNil() predicate.FileHistory
DetectedMimeTypeIsNil applies the IsNil predicate on the "detected_mime_type" field.
func DetectedMimeTypeLT ¶ added in v0.3.0
func DetectedMimeTypeLT(v string) predicate.FileHistory
DetectedMimeTypeLT applies the LT predicate on the "detected_mime_type" field.
func DetectedMimeTypeLTE ¶ added in v0.3.0
func DetectedMimeTypeLTE(v string) predicate.FileHistory
DetectedMimeTypeLTE applies the LTE predicate on the "detected_mime_type" field.
func DetectedMimeTypeNEQ ¶ added in v0.3.0
func DetectedMimeTypeNEQ(v string) predicate.FileHistory
DetectedMimeTypeNEQ applies the NEQ predicate on the "detected_mime_type" field.
func DetectedMimeTypeNotIn ¶ added in v0.3.0
func DetectedMimeTypeNotIn(vs ...string) predicate.FileHistory
DetectedMimeTypeNotIn applies the NotIn predicate on the "detected_mime_type" field.
func DetectedMimeTypeNotNil ¶ added in v0.3.0
func DetectedMimeTypeNotNil() predicate.FileHistory
DetectedMimeTypeNotNil applies the NotNil predicate on the "detected_mime_type" field.
func FileContents ¶ added in v0.3.0
func FileContents(v []byte) predicate.FileHistory
FileContents applies equality check predicate on the "file_contents" field. It's identical to FileContentsEQ.
func FileContentsEQ ¶ added in v0.3.0
func FileContentsEQ(v []byte) predicate.FileHistory
FileContentsEQ applies the EQ predicate on the "file_contents" field.
func FileContentsGT ¶ added in v0.3.0
func FileContentsGT(v []byte) predicate.FileHistory
FileContentsGT applies the GT predicate on the "file_contents" field.
func FileContentsGTE ¶ added in v0.3.0
func FileContentsGTE(v []byte) predicate.FileHistory
FileContentsGTE applies the GTE predicate on the "file_contents" field.
func FileContentsIn ¶ added in v0.3.0
func FileContentsIn(vs ...[]byte) predicate.FileHistory
FileContentsIn applies the In predicate on the "file_contents" field.
func FileContentsIsNil ¶ added in v0.3.0
func FileContentsIsNil() predicate.FileHistory
FileContentsIsNil applies the IsNil predicate on the "file_contents" field.
func FileContentsLT ¶ added in v0.3.0
func FileContentsLT(v []byte) predicate.FileHistory
FileContentsLT applies the LT predicate on the "file_contents" field.
func FileContentsLTE ¶ added in v0.3.0
func FileContentsLTE(v []byte) predicate.FileHistory
FileContentsLTE applies the LTE predicate on the "file_contents" field.
func FileContentsNEQ ¶ added in v0.3.0
func FileContentsNEQ(v []byte) predicate.FileHistory
FileContentsNEQ applies the NEQ predicate on the "file_contents" field.
func FileContentsNotIn ¶ added in v0.3.0
func FileContentsNotIn(vs ...[]byte) predicate.FileHistory
FileContentsNotIn applies the NotIn predicate on the "file_contents" field.
func FileContentsNotNil ¶ added in v0.3.0
func FileContentsNotNil() predicate.FileHistory
FileContentsNotNil applies the NotNil predicate on the "file_contents" 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 Md5Hash ¶ added in v0.3.0
func Md5Hash(v string) predicate.FileHistory
Md5Hash applies equality check predicate on the "md5_hash" field. It's identical to Md5HashEQ.
func Md5HashContains ¶ added in v0.3.0
func Md5HashContains(v string) predicate.FileHistory
Md5HashContains applies the Contains predicate on the "md5_hash" field.
func Md5HashContainsFold ¶ added in v0.3.0
func Md5HashContainsFold(v string) predicate.FileHistory
Md5HashContainsFold applies the ContainsFold predicate on the "md5_hash" field.
func Md5HashEQ ¶ added in v0.3.0
func Md5HashEQ(v string) predicate.FileHistory
Md5HashEQ applies the EQ predicate on the "md5_hash" field.
func Md5HashEqualFold ¶ added in v0.3.0
func Md5HashEqualFold(v string) predicate.FileHistory
Md5HashEqualFold applies the EqualFold predicate on the "md5_hash" field.
func Md5HashGT ¶ added in v0.3.0
func Md5HashGT(v string) predicate.FileHistory
Md5HashGT applies the GT predicate on the "md5_hash" field.
func Md5HashGTE ¶ added in v0.3.0
func Md5HashGTE(v string) predicate.FileHistory
Md5HashGTE applies the GTE predicate on the "md5_hash" field.
func Md5HashHasPrefix ¶ added in v0.3.0
func Md5HashHasPrefix(v string) predicate.FileHistory
Md5HashHasPrefix applies the HasPrefix predicate on the "md5_hash" field.
func Md5HashHasSuffix ¶ added in v0.3.0
func Md5HashHasSuffix(v string) predicate.FileHistory
Md5HashHasSuffix applies the HasSuffix predicate on the "md5_hash" field.
func Md5HashIn ¶ added in v0.3.0
func Md5HashIn(vs ...string) predicate.FileHistory
Md5HashIn applies the In predicate on the "md5_hash" field.
func Md5HashIsNil ¶ added in v0.3.0
func Md5HashIsNil() predicate.FileHistory
Md5HashIsNil applies the IsNil predicate on the "md5_hash" field.
func Md5HashLT ¶ added in v0.3.0
func Md5HashLT(v string) predicate.FileHistory
Md5HashLT applies the LT predicate on the "md5_hash" field.
func Md5HashLTE ¶ added in v0.3.0
func Md5HashLTE(v string) predicate.FileHistory
Md5HashLTE applies the LTE predicate on the "md5_hash" field.
func Md5HashNEQ ¶ added in v0.3.0
func Md5HashNEQ(v string) predicate.FileHistory
Md5HashNEQ applies the NEQ predicate on the "md5_hash" field.
func Md5HashNotIn ¶ added in v0.3.0
func Md5HashNotIn(vs ...string) predicate.FileHistory
Md5HashNotIn applies the NotIn predicate on the "md5_hash" field.
func Md5HashNotNil ¶ added in v0.3.0
func Md5HashNotNil() predicate.FileHistory
Md5HashNotNil applies the NotNil predicate on the "md5_hash" 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 PersistedFileSize ¶ added in v0.3.0
func PersistedFileSize(v int64) predicate.FileHistory
PersistedFileSize applies equality check predicate on the "persisted_file_size" field. It's identical to PersistedFileSizeEQ.
func PersistedFileSizeEQ ¶ added in v0.3.0
func PersistedFileSizeEQ(v int64) predicate.FileHistory
PersistedFileSizeEQ applies the EQ predicate on the "persisted_file_size" field.
func PersistedFileSizeGT ¶ added in v0.3.0
func PersistedFileSizeGT(v int64) predicate.FileHistory
PersistedFileSizeGT applies the GT predicate on the "persisted_file_size" field.
func PersistedFileSizeGTE ¶ added in v0.3.0
func PersistedFileSizeGTE(v int64) predicate.FileHistory
PersistedFileSizeGTE applies the GTE predicate on the "persisted_file_size" field.
func PersistedFileSizeIn ¶ added in v0.3.0
func PersistedFileSizeIn(vs ...int64) predicate.FileHistory
PersistedFileSizeIn applies the In predicate on the "persisted_file_size" field.
func PersistedFileSizeIsNil ¶ added in v0.3.0
func PersistedFileSizeIsNil() predicate.FileHistory
PersistedFileSizeIsNil applies the IsNil predicate on the "persisted_file_size" field.
func PersistedFileSizeLT ¶ added in v0.3.0
func PersistedFileSizeLT(v int64) predicate.FileHistory
PersistedFileSizeLT applies the LT predicate on the "persisted_file_size" field.
func PersistedFileSizeLTE ¶ added in v0.3.0
func PersistedFileSizeLTE(v int64) predicate.FileHistory
PersistedFileSizeLTE applies the LTE predicate on the "persisted_file_size" field.
func PersistedFileSizeNEQ ¶ added in v0.3.0
func PersistedFileSizeNEQ(v int64) predicate.FileHistory
PersistedFileSizeNEQ applies the NEQ predicate on the "persisted_file_size" field.
func PersistedFileSizeNotIn ¶ added in v0.3.0
func PersistedFileSizeNotIn(vs ...int64) predicate.FileHistory
PersistedFileSizeNotIn applies the NotIn predicate on the "persisted_file_size" field.
func PersistedFileSizeNotNil ¶ added in v0.3.0
func PersistedFileSizeNotNil() predicate.FileHistory
PersistedFileSizeNotNil applies the NotNil predicate on the "persisted_file_size" field.
func ProvidedFileExtension ¶ added in v0.3.0
func ProvidedFileExtension(v string) predicate.FileHistory
ProvidedFileExtension applies equality check predicate on the "provided_file_extension" field. It's identical to ProvidedFileExtensionEQ.
func ProvidedFileExtensionContains ¶ added in v0.3.0
func ProvidedFileExtensionContains(v string) predicate.FileHistory
ProvidedFileExtensionContains applies the Contains predicate on the "provided_file_extension" field.
func ProvidedFileExtensionContainsFold ¶ added in v0.3.0
func ProvidedFileExtensionContainsFold(v string) predicate.FileHistory
ProvidedFileExtensionContainsFold applies the ContainsFold predicate on the "provided_file_extension" field.
func ProvidedFileExtensionEQ ¶ added in v0.3.0
func ProvidedFileExtensionEQ(v string) predicate.FileHistory
ProvidedFileExtensionEQ applies the EQ predicate on the "provided_file_extension" field.
func ProvidedFileExtensionEqualFold ¶ added in v0.3.0
func ProvidedFileExtensionEqualFold(v string) predicate.FileHistory
ProvidedFileExtensionEqualFold applies the EqualFold predicate on the "provided_file_extension" field.
func ProvidedFileExtensionGT ¶ added in v0.3.0
func ProvidedFileExtensionGT(v string) predicate.FileHistory
ProvidedFileExtensionGT applies the GT predicate on the "provided_file_extension" field.
func ProvidedFileExtensionGTE ¶ added in v0.3.0
func ProvidedFileExtensionGTE(v string) predicate.FileHistory
ProvidedFileExtensionGTE applies the GTE predicate on the "provided_file_extension" field.
func ProvidedFileExtensionHasPrefix ¶ added in v0.3.0
func ProvidedFileExtensionHasPrefix(v string) predicate.FileHistory
ProvidedFileExtensionHasPrefix applies the HasPrefix predicate on the "provided_file_extension" field.
func ProvidedFileExtensionHasSuffix ¶ added in v0.3.0
func ProvidedFileExtensionHasSuffix(v string) predicate.FileHistory
ProvidedFileExtensionHasSuffix applies the HasSuffix predicate on the "provided_file_extension" field.
func ProvidedFileExtensionIn ¶ added in v0.3.0
func ProvidedFileExtensionIn(vs ...string) predicate.FileHistory
ProvidedFileExtensionIn applies the In predicate on the "provided_file_extension" field.
func ProvidedFileExtensionLT ¶ added in v0.3.0
func ProvidedFileExtensionLT(v string) predicate.FileHistory
ProvidedFileExtensionLT applies the LT predicate on the "provided_file_extension" field.
func ProvidedFileExtensionLTE ¶ added in v0.3.0
func ProvidedFileExtensionLTE(v string) predicate.FileHistory
ProvidedFileExtensionLTE applies the LTE predicate on the "provided_file_extension" field.
func ProvidedFileExtensionNEQ ¶ added in v0.3.0
func ProvidedFileExtensionNEQ(v string) predicate.FileHistory
ProvidedFileExtensionNEQ applies the NEQ predicate on the "provided_file_extension" field.
func ProvidedFileExtensionNotIn ¶ added in v0.3.0
func ProvidedFileExtensionNotIn(vs ...string) predicate.FileHistory
ProvidedFileExtensionNotIn applies the NotIn predicate on the "provided_file_extension" field.
func ProvidedFileName ¶ added in v0.3.0
func ProvidedFileName(v string) predicate.FileHistory
ProvidedFileName applies equality check predicate on the "provided_file_name" field. It's identical to ProvidedFileNameEQ.
func ProvidedFileNameContains ¶ added in v0.3.0
func ProvidedFileNameContains(v string) predicate.FileHistory
ProvidedFileNameContains applies the Contains predicate on the "provided_file_name" field.
func ProvidedFileNameContainsFold ¶ added in v0.3.0
func ProvidedFileNameContainsFold(v string) predicate.FileHistory
ProvidedFileNameContainsFold applies the ContainsFold predicate on the "provided_file_name" field.
func ProvidedFileNameEQ ¶ added in v0.3.0
func ProvidedFileNameEQ(v string) predicate.FileHistory
ProvidedFileNameEQ applies the EQ predicate on the "provided_file_name" field.
func ProvidedFileNameEqualFold ¶ added in v0.3.0
func ProvidedFileNameEqualFold(v string) predicate.FileHistory
ProvidedFileNameEqualFold applies the EqualFold predicate on the "provided_file_name" field.
func ProvidedFileNameGT ¶ added in v0.3.0
func ProvidedFileNameGT(v string) predicate.FileHistory
ProvidedFileNameGT applies the GT predicate on the "provided_file_name" field.
func ProvidedFileNameGTE ¶ added in v0.3.0
func ProvidedFileNameGTE(v string) predicate.FileHistory
ProvidedFileNameGTE applies the GTE predicate on the "provided_file_name" field.
func ProvidedFileNameHasPrefix ¶ added in v0.3.0
func ProvidedFileNameHasPrefix(v string) predicate.FileHistory
ProvidedFileNameHasPrefix applies the HasPrefix predicate on the "provided_file_name" field.
func ProvidedFileNameHasSuffix ¶ added in v0.3.0
func ProvidedFileNameHasSuffix(v string) predicate.FileHistory
ProvidedFileNameHasSuffix applies the HasSuffix predicate on the "provided_file_name" field.
func ProvidedFileNameIn ¶ added in v0.3.0
func ProvidedFileNameIn(vs ...string) predicate.FileHistory
ProvidedFileNameIn applies the In predicate on the "provided_file_name" field.
func ProvidedFileNameLT ¶ added in v0.3.0
func ProvidedFileNameLT(v string) predicate.FileHistory
ProvidedFileNameLT applies the LT predicate on the "provided_file_name" field.
func ProvidedFileNameLTE ¶ added in v0.3.0
func ProvidedFileNameLTE(v string) predicate.FileHistory
ProvidedFileNameLTE applies the LTE predicate on the "provided_file_name" field.
func ProvidedFileNameNEQ ¶ added in v0.3.0
func ProvidedFileNameNEQ(v string) predicate.FileHistory
ProvidedFileNameNEQ applies the NEQ predicate on the "provided_file_name" field.
func ProvidedFileNameNotIn ¶ added in v0.3.0
func ProvidedFileNameNotIn(vs ...string) predicate.FileHistory
ProvidedFileNameNotIn applies the NotIn predicate on the "provided_file_name" field.
func ProvidedFileSize ¶ added in v0.3.0
func ProvidedFileSize(v int64) predicate.FileHistory
ProvidedFileSize applies equality check predicate on the "provided_file_size" field. It's identical to ProvidedFileSizeEQ.
func ProvidedFileSizeEQ ¶ added in v0.3.0
func ProvidedFileSizeEQ(v int64) predicate.FileHistory
ProvidedFileSizeEQ applies the EQ predicate on the "provided_file_size" field.
func ProvidedFileSizeGT ¶ added in v0.3.0
func ProvidedFileSizeGT(v int64) predicate.FileHistory
ProvidedFileSizeGT applies the GT predicate on the "provided_file_size" field.
func ProvidedFileSizeGTE ¶ added in v0.3.0
func ProvidedFileSizeGTE(v int64) predicate.FileHistory
ProvidedFileSizeGTE applies the GTE predicate on the "provided_file_size" field.
func ProvidedFileSizeIn ¶ added in v0.3.0
func ProvidedFileSizeIn(vs ...int64) predicate.FileHistory
ProvidedFileSizeIn applies the In predicate on the "provided_file_size" field.
func ProvidedFileSizeIsNil ¶ added in v0.3.0
func ProvidedFileSizeIsNil() predicate.FileHistory
ProvidedFileSizeIsNil applies the IsNil predicate on the "provided_file_size" field.
func ProvidedFileSizeLT ¶ added in v0.3.0
func ProvidedFileSizeLT(v int64) predicate.FileHistory
ProvidedFileSizeLT applies the LT predicate on the "provided_file_size" field.
func ProvidedFileSizeLTE ¶ added in v0.3.0
func ProvidedFileSizeLTE(v int64) predicate.FileHistory
ProvidedFileSizeLTE applies the LTE predicate on the "provided_file_size" field.
func ProvidedFileSizeNEQ ¶ added in v0.3.0
func ProvidedFileSizeNEQ(v int64) predicate.FileHistory
ProvidedFileSizeNEQ applies the NEQ predicate on the "provided_file_size" field.
func ProvidedFileSizeNotIn ¶ added in v0.3.0
func ProvidedFileSizeNotIn(vs ...int64) predicate.FileHistory
ProvidedFileSizeNotIn applies the NotIn predicate on the "provided_file_size" field.
func ProvidedFileSizeNotNil ¶ added in v0.3.0
func ProvidedFileSizeNotNil() predicate.FileHistory
ProvidedFileSizeNotNil applies the NotNil predicate on the "provided_file_size" field.
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 StoragePath ¶ added in v0.3.0
func StoragePath(v string) predicate.FileHistory
StoragePath applies equality check predicate on the "storage_path" field. It's identical to StoragePathEQ.
func StoragePathContains ¶ added in v0.3.0
func StoragePathContains(v string) predicate.FileHistory
StoragePathContains applies the Contains predicate on the "storage_path" field.
func StoragePathContainsFold ¶ added in v0.3.0
func StoragePathContainsFold(v string) predicate.FileHistory
StoragePathContainsFold applies the ContainsFold predicate on the "storage_path" field.
func StoragePathEQ ¶ added in v0.3.0
func StoragePathEQ(v string) predicate.FileHistory
StoragePathEQ applies the EQ predicate on the "storage_path" field.
func StoragePathEqualFold ¶ added in v0.3.0
func StoragePathEqualFold(v string) predicate.FileHistory
StoragePathEqualFold applies the EqualFold predicate on the "storage_path" field.
func StoragePathGT ¶ added in v0.3.0
func StoragePathGT(v string) predicate.FileHistory
StoragePathGT applies the GT predicate on the "storage_path" field.
func StoragePathGTE ¶ added in v0.3.0
func StoragePathGTE(v string) predicate.FileHistory
StoragePathGTE applies the GTE predicate on the "storage_path" field.
func StoragePathHasPrefix ¶ added in v0.3.0
func StoragePathHasPrefix(v string) predicate.FileHistory
StoragePathHasPrefix applies the HasPrefix predicate on the "storage_path" field.
func StoragePathHasSuffix ¶ added in v0.3.0
func StoragePathHasSuffix(v string) predicate.FileHistory
StoragePathHasSuffix applies the HasSuffix predicate on the "storage_path" field.
func StoragePathIn ¶ added in v0.3.0
func StoragePathIn(vs ...string) predicate.FileHistory
StoragePathIn applies the In predicate on the "storage_path" field.
func StoragePathIsNil ¶ added in v0.3.0
func StoragePathIsNil() predicate.FileHistory
StoragePathIsNil applies the IsNil predicate on the "storage_path" field.
func StoragePathLT ¶ added in v0.3.0
func StoragePathLT(v string) predicate.FileHistory
StoragePathLT applies the LT predicate on the "storage_path" field.
func StoragePathLTE ¶ added in v0.3.0
func StoragePathLTE(v string) predicate.FileHistory
StoragePathLTE applies the LTE predicate on the "storage_path" field.
func StoragePathNEQ ¶ added in v0.3.0
func StoragePathNEQ(v string) predicate.FileHistory
StoragePathNEQ applies the NEQ predicate on the "storage_path" field.
func StoragePathNotIn ¶ added in v0.3.0
func StoragePathNotIn(vs ...string) predicate.FileHistory
StoragePathNotIn applies the NotIn predicate on the "storage_path" field.
func StoragePathNotNil ¶ added in v0.3.0
func StoragePathNotNil() predicate.FileHistory
StoragePathNotNil applies the NotNil predicate on the "storage_path" field.
func StorageScheme ¶ added in v0.3.0
func StorageScheme(v string) predicate.FileHistory
StorageScheme applies equality check predicate on the "storage_scheme" field. It's identical to StorageSchemeEQ.
func StorageSchemeContains ¶ added in v0.3.0
func StorageSchemeContains(v string) predicate.FileHistory
StorageSchemeContains applies the Contains predicate on the "storage_scheme" field.
func StorageSchemeContainsFold ¶ added in v0.3.0
func StorageSchemeContainsFold(v string) predicate.FileHistory
StorageSchemeContainsFold applies the ContainsFold predicate on the "storage_scheme" field.
func StorageSchemeEQ ¶ added in v0.3.0
func StorageSchemeEQ(v string) predicate.FileHistory
StorageSchemeEQ applies the EQ predicate on the "storage_scheme" field.
func StorageSchemeEqualFold ¶ added in v0.3.0
func StorageSchemeEqualFold(v string) predicate.FileHistory
StorageSchemeEqualFold applies the EqualFold predicate on the "storage_scheme" field.
func StorageSchemeGT ¶ added in v0.3.0
func StorageSchemeGT(v string) predicate.FileHistory
StorageSchemeGT applies the GT predicate on the "storage_scheme" field.
func StorageSchemeGTE ¶ added in v0.3.0
func StorageSchemeGTE(v string) predicate.FileHistory
StorageSchemeGTE applies the GTE predicate on the "storage_scheme" field.
func StorageSchemeHasPrefix ¶ added in v0.3.0
func StorageSchemeHasPrefix(v string) predicate.FileHistory
StorageSchemeHasPrefix applies the HasPrefix predicate on the "storage_scheme" field.
func StorageSchemeHasSuffix ¶ added in v0.3.0
func StorageSchemeHasSuffix(v string) predicate.FileHistory
StorageSchemeHasSuffix applies the HasSuffix predicate on the "storage_scheme" field.
func StorageSchemeIn ¶ added in v0.3.0
func StorageSchemeIn(vs ...string) predicate.FileHistory
StorageSchemeIn applies the In predicate on the "storage_scheme" field.
func StorageSchemeIsNil ¶ added in v0.3.0
func StorageSchemeIsNil() predicate.FileHistory
StorageSchemeIsNil applies the IsNil predicate on the "storage_scheme" field.
func StorageSchemeLT ¶ added in v0.3.0
func StorageSchemeLT(v string) predicate.FileHistory
StorageSchemeLT applies the LT predicate on the "storage_scheme" field.
func StorageSchemeLTE ¶ added in v0.3.0
func StorageSchemeLTE(v string) predicate.FileHistory
StorageSchemeLTE applies the LTE predicate on the "storage_scheme" field.
func StorageSchemeNEQ ¶ added in v0.3.0
func StorageSchemeNEQ(v string) predicate.FileHistory
StorageSchemeNEQ applies the NEQ predicate on the "storage_scheme" field.
func StorageSchemeNotIn ¶ added in v0.3.0
func StorageSchemeNotIn(vs ...string) predicate.FileHistory
StorageSchemeNotIn applies the NotIn predicate on the "storage_scheme" field.
func StorageSchemeNotNil ¶ added in v0.3.0
func StorageSchemeNotNil() predicate.FileHistory
StorageSchemeNotNil applies the NotNil predicate on the "storage_scheme" field.
func StorageVolume ¶ added in v0.3.0
func StorageVolume(v string) predicate.FileHistory
StorageVolume applies equality check predicate on the "storage_volume" field. It's identical to StorageVolumeEQ.
func StorageVolumeContains ¶ added in v0.3.0
func StorageVolumeContains(v string) predicate.FileHistory
StorageVolumeContains applies the Contains predicate on the "storage_volume" field.
func StorageVolumeContainsFold ¶ added in v0.3.0
func StorageVolumeContainsFold(v string) predicate.FileHistory
StorageVolumeContainsFold applies the ContainsFold predicate on the "storage_volume" field.
func StorageVolumeEQ ¶ added in v0.3.0
func StorageVolumeEQ(v string) predicate.FileHistory
StorageVolumeEQ applies the EQ predicate on the "storage_volume" field.
func StorageVolumeEqualFold ¶ added in v0.3.0
func StorageVolumeEqualFold(v string) predicate.FileHistory
StorageVolumeEqualFold applies the EqualFold predicate on the "storage_volume" field.
func StorageVolumeGT ¶ added in v0.3.0
func StorageVolumeGT(v string) predicate.FileHistory
StorageVolumeGT applies the GT predicate on the "storage_volume" field.
func StorageVolumeGTE ¶ added in v0.3.0
func StorageVolumeGTE(v string) predicate.FileHistory
StorageVolumeGTE applies the GTE predicate on the "storage_volume" field.
func StorageVolumeHasPrefix ¶ added in v0.3.0
func StorageVolumeHasPrefix(v string) predicate.FileHistory
StorageVolumeHasPrefix applies the HasPrefix predicate on the "storage_volume" field.
func StorageVolumeHasSuffix ¶ added in v0.3.0
func StorageVolumeHasSuffix(v string) predicate.FileHistory
StorageVolumeHasSuffix applies the HasSuffix predicate on the "storage_volume" field.
func StorageVolumeIn ¶ added in v0.3.0
func StorageVolumeIn(vs ...string) predicate.FileHistory
StorageVolumeIn applies the In predicate on the "storage_volume" field.
func StorageVolumeIsNil ¶ added in v0.3.0
func StorageVolumeIsNil() predicate.FileHistory
StorageVolumeIsNil applies the IsNil predicate on the "storage_volume" field.
func StorageVolumeLT ¶ added in v0.3.0
func StorageVolumeLT(v string) predicate.FileHistory
StorageVolumeLT applies the LT predicate on the "storage_volume" field.
func StorageVolumeLTE ¶ added in v0.3.0
func StorageVolumeLTE(v string) predicate.FileHistory
StorageVolumeLTE applies the LTE predicate on the "storage_volume" field.
func StorageVolumeNEQ ¶ added in v0.3.0
func StorageVolumeNEQ(v string) predicate.FileHistory
StorageVolumeNEQ applies the NEQ predicate on the "storage_volume" field.
func StorageVolumeNotIn ¶ added in v0.3.0
func StorageVolumeNotIn(vs ...string) predicate.FileHistory
StorageVolumeNotIn applies the NotIn predicate on the "storage_volume" field.
func StorageVolumeNotNil ¶ added in v0.3.0
func StorageVolumeNotNil() predicate.FileHistory
StorageVolumeNotNil applies the NotNil predicate on the "storage_volume" 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 StoreKeyIsNil ¶ added in v0.3.0
func StoreKeyIsNil() predicate.FileHistory
StoreKeyIsNil applies the IsNil 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 StoreKeyNotNil ¶ added in v0.3.0
func StoreKeyNotNil() predicate.FileHistory
StoreKeyNotNil applies the NotNil 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 URI ¶ added in v0.3.0
func URI(v string) predicate.FileHistory
URI applies equality check predicate on the "uri" field. It's identical to URIEQ.
func URIContains ¶ added in v0.3.0
func URIContains(v string) predicate.FileHistory
URIContains applies the Contains predicate on the "uri" field.
func URIContainsFold ¶ added in v0.3.0
func URIContainsFold(v string) predicate.FileHistory
URIContainsFold applies the ContainsFold predicate on the "uri" field.
func URIEQ ¶ added in v0.3.0
func URIEQ(v string) predicate.FileHistory
URIEQ applies the EQ predicate on the "uri" field.
func URIEqualFold ¶ added in v0.3.0
func URIEqualFold(v string) predicate.FileHistory
URIEqualFold applies the EqualFold predicate on the "uri" field.
func URIGT ¶ added in v0.3.0
func URIGT(v string) predicate.FileHistory
URIGT applies the GT predicate on the "uri" field.
func URIGTE ¶ added in v0.3.0
func URIGTE(v string) predicate.FileHistory
URIGTE applies the GTE predicate on the "uri" field.
func URIHasPrefix ¶ added in v0.3.0
func URIHasPrefix(v string) predicate.FileHistory
URIHasPrefix applies the HasPrefix predicate on the "uri" field.
func URIHasSuffix ¶ added in v0.3.0
func URIHasSuffix(v string) predicate.FileHistory
URIHasSuffix applies the HasSuffix predicate on the "uri" field.
func URIIn ¶ added in v0.3.0
func URIIn(vs ...string) predicate.FileHistory
URIIn applies the In predicate on the "uri" field.
func URIIsNil ¶ added in v0.3.0
func URIIsNil() predicate.FileHistory
URIIsNil applies the IsNil predicate on the "uri" field.
func URILT ¶ added in v0.3.0
func URILT(v string) predicate.FileHistory
URILT applies the LT predicate on the "uri" field.
func URILTE ¶ added in v0.3.0
func URILTE(v string) predicate.FileHistory
URILTE applies the LTE predicate on the "uri" field.
func URINEQ ¶ added in v0.3.0
func URINEQ(v string) predicate.FileHistory
URINEQ applies the NEQ predicate on the "uri" field.
func URINotIn ¶ added in v0.3.0
func URINotIn(vs ...string) predicate.FileHistory
URINotIn applies the NotIn predicate on the "uri" field.
func URINotNil ¶ added in v0.3.0
func URINotNil() predicate.FileHistory
URINotNil applies the NotNil predicate on the "uri" 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 ByCategoryType ¶ added in v0.3.0
func ByCategoryType(opts ...sql.OrderTermOption) OrderOption
ByCategoryType orders the results by the category_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 ByDetectedContentType ¶ added in v0.3.0
func ByDetectedContentType(opts ...sql.OrderTermOption) OrderOption
ByDetectedContentType orders the results by the detected_content_type field.
func ByDetectedMimeType ¶ added in v0.3.0
func ByDetectedMimeType(opts ...sql.OrderTermOption) OrderOption
ByDetectedMimeType orders the results by the detected_mime_type field.
func ByHistoryTime ¶
func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
ByHistoryTime orders the results by the history_time field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByMd5Hash ¶ added in v0.3.0
func ByMd5Hash(opts ...sql.OrderTermOption) OrderOption
ByMd5Hash orders the results by the md5_hash field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByPersistedFileSize ¶ added in v0.3.0
func ByPersistedFileSize(opts ...sql.OrderTermOption) OrderOption
ByPersistedFileSize orders the results by the persisted_file_size field.
func ByProvidedFileExtension ¶ added in v0.3.0
func ByProvidedFileExtension(opts ...sql.OrderTermOption) OrderOption
ByProvidedFileExtension orders the results by the provided_file_extension field.
func ByProvidedFileName ¶ added in v0.3.0
func ByProvidedFileName(opts ...sql.OrderTermOption) OrderOption
ByProvidedFileName orders the results by the provided_file_name field.
func ByProvidedFileSize ¶ added in v0.3.0
func ByProvidedFileSize(opts ...sql.OrderTermOption) OrderOption
ByProvidedFileSize orders the results by the provided_file_size field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref field.
func ByStoragePath ¶ added in v0.3.0
func ByStoragePath(opts ...sql.OrderTermOption) OrderOption
ByStoragePath orders the results by the storage_path field.
func ByStorageScheme ¶ added in v0.3.0
func ByStorageScheme(opts ...sql.OrderTermOption) OrderOption
ByStorageScheme orders the results by the storage_scheme field.
func ByStorageVolume ¶ added in v0.3.0
func ByStorageVolume(opts ...sql.OrderTermOption) OrderOption
ByStorageVolume orders the results by the storage_volume field.
func ByStoreKey ¶
func ByStoreKey(opts ...sql.OrderTermOption) OrderOption
ByStoreKey orders the results by the store_key field.
func ByURI ¶ added in v0.3.0
func ByURI(opts ...sql.OrderTermOption) OrderOption
ByURI orders the results by the uri 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.