Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Directors) predicate.Directors
- func ID(id int) predicate.Directors
- func IDEQ(id int) predicate.Directors
- func IDGT(id int) predicate.Directors
- func IDGTE(id int) predicate.Directors
- func IDIn(ids ...int) predicate.Directors
- func IDLT(id int) predicate.Directors
- func IDLTE(id int) predicate.Directors
- func IDNEQ(id int) predicate.Directors
- func IDNotIn(ids ...int) predicate.Directors
- func Not(p predicate.Directors) predicate.Directors
- func Or(predicates ...predicate.Directors) predicate.Directors
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
View Source
const ( // Label holds the string label denoting the directors type in the database. Label = "directors" // FieldID holds the string denoting the id field in the database. FieldID = "id" // Table holds the table name of the directors in the database. Table = "directors" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for directors fields.
Functions ¶
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 Directors queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
Click to show internal directories.
Click to hide internal directories.