Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Media) predicate.Media
- func ID(id int) predicate.Media
- func IDEQ(id int) predicate.Media
- func IDGT(id int) predicate.Media
- func IDGTE(id int) predicate.Media
- func IDIn(ids ...int) predicate.Media
- func IDLT(id int) predicate.Media
- func IDLTE(id int) predicate.Media
- func IDNEQ(id int) predicate.Media
- func IDNotIn(ids ...int) predicate.Media
- func Not(p predicate.Media) predicate.Media
- func Or(predicates ...predicate.Media) predicate.Media
- func Source(v string) predicate.Media
- func SourceContains(v string) predicate.Media
- func SourceContainsFold(v string) predicate.Media
- func SourceEQ(v string) predicate.Media
- func SourceEqualFold(v string) predicate.Media
- func SourceGT(v string) predicate.Media
- func SourceGTE(v string) predicate.Media
- func SourceHasPrefix(v string) predicate.Media
- func SourceHasSuffix(v string) predicate.Media
- func SourceIn(vs ...string) predicate.Media
- func SourceIsNil() predicate.Media
- func SourceLT(v string) predicate.Media
- func SourceLTE(v string) predicate.Media
- func SourceNEQ(v string) predicate.Media
- func SourceNotIn(vs ...string) predicate.Media
- func SourceNotNil() predicate.Media
- func SourceURI(v string) predicate.Media
- func SourceURIContains(v string) predicate.Media
- func SourceURIContainsFold(v string) predicate.Media
- func SourceURIEQ(v string) predicate.Media
- func SourceURIEqualFold(v string) predicate.Media
- func SourceURIGT(v string) predicate.Media
- func SourceURIGTE(v string) predicate.Media
- func SourceURIHasPrefix(v string) predicate.Media
- func SourceURIHasSuffix(v string) predicate.Media
- func SourceURIIn(vs ...string) predicate.Media
- func SourceURIIsNil() predicate.Media
- func SourceURILT(v string) predicate.Media
- func SourceURILTE(v string) predicate.Media
- func SourceURINEQ(v string) predicate.Media
- func SourceURINotIn(vs ...string) predicate.Media
- func SourceURINotNil() predicate.Media
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldSource, FieldSourceURI, }
Columns holds all SQL columns for media fields.
Functions ¶
func Source ¶
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEqualFold ¶
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceHasPrefix ¶
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIsNil ¶
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceNotIn ¶
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
SourceNotNil applies the NotNil predicate on the "source" field.
func SourceURI ¶
SourceURI applies equality check predicate on the "source_uri" field. It's identical to SourceURIEQ.
func SourceURIContains ¶
SourceURIContains applies the Contains predicate on the "source_uri" field.
func SourceURIContainsFold ¶
SourceURIContainsFold applies the ContainsFold predicate on the "source_uri" field.
func SourceURIEQ ¶
SourceURIEQ applies the EQ predicate on the "source_uri" field.
func SourceURIEqualFold ¶
SourceURIEqualFold applies the EqualFold predicate on the "source_uri" field.
func SourceURIGT ¶
SourceURIGT applies the GT predicate on the "source_uri" field.
func SourceURIGTE ¶
SourceURIGTE applies the GTE predicate on the "source_uri" field.
func SourceURIHasPrefix ¶
SourceURIHasPrefix applies the HasPrefix predicate on the "source_uri" field.
func SourceURIHasSuffix ¶
SourceURIHasSuffix applies the HasSuffix predicate on the "source_uri" field.
func SourceURIIn ¶
SourceURIIn applies the In predicate on the "source_uri" field.
func SourceURIIsNil ¶
SourceURIIsNil applies the IsNil predicate on the "source_uri" field.
func SourceURILT ¶
SourceURILT applies the LT predicate on the "source_uri" field.
func SourceURILTE ¶
SourceURILTE applies the LTE predicate on the "source_uri" field.
func SourceURINEQ ¶
SourceURINEQ applies the NEQ predicate on the "source_uri" field.
func SourceURINotIn ¶
SourceURINotIn applies the NotIn predicate on the "source_uri" field.
func SourceURINotNil ¶
SourceURINotNil applies the NotNil predicate on the "source_uri" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.