file

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"}
)
View Source
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"

Columns holds all SQL columns for file fields.

Functions

func And

func And(predicates ...predicate.File) predicate.File

And groups predicates with the AND operator between them.

func CategoryType added in v0.3.0

func CategoryType(v string) predicate.File

CategoryType applies equality check predicate on the "category_type" field. It's identical to CategoryTypeEQ.

func CategoryTypeContains added in v0.3.0

func CategoryTypeContains(v string) predicate.File

CategoryTypeContains applies the Contains predicate on the "category_type" field.

func CategoryTypeContainsFold added in v0.3.0

func CategoryTypeContainsFold(v string) predicate.File

CategoryTypeContainsFold applies the ContainsFold predicate on the "category_type" field.

func CategoryTypeEQ added in v0.3.0

func CategoryTypeEQ(v string) predicate.File

CategoryTypeEQ applies the EQ predicate on the "category_type" field.

func CategoryTypeEqualFold added in v0.3.0

func CategoryTypeEqualFold(v string) predicate.File

CategoryTypeEqualFold applies the EqualFold predicate on the "category_type" field.

func CategoryTypeGT added in v0.3.0

func CategoryTypeGT(v string) predicate.File

CategoryTypeGT applies the GT predicate on the "category_type" field.

func CategoryTypeGTE added in v0.3.0

func CategoryTypeGTE(v string) predicate.File

CategoryTypeGTE applies the GTE predicate on the "category_type" field.

func CategoryTypeHasPrefix added in v0.3.0

func CategoryTypeHasPrefix(v string) predicate.File

CategoryTypeHasPrefix applies the HasPrefix predicate on the "category_type" field.

func CategoryTypeHasSuffix added in v0.3.0

func CategoryTypeHasSuffix(v string) predicate.File

CategoryTypeHasSuffix applies the HasSuffix predicate on the "category_type" field.

func CategoryTypeIn added in v0.3.0

func CategoryTypeIn(vs ...string) predicate.File

CategoryTypeIn applies the In predicate on the "category_type" field.

func CategoryTypeIsNil added in v0.3.0

func CategoryTypeIsNil() predicate.File

CategoryTypeIsNil applies the IsNil predicate on the "category_type" field.

func CategoryTypeLT added in v0.3.0

func CategoryTypeLT(v string) predicate.File

CategoryTypeLT applies the LT predicate on the "category_type" field.

func CategoryTypeLTE added in v0.3.0

func CategoryTypeLTE(v string) predicate.File

CategoryTypeLTE applies the LTE predicate on the "category_type" field.

func CategoryTypeNEQ added in v0.3.0

func CategoryTypeNEQ(v string) predicate.File

CategoryTypeNEQ applies the NEQ predicate on the "category_type" field.

func CategoryTypeNotIn added in v0.3.0

func CategoryTypeNotIn(vs ...string) predicate.File

CategoryTypeNotIn applies the NotIn predicate on the "category_type" field.

func CategoryTypeNotNil added in v0.3.0

func CategoryTypeNotNil() predicate.File

CategoryTypeNotNil applies the NotNil predicate on the "category_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.File

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.File

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.File

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.File

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.File

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.File

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.File

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.File

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.File

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.File

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.File

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.File

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.File

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.File

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.File

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.File

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.File

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.File

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.File

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.File

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.File

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.File

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.File

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.File

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.File

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.File

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.File

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.File

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.File

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.File

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.File

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.File

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.File

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.File

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.File

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.File

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.File

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.File

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.File

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.File

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.File

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.File

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.File

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.File

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.File

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.File

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.File

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.File

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.File

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.File

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.File

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.File

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.File

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.File

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func DetectedContentType added in v0.3.0

func DetectedContentType(v string) predicate.File

DetectedContentType applies equality check predicate on the "detected_content_type" field. It's identical to DetectedContentTypeEQ.

func DetectedContentTypeContains added in v0.3.0

func DetectedContentTypeContains(v string) predicate.File

DetectedContentTypeContains applies the Contains predicate on the "detected_content_type" field.

func DetectedContentTypeContainsFold added in v0.3.0

func DetectedContentTypeContainsFold(v string) predicate.File

DetectedContentTypeContainsFold applies the ContainsFold predicate on the "detected_content_type" field.

func DetectedContentTypeEQ added in v0.3.0

func DetectedContentTypeEQ(v string) predicate.File

DetectedContentTypeEQ applies the EQ predicate on the "detected_content_type" field.

func DetectedContentTypeEqualFold added in v0.3.0

func DetectedContentTypeEqualFold(v string) predicate.File

DetectedContentTypeEqualFold applies the EqualFold predicate on the "detected_content_type" field.

func DetectedContentTypeGT added in v0.3.0

func DetectedContentTypeGT(v string) predicate.File

DetectedContentTypeGT applies the GT predicate on the "detected_content_type" field.

func DetectedContentTypeGTE added in v0.3.0

func DetectedContentTypeGTE(v string) predicate.File

DetectedContentTypeGTE applies the GTE predicate on the "detected_content_type" field.

func DetectedContentTypeHasPrefix added in v0.3.0

func DetectedContentTypeHasPrefix(v string) predicate.File

DetectedContentTypeHasPrefix applies the HasPrefix predicate on the "detected_content_type" field.

func DetectedContentTypeHasSuffix added in v0.3.0

func DetectedContentTypeHasSuffix(v string) predicate.File

DetectedContentTypeHasSuffix applies the HasSuffix predicate on the "detected_content_type" field.

func DetectedContentTypeIn added in v0.3.0

func DetectedContentTypeIn(vs ...string) predicate.File

DetectedContentTypeIn applies the In predicate on the "detected_content_type" field.

func DetectedContentTypeLT added in v0.3.0

func DetectedContentTypeLT(v string) predicate.File

DetectedContentTypeLT applies the LT predicate on the "detected_content_type" field.

func DetectedContentTypeLTE added in v0.3.0

func DetectedContentTypeLTE(v string) predicate.File

DetectedContentTypeLTE applies the LTE predicate on the "detected_content_type" field.

func DetectedContentTypeNEQ added in v0.3.0

func DetectedContentTypeNEQ(v string) predicate.File

DetectedContentTypeNEQ applies the NEQ predicate on the "detected_content_type" field.

func DetectedContentTypeNotIn added in v0.3.0

func DetectedContentTypeNotIn(vs ...string) predicate.File

DetectedContentTypeNotIn applies the NotIn predicate on the "detected_content_type" field.

func DetectedMimeType added in v0.3.0

func DetectedMimeType(v string) predicate.File

DetectedMimeType applies equality check predicate on the "detected_mime_type" field. It's identical to DetectedMimeTypeEQ.

func DetectedMimeTypeContains added in v0.3.0

func DetectedMimeTypeContains(v string) predicate.File

DetectedMimeTypeContains applies the Contains predicate on the "detected_mime_type" field.

func DetectedMimeTypeContainsFold added in v0.3.0

func DetectedMimeTypeContainsFold(v string) predicate.File

DetectedMimeTypeContainsFold applies the ContainsFold predicate on the "detected_mime_type" field.

func DetectedMimeTypeEQ added in v0.3.0

func DetectedMimeTypeEQ(v string) predicate.File

DetectedMimeTypeEQ applies the EQ predicate on the "detected_mime_type" field.

func DetectedMimeTypeEqualFold added in v0.3.0

func DetectedMimeTypeEqualFold(v string) predicate.File

DetectedMimeTypeEqualFold applies the EqualFold predicate on the "detected_mime_type" field.

func DetectedMimeTypeGT added in v0.3.0

func DetectedMimeTypeGT(v string) predicate.File

DetectedMimeTypeGT applies the GT predicate on the "detected_mime_type" field.

func DetectedMimeTypeGTE added in v0.3.0

func DetectedMimeTypeGTE(v string) predicate.File

DetectedMimeTypeGTE applies the GTE predicate on the "detected_mime_type" field.

func DetectedMimeTypeHasPrefix added in v0.3.0

func DetectedMimeTypeHasPrefix(v string) predicate.File

DetectedMimeTypeHasPrefix applies the HasPrefix predicate on the "detected_mime_type" field.

func DetectedMimeTypeHasSuffix added in v0.3.0

func DetectedMimeTypeHasSuffix(v string) predicate.File

DetectedMimeTypeHasSuffix applies the HasSuffix predicate on the "detected_mime_type" field.

func DetectedMimeTypeIn added in v0.3.0

func DetectedMimeTypeIn(vs ...string) predicate.File

DetectedMimeTypeIn applies the In predicate on the "detected_mime_type" field.

func DetectedMimeTypeIsNil added in v0.3.0

func DetectedMimeTypeIsNil() predicate.File

DetectedMimeTypeIsNil applies the IsNil predicate on the "detected_mime_type" field.

func DetectedMimeTypeLT added in v0.3.0

func DetectedMimeTypeLT(v string) predicate.File

DetectedMimeTypeLT applies the LT predicate on the "detected_mime_type" field.

func DetectedMimeTypeLTE added in v0.3.0

func DetectedMimeTypeLTE(v string) predicate.File

DetectedMimeTypeLTE applies the LTE predicate on the "detected_mime_type" field.

func DetectedMimeTypeNEQ added in v0.3.0

func DetectedMimeTypeNEQ(v string) predicate.File

DetectedMimeTypeNEQ applies the NEQ predicate on the "detected_mime_type" field.

func DetectedMimeTypeNotIn added in v0.3.0

func DetectedMimeTypeNotIn(vs ...string) predicate.File

DetectedMimeTypeNotIn applies the NotIn predicate on the "detected_mime_type" field.

func DetectedMimeTypeNotNil added in v0.3.0

func DetectedMimeTypeNotNil() predicate.File

DetectedMimeTypeNotNil applies the NotNil predicate on the "detected_mime_type" field.

func FileContents added in v0.3.0

func FileContents(v []byte) predicate.File

FileContents applies equality check predicate on the "file_contents" field. It's identical to FileContentsEQ.

func FileContentsEQ added in v0.3.0

func FileContentsEQ(v []byte) predicate.File

FileContentsEQ applies the EQ predicate on the "file_contents" field.

func FileContentsGT added in v0.3.0

func FileContentsGT(v []byte) predicate.File

FileContentsGT applies the GT predicate on the "file_contents" field.

func FileContentsGTE added in v0.3.0

func FileContentsGTE(v []byte) predicate.File

FileContentsGTE applies the GTE predicate on the "file_contents" field.

func FileContentsIn added in v0.3.0

func FileContentsIn(vs ...[]byte) predicate.File

FileContentsIn applies the In predicate on the "file_contents" field.

func FileContentsIsNil added in v0.3.0

func FileContentsIsNil() predicate.File

FileContentsIsNil applies the IsNil predicate on the "file_contents" field.

func FileContentsLT added in v0.3.0

func FileContentsLT(v []byte) predicate.File

FileContentsLT applies the LT predicate on the "file_contents" field.

func FileContentsLTE added in v0.3.0

func FileContentsLTE(v []byte) predicate.File

FileContentsLTE applies the LTE predicate on the "file_contents" field.

func FileContentsNEQ added in v0.3.0

func FileContentsNEQ(v []byte) predicate.File

FileContentsNEQ applies the NEQ predicate on the "file_contents" field.

func FileContentsNotIn added in v0.3.0

func FileContentsNotIn(vs ...[]byte) predicate.File

FileContentsNotIn applies the NotIn predicate on the "file_contents" field.

func FileContentsNotNil added in v0.3.0

func FileContentsNotNil() predicate.File

FileContentsNotNil applies the NotNil predicate on the "file_contents" field.

func HasContact added in v0.3.0

func HasContact() predicate.File

HasContact applies the HasEdge predicate on the "contact" edge.

func HasContactWith added in v0.3.0

func HasContactWith(preds ...predicate.Contact) predicate.File

HasContactWith applies the HasEdge predicate on the "contact" edge with a given conditions (other predicates).

func HasDocumentdata added in v0.3.0

func HasDocumentdata() predicate.File

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 HasEntity

func HasEntity() predicate.File

HasEntity applies the HasEdge predicate on the "entity" edge.

func HasEntityWith

func HasEntityWith(preds ...predicate.Entity) predicate.File

HasEntityWith applies the HasEdge predicate on the "entity" edge with a given conditions (other predicates).

func HasEvents added in v0.3.0

func HasEvents() predicate.File

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith added in v0.3.0

func HasEventsWith(preds ...predicate.Event) predicate.File

HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).

func HasGroup

func HasGroup() predicate.File

HasGroup applies the HasEdge predicate on the "group" edge.

func HasGroupWith

func HasGroupWith(preds ...predicate.Group) predicate.File

HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).

func HasOrganization

func HasOrganization() predicate.File

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

func HasOrganizationsetting() predicate.File

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

func HasProgram() predicate.File

HasProgram applies the HasEdge predicate on the "program" edge.

func HasProgramWith added in v0.3.5

func HasProgramWith(preds ...predicate.Program) predicate.File

HasProgramWith applies the HasEdge predicate on the "program" edge with a given conditions (other predicates).

func HasTemplate added in v0.3.0

func HasTemplate() predicate.File

HasTemplate applies the HasEdge predicate on the "template" edge.

func HasTemplateWith added in v0.3.0

func HasTemplateWith(preds ...predicate.Template) predicate.File

HasTemplateWith applies the HasEdge predicate on the "template" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.File

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.File

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func HasUsersetting added in v0.3.0

func HasUsersetting() predicate.File

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 ID

func ID(id string) predicate.File

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.File

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.File

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.File

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.File

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.File

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.File

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.File

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.File

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.File

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.File

IDNotIn applies the NotIn predicate on the ID field.

func MappingID

func MappingID(v string) predicate.File

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains

func MappingIDContains(v string) predicate.File

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold

func MappingIDContainsFold(v string) predicate.File

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ

func MappingIDEQ(v string) predicate.File

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold

func MappingIDEqualFold(v string) predicate.File

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT

func MappingIDGT(v string) predicate.File

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE

func MappingIDGTE(v string) predicate.File

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix

func MappingIDHasPrefix(v string) predicate.File

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix

func MappingIDHasSuffix(v string) predicate.File

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn

func MappingIDIn(vs ...string) predicate.File

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT

func MappingIDLT(v string) predicate.File

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE

func MappingIDLTE(v string) predicate.File

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ

func MappingIDNEQ(v string) predicate.File

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn

func MappingIDNotIn(vs ...string) predicate.File

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Md5Hash added in v0.3.0

func Md5Hash(v string) predicate.File

Md5Hash applies equality check predicate on the "md5_hash" field. It's identical to Md5HashEQ.

func Md5HashContains added in v0.3.0

func Md5HashContains(v string) predicate.File

Md5HashContains applies the Contains predicate on the "md5_hash" field.

func Md5HashContainsFold added in v0.3.0

func Md5HashContainsFold(v string) predicate.File

Md5HashContainsFold applies the ContainsFold predicate on the "md5_hash" field.

func Md5HashEQ added in v0.3.0

func Md5HashEQ(v string) predicate.File

Md5HashEQ applies the EQ predicate on the "md5_hash" field.

func Md5HashEqualFold added in v0.3.0

func Md5HashEqualFold(v string) predicate.File

Md5HashEqualFold applies the EqualFold predicate on the "md5_hash" field.

func Md5HashGT added in v0.3.0

func Md5HashGT(v string) predicate.File

Md5HashGT applies the GT predicate on the "md5_hash" field.

func Md5HashGTE added in v0.3.0

func Md5HashGTE(v string) predicate.File

Md5HashGTE applies the GTE predicate on the "md5_hash" field.

func Md5HashHasPrefix added in v0.3.0

func Md5HashHasPrefix(v string) predicate.File

Md5HashHasPrefix applies the HasPrefix predicate on the "md5_hash" field.

func Md5HashHasSuffix added in v0.3.0

func Md5HashHasSuffix(v string) predicate.File

Md5HashHasSuffix applies the HasSuffix predicate on the "md5_hash" field.

func Md5HashIn added in v0.3.0

func Md5HashIn(vs ...string) predicate.File

Md5HashIn applies the In predicate on the "md5_hash" field.

func Md5HashIsNil added in v0.3.0

func Md5HashIsNil() predicate.File

Md5HashIsNil applies the IsNil predicate on the "md5_hash" field.

func Md5HashLT added in v0.3.0

func Md5HashLT(v string) predicate.File

Md5HashLT applies the LT predicate on the "md5_hash" field.

func Md5HashLTE added in v0.3.0

func Md5HashLTE(v string) predicate.File

Md5HashLTE applies the LTE predicate on the "md5_hash" field.

func Md5HashNEQ added in v0.3.0

func Md5HashNEQ(v string) predicate.File

Md5HashNEQ applies the NEQ predicate on the "md5_hash" field.

func Md5HashNotIn added in v0.3.0

func Md5HashNotIn(vs ...string) predicate.File

Md5HashNotIn applies the NotIn predicate on the "md5_hash" field.

func Md5HashNotNil added in v0.3.0

func Md5HashNotNil() predicate.File

Md5HashNotNil applies the NotNil predicate on the "md5_hash" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.File) predicate.File

Or groups predicates with the OR operator between them.

func PersistedFileSize added in v0.3.0

func PersistedFileSize(v int64) predicate.File

PersistedFileSize applies equality check predicate on the "persisted_file_size" field. It's identical to PersistedFileSizeEQ.

func PersistedFileSizeEQ added in v0.3.0

func PersistedFileSizeEQ(v int64) predicate.File

PersistedFileSizeEQ applies the EQ predicate on the "persisted_file_size" field.

func PersistedFileSizeGT added in v0.3.0

func PersistedFileSizeGT(v int64) predicate.File

PersistedFileSizeGT applies the GT predicate on the "persisted_file_size" field.

func PersistedFileSizeGTE added in v0.3.0

func PersistedFileSizeGTE(v int64) predicate.File

PersistedFileSizeGTE applies the GTE predicate on the "persisted_file_size" field.

func PersistedFileSizeIn added in v0.3.0

func PersistedFileSizeIn(vs ...int64) predicate.File

PersistedFileSizeIn applies the In predicate on the "persisted_file_size" field.

func PersistedFileSizeIsNil added in v0.3.0

func PersistedFileSizeIsNil() predicate.File

PersistedFileSizeIsNil applies the IsNil predicate on the "persisted_file_size" field.

func PersistedFileSizeLT added in v0.3.0

func PersistedFileSizeLT(v int64) predicate.File

PersistedFileSizeLT applies the LT predicate on the "persisted_file_size" field.

func PersistedFileSizeLTE added in v0.3.0

func PersistedFileSizeLTE(v int64) predicate.File

PersistedFileSizeLTE applies the LTE predicate on the "persisted_file_size" field.

func PersistedFileSizeNEQ added in v0.3.0

func PersistedFileSizeNEQ(v int64) predicate.File

PersistedFileSizeNEQ applies the NEQ predicate on the "persisted_file_size" field.

func PersistedFileSizeNotIn added in v0.3.0

func PersistedFileSizeNotIn(vs ...int64) predicate.File

PersistedFileSizeNotIn applies the NotIn predicate on the "persisted_file_size" field.

func PersistedFileSizeNotNil added in v0.3.0

func PersistedFileSizeNotNil() predicate.File

PersistedFileSizeNotNil applies the NotNil predicate on the "persisted_file_size" field.

func ProvidedFileExtension added in v0.3.0

func ProvidedFileExtension(v string) predicate.File

ProvidedFileExtension applies equality check predicate on the "provided_file_extension" field. It's identical to ProvidedFileExtensionEQ.

func ProvidedFileExtensionContains added in v0.3.0

func ProvidedFileExtensionContains(v string) predicate.File

ProvidedFileExtensionContains applies the Contains predicate on the "provided_file_extension" field.

func ProvidedFileExtensionContainsFold added in v0.3.0

func ProvidedFileExtensionContainsFold(v string) predicate.File

ProvidedFileExtensionContainsFold applies the ContainsFold predicate on the "provided_file_extension" field.

func ProvidedFileExtensionEQ added in v0.3.0

func ProvidedFileExtensionEQ(v string) predicate.File

ProvidedFileExtensionEQ applies the EQ predicate on the "provided_file_extension" field.

func ProvidedFileExtensionEqualFold added in v0.3.0

func ProvidedFileExtensionEqualFold(v string) predicate.File

ProvidedFileExtensionEqualFold applies the EqualFold predicate on the "provided_file_extension" field.

func ProvidedFileExtensionGT added in v0.3.0

func ProvidedFileExtensionGT(v string) predicate.File

ProvidedFileExtensionGT applies the GT predicate on the "provided_file_extension" field.

func ProvidedFileExtensionGTE added in v0.3.0

func ProvidedFileExtensionGTE(v string) predicate.File

ProvidedFileExtensionGTE applies the GTE predicate on the "provided_file_extension" field.

func ProvidedFileExtensionHasPrefix added in v0.3.0

func ProvidedFileExtensionHasPrefix(v string) predicate.File

ProvidedFileExtensionHasPrefix applies the HasPrefix predicate on the "provided_file_extension" field.

func ProvidedFileExtensionHasSuffix added in v0.3.0

func ProvidedFileExtensionHasSuffix(v string) predicate.File

ProvidedFileExtensionHasSuffix applies the HasSuffix predicate on the "provided_file_extension" field.

func ProvidedFileExtensionIn added in v0.3.0

func ProvidedFileExtensionIn(vs ...string) predicate.File

ProvidedFileExtensionIn applies the In predicate on the "provided_file_extension" field.

func ProvidedFileExtensionLT added in v0.3.0

func ProvidedFileExtensionLT(v string) predicate.File

ProvidedFileExtensionLT applies the LT predicate on the "provided_file_extension" field.

func ProvidedFileExtensionLTE added in v0.3.0

func ProvidedFileExtensionLTE(v string) predicate.File

ProvidedFileExtensionLTE applies the LTE predicate on the "provided_file_extension" field.

func ProvidedFileExtensionNEQ added in v0.3.0

func ProvidedFileExtensionNEQ(v string) predicate.File

ProvidedFileExtensionNEQ applies the NEQ predicate on the "provided_file_extension" field.

func ProvidedFileExtensionNotIn added in v0.3.0

func ProvidedFileExtensionNotIn(vs ...string) predicate.File

ProvidedFileExtensionNotIn applies the NotIn predicate on the "provided_file_extension" field.

func ProvidedFileName added in v0.3.0

func ProvidedFileName(v string) predicate.File

ProvidedFileName applies equality check predicate on the "provided_file_name" field. It's identical to ProvidedFileNameEQ.

func ProvidedFileNameContains added in v0.3.0

func ProvidedFileNameContains(v string) predicate.File

ProvidedFileNameContains applies the Contains predicate on the "provided_file_name" field.

func ProvidedFileNameContainsFold added in v0.3.0

func ProvidedFileNameContainsFold(v string) predicate.File

ProvidedFileNameContainsFold applies the ContainsFold predicate on the "provided_file_name" field.

func ProvidedFileNameEQ added in v0.3.0

func ProvidedFileNameEQ(v string) predicate.File

ProvidedFileNameEQ applies the EQ predicate on the "provided_file_name" field.

func ProvidedFileNameEqualFold added in v0.3.0

func ProvidedFileNameEqualFold(v string) predicate.File

ProvidedFileNameEqualFold applies the EqualFold predicate on the "provided_file_name" field.

func ProvidedFileNameGT added in v0.3.0

func ProvidedFileNameGT(v string) predicate.File

ProvidedFileNameGT applies the GT predicate on the "provided_file_name" field.

func ProvidedFileNameGTE added in v0.3.0

func ProvidedFileNameGTE(v string) predicate.File

ProvidedFileNameGTE applies the GTE predicate on the "provided_file_name" field.

func ProvidedFileNameHasPrefix added in v0.3.0

func ProvidedFileNameHasPrefix(v string) predicate.File

ProvidedFileNameHasPrefix applies the HasPrefix predicate on the "provided_file_name" field.

func ProvidedFileNameHasSuffix added in v0.3.0

func ProvidedFileNameHasSuffix(v string) predicate.File

ProvidedFileNameHasSuffix applies the HasSuffix predicate on the "provided_file_name" field.

func ProvidedFileNameIn added in v0.3.0

func ProvidedFileNameIn(vs ...string) predicate.File

ProvidedFileNameIn applies the In predicate on the "provided_file_name" field.

func ProvidedFileNameLT added in v0.3.0

func ProvidedFileNameLT(v string) predicate.File

ProvidedFileNameLT applies the LT predicate on the "provided_file_name" field.

func ProvidedFileNameLTE added in v0.3.0

func ProvidedFileNameLTE(v string) predicate.File

ProvidedFileNameLTE applies the LTE predicate on the "provided_file_name" field.

func ProvidedFileNameNEQ added in v0.3.0

func ProvidedFileNameNEQ(v string) predicate.File

ProvidedFileNameNEQ applies the NEQ predicate on the "provided_file_name" field.

func ProvidedFileNameNotIn added in v0.3.0

func ProvidedFileNameNotIn(vs ...string) predicate.File

ProvidedFileNameNotIn applies the NotIn predicate on the "provided_file_name" field.

func ProvidedFileSize added in v0.3.0

func ProvidedFileSize(v int64) predicate.File

ProvidedFileSize applies equality check predicate on the "provided_file_size" field. It's identical to ProvidedFileSizeEQ.

func ProvidedFileSizeEQ added in v0.3.0

func ProvidedFileSizeEQ(v int64) predicate.File

ProvidedFileSizeEQ applies the EQ predicate on the "provided_file_size" field.

func ProvidedFileSizeGT added in v0.3.0

func ProvidedFileSizeGT(v int64) predicate.File

ProvidedFileSizeGT applies the GT predicate on the "provided_file_size" field.

func ProvidedFileSizeGTE added in v0.3.0

func ProvidedFileSizeGTE(v int64) predicate.File

ProvidedFileSizeGTE applies the GTE predicate on the "provided_file_size" field.

func ProvidedFileSizeIn added in v0.3.0

func ProvidedFileSizeIn(vs ...int64) predicate.File

ProvidedFileSizeIn applies the In predicate on the "provided_file_size" field.

func ProvidedFileSizeIsNil added in v0.3.0

func ProvidedFileSizeIsNil() predicate.File

ProvidedFileSizeIsNil applies the IsNil predicate on the "provided_file_size" field.

func ProvidedFileSizeLT added in v0.3.0

func ProvidedFileSizeLT(v int64) predicate.File

ProvidedFileSizeLT applies the LT predicate on the "provided_file_size" field.

func ProvidedFileSizeLTE added in v0.3.0

func ProvidedFileSizeLTE(v int64) predicate.File

ProvidedFileSizeLTE applies the LTE predicate on the "provided_file_size" field.

func ProvidedFileSizeNEQ added in v0.3.0

func ProvidedFileSizeNEQ(v int64) predicate.File

ProvidedFileSizeNEQ applies the NEQ predicate on the "provided_file_size" field.

func ProvidedFileSizeNotIn added in v0.3.0

func ProvidedFileSizeNotIn(vs ...int64) predicate.File

ProvidedFileSizeNotIn applies the NotIn predicate on the "provided_file_size" field.

func ProvidedFileSizeNotNil added in v0.3.0

func ProvidedFileSizeNotNil() predicate.File

ProvidedFileSizeNotNil applies the NotNil predicate on the "provided_file_size" field.

func StoragePath added in v0.3.0

func StoragePath(v string) predicate.File

StoragePath applies equality check predicate on the "storage_path" field. It's identical to StoragePathEQ.

func StoragePathContains added in v0.3.0

func StoragePathContains(v string) predicate.File

StoragePathContains applies the Contains predicate on the "storage_path" field.

func StoragePathContainsFold added in v0.3.0

func StoragePathContainsFold(v string) predicate.File

StoragePathContainsFold applies the ContainsFold predicate on the "storage_path" field.

func StoragePathEQ added in v0.3.0

func StoragePathEQ(v string) predicate.File

StoragePathEQ applies the EQ predicate on the "storage_path" field.

func StoragePathEqualFold added in v0.3.0

func StoragePathEqualFold(v string) predicate.File

StoragePathEqualFold applies the EqualFold predicate on the "storage_path" field.

func StoragePathGT added in v0.3.0

func StoragePathGT(v string) predicate.File

StoragePathGT applies the GT predicate on the "storage_path" field.

func StoragePathGTE added in v0.3.0

func StoragePathGTE(v string) predicate.File

StoragePathGTE applies the GTE predicate on the "storage_path" field.

func StoragePathHasPrefix added in v0.3.0

func StoragePathHasPrefix(v string) predicate.File

StoragePathHasPrefix applies the HasPrefix predicate on the "storage_path" field.

func StoragePathHasSuffix added in v0.3.0

func StoragePathHasSuffix(v string) predicate.File

StoragePathHasSuffix applies the HasSuffix predicate on the "storage_path" field.

func StoragePathIn added in v0.3.0

func StoragePathIn(vs ...string) predicate.File

StoragePathIn applies the In predicate on the "storage_path" field.

func StoragePathIsNil added in v0.3.0

func StoragePathIsNil() predicate.File

StoragePathIsNil applies the IsNil predicate on the "storage_path" field.

func StoragePathLT added in v0.3.0

func StoragePathLT(v string) predicate.File

StoragePathLT applies the LT predicate on the "storage_path" field.

func StoragePathLTE added in v0.3.0

func StoragePathLTE(v string) predicate.File

StoragePathLTE applies the LTE predicate on the "storage_path" field.

func StoragePathNEQ added in v0.3.0

func StoragePathNEQ(v string) predicate.File

StoragePathNEQ applies the NEQ predicate on the "storage_path" field.

func StoragePathNotIn added in v0.3.0

func StoragePathNotIn(vs ...string) predicate.File

StoragePathNotIn applies the NotIn predicate on the "storage_path" field.

func StoragePathNotNil added in v0.3.0

func StoragePathNotNil() predicate.File

StoragePathNotNil applies the NotNil predicate on the "storage_path" field.

func StorageScheme added in v0.3.0

func StorageScheme(v string) predicate.File

StorageScheme applies equality check predicate on the "storage_scheme" field. It's identical to StorageSchemeEQ.

func StorageSchemeContains added in v0.3.0

func StorageSchemeContains(v string) predicate.File

StorageSchemeContains applies the Contains predicate on the "storage_scheme" field.

func StorageSchemeContainsFold added in v0.3.0

func StorageSchemeContainsFold(v string) predicate.File

StorageSchemeContainsFold applies the ContainsFold predicate on the "storage_scheme" field.

func StorageSchemeEQ added in v0.3.0

func StorageSchemeEQ(v string) predicate.File

StorageSchemeEQ applies the EQ predicate on the "storage_scheme" field.

func StorageSchemeEqualFold added in v0.3.0

func StorageSchemeEqualFold(v string) predicate.File

StorageSchemeEqualFold applies the EqualFold predicate on the "storage_scheme" field.

func StorageSchemeGT added in v0.3.0

func StorageSchemeGT(v string) predicate.File

StorageSchemeGT applies the GT predicate on the "storage_scheme" field.

func StorageSchemeGTE added in v0.3.0

func StorageSchemeGTE(v string) predicate.File

StorageSchemeGTE applies the GTE predicate on the "storage_scheme" field.

func StorageSchemeHasPrefix added in v0.3.0

func StorageSchemeHasPrefix(v string) predicate.File

StorageSchemeHasPrefix applies the HasPrefix predicate on the "storage_scheme" field.

func StorageSchemeHasSuffix added in v0.3.0

func StorageSchemeHasSuffix(v string) predicate.File

StorageSchemeHasSuffix applies the HasSuffix predicate on the "storage_scheme" field.

func StorageSchemeIn added in v0.3.0

func StorageSchemeIn(vs ...string) predicate.File

StorageSchemeIn applies the In predicate on the "storage_scheme" field.

func StorageSchemeIsNil added in v0.3.0

func StorageSchemeIsNil() predicate.File

StorageSchemeIsNil applies the IsNil predicate on the "storage_scheme" field.

func StorageSchemeLT added in v0.3.0

func StorageSchemeLT(v string) predicate.File

StorageSchemeLT applies the LT predicate on the "storage_scheme" field.

func StorageSchemeLTE added in v0.3.0

func StorageSchemeLTE(v string) predicate.File

StorageSchemeLTE applies the LTE predicate on the "storage_scheme" field.

func StorageSchemeNEQ added in v0.3.0

func StorageSchemeNEQ(v string) predicate.File

StorageSchemeNEQ applies the NEQ predicate on the "storage_scheme" field.

func StorageSchemeNotIn added in v0.3.0

func StorageSchemeNotIn(vs ...string) predicate.File

StorageSchemeNotIn applies the NotIn predicate on the "storage_scheme" field.

func StorageSchemeNotNil added in v0.3.0

func StorageSchemeNotNil() predicate.File

StorageSchemeNotNil applies the NotNil predicate on the "storage_scheme" field.

func StorageVolume added in v0.3.0

func StorageVolume(v string) predicate.File

StorageVolume applies equality check predicate on the "storage_volume" field. It's identical to StorageVolumeEQ.

func StorageVolumeContains added in v0.3.0

func StorageVolumeContains(v string) predicate.File

StorageVolumeContains applies the Contains predicate on the "storage_volume" field.

func StorageVolumeContainsFold added in v0.3.0

func StorageVolumeContainsFold(v string) predicate.File

StorageVolumeContainsFold applies the ContainsFold predicate on the "storage_volume" field.

func StorageVolumeEQ added in v0.3.0

func StorageVolumeEQ(v string) predicate.File

StorageVolumeEQ applies the EQ predicate on the "storage_volume" field.

func StorageVolumeEqualFold added in v0.3.0

func StorageVolumeEqualFold(v string) predicate.File

StorageVolumeEqualFold applies the EqualFold predicate on the "storage_volume" field.

func StorageVolumeGT added in v0.3.0

func StorageVolumeGT(v string) predicate.File

StorageVolumeGT applies the GT predicate on the "storage_volume" field.

func StorageVolumeGTE added in v0.3.0

func StorageVolumeGTE(v string) predicate.File

StorageVolumeGTE applies the GTE predicate on the "storage_volume" field.

func StorageVolumeHasPrefix added in v0.3.0

func StorageVolumeHasPrefix(v string) predicate.File

StorageVolumeHasPrefix applies the HasPrefix predicate on the "storage_volume" field.

func StorageVolumeHasSuffix added in v0.3.0

func StorageVolumeHasSuffix(v string) predicate.File

StorageVolumeHasSuffix applies the HasSuffix predicate on the "storage_volume" field.

func StorageVolumeIn added in v0.3.0

func StorageVolumeIn(vs ...string) predicate.File

StorageVolumeIn applies the In predicate on the "storage_volume" field.

func StorageVolumeIsNil added in v0.3.0

func StorageVolumeIsNil() predicate.File

StorageVolumeIsNil applies the IsNil predicate on the "storage_volume" field.

func StorageVolumeLT added in v0.3.0

func StorageVolumeLT(v string) predicate.File

StorageVolumeLT applies the LT predicate on the "storage_volume" field.

func StorageVolumeLTE added in v0.3.0

func StorageVolumeLTE(v string) predicate.File

StorageVolumeLTE applies the LTE predicate on the "storage_volume" field.

func StorageVolumeNEQ added in v0.3.0

func StorageVolumeNEQ(v string) predicate.File

StorageVolumeNEQ applies the NEQ predicate on the "storage_volume" field.

func StorageVolumeNotIn added in v0.3.0

func StorageVolumeNotIn(vs ...string) predicate.File

StorageVolumeNotIn applies the NotIn predicate on the "storage_volume" field.

func StorageVolumeNotNil added in v0.3.0

func StorageVolumeNotNil() predicate.File

