Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Process) predicate.Process
- func HasAttachedFiles() predicate.Process
- func HasAttachedFilesWith(preds ...predicate.AttachedFile) predicate.Process
- func HasFiles() predicate.Process
- func HasFilesWith(preds ...predicate.File) predicate.Process
- func ID(id int) predicate.Process
- func IDEQ(id int) predicate.Process
- func IDGT(id int) predicate.Process
- func IDGTE(id int) predicate.Process
- func IDIn(ids ...int) predicate.Process
- func IDLT(id int) predicate.Process
- func IDLTE(id int) predicate.Process
- func IDNEQ(id int) predicate.Process
- func IDNotIn(ids ...int) predicate.Process
- func Not(p predicate.Process) predicate.Process
- func Or(predicates ...predicate.Process) predicate.Process
- func ValidColumn(column string) bool
Constants ¶
View Source
const ( // Label holds the string label denoting the process type in the database. Label = "process" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeAttachedFiles holds the string denoting the attached_files edge name in mutations. EdgeAttachedFiles = "attached_files" // Table holds the table name of the process in the database. Table = "processes" // FilesTable is the table that holds the files relation/edge. The primary key declared below. FilesTable = "attached_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" // AttachedFilesTable is the table that holds the attached_files relation/edge. AttachedFilesTable = "attached_files" // AttachedFilesInverseTable is the table name for the AttachedFile entity. // It exists in this package in order to avoid circular dependency with the "attachedfile" package. AttachedFilesInverseTable = "attached_files" // AttachedFilesColumn is the table column denoting the attached_files relation/edge. AttachedFilesColumn = "proc_id" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for process fields.
View Source
var ( // FilesPrimaryKey and FilesColumn2 are the table columns denoting the // primary key for the files relation (M2M). FilesPrimaryKey = []string{"proc_id", "f_id"} )
Functions ¶
func HasAttachedFiles ¶
HasAttachedFiles applies the HasEdge predicate on the "attached_files" edge.
func HasAttachedFilesWith ¶
func HasAttachedFilesWith(preds ...predicate.AttachedFile) predicate.Process
HasAttachedFilesWith applies the HasEdge predicate on the "attached_files" edge with a given conditions (other predicates).
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.