picture

package
v0.0.0-...-9131046 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for picture fields.

View Source
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 And

func And(predicates ...predicate.Picture) predicate.Picture

And groups predicates with the AND operator between them.

func Filename

func Filename(v string) predicate.Picture

Filename applies equality check predicate on the "filename" field. It's identical to FilenameEQ.

func FilenameContains

func FilenameContains(v string) predicate.Picture

FilenameContains applies the Contains predicate on the "filename" field.

func FilenameContainsFold

func FilenameContainsFold(v string) predicate.Picture

FilenameContainsFold applies the ContainsFold predicate on the "filename" field.

func FilenameEQ

func FilenameEQ(v string) predicate.Picture

FilenameEQ applies the EQ predicate on the "filename" field.

func FilenameEqualFold

func FilenameEqualFold(v string) predicate.Picture

FilenameEqualFold applies the EqualFold predicate on the "filename" field.

func FilenameGT

func FilenameGT(v string) predicate.Picture

FilenameGT applies the GT predicate on the "filename" field.

func FilenameGTE

func FilenameGTE(v string) predicate.Picture

FilenameGTE applies the GTE predicate on the "filename" field.

func FilenameHasPrefix

func FilenameHasPrefix(v string) predicate.Picture

FilenameHasPrefix applies the HasPrefix predicate on the "filename" field.

func FilenameHasSuffix

func FilenameHasSuffix(v string) predicate.Picture

FilenameHasSuffix applies the HasSuffix predicate on the "filename" field.

func FilenameIn

func FilenameIn(vs ...string) predicate.Picture

FilenameIn applies the In predicate on the "filename" field.

func FilenameLT

func FilenameLT(v string) predicate.Picture

FilenameLT applies the LT predicate on the "filename" field.

func FilenameLTE

func FilenameLTE(v string) predicate.Picture

FilenameLTE applies the LTE predicate on the "filename" field.

func FilenameNEQ

func FilenameNEQ(v string) predicate.Picture

FilenameNEQ applies the NEQ predicate on the "filename" field.

func FilenameNotIn

func FilenameNotIn(vs ...string) predicate.Picture

FilenameNotIn applies the NotIn predicate on the "filename" field.

func ID

func ID(id int) predicate.Picture

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Picture

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Picture

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Picture

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Picture

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Picture

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Picture

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Picture

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Picture

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Picture

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Picture

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Picture

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Picture

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Picture

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Picture

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Picture

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Picture

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Picture

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Picture

NameIn applies the In predicate on the "name" field.

func NameIsNil

func NameIsNil() predicate.Picture

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Picture

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Picture

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Picture

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Picture

NameNotIn applies the NotIn predicate on the "name" field.

func NameNotNil

func NameNotNil() predicate.Picture

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Picture) predicate.Picture

Or groups predicates with the OR operator between them.

func Path

func Path(v string) predicate.Picture

Path applies equality check predicate on the "path" field. It's identical to PathEQ.

func PathContains

func PathContains(v string) predicate.Picture

PathContains applies the Contains predicate on the "path" field.

func PathContainsFold

func PathContainsFold(v string) predicate.Picture

PathContainsFold applies the ContainsFold predicate on the "path" field.

func PathEQ

func PathEQ(v string) predicate.Picture

PathEQ applies the EQ predicate on the "path" field.

func PathEqualFold

func PathEqualFold(v string) predicate.Picture

PathEqualFold applies the EqualFold predicate on the "path" field.

func PathGT

func PathGT(v string) predicate.Picture

PathGT applies the GT predicate on the "path" field.

func PathGTE

func PathGTE(v string) predicate.Picture

PathGTE applies the GTE predicate on the "path" field.

func PathHasPrefix

func PathHasPrefix(v string) predicate.Picture

PathHasPrefix applies the HasPrefix predicate on the "path" field.

func PathHasSuffix

func PathHasSuffix(v string) predicate.Picture

PathHasSuffix applies the HasSuffix predicate on the "path" field.

func PathIn

func PathIn(vs ...string) predicate.Picture

PathIn applies the In predicate on the "path" field.

func PathLT

func PathLT(v string) predicate.Picture

PathLT applies the LT predicate on the "path" field.

func PathLTE

func PathLTE(v string) predicate.Picture

PathLTE applies the LTE predicate on the "path" field.

func PathNEQ

func PathNEQ(v string) predicate.Picture

PathNEQ applies the NEQ predicate on the "path" field.

func PathNotIn

func PathNotIn(vs ...string) predicate.Picture

PathNotIn applies the NotIn predicate on the "path" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL