Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.FileType) predicate.FileType
- func HasFiles() predicate.FileType
- func HasFilesWith(preds ...predicate.File) predicate.FileType
- func ID(id int) predicate.FileType
- func IDEQ(id int) predicate.FileType
- func IDGT(id int) predicate.FileType
- func IDGTE(id int) predicate.FileType
- func IDIn(ids ...int) predicate.FileType
- func IDLT(id int) predicate.FileType
- func IDLTE(id int) predicate.FileType
- func IDNEQ(id int) predicate.FileType
- func IDNotIn(ids ...int) predicate.FileType
- func Name(v string) predicate.FileType
- func NameContains(v string) predicate.FileType
- func NameContainsFold(v string) predicate.FileType
- func NameEQ(v string) predicate.FileType
- func NameEqualFold(v string) predicate.FileType
- func NameGT(v string) predicate.FileType
- func NameGTE(v string) predicate.FileType
- func NameHasPrefix(v string) predicate.FileType
- func NameHasSuffix(v string) predicate.FileType
- func NameIn(vs ...string) predicate.FileType
- func NameLT(v string) predicate.FileType
- func NameLTE(v string) predicate.FileType
- func NameNEQ(v string) predicate.FileType
- func NameNotIn(vs ...string) predicate.FileType
- func Not(p predicate.FileType) predicate.FileType
- func Or(predicates ...predicate.FileType) predicate.FileType
Constants ¶
View Source
const ( // Label holds the string label denoting the filetype type in the database. Label = "file_type" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name vertex property in the database. FieldName = "name" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // Table holds the table name of the filetype in the database. Table = "file_types" // FilesTable is the table the holds the files relation/edge. FilesTable = "files" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" // FilesColumn is the table column denoting the files relation/edge. FilesColumn = "file_type_files" )
Variables ¶
View Source
var Columns = []string{ FieldID, FieldName, }
Columns holds all SQL columns for filetype fields.
Functions ¶
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.