Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
- func HasFileSets() predicate.NamedSetOfFiles
- func HasFileSetsWith(preds ...predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
- func HasFiles() predicate.NamedSetOfFiles
- func HasFilesWith(preds ...predicate.TestFile) predicate.NamedSetOfFiles
- func HasOutputGroup() predicate.NamedSetOfFiles
- func HasOutputGroupWith(preds ...predicate.OutputGroup) predicate.NamedSetOfFiles
- func ID(id int) predicate.NamedSetOfFiles
- func IDEQ(id int) predicate.NamedSetOfFiles
- func IDGT(id int) predicate.NamedSetOfFiles
- func IDGTE(id int) predicate.NamedSetOfFiles
- func IDIn(ids ...int) predicate.NamedSetOfFiles
- func IDLT(id int) predicate.NamedSetOfFiles
- func IDLTE(id int) predicate.NamedSetOfFiles
- func IDNEQ(id int) predicate.NamedSetOfFiles
- func IDNotIn(ids ...int) predicate.NamedSetOfFiles
- func Not(p predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
- func Or(predicates ...predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
- func ValidColumn(column string) bool
- type OrderOption
- func ByFileSetsField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByOutputGroupField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the namedsetoffiles type in the database. Label = "named_set_of_files" // FieldID holds the string denoting the id field in the database. FieldID = "id" // EdgeOutputGroup holds the string denoting the output_group edge name in mutations. EdgeOutputGroup = "output_group" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgeFileSets holds the string denoting the file_sets edge name in mutations. EdgeFileSets = "file_sets" // Table holds the table name of the namedsetoffiles in the database. Table = "named_set_of_files" // OutputGroupTable is the table that holds the output_group relation/edge. OutputGroupTable = "named_set_of_files" // OutputGroupInverseTable is the table name for the OutputGroup entity. // It exists in this package in order to avoid circular dependency with the "outputgroup" package. OutputGroupInverseTable = "output_groups" // OutputGroupColumn is the table column denoting the output_group relation/edge. OutputGroupColumn = "output_group_file_sets" // FilesTable is the table that holds the files relation/edge. FilesTable = "test_files" // FilesInverseTable is the table name for the TestFile entity. // It exists in this package in order to avoid circular dependency with the "testfile" package. FilesInverseTable = "test_files" // FilesColumn is the table column denoting the files relation/edge. FilesColumn = "named_set_of_files_files" // FileSetsTable is the table that holds the file_sets relation/edge. FileSetsTable = "named_set_of_files" // FileSetsColumn is the table column denoting the file_sets relation/edge. FileSetsColumn = "named_set_of_files_file_sets" )
Variables ¶
var Columns = []string{ FieldID, }
Columns holds all SQL columns for namedsetoffiles fields.
var ForeignKeys = []string{
"named_set_of_files_file_sets",
"output_group_file_sets",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "named_set_of_files" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
And groups predicates with the AND operator between them.
func HasFileSets ¶
func HasFileSets() predicate.NamedSetOfFiles
HasFileSets applies the HasEdge predicate on the "file_sets" edge.
func HasFileSetsWith ¶
func HasFileSetsWith(preds ...predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
HasFileSetsWith applies the HasEdge predicate on the "file_sets" edge with a given conditions (other predicates).
func HasFiles ¶
func HasFiles() predicate.NamedSetOfFiles
HasFiles applies the HasEdge predicate on the "files" edge.
func HasFilesWith ¶
func HasFilesWith(preds ...predicate.TestFile) predicate.NamedSetOfFiles
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasOutputGroup ¶
func HasOutputGroup() predicate.NamedSetOfFiles
HasOutputGroup applies the HasEdge predicate on the "output_group" edge.
func HasOutputGroupWith ¶
func HasOutputGroupWith(preds ...predicate.OutputGroup) predicate.NamedSetOfFiles
HasOutputGroupWith applies the HasEdge predicate on the "output_group" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.NamedSetOfFiles
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.NamedSetOfFiles
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.NamedSetOfFiles
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NamedSetOfFiles
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.NamedSetOfFiles
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NamedSetOfFiles
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NamedSetOfFiles
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NamedSetOfFiles
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NamedSetOfFiles) predicate.NamedSetOfFiles
Or groups predicates with the OR operator between them.
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 NamedSetOfFiles queries.
func ByFileSetsField ¶
func ByFileSetsField(field string, opts ...sql.OrderTermOption) OrderOption
ByFileSetsField orders the results by file_sets field.
func ByFiles ¶
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByOutputGroupField ¶
func ByOutputGroupField(field string, opts ...sql.OrderTermOption) OrderOption
ByOutputGroupField orders the results by output_group field.