media

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the media type in the database.
	Label = "media"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldSourceURI holds the string denoting the source_uri field in the database.
	FieldSourceURI = "source_uri"

	// Table holds the table name of the media in the database.
	Table = "media"
)

Variables

Columns holds all SQL columns for media fields.

Functions

func And

func And(predicates ...predicate.Media) predicate.Media

And groups predicates with the AND operator between them.

func ID

func ID(id int) predicate.Media

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Media

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Media

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Media

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Media

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Media

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Media

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Media) predicate.Media

Or groups predicates with the OR operator between them.

func Source

func Source(v string) predicate.Media

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.Media

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.Media

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceEQ

func SourceEQ(v string) predicate.Media

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.Media

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.Media

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.Media

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.Media

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.Media

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

func SourceIn(vs ...string) predicate.Media

SourceIn applies the In predicate on the "source" field.

func SourceIsNil

func SourceIsNil() predicate.Media

SourceIsNil applies the IsNil predicate on the "source" field.

func SourceLT

func SourceLT(v string) predicate.Media

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.Media

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.Media

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.Media

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceNotNil

func SourceNotNil() predicate.Media

SourceNotNil applies the NotNil predicate on the "source" field.

func SourceURI

func SourceURI(v string) predicate.Media

SourceURI applies equality check predicate on the "source_uri" field. It's identical to SourceURIEQ.

func SourceURIContains

func SourceURIContains(v string) predicate.Media

SourceURIContains applies the Contains predicate on the "source_uri" field.

func SourceURIContainsFold

func SourceURIContainsFold(v string) predicate.Media

SourceURIContainsFold applies the ContainsFold predicate on the "source_uri" field.

func SourceURIEQ

func SourceURIEQ(v string) predicate.Media

SourceURIEQ applies the EQ predicate on the "source_uri" field.

func SourceURIEqualFold

func SourceURIEqualFold(v string) predicate.Media

SourceURIEqualFold applies the EqualFold predicate on the "source_uri" field.

func SourceURIGT

func SourceURIGT(v string) predicate.Media

SourceURIGT applies the GT predicate on the "source_uri" field.

func SourceURIGTE

func SourceURIGTE(v string) predicate.Media

SourceURIGTE applies the GTE predicate on the "source_uri" field.

func SourceURIHasPrefix

func SourceURIHasPrefix(v string) predicate.Media

SourceURIHasPrefix applies the HasPrefix predicate on the "source_uri" field.

func SourceURIHasSuffix

func SourceURIHasSuffix(v string) predicate.Media

SourceURIHasSuffix applies the HasSuffix predicate on the "source_uri" field.

func SourceURIIn

func SourceURIIn(vs ...string) predicate.Media

SourceURIIn applies the In predicate on the "source_uri" field.

func SourceURIIsNil

func SourceURIIsNil() predicate.Media

SourceURIIsNil applies the IsNil predicate on the "source_uri" field.

func SourceURILT

func SourceURILT(v string) predicate.Media

SourceURILT applies the LT predicate on the "source_uri" field.

func SourceURILTE

func SourceURILTE(v string) predicate.Media

SourceURILTE applies the LTE predicate on the "source_uri" field.

func SourceURINEQ

func SourceURINEQ(v string) predicate.Media

SourceURINEQ applies the NEQ predicate on the "source_uri" field.

func SourceURINotIn

func SourceURINotIn(vs ...string) predicate.Media

SourceURINotIn applies the NotIn predicate on the "source_uri" field.

func SourceURINotNil

func SourceURINotNil() predicate.Media

SourceURINotNil applies the NotNil predicate on the "source_uri" 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