package
0.0.1
Repository: https://github.com/kebin6/simple-file-api.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCreatedAt orders the results by the created_at field.
ByFileType orders the results by the file_type field.
ByID orders the results by the id field.
ByName orders the results by the name field.
ByPath orders the results by the path field.
BySize orders the results by the size field.
ByState orders the results by the state field.
ByStorageProvidersField orders the results by storage_providers field.
ByTags orders the results by tags terms.
ByTagsCount orders the results by tags count.
ByUpdatedAt orders the results by the updated_at field.
ByURL orders the results by the url field.
ByUserID orders the results by the user_id field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
FileType applies equality check predicate on the "file_type" field.
FileTypeEQ applies the EQ predicate on the "file_type" field.
FileTypeGT applies the GT predicate on the "file_type" field.
FileTypeGTE applies the GTE predicate on the "file_type" field.
FileTypeIn applies the In predicate on the "file_type" field.
FileTypeLT applies the LT predicate on the "file_type" field.
FileTypeLTE applies the LTE predicate on the "file_type" field.
FileTypeNEQ applies the NEQ predicate on the "file_type" field.
FileTypeNotIn applies the NotIn predicate on the "file_type" field.
HasStorageProviders applies the HasEdge predicate on the "storage_providers" edge.
HasStorageProvidersWith applies the HasEdge predicate on the "storage_providers" edge with a given conditions (other predicates).
HasTags applies the HasEdge predicate on the "tags" edge.
HasTagsWith applies the HasEdge predicate on the "tags" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Path applies equality check predicate on the "path" field.
PathContains applies the Contains predicate on the "path" field.
PathContainsFold applies the ContainsFold predicate on the "path" field.
PathEQ applies the EQ predicate on the "path" field.
PathEqualFold applies the EqualFold predicate on the "path" field.
PathGT applies the GT predicate on the "path" field.
PathGTE applies the GTE predicate on the "path" field.
PathHasPrefix applies the HasPrefix predicate on the "path" field.
PathHasSuffix applies the HasSuffix predicate on the "path" field.
PathIn applies the In predicate on the "path" field.
PathLT applies the LT predicate on the "path" field.
PathLTE applies the LTE predicate on the "path" field.
PathNEQ applies the NEQ predicate on the "path" field.
PathNotIn applies the NotIn predicate on the "path" field.
Size applies equality check predicate on the "size" field.
SizeEQ applies the EQ predicate on the "size" field.
SizeGT applies the GT predicate on the "size" field.
SizeGTE applies the GTE predicate on the "size" field.
SizeIn applies the In predicate on the "size" field.
SizeLT applies the LT predicate on the "size" field.
SizeLTE applies the LTE predicate on the "size" field.
SizeNEQ applies the NEQ predicate on the "size" field.
SizeNotIn applies the NotIn predicate on the "size" field.
State applies equality check predicate on the "state" field.
StateEQ applies the EQ predicate on the "state" field.
StateIsNil applies the IsNil predicate on the "state" field.
StateNEQ applies the NEQ predicate on the "state" field.
StateNotNil applies the NotNil predicate on the "state" field.
UpdatedAt applies equality check predicate on the "updated_at" field.
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
UpdatedAtGT applies the GT predicate on the "updated_at" field.
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
UpdatedAtIn applies the In predicate on the "updated_at" field.
UpdatedAtLT applies the LT predicate on the "updated_at" field.
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
URL applies equality check predicate on the "url" field.
URLContains applies the Contains predicate on the "url" field.
URLContainsFold applies the ContainsFold predicate on the "url" field.
URLEQ applies the EQ predicate on the "url" field.
URLEqualFold applies the EqualFold predicate on the "url" field.
URLGT applies the GT predicate on the "url" field.
URLGTE applies the GTE predicate on the "url" field.
URLHasPrefix applies the HasPrefix predicate on the "url" field.
URLHasSuffix applies the HasSuffix predicate on the "url" field.
URLIn applies the In predicate on the "url" field.
URLLT applies the LT predicate on the "url" field.
URLLTE applies the LTE predicate on the "url" field.
URLNEQ applies the NEQ predicate on the "url" field.
URLNotIn applies the NotIn predicate on the "url" field.
UserID applies equality check predicate on the "user_id" field.
UserIDContains applies the Contains predicate on the "user_id" field.
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
UserIDEQ applies the EQ predicate on the "user_id" field.
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
UserIDGT applies the GT predicate on the "user_id" field.
UserIDGTE applies the GTE predicate on the "user_id" field.
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
UserIDIn applies the In predicate on the "user_id" field.
UserIDLT applies the LT predicate on the "user_id" field.
UserIDLTE applies the LTE predicate on the "user_id" field.
UserIDNEQ applies the NEQ predicate on the "user_id" field.
UserIDNotIn applies the NotIn predicate on the "user_id" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeStorageProviders holds the string denoting the storage_providers edge name in mutations.
EdgeTags holds the string denoting the tags edge name in mutations.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldFileType holds the string denoting the file_type field in the database.
FieldID holds the string denoting the id field in the database.
FieldName holds the string denoting the name field in the database.
FieldPath holds the string denoting the path field in the database.
FieldSize holds the string denoting the size field in the database.
FieldState holds the string denoting the state field in the database.
FieldUpdatedAt holds the string denoting the updated_at field in the database.
FieldURL holds the string denoting the url field in the database.
FieldUserID holds the string denoting the user_id field in the database.
Label holds the string label denoting the cloudfile type in the database.
StorageProvidersColumn is the table column denoting the storage_providers relation/edge.
StorageProvidersInverseTable is the table name for the StorageProvider entity.
StorageProvidersTable is the table that holds the storage_providers relation/edge.
Table holds the table name of the cloudfile in the database.
TagsInverseTable is the table name for the CloudFileTag entity.
TagsTable is the table that holds the tags relation/edge.

# Variables

Columns holds all SQL columns for cloudfile fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultID holds the default value on creation for the "id" field.
DefaultState holds the default value on creation for the "state" field.
DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "fms_cloud_files" table and are not defined as standalone fields in the schema.
TagsPrimaryKey and TagsColumn2 are the table columns denoting the primary key for the tags relation (M2M).
UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.

# Type aliases

OrderOption defines the ordering options for the CloudFile queries.