Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Picture) predicate.Picture
- func Filename(v string) predicate.Picture
- func FilenameContains(v string) predicate.Picture
- func FilenameContainsFold(v string) predicate.Picture
- func FilenameEQ(v string) predicate.Picture
- func FilenameEqualFold(v string) predicate.Picture
- func FilenameGT(v string) predicate.Picture
- func FilenameGTE(v string) predicate.Picture
- func FilenameHasPrefix(v string) predicate.Picture
- func FilenameHasSuffix(v string) predicate.Picture
- func FilenameIn(vs ...string) predicate.Picture
- func FilenameLT(v string) predicate.Picture
- func FilenameLTE(v string) predicate.Picture
- func FilenameNEQ(v string) predicate.Picture
- func FilenameNotIn(vs ...string) predicate.Picture
- func ID(id int) predicate.Picture
- func IDEQ(id int) predicate.Picture
- func IDGT(id int) predicate.Picture
- func IDGTE(id int) predicate.Picture
- func IDIn(ids ...int) predicate.Picture
- func IDLT(id int) predicate.Picture
- func IDLTE(id int) predicate.Picture
- func IDNEQ(id int) predicate.Picture
- func IDNotIn(ids ...int) predicate.Picture
- func Name(v string) predicate.Picture
- func NameContains(v string) predicate.Picture
- func NameContainsFold(v string) predicate.Picture
- func NameEQ(v string) predicate.Picture
- func NameEqualFold(v string) predicate.Picture
- func NameGT(v string) predicate.Picture
- func NameGTE(v string) predicate.Picture
- func NameHasPrefix(v string) predicate.Picture
- func NameHasSuffix(v string) predicate.Picture
- func NameIn(vs ...string) predicate.Picture
- func NameIsNil() predicate.Picture
- func NameLT(v string) predicate.Picture
- func NameLTE(v string) predicate.Picture
- func NameNEQ(v string) predicate.Picture
- func NameNotIn(vs ...string) predicate.Picture
- func NameNotNil() predicate.Picture
- func Not(p predicate.Picture) predicate.Picture
- func Or(predicates ...predicate.Picture) predicate.Picture
- func Path(v string) predicate.Picture
- func PathContains(v string) predicate.Picture
- func PathContainsFold(v string) predicate.Picture
- func PathEQ(v string) predicate.Picture
- func PathEqualFold(v string) predicate.Picture
- func PathGT(v string) predicate.Picture
- func PathGTE(v string) predicate.Picture
- func PathHasPrefix(v string) predicate.Picture
- func PathHasSuffix(v string) predicate.Picture
- func PathIn(vs ...string) predicate.Picture
- func PathLT(v string) predicate.Picture
- func PathLTE(v string) predicate.Picture
- func PathNEQ(v string) predicate.Picture
- func PathNotIn(vs ...string) predicate.Picture
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the picture type in the database. Label = "picture" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldFilename holds the string denoting the filename field in the database. FieldFilename = "filename" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // Table holds the table name of the picture in the database. Table = "pictures" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldFilename, FieldPath, }
Columns holds all SQL columns for picture fields.
var ForeignKeys = []string{
"artist_pictures",
"movie_fanart",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "pictures" table and are not defined as standalone fields in the schema.
Functions ¶
func Filename ¶
Filename applies equality check predicate on the "filename" field. It's identical to FilenameEQ.
func FilenameContains ¶
FilenameContains applies the Contains predicate on the "filename" field.
func FilenameContainsFold ¶
FilenameContainsFold applies the ContainsFold predicate on the "filename" field.
func FilenameEQ ¶
FilenameEQ applies the EQ predicate on the "filename" field.
func FilenameEqualFold ¶
FilenameEqualFold applies the EqualFold predicate on the "filename" field.
func FilenameGT ¶
FilenameGT applies the GT predicate on the "filename" field.
func FilenameGTE ¶
FilenameGTE applies the GTE predicate on the "filename" field.
func FilenameHasPrefix ¶
FilenameHasPrefix applies the HasPrefix predicate on the "filename" field.
func FilenameHasSuffix ¶
FilenameHasSuffix applies the HasSuffix predicate on the "filename" field.
func FilenameIn ¶
FilenameIn applies the In predicate on the "filename" field.
func FilenameLT ¶
FilenameLT applies the LT predicate on the "filename" field.
func FilenameLTE ¶
FilenameLTE applies the LTE predicate on the "filename" field.
func FilenameNEQ ¶
FilenameNEQ applies the NEQ predicate on the "filename" field.
func FilenameNotIn ¶
FilenameNotIn applies the NotIn predicate on the "filename" field.
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.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func PathContains ¶
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEqualFold ¶
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathHasPrefix ¶
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.