StorageVolumeNotNil applies the NotNil predicate on the "storage_volume" field.

func StoreKey

func StoreKey(v string) predicate.File

StoreKey applies equality check predicate on the "store_key" field. It's identical to StoreKeyEQ.

func StoreKeyContains

func StoreKeyContains(v string) predicate.File

StoreKeyContains applies the Contains predicate on the "store_key" field.

func StoreKeyContainsFold

func StoreKeyContainsFold(v string) predicate.File

StoreKeyContainsFold applies the ContainsFold predicate on the "store_key" field.

func StoreKeyEQ

func StoreKeyEQ(v string) predicate.File

StoreKeyEQ applies the EQ predicate on the "store_key" field.

func StoreKeyEqualFold

func StoreKeyEqualFold(v string) predicate.File

StoreKeyEqualFold applies the EqualFold predicate on the "store_key" field.

func StoreKeyGT

func StoreKeyGT(v string) predicate.File

StoreKeyGT applies the GT predicate on the "store_key" field.

func StoreKeyGTE

func StoreKeyGTE(v string) predicate.File

StoreKeyGTE applies the GTE predicate on the "store_key" field.

func StoreKeyHasPrefix

func StoreKeyHasPrefix(v string) predicate.File

StoreKeyHasPrefix applies the HasPrefix predicate on the "store_key" field.

func StoreKeyHasSuffix

func StoreKeyHasSuffix(v string) predicate.File

StoreKeyHasSuffix applies the HasSuffix predicate on the "store_key" field.

func StoreKeyIn

func StoreKeyIn(vs ...string) predicate.File

StoreKeyIn applies the In predicate on the "store_key" field.

func StoreKeyIsNil added in v0.3.0

func StoreKeyIsNil() predicate.File

StoreKeyIsNil applies the IsNil predicate on the "store_key" field.

func StoreKeyLT

func StoreKeyLT(v string) predicate.File

StoreKeyLT applies the LT predicate on the "store_key" field.

func StoreKeyLTE

func StoreKeyLTE(v string) predicate.File

StoreKeyLTE applies the LTE predicate on the "store_key" field.

func StoreKeyNEQ

func StoreKeyNEQ(v string) predicate.File

StoreKeyNEQ applies the NEQ predicate on the "store_key" field.

func StoreKeyNotIn

func StoreKeyNotIn(vs ...string) predicate.File

StoreKeyNotIn applies the NotIn predicate on the "store_key" field.

func StoreKeyNotNil added in v0.3.0

func StoreKeyNotNil() predicate.File

StoreKeyNotNil applies the NotNil predicate on the "store_key" field.

func TagsIsNil

func TagsIsNil() predicate.File

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.File

TagsNotNil applies the NotNil predicate on the "tags" field.

func URI added in v0.3.0

func URI(v string) predicate.File

URI applies equality check predicate on the "uri" field. It's identical to URIEQ.

func URIContains added in v0.3.0

func URIContains(v string) predicate.File

URIContains applies the Contains predicate on the "uri" field.

func URIContainsFold added in v0.3.0

func URIContainsFold(v string) predicate.File

URIContainsFold applies the ContainsFold predicate on the "uri" field.

func URIEQ added in v0.3.0

func URIEQ(v string) predicate.File

URIEQ applies the EQ predicate on the "uri" field.

func URIEqualFold added in v0.3.0

func URIEqualFold(v string) predicate.File

URIEqualFold applies the EqualFold predicate on the "uri" field.

func URIGT added in v0.3.0

func URIGT(v string) predicate.File

URIGT applies the GT predicate on the "uri" field.

func URIGTE added in v0.3.0

func URIGTE(v string) predicate.File

URIGTE applies the GTE predicate on the "uri" field.

func URIHasPrefix added in v0.3.0

func URIHasPrefix(v string) predicate.File

URIHasPrefix applies the HasPrefix predicate on the "uri" field.

func URIHasSuffix added in v0.3.0

func URIHasSuffix(v string) predicate.File

URIHasSuffix applies the HasSuffix predicate on the "uri" field.

func URIIn added in v0.3.0

func URIIn(vs ...string) predicate.File

URIIn applies the In predicate on the "uri" field.

func URIIsNil added in v0.3.0

func URIIsNil() predicate.File

URIIsNil applies the IsNil predicate on the "uri" field.

func URILT added in v0.3.0

func URILT(v string) predicate.File

URILT applies the LT predicate on the "uri" field.

func URILTE added in v0.3.0

func URILTE(v string) predicate.File

URILTE applies the LTE predicate on the "uri" field.

func URINEQ added in v0.3.0

func URINEQ(v string) predicate.File

URINEQ applies the NEQ predicate on the "uri" field.

func URINotIn added in v0.3.0

func URINotIn(vs ...string) predicate.File

URINotIn applies the NotIn predicate on the "uri" field.

func URINotNil added in v0.3.0

func URINotNil() predicate.File

URINotNil applies the NotNil predicate on the "uri" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.File

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.File

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.File

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.File

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.File

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.File

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.File

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.File

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.File

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.File

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.File

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.File

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.File

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.File

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.File

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.File

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.File

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.File

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.File

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.File

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.File

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.File

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.File

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.File

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.File

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.File

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.File

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL