Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Videos) predicate.Videos
- func ID(id int) predicate.Videos
- func IDEQ(id int) predicate.Videos
- func IDGT(id int) predicate.Videos
- func IDGTE(id int) predicate.Videos
- func IDIn(ids ...int) predicate.Videos
- func IDLT(id int) predicate.Videos
- func IDLTE(id int) predicate.Videos
- func IDNEQ(id int) predicate.Videos
- func IDNotIn(ids ...int) predicate.Videos
- func Not(p predicate.Videos) predicate.Videos
- func Or(predicates ...predicate.Videos) predicate.Videos
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
View Source
const ( // Label holds the string label denoting the videos type in the database. Label = "videos" // FieldID holds the string denoting the id field in the database. FieldID = "id" // Table holds the table name of the videos in the database. Table = "videos" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for videos 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 Videos 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.