Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.File) predicate.File
- func CategoryType(v string) predicate.File
- func CategoryTypeContains(v string) predicate.File
- func CategoryTypeContainsFold(v string) predicate.File
- func CategoryTypeEQ(v string) predicate.File
- func CategoryTypeEqualFold(v string) predicate.File
- func CategoryTypeGT(v string) predicate.File
- func CategoryTypeGTE(v string) predicate.File
- func CategoryTypeHasPrefix(v string) predicate.File
- func CategoryTypeHasSuffix(v string) predicate.File
- func CategoryTypeIn(vs ...string) predicate.File
- func CategoryTypeIsNil() predicate.File
- func CategoryTypeLT(v string) predicate.File
- func CategoryTypeLTE(v string) predicate.File
- func CategoryTypeNEQ(v string) predicate.File
- func CategoryTypeNotIn(vs ...string) predicate.File
- func CategoryTypeNotNil() predicate.File
- func CreatedAt(v time.Time) predicate.File
- func CreatedAtEQ(v time.Time) predicate.File
- func CreatedAtGT(v time.Time) predicate.File
- func CreatedAtGTE(v time.Time) predicate.File
- func CreatedAtIn(vs ...time.Time) predicate.File
- func CreatedAtIsNil() predicate.File
- func CreatedAtLT(v time.Time) predicate.File
- func CreatedAtLTE(v time.Time) predicate.File
- func CreatedAtNEQ(v time.Time) predicate.File
- func CreatedAtNotIn(vs ...time.Time) predicate.File
- func CreatedAtNotNil() predicate.File
- func CreatedBy(v string) predicate.File
- func CreatedByContains(v string) predicate.File
- func CreatedByContainsFold(v string) predicate.File
- func CreatedByEQ(v string) predicate.File
- func CreatedByEqualFold(v string) predicate.File
- func CreatedByGT(v string) predicate.File
- func CreatedByGTE(v string) predicate.File
- func CreatedByHasPrefix(v string) predicate.File
- func CreatedByHasSuffix(v string) predicate.File
- func CreatedByIn(vs ...string) predicate.File
- func CreatedByIsNil() predicate.File
- func CreatedByLT(v string) predicate.File
- func CreatedByLTE(v string) predicate.File
- func CreatedByNEQ(v string) predicate.File
- func CreatedByNotIn(vs ...string) predicate.File
- func CreatedByNotNil() predicate.File
- func DeletedAt(v time.Time) predicate.File
- func DeletedAtEQ(v time.Time) predicate.File
- func DeletedAtGT(v time.Time) predicate.File
- func DeletedAtGTE(v time.Time) predicate.File
- func DeletedAtIn(vs ...time.Time) predicate.File
- func DeletedAtIsNil() predicate.File
- func DeletedAtLT(v time.Time) predicate.File
- func DeletedAtLTE(v time.Time) predicate.File
- func DeletedAtNEQ(v time.Time) predicate.File
- func DeletedAtNotIn(vs ...time.Time) predicate.File
- func DeletedAtNotNil() predicate.File
- func DeletedBy(v string) predicate.File
- func DeletedByContains(v string) predicate.File
- func DeletedByContainsFold(v string) predicate.File
- func DeletedByEQ(v string) predicate.File
- func DeletedByEqualFold(v string) predicate.File
- func DeletedByGT(v string) predicate.File
- func DeletedByGTE(v string) predicate.File
- func DeletedByHasPrefix(v string) predicate.File
- func DeletedByHasSuffix(v string) predicate.File
- func DeletedByIn(vs ...string) predicate.File
- func DeletedByIsNil() predicate.File
- func DeletedByLT(v string) predicate.File
- func DeletedByLTE(v string) predicate.File
- func DeletedByNEQ(v string) predicate.File
- func DeletedByNotIn(vs ...string) predicate.File
- func DeletedByNotNil() predicate.File
- func DetectedContentType(v string) predicate.File
- func DetectedContentTypeContains(v string) predicate.File
- func DetectedContentTypeContainsFold(v string) predicate.File
- func DetectedContentTypeEQ(v string) predicate.File
- func DetectedContentTypeEqualFold(v string) predicate.File
- func DetectedContentTypeGT(v string) predicate.File
- func DetectedContentTypeGTE(v string) predicate.File
- func DetectedContentTypeHasPrefix(v string) predicate.File
- func DetectedContentTypeHasSuffix(v string) predicate.File
- func DetectedContentTypeIn(vs ...string) predicate.File
- func DetectedContentTypeLT(v string) predicate.File
- func DetectedContentTypeLTE(v string) predicate.File
- func DetectedContentTypeNEQ(v string) predicate.File
- func DetectedContentTypeNotIn(vs ...string) predicate.File
- func DetectedMimeType(v string) predicate.File
- func DetectedMimeTypeContains(v string) predicate.File
- func DetectedMimeTypeContainsFold(v string) predicate.File
- func DetectedMimeTypeEQ(v string) predicate.File
- func DetectedMimeTypeEqualFold(v string) predicate.File
- func DetectedMimeTypeGT(v string) predicate.File
- func DetectedMimeTypeGTE(v string) predicate.File
- func DetectedMimeTypeHasPrefix(v string) predicate.File
- func DetectedMimeTypeHasSuffix(v string) predicate.File
- func DetectedMimeTypeIn(vs ...string) predicate.File
- func DetectedMimeTypeIsNil() predicate.File
- func DetectedMimeTypeLT(v string) predicate.File
- func DetectedMimeTypeLTE(v string) predicate.File
- func DetectedMimeTypeNEQ(v string) predicate.File
- func DetectedMimeTypeNotIn(vs ...string) predicate.File
- func DetectedMimeTypeNotNil() predicate.File
- func FileContents(v []byte) predicate.File
- func FileContentsEQ(v []byte) predicate.File
- func FileContentsGT(v []byte) predicate.File
- func FileContentsGTE(v []byte) predicate.File
- func FileContentsIn(vs ...[]byte) predicate.File
- func FileContentsIsNil() predicate.File
- func FileContentsLT(v []byte) predicate.File
- func FileContentsLTE(v []byte) predicate.File
- func FileContentsNEQ(v []byte) predicate.File
- func FileContentsNotIn(vs ...[]byte) predicate.File
- func FileContentsNotNil() predicate.File
- func HasContact() predicate.File
- func HasContactWith(preds ...predicate.Contact) predicate.File
- func HasDocumentdata() predicate.File
- func HasDocumentdataWith(preds ...predicate.DocumentData) predicate.File
- func HasEntity() predicate.File
- func HasEntityWith(preds ...predicate.Entity) predicate.File
- func HasEvents() predicate.File
- func HasEventsWith(preds ...predicate.Event) predicate.File
- func HasGroup() predicate.File
- func HasGroupWith(preds ...predicate.Group) predicate.File
- func HasOrganization() predicate.File
- func HasOrganizationWith(preds ...predicate.Organization) predicate.File
- func HasOrganizationsetting() predicate.File
- func HasOrganizationsettingWith(preds ...predicate.OrganizationSetting) predicate.File
- func HasProgram() predicate.File
- func HasProgramWith(preds ...predicate.Program) predicate.File
- func HasTemplate() predicate.File
- func HasTemplateWith(preds ...predicate.Template) predicate.File
- func HasUser() predicate.File
- func HasUserWith(preds ...predicate.User) predicate.File
- func HasUsersetting() predicate.File
- func HasUsersettingWith(preds ...predicate.UserSetting) predicate.File
- func ID(id string) predicate.File
- func IDContainsFold(id string) predicate.File
- func IDEQ(id string) predicate.File
- func IDEqualFold(id string) predicate.File
- func IDGT(id string) predicate.File
- func IDGTE(id string) predicate.File
- func IDIn(ids ...string) predicate.File
- func IDLT(id string) predicate.File
- func IDLTE(id string) predicate.File
- func IDNEQ(id string) predicate.File
- func IDNotIn(ids ...string) predicate.File
- func MappingID(v string) predicate.File
- func MappingIDContains(v string) predicate.File
- func MappingIDContainsFold(v string) predicate.File
- func MappingIDEQ(v string) predicate.File
- func MappingIDEqualFold(v string) predicate.File
- func MappingIDGT(v string) predicate.File
- func MappingIDGTE(v string) predicate.File
- func MappingIDHasPrefix(v string) predicate.File
- func MappingIDHasSuffix(v string) predicate.File
- func MappingIDIn(vs ...string) predicate.File
- func MappingIDLT(v string) predicate.File
- func MappingIDLTE(v string) predicate.File
- func MappingIDNEQ(v string) predicate.File
- func MappingIDNotIn(vs ...string) predicate.File
- func Md5Hash(v string) predicate.File
- func Md5HashContains(v string) predicate.File
- func Md5HashContainsFold(v string) predicate.File
- func Md5HashEQ(v string) predicate.File
- func Md5HashEqualFold(v string) predicate.File
- func Md5HashGT(v string) predicate.File
- func Md5HashGTE(v string) predicate.File
- func Md5HashHasPrefix(v string) predicate.File
- func Md5HashHasSuffix(v string) predicate.File
- func Md5HashIn(vs ...string) predicate.File
- func Md5HashIsNil() predicate.File
- func Md5HashLT(v string) predicate.File
- func Md5HashLTE(v string) predicate.File
- func Md5HashNEQ(v string) predicate.File
- func Md5HashNotIn(vs ...string) predicate.File
- func Md5HashNotNil() predicate.File
- func Not(p predicate.File) predicate.File
- func Or(predicates ...predicate.File) predicate.File
- func PersistedFileSize(v int64) predicate.File
- func PersistedFileSizeEQ(v int64) predicate.File
- func PersistedFileSizeGT(v int64) predicate.File
- func PersistedFileSizeGTE(v int64) predicate.File
- func PersistedFileSizeIn(vs ...int64) predicate.File
- func PersistedFileSizeIsNil() predicate.File
- func PersistedFileSizeLT(v int64) predicate.File
- func PersistedFileSizeLTE(v int64) predicate.File
- func PersistedFileSizeNEQ(v int64) predicate.File
- func PersistedFileSizeNotIn(vs ...int64) predicate.File
- func PersistedFileSizeNotNil() predicate.File
- func ProvidedFileExtension(v string) predicate.File
- func ProvidedFileExtensionContains(v string) predicate.File
- func ProvidedFileExtensionContainsFold(v string) predicate.File
- func ProvidedFileExtensionEQ(v string) predicate.File
- func ProvidedFileExtensionEqualFold(v string) predicate.File
- func ProvidedFileExtensionGT(v string) predicate.File
- func ProvidedFileExtensionGTE(v string) predicate.File
- func ProvidedFileExtensionHasPrefix(v string) predicate.File
- func ProvidedFileExtensionHasSuffix(v string) predicate.File
- func ProvidedFileExtensionIn(vs ...string) predicate.File
- func ProvidedFileExtensionLT(v string) predicate.File
- func ProvidedFileExtensionLTE(v string) predicate.File
- func ProvidedFileExtensionNEQ(v string) predicate.File
- func ProvidedFileExtensionNotIn(vs ...string) predicate.File
- func ProvidedFileName(v string) predicate.File
- func ProvidedFileNameContains(v string) predicate.File
- func ProvidedFileNameContainsFold(v string) predicate.File
- func ProvidedFileNameEQ(v string) predicate.File
- func ProvidedFileNameEqualFold(v string) predicate.File
- func ProvidedFileNameGT(v string) predicate.File
- func ProvidedFileNameGTE(v string) predicate.File
- func ProvidedFileNameHasPrefix(v string) predicate.File
- func ProvidedFileNameHasSuffix(v string) predicate.File
- func ProvidedFileNameIn(vs ...string) predicate.File
- func ProvidedFileNameLT(v string) predicate.File
- func ProvidedFileNameLTE(v string) predicate.File
- func ProvidedFileNameNEQ(v string) predicate.File
- func ProvidedFileNameNotIn(vs ...string) predicate.File
- func ProvidedFileSize(v int64) predicate.File
- func ProvidedFileSizeEQ(v int64) predicate.File
- func ProvidedFileSizeGT(v int64) predicate.File
- func ProvidedFileSizeGTE(v int64) predicate.File
- func ProvidedFileSizeIn(vs ...int64) predicate.File
- func ProvidedFileSizeIsNil() predicate.File
- func ProvidedFileSizeLT(v int64) predicate.File
- func ProvidedFileSizeLTE(v int64) predicate.File
- func ProvidedFileSizeNEQ(v int64) predicate.File
- func ProvidedFileSizeNotIn(vs ...int64) predicate.File
- func ProvidedFileSizeNotNil() predicate.File
- func StoragePath(v string) predicate.File
- func StoragePathContains(v string) predicate.File
- func StoragePathContainsFold(v string) predicate.File
- func StoragePathEQ(v string) predicate.File
- func StoragePathEqualFold(v string) predicate.File
- func StoragePathGT(v string) predicate.File
- func StoragePathGTE(v string) predicate.File
- func StoragePathHasPrefix(v string) predicate.File
- func StoragePathHasSuffix(v string) predicate.File
- func StoragePathIn(vs ...string) predicate.File
- func StoragePathIsNil() predicate.File
- func StoragePathLT(v string) predicate.File
- func StoragePathLTE(v string) predicate.File
- func StoragePathNEQ(v string) predicate.File
- func StoragePathNotIn(vs ...string) predicate.File
- func StoragePathNotNil() predicate.File
- func StorageScheme(v string) predicate.File
- func StorageSchemeContains(v string) predicate.File
- func StorageSchemeContainsFold(v string) predicate.File
- func StorageSchemeEQ(v string) predicate.File
- func StorageSchemeEqualFold(v string) predicate.File
- func StorageSchemeGT(v string) predicate.File
- func StorageSchemeGTE(v string) predicate.File
- func StorageSchemeHasPrefix(v string) predicate.File
- func StorageSchemeHasSuffix(v string) predicate.File
- func StorageSchemeIn(vs ...string) predicate.File
- func StorageSchemeIsNil() predicate.File
- func StorageSchemeLT(v string) predicate.File
- func StorageSchemeLTE(v string) predicate.File
- func StorageSchemeNEQ(v string) predicate.File
- func StorageSchemeNotIn(vs ...string) predicate.File
- func StorageSchemeNotNil() predicate.File
- func StorageVolume(v string) predicate.File
- func StorageVolumeContains(v string) predicate.File
- func StorageVolumeContainsFold(v string) predicate.File
- func StorageVolumeEQ(v string) predicate.File
- func StorageVolumeEqualFold(v string) predicate.File
- func StorageVolumeGT(v string) predicate.File
- func StorageVolumeGTE(v string) predicate.File
- func StorageVolumeHasPrefix(v string) predicate.File
- func StorageVolumeHasSuffix(v string) predicate.File
- func StorageVolumeIn(vs ...string) predicate.File
- func StorageVolumeIsNil() predicate.File
- func StorageVolumeLT(v string) predicate.File
- func StorageVolumeLTE(v string) predicate.File
- func StorageVolumeNEQ(v string) predicate.File
- func StorageVolumeNotIn(vs ...string) predicate.File
- func StorageVolumeNotNil() predicate.File
- func StoreKey(v string) predicate.File
- func StoreKeyContains(v string) predicate.File
- func StoreKeyContainsFold(v string) predicate.File
- func StoreKeyEQ(v string) predicate.File
- func StoreKeyEqualFold(v string) predicate.File
- func StoreKeyGT(v string) predicate.File
- func StoreKeyGTE(v string) predicate.File
- func StoreKeyHasPrefix(v string) predicate.File
- func StoreKeyHasSuffix(v string) predicate.File
- func StoreKeyIn(vs ...string) predicate.File
- func StoreKeyIsNil() predicate.File
- func StoreKeyLT(v string) predicate.File
- func StoreKeyLTE(v string) predicate.File
- func StoreKeyNEQ(v string) predicate.File
- func StoreKeyNotIn(vs ...string) predicate.File
- func StoreKeyNotNil() predicate.File
- func TagsIsNil() predicate.File
- func TagsNotNil() predicate.File
- func URI(v string) predicate.File
- func URIContains(v string) predicate.File
- func URIContainsFold(v string) predicate.File
- func URIEQ(v string) predicate.File
- func URIEqualFold(v string) predicate.File
- func URIGT(v string) predicate.File
- func URIGTE(v string) predicate.File
- func URIHasPrefix(v string) predicate.File
- func URIHasSuffix(v string) predicate.File
- func URIIn(vs ...string) predicate.File
- func URIIsNil() predicate.File
- func URILT(v string) predicate.File
- func URILTE(v string) predicate.File
- func URINEQ(v string) predicate.File
- func URINotIn(vs ...string) predicate.File
- func URINotNil() predicate.File
- func UpdatedAt(v time.Time) predicate.File
- func UpdatedAtEQ(v time.Time) predicate.File
- func UpdatedAtGT(v time.Time) predicate.File
- func UpdatedAtGTE(v time.Time) predicate.File
- func UpdatedAtIn(vs ...time.Time) predicate.File
- func UpdatedAtIsNil() predicate.File
- func UpdatedAtLT(v time.Time) predicate.File
- func UpdatedAtLTE(v time.Time) predicate.File
- func UpdatedAtNEQ(v time.Time) predicate.File
- func UpdatedAtNotIn(vs ...time.Time) predicate.File
- func UpdatedAtNotNil() predicate.File
- func UpdatedBy(v string) predicate.File
- func UpdatedByContains(v string) predicate.File
- func UpdatedByContainsFold(v string) predicate.File
- func UpdatedByEQ(v string) predicate.File
- func UpdatedByEqualFold(v string) predicate.File
- func UpdatedByGT(v string) predicate.File
- func UpdatedByGTE(v string) predicate.File
- func UpdatedByHasPrefix(v string) predicate.File
- func UpdatedByHasSuffix(v string) predicate.File
- func UpdatedByIn(vs ...string) predicate.File
- func UpdatedByIsNil() predicate.File
- func UpdatedByLT(v string) predicate.File
- func UpdatedByLTE(v string) predicate.File
- func UpdatedByNEQ(v string) predicate.File
- func UpdatedByNotIn(vs ...string) predicate.File
- func UpdatedByNotNil() predicate.File
- func ValidColumn(column string) bool
- type OrderOption
- func ByCategoryType(opts ...sql.OrderTermOption) OrderOption
- func ByContact(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByContactCount(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 ByDocumentdata(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDocumentdataCount(opts ...sql.OrderTermOption) OrderOption
- func ByEntity(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntityCount(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroup(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByMd5Hash(opts ...sql.OrderTermOption) OrderOption
- func ByOrganization(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationsetting(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationsettingCount(opts ...sql.OrderTermOption) OrderOption
- func ByPersistedFileSize(opts ...sql.OrderTermOption) OrderOption
- func ByProgram(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramCount(opts ...sql.OrderTermOption) OrderOption
- func ByProvidedFileExtension(opts ...sql.OrderTermOption) OrderOption
- func ByProvidedFileName(opts ...sql.OrderTermOption) OrderOption
- func ByProvidedFileSize(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 ByTemplate(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTemplateCount(opts ...sql.OrderTermOption) OrderOption
- func ByURI(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUserCount(opts ...sql.OrderTermOption) OrderOption
- func ByUsersetting(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersettingCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the file type in the database. Label = "file" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeGroup holds the string denoting the group edge name in mutations. EdgeGroup = "group" // EdgeContact holds the string denoting the contact edge name in mutations. EdgeContact = "contact" // EdgeEntity holds the string denoting the entity edge name in mutations. EdgeEntity = "entity" // EdgeUsersetting holds the string denoting the usersetting edge name in mutations. EdgeUsersetting = "usersetting" // EdgeOrganizationsetting holds the string denoting the organizationsetting edge name in mutations. EdgeOrganizationsetting = "organizationsetting" // EdgeTemplate holds the string denoting the template edge name in mutations. EdgeTemplate = "template" // EdgeDocumentdata holds the string denoting the documentdata edge name in mutations. EdgeDocumentdata = "documentdata" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // EdgeProgram holds the string denoting the program edge name in mutations. EdgeProgram = "program" // Table holds the table name of the file in the database. Table = "files" // UserTable is the table that holds the user relation/edge. The primary key declared below. UserTable = "user_files" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // OrganizationTable is the table that holds the organization relation/edge. The primary key declared below. OrganizationTable = "organization_files" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "organizations" // GroupTable is the table that holds the group relation/edge. The primary key declared below. GroupTable = "group_files" // GroupInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupInverseTable = "groups" // ContactTable is the table that holds the contact relation/edge. The primary key declared below. ContactTable = "contact_files" // ContactInverseTable is the table name for the Contact entity. // It exists in this package in order to avoid circular dependency with the "contact" package. ContactInverseTable = "contacts" // EntityTable is the table that holds the entity relation/edge. The primary key declared below. EntityTable = "entity_files" // EntityInverseTable is the table name for the Entity entity. // It exists in this package in order to avoid circular dependency with the "entity" package. EntityInverseTable = "entities" // UsersettingTable is the table that holds the usersetting relation/edge. The primary key declared below. UsersettingTable = "user_setting_files" // UsersettingInverseTable is the table name for the UserSetting entity. // It exists in this package in order to avoid circular dependency with the "usersetting" package. UsersettingInverseTable = "user_settings" // OrganizationsettingTable is the table that holds the organizationsetting relation/edge. The primary key declared below. OrganizationsettingTable = "organization_setting_files" // OrganizationsettingInverseTable is the table name for the OrganizationSetting entity. // It exists in this package in order to avoid circular dependency with the "organizationsetting" package. OrganizationsettingInverseTable = "organization_settings" // TemplateTable is the table that holds the template relation/edge. The primary key declared below. TemplateTable = "template_files" // TemplateInverseTable is the table name for the Template entity. // It exists in this package in order to avoid circular dependency with the "template" package. TemplateInverseTable = "templates" // DocumentdataTable is the table that holds the documentdata relation/edge. The primary key declared below. DocumentdataTable = "document_data_files" // DocumentdataInverseTable is the table name for the DocumentData entity. // It exists in this package in order to avoid circular dependency with the "documentdata" package. DocumentdataInverseTable = "document_data" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "file_events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // ProgramTable is the table that holds the program relation/edge. The primary key declared below. ProgramTable = "program_files" // ProgramInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramInverseTable = "programs" )
Variables ¶
var ( // UserPrimaryKey and UserColumn2 are the table columns denoting the // primary key for the user relation (M2M). UserPrimaryKey = []string{"user_id", "file_id"} // OrganizationPrimaryKey and OrganizationColumn2 are the table columns denoting the // primary key for the organization relation (M2M). OrganizationPrimaryKey = []string{"organization_id", "file_id"} // GroupPrimaryKey and GroupColumn2 are the table columns denoting the // primary key for the group relation (M2M). GroupPrimaryKey = []string{"group_id", "file_id"} // ContactPrimaryKey and ContactColumn2 are the table columns denoting the // primary key for the contact relation (M2M). ContactPrimaryKey = []string{"contact_id", "file_id"} // EntityPrimaryKey and EntityColumn2 are the table columns denoting the // primary key for the entity relation (M2M). EntityPrimaryKey = []string{"entity_id", "file_id"} // UsersettingPrimaryKey and UsersettingColumn2 are the table columns denoting the // primary key for the usersetting relation (M2M). UsersettingPrimaryKey = []string{"user_setting_id", "file_id"} // OrganizationsettingPrimaryKey and OrganizationsettingColumn2 are the table columns denoting the // primary key for the organizationsetting relation (M2M). OrganizationsettingPrimaryKey = []string{"organization_setting_id", "file_id"} // TemplatePrimaryKey and TemplateColumn2 are the table columns denoting the // primary key for the template relation (M2M). TemplatePrimaryKey = []string{"template_id", "file_id"} // DocumentdataPrimaryKey and DocumentdataColumn2 are the table columns denoting the // primary key for the documentdata relation (M2M). DocumentdataPrimaryKey = []string{"document_data_id", "file_id"} // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"file_id", "event_id"} // ProgramPrimaryKey and ProgramColumn2 are the table columns denoting the // primary key for the program relation (M2M). ProgramPrimaryKey = []string{"program_id", "file_id"} )
var ( Hooks [3]ent.Hook Interceptors [2]ent.Interceptor Policy ent.Policy // 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 // ProvidedFileSizeValidator is a validator for the "provided_file_size" field. It is called by the builders before save. ProvidedFileSizeValidator func(int64) error // PersistedFileSizeValidator is a validator for the "persisted_file_size" field. It is called by the builders before save. PersistedFileSizeValidator func(int64) error // 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, 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 file fields.
Functions ¶
func CategoryType ¶ added in v0.3.0
CategoryType applies equality check predicate on the "category_type" field. It's identical to CategoryTypeEQ.
func CategoryTypeContains ¶ added in v0.3.0
CategoryTypeContains applies the Contains predicate on the "category_type" field.
func CategoryTypeContainsFold ¶ added in v0.3.0
CategoryTypeContainsFold applies the ContainsFold predicate on the "category_type" field.
func CategoryTypeEQ ¶ added in v0.3.0
CategoryTypeEQ applies the EQ predicate on the "category_type" field.
func CategoryTypeEqualFold ¶ added in v0.3.0
CategoryTypeEqualFold applies the EqualFold predicate on the "category_type" field.
func CategoryTypeGT ¶ added in v0.3.0
CategoryTypeGT applies the GT predicate on the "category_type" field.
func CategoryTypeGTE ¶ added in v0.3.0
CategoryTypeGTE applies the GTE predicate on the "category_type" field.
func CategoryTypeHasPrefix ¶ added in v0.3.0
CategoryTypeHasPrefix applies the HasPrefix predicate on the "category_type" field.
func CategoryTypeHasSuffix ¶ added in v0.3.0
CategoryTypeHasSuffix applies the HasSuffix predicate on the "category_type" field.
func CategoryTypeIn ¶ added in v0.3.0
CategoryTypeIn applies the In predicate on the "category_type" field.
func CategoryTypeIsNil ¶ added in v0.3.0
CategoryTypeIsNil applies the IsNil predicate on the "category_type" field.
func CategoryTypeLT ¶ added in v0.3.0
CategoryTypeLT applies the LT predicate on the "category_type" field.
func CategoryTypeLTE ¶ added in v0.3.0
CategoryTypeLTE applies the LTE predicate on the "category_type" field.
func CategoryTypeNEQ ¶ added in v0.3.0
CategoryTypeNEQ applies the NEQ predicate on the "category_type" field.
func CategoryTypeNotIn ¶ added in v0.3.0
CategoryTypeNotIn applies the NotIn predicate on the "category_type" field.
func CategoryTypeNotNil ¶ added in v0.3.0
CategoryTypeNotNil applies the NotNil predicate on the "category_type" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func DetectedContentType ¶ added in v0.3.0
DetectedContentType applies equality check predicate on the "detected_content_type" field. It's identical to DetectedContentTypeEQ.
func DetectedContentTypeContains ¶ added in v0.3.0
DetectedContentTypeContains applies the Contains predicate on the "detected_content_type" field.
func DetectedContentTypeContainsFold ¶ added in v0.3.0
DetectedContentTypeContainsFold applies the ContainsFold predicate on the "detected_content_type" field.
func DetectedContentTypeEQ ¶ added in v0.3.0
DetectedContentTypeEQ applies the EQ predicate on the "detected_content_type" field.
func DetectedContentTypeEqualFold ¶ added in v0.3.0
DetectedContentTypeEqualFold applies the EqualFold predicate on the "detected_content_type" field.
func DetectedContentTypeGT ¶ added in v0.3.0
DetectedContentTypeGT applies the GT predicate on the "detected_content_type" field.
func DetectedContentTypeGTE ¶ added in v0.3.0
DetectedContentTypeGTE applies the GTE predicate on the "detected_content_type" field.
func DetectedContentTypeHasPrefix ¶ added in v0.3.0
DetectedContentTypeHasPrefix applies the HasPrefix predicate on the "detected_content_type" field.
func DetectedContentTypeHasSuffix ¶ added in v0.3.0
DetectedContentTypeHasSuffix applies the HasSuffix predicate on the "detected_content_type" field.
func DetectedContentTypeIn ¶ added in v0.3.0
DetectedContentTypeIn applies the In predicate on the "detected_content_type" field.
func DetectedContentTypeLT ¶ added in v0.3.0
DetectedContentTypeLT applies the LT predicate on the "detected_content_type" field.
func DetectedContentTypeLTE ¶ added in v0.3.0
DetectedContentTypeLTE applies the LTE predicate on the "detected_content_type" field.
func DetectedContentTypeNEQ ¶ added in v0.3.0
DetectedContentTypeNEQ applies the NEQ predicate on the "detected_content_type" field.
func DetectedContentTypeNotIn ¶ added in v0.3.0
DetectedContentTypeNotIn applies the NotIn predicate on the "detected_content_type" field.
func DetectedMimeType ¶ added in v0.3.0
DetectedMimeType applies equality check predicate on the "detected_mime_type" field. It's identical to DetectedMimeTypeEQ.
func DetectedMimeTypeContains ¶ added in v0.3.0
DetectedMimeTypeContains applies the Contains predicate on the "detected_mime_type" field.
func DetectedMimeTypeContainsFold ¶ added in v0.3.0
DetectedMimeTypeContainsFold applies the ContainsFold predicate on the "detected_mime_type" field.
func DetectedMimeTypeEQ ¶ added in v0.3.0
DetectedMimeTypeEQ applies the EQ predicate on the "detected_mime_type" field.
func DetectedMimeTypeEqualFold ¶ added in v0.3.0
DetectedMimeTypeEqualFold applies the EqualFold predicate on the "detected_mime_type" field.
func DetectedMimeTypeGT ¶ added in v0.3.0
DetectedMimeTypeGT applies the GT predicate on the "detected_mime_type" field.
func DetectedMimeTypeGTE ¶ added in v0.3.0
DetectedMimeTypeGTE applies the GTE predicate on the "detected_mime_type" field.
func DetectedMimeTypeHasPrefix ¶ added in v0.3.0
DetectedMimeTypeHasPrefix applies the HasPrefix predicate on the "detected_mime_type" field.
func DetectedMimeTypeHasSuffix ¶ added in v0.3.0
DetectedMimeTypeHasSuffix applies the HasSuffix predicate on the "detected_mime_type" field.
func DetectedMimeTypeIn ¶ added in v0.3.0
DetectedMimeTypeIn applies the In predicate on the "detected_mime_type" field.
func DetectedMimeTypeIsNil ¶ added in v0.3.0
DetectedMimeTypeIsNil applies the IsNil predicate on the "detected_mime_type" field.
func DetectedMimeTypeLT ¶ added in v0.3.0
DetectedMimeTypeLT applies the LT predicate on the "detected_mime_type" field.
func DetectedMimeTypeLTE ¶ added in v0.3.0
DetectedMimeTypeLTE applies the LTE predicate on the "detected_mime_type" field.
func DetectedMimeTypeNEQ ¶ added in v0.3.0
DetectedMimeTypeNEQ applies the NEQ predicate on the "detected_mime_type" field.
func DetectedMimeTypeNotIn ¶ added in v0.3.0
DetectedMimeTypeNotIn applies the NotIn predicate on the "detected_mime_type" field.
func DetectedMimeTypeNotNil ¶ added in v0.3.0
DetectedMimeTypeNotNil applies the NotNil predicate on the "detected_mime_type" field.
func FileContents ¶ added in v0.3.0
FileContents applies equality check predicate on the "file_contents" field. It's identical to FileContentsEQ.
func FileContentsEQ ¶ added in v0.3.0
FileContentsEQ applies the EQ predicate on the "file_contents" field.
func FileContentsGT ¶ added in v0.3.0
FileContentsGT applies the GT predicate on the "file_contents" field.
func FileContentsGTE ¶ added in v0.3.0
FileContentsGTE applies the GTE predicate on the "file_contents" field.
func FileContentsIn ¶ added in v0.3.0
FileContentsIn applies the In predicate on the "file_contents" field.
func FileContentsIsNil ¶ added in v0.3.0
FileContentsIsNil applies the IsNil predicate on the "file_contents" field.
func FileContentsLT ¶ added in v0.3.0
FileContentsLT applies the LT predicate on the "file_contents" field.
func FileContentsLTE ¶ added in v0.3.0
FileContentsLTE applies the LTE predicate on the "file_contents" field.
func FileContentsNEQ ¶ added in v0.3.0
FileContentsNEQ applies the NEQ predicate on the "file_contents" field.
func FileContentsNotIn ¶ added in v0.3.0
FileContentsNotIn applies the NotIn predicate on the "file_contents" field.
func FileContentsNotNil ¶ added in v0.3.0
FileContentsNotNil applies the NotNil predicate on the "file_contents" field.
func HasContact ¶ added in v0.3.0
HasContact applies the HasEdge predicate on the "contact" edge.
func HasContactWith ¶ added in v0.3.0
HasContactWith applies the HasEdge predicate on the "contact" edge with a given conditions (other predicates).
func HasDocumentdata ¶ added in v0.3.0
HasDocumentdata applies the HasEdge predicate on the "documentdata" edge.
func HasDocumentdataWith ¶ added in v0.3.0
func HasDocumentdataWith(preds ...predicate.DocumentData) predicate.File
HasDocumentdataWith applies the HasEdge predicate on the "documentdata" edge with a given conditions (other predicates).
func HasEntityWith ¶
HasEntityWith applies the HasEdge predicate on the "entity" edge with a given conditions (other predicates).
func HasEventsWith ¶ added in v0.3.0
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasGroupWith ¶
HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.File
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasOrganizationsetting ¶ added in v0.3.0
HasOrganizationsetting applies the HasEdge predicate on the "organizationsetting" edge.
func HasOrganizationsettingWith ¶ added in v0.3.0
func HasOrganizationsettingWith(preds ...predicate.OrganizationSetting) predicate.File
HasOrganizationsettingWith applies the HasEdge predicate on the "organizationsetting" edge with a given conditions (other predicates).
func HasProgram ¶ added in v0.3.5
HasProgram applies the HasEdge predicate on the "program" edge.
func HasProgramWith ¶ added in v0.3.5
HasProgramWith applies the HasEdge predicate on the "program" edge with a given conditions (other predicates).
func HasTemplate ¶ added in v0.3.0
HasTemplate applies the HasEdge predicate on the "template" edge.
func HasTemplateWith ¶ added in v0.3.0
HasTemplateWith applies the HasEdge predicate on the "template" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HasUsersetting ¶ added in v0.3.0
HasUsersetting applies the HasEdge predicate on the "usersetting" edge.
func HasUsersettingWith ¶ added in v0.3.0
func HasUsersettingWith(preds ...predicate.UserSetting) predicate.File
HasUsersettingWith applies the HasEdge predicate on the "usersetting" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Md5Hash ¶ added in v0.3.0
Md5Hash applies equality check predicate on the "md5_hash" field. It's identical to Md5HashEQ.
func Md5HashContains ¶ added in v0.3.0
Md5HashContains applies the Contains predicate on the "md5_hash" field.
func Md5HashContainsFold ¶ added in v0.3.0
Md5HashContainsFold applies the ContainsFold predicate on the "md5_hash" field.
func Md5HashEqualFold ¶ added in v0.3.0
Md5HashEqualFold applies the EqualFold predicate on the "md5_hash" field.
func Md5HashGTE ¶ added in v0.3.0
Md5HashGTE applies the GTE predicate on the "md5_hash" field.
func Md5HashHasPrefix ¶ added in v0.3.0
Md5HashHasPrefix applies the HasPrefix predicate on the "md5_hash" field.
func Md5HashHasSuffix ¶ added in v0.3.0
Md5HashHasSuffix applies the HasSuffix predicate on the "md5_hash" field.
func Md5HashIsNil ¶ added in v0.3.0
Md5HashIsNil applies the IsNil predicate on the "md5_hash" field.
func Md5HashLTE ¶ added in v0.3.0
Md5HashLTE applies the LTE predicate on the "md5_hash" field.
func Md5HashNEQ ¶ added in v0.3.0
Md5HashNEQ applies the NEQ predicate on the "md5_hash" field.
func Md5HashNotIn ¶ added in v0.3.0
Md5HashNotIn applies the NotIn predicate on the "md5_hash" field.
func Md5HashNotNil ¶ added in v0.3.0
Md5HashNotNil applies the NotNil predicate on the "md5_hash" field.
func PersistedFileSize ¶ added in v0.3.0
PersistedFileSize applies equality check predicate on the "persisted_file_size" field. It's identical to PersistedFileSizeEQ.
func PersistedFileSizeEQ ¶ added in v0.3.0
PersistedFileSizeEQ applies the EQ predicate on the "persisted_file_size" field.
func PersistedFileSizeGT ¶ added in v0.3.0
PersistedFileSizeGT applies the GT predicate on the "persisted_file_size" field.
func PersistedFileSizeGTE ¶ added in v0.3.0
PersistedFileSizeGTE applies the GTE predicate on the "persisted_file_size" field.
func PersistedFileSizeIn ¶ added in v0.3.0
PersistedFileSizeIn applies the In predicate on the "persisted_file_size" field.
func PersistedFileSizeIsNil ¶ added in v0.3.0
PersistedFileSizeIsNil applies the IsNil predicate on the "persisted_file_size" field.
func PersistedFileSizeLT ¶ added in v0.3.0
PersistedFileSizeLT applies the LT predicate on the "persisted_file_size" field.
func PersistedFileSizeLTE ¶ added in v0.3.0
PersistedFileSizeLTE applies the LTE predicate on the "persisted_file_size" field.
func PersistedFileSizeNEQ ¶ added in v0.3.0
PersistedFileSizeNEQ applies the NEQ predicate on the "persisted_file_size" field.
func PersistedFileSizeNotIn ¶ added in v0.3.0
PersistedFileSizeNotIn applies the NotIn predicate on the "persisted_file_size" field.
func PersistedFileSizeNotNil ¶ added in v0.3.0
PersistedFileSizeNotNil applies the NotNil predicate on the "persisted_file_size" field.
func ProvidedFileExtension ¶ added in v0.3.0
ProvidedFileExtension applies equality check predicate on the "provided_file_extension" field. It's identical to ProvidedFileExtensionEQ.
func ProvidedFileExtensionContains ¶ added in v0.3.0
ProvidedFileExtensionContains applies the Contains predicate on the "provided_file_extension" field.
func ProvidedFileExtensionContainsFold ¶ added in v0.3.0
ProvidedFileExtensionContainsFold applies the ContainsFold predicate on the "provided_file_extension" field.
func ProvidedFileExtensionEQ ¶ added in v0.3.0
ProvidedFileExtensionEQ applies the EQ predicate on the "provided_file_extension" field.
func ProvidedFileExtensionEqualFold ¶ added in v0.3.0
ProvidedFileExtensionEqualFold applies the EqualFold predicate on the "provided_file_extension" field.
func ProvidedFileExtensionGT ¶ added in v0.3.0
ProvidedFileExtensionGT applies the GT predicate on the "provided_file_extension" field.
func ProvidedFileExtensionGTE ¶ added in v0.3.0
ProvidedFileExtensionGTE applies the GTE predicate on the "provided_file_extension" field.
func ProvidedFileExtensionHasPrefix ¶ added in v0.3.0
ProvidedFileExtensionHasPrefix applies the HasPrefix predicate on the "provided_file_extension" field.
func ProvidedFileExtensionHasSuffix ¶ added in v0.3.0
ProvidedFileExtensionHasSuffix applies the HasSuffix predicate on the "provided_file_extension" field.
func ProvidedFileExtensionIn ¶ added in v0.3.0
ProvidedFileExtensionIn applies the In predicate on the "provided_file_extension" field.
func ProvidedFileExtensionLT ¶ added in v0.3.0
ProvidedFileExtensionLT applies the LT predicate on the "provided_file_extension" field.
func ProvidedFileExtensionLTE ¶ added in v0.3.0
ProvidedFileExtensionLTE applies the LTE predicate on the "provided_file_extension" field.
func ProvidedFileExtensionNEQ ¶ added in v0.3.0
ProvidedFileExtensionNEQ applies the NEQ predicate on the "provided_file_extension" field.
func ProvidedFileExtensionNotIn ¶ added in v0.3.0
ProvidedFileExtensionNotIn applies the NotIn predicate on the "provided_file_extension" field.
func ProvidedFileName ¶ added in v0.3.0
ProvidedFileName applies equality check predicate on the "provided_file_name" field. It's identical to ProvidedFileNameEQ.
func ProvidedFileNameContains ¶ added in v0.3.0
ProvidedFileNameContains applies the Contains predicate on the "provided_file_name" field.
func ProvidedFileNameContainsFold ¶ added in v0.3.0
ProvidedFileNameContainsFold applies the ContainsFold predicate on the "provided_file_name" field.
func ProvidedFileNameEQ ¶ added in v0.3.0
ProvidedFileNameEQ applies the EQ predicate on the "provided_file_name" field.
func ProvidedFileNameEqualFold ¶ added in v0.3.0
ProvidedFileNameEqualFold applies the EqualFold predicate on the "provided_file_name" field.
func ProvidedFileNameGT ¶ added in v0.3.0
ProvidedFileNameGT applies the GT predicate on the "provided_file_name" field.
func ProvidedFileNameGTE ¶ added in v0.3.0
ProvidedFileNameGTE applies the GTE predicate on the "provided_file_name" field.
func ProvidedFileNameHasPrefix ¶ added in v0.3.0
ProvidedFileNameHasPrefix applies the HasPrefix predicate on the "provided_file_name" field.
func ProvidedFileNameHasSuffix ¶ added in v0.3.0
ProvidedFileNameHasSuffix applies the HasSuffix predicate on the "provided_file_name" field.
func ProvidedFileNameIn ¶ added in v0.3.0
ProvidedFileNameIn applies the In predicate on the "provided_file_name" field.
func ProvidedFileNameLT ¶ added in v0.3.0
ProvidedFileNameLT applies the LT predicate on the "provided_file_name" field.
func ProvidedFileNameLTE ¶ added in v0.3.0
ProvidedFileNameLTE applies the LTE predicate on the "provided_file_name" field.
func ProvidedFileNameNEQ ¶ added in v0.3.0
ProvidedFileNameNEQ applies the NEQ predicate on the "provided_file_name" field.
func ProvidedFileNameNotIn ¶ added in v0.3.0
ProvidedFileNameNotIn applies the NotIn predicate on the "provided_file_name" field.
func ProvidedFileSize ¶ added in v0.3.0
ProvidedFileSize applies equality check predicate on the "provided_file_size" field. It's identical to ProvidedFileSizeEQ.
func ProvidedFileSizeEQ ¶ added in v0.3.0
ProvidedFileSizeEQ applies the EQ predicate on the "provided_file_size" field.
func ProvidedFileSizeGT ¶ added in v0.3.0
ProvidedFileSizeGT applies the GT predicate on the "provided_file_size" field.
func ProvidedFileSizeGTE ¶ added in v0.3.0
ProvidedFileSizeGTE applies the GTE predicate on the "provided_file_size" field.
func ProvidedFileSizeIn ¶ added in v0.3.0
ProvidedFileSizeIn applies the In predicate on the "provided_file_size" field.
func ProvidedFileSizeIsNil ¶ added in v0.3.0
ProvidedFileSizeIsNil applies the IsNil predicate on the "provided_file_size" field.
func ProvidedFileSizeLT ¶ added in v0.3.0
ProvidedFileSizeLT applies the LT predicate on the "provided_file_size" field.
func ProvidedFileSizeLTE ¶ added in v0.3.0
ProvidedFileSizeLTE applies the LTE predicate on the "provided_file_size" field.
func ProvidedFileSizeNEQ ¶ added in v0.3.0
ProvidedFileSizeNEQ applies the NEQ predicate on the "provided_file_size" field.
func ProvidedFileSizeNotIn ¶ added in v0.3.0
ProvidedFileSizeNotIn applies the NotIn predicate on the "provided_file_size" field.
func ProvidedFileSizeNotNil ¶ added in v0.3.0
ProvidedFileSizeNotNil applies the NotNil predicate on the "provided_file_size" field.
func StoragePath ¶ added in v0.3.0
StoragePath applies equality check predicate on the "storage_path" field. It's identical to StoragePathEQ.
func StoragePathContains ¶ added in v0.3.0
StoragePathContains applies the Contains predicate on the "storage_path" field.
func StoragePathContainsFold ¶ added in v0.3.0
StoragePathContainsFold applies the ContainsFold predicate on the "storage_path" field.
func StoragePathEQ ¶ added in v0.3.0
StoragePathEQ applies the EQ predicate on the "storage_path" field.
func StoragePathEqualFold ¶ added in v0.3.0
StoragePathEqualFold applies the EqualFold predicate on the "storage_path" field.
func StoragePathGT ¶ added in v0.3.0
StoragePathGT applies the GT predicate on the "storage_path" field.
func StoragePathGTE ¶ added in v0.3.0
StoragePathGTE applies the GTE predicate on the "storage_path" field.
func StoragePathHasPrefix ¶ added in v0.3.0
StoragePathHasPrefix applies the HasPrefix predicate on the "storage_path" field.
func StoragePathHasSuffix ¶ added in v0.3.0
StoragePathHasSuffix applies the HasSuffix predicate on the "storage_path" field.
func StoragePathIn ¶ added in v0.3.0
StoragePathIn applies the In predicate on the "storage_path" field.
func StoragePathIsNil ¶ added in v0.3.0
StoragePathIsNil applies the IsNil predicate on the "storage_path" field.
func StoragePathLT ¶ added in v0.3.0
StoragePathLT applies the LT predicate on the "storage_path" field.
func StoragePathLTE ¶ added in v0.3.0
StoragePathLTE applies the LTE predicate on the "storage_path" field.
func StoragePathNEQ ¶ added in v0.3.0
StoragePathNEQ applies the NEQ predicate on the "storage_path" field.
func StoragePathNotIn ¶ added in v0.3.0
StoragePathNotIn applies the NotIn predicate on the "storage_path" field.
func StoragePathNotNil ¶ added in v0.3.0
StoragePathNotNil applies the NotNil predicate on the "storage_path" field.
func StorageScheme ¶ added in v0.3.0
StorageScheme applies equality check predicate on the "storage_scheme" field. It's identical to StorageSchemeEQ.
func StorageSchemeContains ¶ added in v0.3.0
StorageSchemeContains applies the Contains predicate on the "storage_scheme" field.
func StorageSchemeContainsFold ¶ added in v0.3.0
StorageSchemeContainsFold applies the ContainsFold predicate on the "storage_scheme" field.
func StorageSchemeEQ ¶ added in v0.3.0
StorageSchemeEQ applies the EQ predicate on the "storage_scheme" field.
func StorageSchemeEqualFold ¶ added in v0.3.0
StorageSchemeEqualFold applies the EqualFold predicate on the "storage_scheme" field.
func StorageSchemeGT ¶ added in v0.3.0
StorageSchemeGT applies the GT predicate on the "storage_scheme" field.
func StorageSchemeGTE ¶ added in v0.3.0
StorageSchemeGTE applies the GTE predicate on the "storage_scheme" field.
func StorageSchemeHasPrefix ¶ added in v0.3.0
StorageSchemeHasPrefix applies the HasPrefix predicate on the "storage_scheme" field.
func StorageSchemeHasSuffix ¶ added in v0.3.0
StorageSchemeHasSuffix applies the HasSuffix predicate on the "storage_scheme" field.
func StorageSchemeIn ¶ added in v0.3.0
StorageSchemeIn applies the In predicate on the "storage_scheme" field.
func StorageSchemeIsNil ¶ added in v0.3.0
StorageSchemeIsNil applies the IsNil predicate on the "storage_scheme" field.
func StorageSchemeLT ¶ added in v0.3.0
StorageSchemeLT applies the LT predicate on the "storage_scheme" field.
func StorageSchemeLTE ¶ added in v0.3.0
StorageSchemeLTE applies the LTE predicate on the "storage_scheme" field.
func StorageSchemeNEQ ¶ added in v0.3.0
StorageSchemeNEQ applies the NEQ predicate on the "storage_scheme" field.
func StorageSchemeNotIn ¶ added in v0.3.0
StorageSchemeNotIn applies the NotIn predicate on the "storage_scheme" field.
func StorageSchemeNotNil ¶ added in v0.3.0
StorageSchemeNotNil applies the NotNil predicate on the "storage_scheme" field.
func StorageVolume ¶ added in v0.3.0
StorageVolume applies equality check predicate on the "storage_volume" field. It's identical to StorageVolumeEQ.
func StorageVolumeContains ¶ added in v0.3.0
StorageVolumeContains applies the Contains predicate on the "storage_volume" field.
func StorageVolumeContainsFold ¶ added in v0.3.0
StorageVolumeContainsFold applies the ContainsFold predicate on the "storage_volume" field.
func StorageVolumeEQ ¶ added in v0.3.0
StorageVolumeEQ applies the EQ predicate on the "storage_volume" field.
func StorageVolumeEqualFold ¶ added in v0.3.0
StorageVolumeEqualFold applies the EqualFold predicate on the "storage_volume" field.
func StorageVolumeGT ¶ added in v0.3.0
StorageVolumeGT applies the GT predicate on the "storage_volume" field.
func StorageVolumeGTE ¶ added in v0.3.0
StorageVolumeGTE applies the GTE predicate on the "storage_volume" field.
func StorageVolumeHasPrefix ¶ added in v0.3.0
StorageVolumeHasPrefix applies the HasPrefix predicate on the "storage_volume" field.
func StorageVolumeHasSuffix ¶ added in v0.3.0
StorageVolumeHasSuffix applies the HasSuffix predicate on the "storage_volume" field.
func StorageVolumeIn ¶ added in v0.3.0
StorageVolumeIn applies the In predicate on the "storage_volume" field.
func StorageVolumeIsNil ¶ added in v0.3.0
StorageVolumeIsNil applies the IsNil predicate on the "storage_volume" field.
func StorageVolumeLT ¶ added in v0.3.0
StorageVolumeLT applies the LT predicate on the "storage_volume" field.
func StorageVolumeLTE ¶ added in v0.3.0
StorageVolumeLTE applies the LTE predicate on the "storage_volume" field.
func StorageVolumeNEQ ¶ added in v0.3.0
StorageVolumeNEQ applies the NEQ predicate on the "storage_volume" field.
func StorageVolumeNotIn ¶ added in v0.3.0
StorageVolumeNotIn applies the NotIn predicate on the "storage_volume" field.
func StorageVolumeNotNil ¶ added in v0.3.0
StorageVolumeNotNil applies the NotNil predicate on the "storage_volume" field.
func StoreKey ¶
StoreKey applies equality check predicate on the "store_key" field. It's identical to StoreKeyEQ.
func StoreKeyContains ¶
StoreKeyContains applies the Contains predicate on the "store_key" field.
func StoreKeyContainsFold ¶
StoreKeyContainsFold applies the ContainsFold predicate on the "store_key" field.
func StoreKeyEQ ¶
StoreKeyEQ applies the EQ predicate on the "store_key" field.
func StoreKeyEqualFold ¶
StoreKeyEqualFold applies the EqualFold predicate on the "store_key" field.
func StoreKeyGT ¶
StoreKeyGT applies the GT predicate on the "store_key" field.
func StoreKeyGTE ¶
StoreKeyGTE applies the GTE predicate on the "store_key" field.
func StoreKeyHasPrefix ¶
StoreKeyHasPrefix applies the HasPrefix predicate on the "store_key" field.
func StoreKeyHasSuffix ¶
StoreKeyHasSuffix applies the HasSuffix predicate on the "store_key" field.
func StoreKeyIn ¶
StoreKeyIn applies the In predicate on the "store_key" field.
func StoreKeyIsNil ¶ added in v0.3.0
StoreKeyIsNil applies the IsNil predicate on the "store_key" field.
func StoreKeyLT ¶
StoreKeyLT applies the LT predicate on the "store_key" field.
func StoreKeyLTE ¶
StoreKeyLTE applies the LTE predicate on the "store_key" field.
func StoreKeyNEQ ¶
StoreKeyNEQ applies the NEQ predicate on the "store_key" field.
func StoreKeyNotIn ¶
StoreKeyNotIn applies the NotIn predicate on the "store_key" field.
func StoreKeyNotNil ¶ added in v0.3.0
StoreKeyNotNil applies the NotNil predicate on the "store_key" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func URI ¶ added in v0.3.0
URI applies equality check predicate on the "uri" field. It's identical to URIEQ.
func URIContains ¶ added in v0.3.0
URIContains applies the Contains predicate on the "uri" field.
func URIContainsFold ¶ added in v0.3.0
URIContainsFold applies the ContainsFold predicate on the "uri" field.
func URIEqualFold ¶ added in v0.3.0
URIEqualFold applies the EqualFold predicate on the "uri" field.
func URIHasPrefix ¶ added in v0.3.0
URIHasPrefix applies the HasPrefix predicate on the "uri" field.
func URIHasSuffix ¶ added in v0.3.0
URIHasSuffix applies the HasSuffix predicate on the "uri" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
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 File queries.
func ByCategoryType ¶ added in v0.3.0
func ByCategoryType(opts ...sql.OrderTermOption) OrderOption
ByCategoryType orders the results by the category_type field.
func ByContact ¶ added in v0.3.0
func ByContact(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByContact orders the results by contact terms.
func ByContactCount ¶ added in v0.3.0
func ByContactCount(opts ...sql.OrderTermOption) OrderOption
ByContactCount orders the results by contact count.
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 ByDocumentdata ¶ added in v0.3.0
func ByDocumentdata(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDocumentdata orders the results by documentdata terms.
func ByDocumentdataCount ¶ added in v0.3.0
func ByDocumentdataCount(opts ...sql.OrderTermOption) OrderOption
ByDocumentdataCount orders the results by documentdata count.
func ByEntity ¶
func ByEntity(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntity orders the results by entity terms.
func ByEntityCount ¶
func ByEntityCount(opts ...sql.OrderTermOption) OrderOption
ByEntityCount orders the results by entity count.
func ByEvents ¶ added in v0.3.0
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶ added in v0.3.0
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByGroup ¶
func ByGroup(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroup orders the results by group terms.
func ByGroupCount ¶
func ByGroupCount(opts ...sql.OrderTermOption) OrderOption
ByGroupCount orders the results by group count.
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 ByOrganization ¶
func ByOrganization(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrganization orders the results by organization terms.
func ByOrganizationCount ¶
func ByOrganizationCount(opts ...sql.OrderTermOption) OrderOption
ByOrganizationCount orders the results by organization count.
func ByOrganizationsetting ¶ added in v0.3.0
func ByOrganizationsetting(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrganizationsetting orders the results by organizationsetting terms.
func ByOrganizationsettingCount ¶ added in v0.3.0
func ByOrganizationsettingCount(opts ...sql.OrderTermOption) OrderOption
ByOrganizationsettingCount orders the results by organizationsetting count.
func ByPersistedFileSize ¶ added in v0.3.0
func ByPersistedFileSize(opts ...sql.OrderTermOption) OrderOption
ByPersistedFileSize orders the results by the persisted_file_size field.
func ByProgram ¶ added in v0.3.5
func ByProgram(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProgram orders the results by program terms.
func ByProgramCount ¶ added in v0.3.5
func ByProgramCount(opts ...sql.OrderTermOption) OrderOption
ByProgramCount orders the results by program count.
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 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 ByTemplate ¶ added in v0.3.0
func ByTemplate(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTemplate orders the results by template terms.
func ByTemplateCount ¶ added in v0.3.0
func ByTemplateCount(opts ...sql.OrderTermOption) OrderOption
ByTemplateCount orders the results by template count.
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.
func ByUser ¶ added in v0.3.0
func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUser orders the results by user terms.
func ByUserCount ¶ added in v0.3.0
func ByUserCount(opts ...sql.OrderTermOption) OrderOption
ByUserCount orders the results by user count.
func ByUsersetting ¶ added in v0.3.0
func ByUsersetting(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsersetting orders the results by usersetting terms.
func ByUsersettingCount ¶ added in v0.3.0
func ByUsersettingCount(opts ...sql.OrderTermOption) OrderOption
ByUsersettingCount orders the results by usersetting count.