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 Text(v string) predicate.Media
- func TextContains(v string) predicate.Media
- func TextContainsFold(v string) predicate.Media
- func TextEQ(v string) predicate.Media
- func TextEqualFold(v string) predicate.Media
- func TextGT(v string) predicate.Media
- func TextGTE(v string) predicate.Media
- func TextHasPrefix(v string) predicate.Media
- func TextHasSuffix(v string) predicate.Media
- func TextIn(vs ...string) predicate.Media
- func TextIsNil() predicate.Media
- func TextLT(v string) predicate.Media
- func TextLTE(v string) predicate.Media
- func TextNEQ(v string) predicate.Media
- func TextNotIn(vs ...string) predicate.Media
- func TextNotNil() 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" // FieldText holds the string denoting the text field in the database. FieldText = "text" // Table holds the table name of the media in the database. Table = "media" )
Variables ¶
var Columns = []string{ FieldID, FieldSource, FieldSourceURI, FieldText, }
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 Text ¶ added in v0.9.0
Text applies equality check predicate on the "text" field. It's identical to TextEQ.
func TextContains ¶ added in v0.9.0
TextContains applies the Contains predicate on the "text" field.
func TextContainsFold ¶ added in v0.9.0
TextContainsFold applies the ContainsFold predicate on the "text" field.
func TextEqualFold ¶ added in v0.9.0
TextEqualFold applies the EqualFold predicate on the "text" field.
func TextHasPrefix ¶ added in v0.9.0
TextHasPrefix applies the HasPrefix predicate on the "text" field.
func TextHasSuffix ¶ added in v0.9.0
TextHasSuffix applies the HasSuffix predicate on the "text" field.
func TextNotNil ¶ added in v0.9.0
TextNotNil applies the NotNil predicate on the "text" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.