Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Feed) predicate.Feed
- func AuthorsIsNil() predicate.Feed
- func AuthorsNotNil() predicate.Feed
- func CreatedAt(v time.Time) predicate.Feed
- func CreatedAtEQ(v time.Time) predicate.Feed
- func CreatedAtGT(v time.Time) predicate.Feed
- func CreatedAtGTE(v time.Time) predicate.Feed
- func CreatedAtIn(vs ...time.Time) predicate.Feed
- func CreatedAtLT(v time.Time) predicate.Feed
- func CreatedAtLTE(v time.Time) predicate.Feed
- func CreatedAtNEQ(v time.Time) predicate.Feed
- func CreatedAtNotIn(vs ...time.Time) predicate.Feed
- func Description(v string) predicate.Feed
- func DescriptionContains(v string) predicate.Feed
- func DescriptionContainsFold(v string) predicate.Feed
- func DescriptionEQ(v string) predicate.Feed
- func DescriptionEqualFold(v string) predicate.Feed
- func DescriptionGT(v string) predicate.Feed
- func DescriptionGTE(v string) predicate.Feed
- func DescriptionHasPrefix(v string) predicate.Feed
- func DescriptionHasSuffix(v string) predicate.Feed
- func DescriptionIn(vs ...string) predicate.Feed
- func DescriptionIsNil() predicate.Feed
- func DescriptionLT(v string) predicate.Feed
- func DescriptionLTE(v string) predicate.Feed
- func DescriptionNEQ(v string) predicate.Feed
- func DescriptionNotIn(vs ...string) predicate.Feed
- func DescriptionNotNil() predicate.Feed
- func HasConfig() predicate.Feed
- func HasConfigWith(preds ...predicate.FeedConfig) predicate.Feed
- func HasItem() predicate.Feed
- func HasItemWith(preds ...predicate.FeedItem) predicate.Feed
- func ID(id model.InternalID) predicate.Feed
- func IDEQ(id model.InternalID) predicate.Feed
- func IDGT(id model.InternalID) predicate.Feed
- func IDGTE(id model.InternalID) predicate.Feed
- func IDIn(ids ...model.InternalID) predicate.Feed
- func IDLT(id model.InternalID) predicate.Feed
- func IDLTE(id model.InternalID) predicate.Feed
- func IDNEQ(id model.InternalID) predicate.Feed
- func IDNotIn(ids ...model.InternalID) predicate.Feed
- func ImageIsNil() predicate.Feed
- func ImageNotNil() predicate.Feed
- func Language(v string) predicate.Feed
- func LanguageContains(v string) predicate.Feed
- func LanguageContainsFold(v string) predicate.Feed
- func LanguageEQ(v string) predicate.Feed
- func LanguageEqualFold(v string) predicate.Feed
- func LanguageGT(v string) predicate.Feed
- func LanguageGTE(v string) predicate.Feed
- func LanguageHasPrefix(v string) predicate.Feed
- func LanguageHasSuffix(v string) predicate.Feed
- func LanguageIn(vs ...string) predicate.Feed
- func LanguageIsNil() predicate.Feed
- func LanguageLT(v string) predicate.Feed
- func LanguageLTE(v string) predicate.Feed
- func LanguageNEQ(v string) predicate.Feed
- func LanguageNotIn(vs ...string) predicate.Feed
- func LanguageNotNil() predicate.Feed
- func Link(v string) predicate.Feed
- func LinkContains(v string) predicate.Feed
- func LinkContainsFold(v string) predicate.Feed
- func LinkEQ(v string) predicate.Feed
- func LinkEqualFold(v string) predicate.Feed
- func LinkGT(v string) predicate.Feed
- func LinkGTE(v string) predicate.Feed
- func LinkHasPrefix(v string) predicate.Feed
- func LinkHasSuffix(v string) predicate.Feed
- func LinkIn(vs ...string) predicate.Feed
- func LinkIsNil() predicate.Feed
- func LinkLT(v string) predicate.Feed
- func LinkLTE(v string) predicate.Feed
- func LinkNEQ(v string) predicate.Feed
- func LinkNotIn(vs ...string) predicate.Feed
- func LinkNotNil() predicate.Feed
- func Not(p predicate.Feed) predicate.Feed
- func Or(predicates ...predicate.Feed) predicate.Feed
- func Title(v string) predicate.Feed
- func TitleContains(v string) predicate.Feed
- func TitleContainsFold(v string) predicate.Feed
- func TitleEQ(v string) predicate.Feed
- func TitleEqualFold(v string) predicate.Feed
- func TitleGT(v string) predicate.Feed
- func TitleGTE(v string) predicate.Feed
- func TitleHasPrefix(v string) predicate.Feed
- func TitleHasSuffix(v string) predicate.Feed
- func TitleIn(vs ...string) predicate.Feed
- func TitleIsNil() predicate.Feed
- func TitleLT(v string) predicate.Feed
- func TitleLTE(v string) predicate.Feed
- func TitleNEQ(v string) predicate.Feed
- func TitleNotIn(vs ...string) predicate.Feed
- func TitleNotNil() predicate.Feed
- func UpdatedAt(v time.Time) predicate.Feed
- func UpdatedAtEQ(v time.Time) predicate.Feed
- func UpdatedAtGT(v time.Time) predicate.Feed
- func UpdatedAtGTE(v time.Time) predicate.Feed
- func UpdatedAtIn(vs ...time.Time) predicate.Feed
- func UpdatedAtLT(v time.Time) predicate.Feed
- func UpdatedAtLTE(v time.Time) predicate.Feed
- func UpdatedAtNEQ(v time.Time) predicate.Feed
- func UpdatedAtNotIn(vs ...time.Time) predicate.Feed
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the feed type in the database. Label = "feed" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldLink holds the string denoting the link field in the database. FieldLink = "link" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldLanguage holds the string denoting the language field in the database. FieldLanguage = "language" // FieldAuthors holds the string denoting the authors field in the database. FieldAuthors = "authors" // FieldImage holds the string denoting the image field in the database. FieldImage = "image" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeItem holds the string denoting the item edge name in mutations. EdgeItem = "item" // EdgeConfig holds the string denoting the config edge name in mutations. EdgeConfig = "config" // Table holds the table name of the feed in the database. Table = "feeds" // ItemTable is the table that holds the item relation/edge. ItemTable = "feed_items" // ItemInverseTable is the table name for the FeedItem entity. // It exists in this package in order to avoid circular dependency with the "feeditem" package. ItemInverseTable = "feed_items" // ItemColumn is the table column denoting the item relation/edge. ItemColumn = "feed_id" // ConfigTable is the table that holds the config relation/edge. ConfigTable = "feeds" // ConfigInverseTable is the table name for the FeedConfig entity. // It exists in this package in order to avoid circular dependency with the "feedconfig" package. ConfigInverseTable = "feed_configs" // ConfigColumn is the table column denoting the config relation/edge. ConfigColumn = "feed_config_feed" )
Variables ¶
var ( // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldTitle, FieldLink, FieldDescription, FieldLanguage, FieldAuthors, FieldImage, FieldUpdatedAt, FieldCreatedAt, }
Columns holds all SQL columns for feed fields.
var ForeignKeys = []string{
"feed_config_feed",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "feeds" table and are not defined as standalone fields in the schema.
Functions ¶
func AuthorsIsNil ¶ added in v0.0.8
AuthorsIsNil applies the IsNil predicate on the "authors" field.
func AuthorsNotNil ¶ added in v0.0.8
AuthorsNotNil applies the NotNil predicate on the "authors" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶ added in v0.0.8
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶ added in v0.0.8
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasConfigWith ¶
func HasConfigWith(preds ...predicate.FeedConfig) predicate.Feed
HasConfigWith applies the HasEdge predicate on the "config" edge with a given conditions (other predicates).
func HasItemWith ¶ added in v0.0.6
HasItemWith applies the HasEdge predicate on the "item" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id model.InternalID) predicate.Feed
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id model.InternalID) predicate.Feed
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id model.InternalID) predicate.Feed
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...model.InternalID) predicate.Feed
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id model.InternalID) predicate.Feed
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id model.InternalID) predicate.Feed
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id model.InternalID) predicate.Feed
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...model.InternalID) predicate.Feed
IDNotIn applies the NotIn predicate on the ID field.
func ImageIsNil ¶ added in v0.0.8
ImageIsNil applies the IsNil predicate on the "image" field.
func ImageNotNil ¶ added in v0.0.8
ImageNotNil applies the NotNil predicate on the "image" field.
func Language ¶
Language applies equality check predicate on the "language" field. It's identical to LanguageEQ.
func LanguageContains ¶
LanguageContains applies the Contains predicate on the "language" field.
func LanguageContainsFold ¶
LanguageContainsFold applies the ContainsFold predicate on the "language" field.
func LanguageEQ ¶
LanguageEQ applies the EQ predicate on the "language" field.
func LanguageEqualFold ¶
LanguageEqualFold applies the EqualFold predicate on the "language" field.
func LanguageGT ¶
LanguageGT applies the GT predicate on the "language" field.
func LanguageGTE ¶
LanguageGTE applies the GTE predicate on the "language" field.
func LanguageHasPrefix ¶
LanguageHasPrefix applies the HasPrefix predicate on the "language" field.
func LanguageHasSuffix ¶
LanguageHasSuffix applies the HasSuffix predicate on the "language" field.
func LanguageIn ¶
LanguageIn applies the In predicate on the "language" field.
func LanguageIsNil ¶ added in v0.0.8
LanguageIsNil applies the IsNil predicate on the "language" field.
func LanguageLT ¶
LanguageLT applies the LT predicate on the "language" field.
func LanguageLTE ¶
LanguageLTE applies the LTE predicate on the "language" field.
func LanguageNEQ ¶
LanguageNEQ applies the NEQ predicate on the "language" field.
func LanguageNotIn ¶
LanguageNotIn applies the NotIn predicate on the "language" field.
func LanguageNotNil ¶ added in v0.0.8
LanguageNotNil applies the NotNil predicate on the "language" field.
func LinkContains ¶
LinkContains applies the Contains predicate on the "link" field.
func LinkContainsFold ¶
LinkContainsFold applies the ContainsFold predicate on the "link" field.
func LinkEqualFold ¶
LinkEqualFold applies the EqualFold predicate on the "link" field.
func LinkHasPrefix ¶
LinkHasPrefix applies the HasPrefix predicate on the "link" field.
func LinkHasSuffix ¶
LinkHasSuffix applies the HasSuffix predicate on the "link" field.
func LinkNotNil ¶ added in v0.0.8
LinkNotNil applies the NotNil predicate on the "link" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIsNil ¶ added in v0.0.8
TitleIsNil applies the IsNil predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func TitleNotNil ¶ added in v0.0.8
TitleNotNil applies the NotNil predicate on the "title" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.