Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.File) predicate.File
- func Annotation(v string) predicate.File
- func AnnotationContains(v string) predicate.File
- func AnnotationContainsFold(v string) predicate.File
- func AnnotationEQ(v string) predicate.File
- func AnnotationEqualFold(v string) predicate.File
- func AnnotationGT(v string) predicate.File
- func AnnotationGTE(v string) predicate.File
- func AnnotationHasPrefix(v string) predicate.File
- func AnnotationHasSuffix(v string) predicate.File
- func AnnotationIn(vs ...string) predicate.File
- func AnnotationIsNil() predicate.File
- func AnnotationLT(v string) predicate.File
- func AnnotationLTE(v string) predicate.File
- func AnnotationNEQ(v string) predicate.File
- func AnnotationNotIn(vs ...string) predicate.File
- func AnnotationNotNil() predicate.File
- func Category(v string) predicate.File
- func CategoryContains(v string) predicate.File
- func CategoryContainsFold(v string) predicate.File
- func CategoryEQ(v string) predicate.File
- func CategoryEqualFold(v string) predicate.File
- func CategoryGT(v string) predicate.File
- func CategoryGTE(v string) predicate.File
- func CategoryHasPrefix(v string) predicate.File
- func CategoryHasSuffix(v string) predicate.File
- func CategoryIn(vs ...string) predicate.File
- func CategoryIsNil() predicate.File
- func CategoryLT(v string) predicate.File
- func CategoryLTE(v string) predicate.File
- func CategoryNEQ(v string) predicate.File
- func CategoryNotIn(vs ...string) predicate.File
- func CategoryNotNil() predicate.File
- func ContentType(v string) predicate.File
- func ContentTypeContains(v string) predicate.File
- func ContentTypeContainsFold(v string) predicate.File
- func ContentTypeEQ(v string) predicate.File
- func ContentTypeEqualFold(v string) predicate.File
- func ContentTypeGT(v string) predicate.File
- func ContentTypeGTE(v string) predicate.File
- func ContentTypeHasPrefix(v string) predicate.File
- func ContentTypeHasSuffix(v string) predicate.File
- func ContentTypeIn(vs ...string) predicate.File
- func ContentTypeLT(v string) predicate.File
- func ContentTypeLTE(v string) predicate.File
- func ContentTypeNEQ(v string) predicate.File
- func ContentTypeNotIn(vs ...string) 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 FileExtension(v string) predicate.File
- func FileExtensionContains(v string) predicate.File
- func FileExtensionContainsFold(v string) predicate.File
- func FileExtensionEQ(v string) predicate.File
- func FileExtensionEqualFold(v string) predicate.File
- func FileExtensionGT(v string) predicate.File
- func FileExtensionGTE(v string) predicate.File
- func FileExtensionHasPrefix(v string) predicate.File
- func FileExtensionHasSuffix(v string) predicate.File
- func FileExtensionIn(vs ...string) predicate.File
- func FileExtensionLT(v string) predicate.File
- func FileExtensionLTE(v string) predicate.File
- func FileExtensionNEQ(v string) predicate.File
- func FileExtensionNotIn(vs ...string) predicate.File
- func FileName(v string) predicate.File
- func FileNameContains(v string) predicate.File
- func FileNameContainsFold(v string) predicate.File
- func FileNameEQ(v string) predicate.File
- func FileNameEqualFold(v string) predicate.File
- func FileNameGT(v string) predicate.File
- func FileNameGTE(v string) predicate.File
- func FileNameHasPrefix(v string) predicate.File
- func FileNameHasSuffix(v string) predicate.File
- func FileNameIn(vs ...string) predicate.File
- func FileNameLT(v string) predicate.File
- func FileNameLTE(v string) predicate.File
- func FileNameNEQ(v string) predicate.File
- func FileNameNotIn(vs ...string) predicate.File
- func FileSize(v int) predicate.File
- func FileSizeEQ(v int) predicate.File
- func FileSizeGT(v int) predicate.File
- func FileSizeGTE(v int) predicate.File
- func FileSizeIn(vs ...int) predicate.File
- func FileSizeIsNil() predicate.File
- func FileSizeLT(v int) predicate.File
- func FileSizeLTE(v int) predicate.File
- func FileSizeNEQ(v int) predicate.File
- func FileSizeNotIn(vs ...int) predicate.File
- func FileSizeNotNil() predicate.File
- func HasEntity() predicate.File
- func HasEntityWith(preds ...predicate.Entity) 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 HasUser() predicate.File
- func HasUserWith(preds ...predicate.User) 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 Not(p predicate.File) predicate.File
- func Or(predicates ...predicate.File) 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 StoreKeyLT(v string) predicate.File
- func StoreKeyLTE(v string) predicate.File
- func StoreKeyNEQ(v string) predicate.File
- func StoreKeyNotIn(vs ...string) predicate.File
- func TagsIsNil() predicate.File
- func TagsNotNil() 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 ByAnnotation(opts ...sql.OrderTermOption) OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByContentType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEntity(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntityCount(opts ...sql.OrderTermOption) OrderOption
- func ByFileExtension(opts ...sql.OrderTermOption) OrderOption
- func ByFileName(opts ...sql.OrderTermOption) OrderOption
- func ByFileSize(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 ByOrganization(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationCount(opts ...sql.OrderTermOption) OrderOption
- func ByStoreKey(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, 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" // FieldFileName holds the string denoting the file_name field in the database. FieldFileName = "file_name" // FieldFileExtension holds the string denoting the file_extension field in the database. FieldFileExtension = "file_extension" // FieldFileSize holds the string denoting the file_size field in the database. FieldFileSize = "file_size" // FieldContentType holds the string denoting the content_type field in the database. FieldContentType = "content_type" // FieldStoreKey holds the string denoting the store_key field in the database. FieldStoreKey = "store_key" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // FieldAnnotation holds the string denoting the annotation field in the database. FieldAnnotation = "annotation" // 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" // EdgeEntity holds the string denoting the entity edge name in mutations. EdgeEntity = "entity" // EdgeGroup holds the string denoting the group edge name in mutations. EdgeGroup = "group" // Table holds the table name of the file in the database. Table = "files" // UserTable is the table that holds the user relation/edge. UserTable = "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" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_files" // 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" // 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" // 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" )
Variables ¶
var ( // OrganizationPrimaryKey and OrganizationColumn2 are the table columns denoting the // primary key for the organization relation (M2M). OrganizationPrimaryKey = []string{"organization_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"} // GroupPrimaryKey and GroupColumn2 are the table columns denoting the // primary key for the group relation (M2M). GroupPrimaryKey = []string{"group_id", "file_id"} )
var ( Hooks [2]ent.Hook Interceptors [1]ent.Interceptor // 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 // FileSizeValidator is a validator for the "file_size" field. It is called by the builders before save. FileSizeValidator func(int) 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, FieldFileName, FieldFileExtension, FieldFileSize, FieldContentType, FieldStoreKey, FieldCategory, FieldAnnotation, }
Columns holds all SQL columns for file fields.
var ForeignKeys = []string{
"user_files",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "files" table and are not defined as standalone fields in the schema.
Functions ¶
func Annotation ¶
Annotation applies equality check predicate on the "annotation" field. It's identical to AnnotationEQ.
func AnnotationContains ¶
AnnotationContains applies the Contains predicate on the "annotation" field.
func AnnotationContainsFold ¶
AnnotationContainsFold applies the ContainsFold predicate on the "annotation" field.
func AnnotationEQ ¶
AnnotationEQ applies the EQ predicate on the "annotation" field.
func AnnotationEqualFold ¶
AnnotationEqualFold applies the EqualFold predicate on the "annotation" field.
func AnnotationGT ¶
AnnotationGT applies the GT predicate on the "annotation" field.
func AnnotationGTE ¶
AnnotationGTE applies the GTE predicate on the "annotation" field.
func AnnotationHasPrefix ¶
AnnotationHasPrefix applies the HasPrefix predicate on the "annotation" field.
func AnnotationHasSuffix ¶
AnnotationHasSuffix applies the HasSuffix predicate on the "annotation" field.
func AnnotationIn ¶
AnnotationIn applies the In predicate on the "annotation" field.
func AnnotationIsNil ¶
AnnotationIsNil applies the IsNil predicate on the "annotation" field.
func AnnotationLT ¶
AnnotationLT applies the LT predicate on the "annotation" field.
func AnnotationLTE ¶
AnnotationLTE applies the LTE predicate on the "annotation" field.
func AnnotationNEQ ¶
AnnotationNEQ applies the NEQ predicate on the "annotation" field.
func AnnotationNotIn ¶
AnnotationNotIn applies the NotIn predicate on the "annotation" field.
func AnnotationNotNil ¶
AnnotationNotNil applies the NotNil predicate on the "annotation" field.
func Category ¶
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶
CategoryNotNil applies the NotNil predicate on the "category" field.
func ContentType ¶
ContentType applies equality check predicate on the "content_type" field. It's identical to ContentTypeEQ.
func ContentTypeContains ¶
ContentTypeContains applies the Contains predicate on the "content_type" field.
func ContentTypeContainsFold ¶
ContentTypeContainsFold applies the ContainsFold predicate on the "content_type" field.
func ContentTypeEQ ¶
ContentTypeEQ applies the EQ predicate on the "content_type" field.
func ContentTypeEqualFold ¶
ContentTypeEqualFold applies the EqualFold predicate on the "content_type" field.
func ContentTypeGT ¶
ContentTypeGT applies the GT predicate on the "content_type" field.
func ContentTypeGTE ¶
ContentTypeGTE applies the GTE predicate on the "content_type" field.
func ContentTypeHasPrefix ¶
ContentTypeHasPrefix applies the HasPrefix predicate on the "content_type" field.
func ContentTypeHasSuffix ¶
ContentTypeHasSuffix applies the HasSuffix predicate on the "content_type" field.
func ContentTypeIn ¶
ContentTypeIn applies the In predicate on the "content_type" field.
func ContentTypeLT ¶
ContentTypeLT applies the LT predicate on the "content_type" field.
func ContentTypeLTE ¶
ContentTypeLTE applies the LTE predicate on the "content_type" field.
func ContentTypeNEQ ¶
ContentTypeNEQ applies the NEQ predicate on the "content_type" field.
func ContentTypeNotIn ¶
ContentTypeNotIn applies the NotIn predicate on the "content_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 FileExtension ¶
FileExtension applies equality check predicate on the "file_extension" field. It's identical to FileExtensionEQ.
func FileExtensionContains ¶
FileExtensionContains applies the Contains predicate on the "file_extension" field.
func FileExtensionContainsFold ¶
FileExtensionContainsFold applies the ContainsFold predicate on the "file_extension" field.
func FileExtensionEQ ¶
FileExtensionEQ applies the EQ predicate on the "file_extension" field.
func FileExtensionEqualFold ¶
FileExtensionEqualFold applies the EqualFold predicate on the "file_extension" field.
func FileExtensionGT ¶
FileExtensionGT applies the GT predicate on the "file_extension" field.
func FileExtensionGTE ¶
FileExtensionGTE applies the GTE predicate on the "file_extension" field.
func FileExtensionHasPrefix ¶
FileExtensionHasPrefix applies the HasPrefix predicate on the "file_extension" field.
func FileExtensionHasSuffix ¶
FileExtensionHasSuffix applies the HasSuffix predicate on the "file_extension" field.
func FileExtensionIn ¶
FileExtensionIn applies the In predicate on the "file_extension" field.
func FileExtensionLT ¶
FileExtensionLT applies the LT predicate on the "file_extension" field.
func FileExtensionLTE ¶
FileExtensionLTE applies the LTE predicate on the "file_extension" field.
func FileExtensionNEQ ¶
FileExtensionNEQ applies the NEQ predicate on the "file_extension" field.
func FileExtensionNotIn ¶
FileExtensionNotIn applies the NotIn predicate on the "file_extension" field.
func FileName ¶
FileName applies equality check predicate on the "file_name" field. It's identical to FileNameEQ.
func FileNameContains ¶
FileNameContains applies the Contains predicate on the "file_name" field.
func FileNameContainsFold ¶
FileNameContainsFold applies the ContainsFold predicate on the "file_name" field.
func FileNameEQ ¶
FileNameEQ applies the EQ predicate on the "file_name" field.
func FileNameEqualFold ¶
FileNameEqualFold applies the EqualFold predicate on the "file_name" field.
func FileNameGT ¶
FileNameGT applies the GT predicate on the "file_name" field.
func FileNameGTE ¶
FileNameGTE applies the GTE predicate on the "file_name" field.
func FileNameHasPrefix ¶
FileNameHasPrefix applies the HasPrefix predicate on the "file_name" field.
func FileNameHasSuffix ¶
FileNameHasSuffix applies the HasSuffix predicate on the "file_name" field.
func FileNameIn ¶
FileNameIn applies the In predicate on the "file_name" field.
func FileNameLT ¶
FileNameLT applies the LT predicate on the "file_name" field.
func FileNameLTE ¶
FileNameLTE applies the LTE predicate on the "file_name" field.
func FileNameNEQ ¶
FileNameNEQ applies the NEQ predicate on the "file_name" field.
func FileNameNotIn ¶
FileNameNotIn applies the NotIn predicate on the "file_name" field.
func FileSize ¶
FileSize applies equality check predicate on the "file_size" field. It's identical to FileSizeEQ.
func FileSizeEQ ¶
FileSizeEQ applies the EQ predicate on the "file_size" field.
func FileSizeGT ¶
FileSizeGT applies the GT predicate on the "file_size" field.
func FileSizeGTE ¶
FileSizeGTE applies the GTE predicate on the "file_size" field.
func FileSizeIn ¶
FileSizeIn applies the In predicate on the "file_size" field.
func FileSizeIsNil ¶
FileSizeIsNil applies the IsNil predicate on the "file_size" field.
func FileSizeLT ¶
FileSizeLT applies the LT predicate on the "file_size" field.
func FileSizeLTE ¶
FileSizeLTE applies the LTE predicate on the "file_size" field.
func FileSizeNEQ ¶
FileSizeNEQ applies the NEQ predicate on the "file_size" field.
func FileSizeNotIn ¶
FileSizeNotIn applies the NotIn predicate on the "file_size" field.
func FileSizeNotNil ¶
FileSizeNotNil applies the NotNil predicate on the "file_size" field.
func HasEntityWith ¶
HasEntityWith applies the HasEdge predicate on the "entity" 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 HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" 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 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 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 TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" 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 ByAnnotation ¶
func ByAnnotation(opts ...sql.OrderTermOption) OrderOption
ByAnnotation orders the results by the annotation field.
func ByCategory ¶
func ByCategory(opts ...sql.OrderTermOption) OrderOption
ByCategory orders the results by the category field.
func ByContentType ¶
func ByContentType(opts ...sql.OrderTermOption) OrderOption
ByContentType orders the results by the content_type field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func 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 ByFileExtension ¶
func ByFileExtension(opts ...sql.OrderTermOption) OrderOption
ByFileExtension orders the results by the file_extension field.
func ByFileName ¶
func ByFileName(opts ...sql.OrderTermOption) OrderOption
ByFileName orders the results by the file_name field.
func ByFileSize ¶
func ByFileSize(opts ...sql.OrderTermOption) OrderOption
ByFileSize orders the results by the file_size field.
func 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 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 ByStoreKey ¶
func ByStoreKey(opts ...sql.OrderTermOption) OrderOption
ByStoreKey orders the results by the store_key field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.