feeditem

package
v0.0.6-3 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the feeditem type in the database.
	Label = "feed_item"
	// 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"
	// FieldAuthors holds the string denoting the authors field in the database.
	FieldAuthors = "authors"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// FieldGUID holds the string denoting the guid field in the database.
	FieldGUID = "guid"
	// FieldLink holds the string denoting the link field in the database.
	FieldLink = "link"
	// FieldImage holds the string denoting the image field in the database.
	FieldImage = "image"
	// FieldPublished holds the string denoting the published field in the database.
	FieldPublished = "published"
	// FieldPublishedParsed holds the string denoting the published_parsed field in the database.
	FieldPublishedParsed = "published_parsed"
	// FieldUpdated holds the string denoting the updated field in the database.
	FieldUpdated = "updated"
	// FieldUpdatedParsed holds the string denoting the updated_parsed field in the database.
	FieldUpdatedParsed = "updated_parsed"
	// FieldEnclosure holds the string denoting the enclosure field in the database.
	FieldEnclosure = "enclosure"
	// 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"
	// EdgeFeed holds the string denoting the feed edge name in mutations.
	EdgeFeed = "feed"
	// Table holds the table name of the feeditem in the database.
	Table = "feed_items"
	// FeedTable is the table that holds the feed relation/edge.
	FeedTable = "feed_items"
	// FeedInverseTable is the table name for the Feed entity.
	// It exists in this package in order to avoid circular dependency with the "feed" package.
	FeedInverseTable = "feeds"
	// FeedColumn is the table column denoting the feed relation/edge.
	FeedColumn = "feed_item"
)

Variables

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

Columns holds all SQL columns for feeditem fields.

View Source
var ForeignKeys = []string{
	"feed_item",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "feed_items" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.FeedItem) predicate.FeedItem

And groups predicates with the AND operator between them.

func Content

func Content(v string) predicate.FeedItem

Content applies equality check predicate on the "content" field. It's identical to ContentEQ.

func ContentContains

func ContentContains(v string) predicate.FeedItem

ContentContains applies the Contains predicate on the "content" field.

func ContentContainsFold

func ContentContainsFold(v string) predicate.FeedItem

ContentContainsFold applies the ContainsFold predicate on the "content" field.

func ContentEQ

func ContentEQ(v string) predicate.FeedItem

ContentEQ applies the EQ predicate on the "content" field.

func ContentEqualFold

func ContentEqualFold(v string) predicate.FeedItem

ContentEqualFold applies the EqualFold predicate on the "content" field.

func ContentGT

func ContentGT(v string) predicate.FeedItem

ContentGT applies the GT predicate on the "content" field.

func ContentGTE

func ContentGTE(v string) predicate.FeedItem

ContentGTE applies the GTE predicate on the "content" field.

func ContentHasPrefix

func ContentHasPrefix(v string) predicate.FeedItem

ContentHasPrefix applies the HasPrefix predicate on the "content" field.

func ContentHasSuffix

func ContentHasSuffix(v string) predicate.FeedItem

ContentHasSuffix applies the HasSuffix predicate on the "content" field.

func ContentIn

func ContentIn(vs ...string) predicate.FeedItem

ContentIn applies the In predicate on the "content" field.

func ContentLT

func ContentLT(v string) predicate.FeedItem

ContentLT applies the LT predicate on the "content" field.

func ContentLTE

func ContentLTE(v string) predicate.FeedItem

ContentLTE applies the LTE predicate on the "content" field.

func ContentNEQ

func ContentNEQ(v string) predicate.FeedItem

ContentNEQ applies the NEQ predicate on the "content" field.

func ContentNotIn

func ContentNotIn(vs ...string) predicate.FeedItem

ContentNotIn applies the NotIn predicate on the "content" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.FeedItem

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.FeedItem

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.FeedItem

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.FeedItem

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.FeedItem

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.FeedItem

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.FeedItem

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.FeedItem

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.FeedItem

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Description

func Description(v string) predicate.FeedItem

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.FeedItem

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.FeedItem

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.FeedItem

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.FeedItem

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.FeedItem

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.FeedItem

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.FeedItem

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.FeedItem

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.FeedItem

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.FeedItem

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.FeedItem

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.FeedItem

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.FeedItem

DescriptionNotIn applies the NotIn predicate on the "description" field.

func GUID

func GUID(v string) predicate.FeedItem

GUID applies equality check predicate on the "guid" field. It's identical to GUIDEQ.

func GUIDContains

func GUIDContains(v string) predicate.FeedItem

GUIDContains applies the Contains predicate on the "guid" field.

func GUIDContainsFold

func GUIDContainsFold(v string) predicate.FeedItem

GUIDContainsFold applies the ContainsFold predicate on the "guid" field.

func GUIDEQ

func GUIDEQ(v string) predicate.FeedItem

GUIDEQ applies the EQ predicate on the "guid" field.

func GUIDEqualFold

func GUIDEqualFold(v string) predicate.FeedItem

GUIDEqualFold applies the EqualFold predicate on the "guid" field.

func GUIDGT

func GUIDGT(v string) predicate.FeedItem

GUIDGT applies the GT predicate on the "guid" field.

func GUIDGTE

func GUIDGTE(v string) predicate.FeedItem

GUIDGTE applies the GTE predicate on the "guid" field.

func GUIDHasPrefix

func GUIDHasPrefix(v string) predicate.FeedItem

GUIDHasPrefix applies the HasPrefix predicate on the "guid" field.

func GUIDHasSuffix

func GUIDHasSuffix(v string) predicate.FeedItem

GUIDHasSuffix applies the HasSuffix predicate on the "guid" field.

func GUIDIn

func GUIDIn(vs ...string) predicate.FeedItem

GUIDIn applies the In predicate on the "guid" field.

func GUIDLT

func GUIDLT(v string) predicate.FeedItem

GUIDLT applies the LT predicate on the "guid" field.

func GUIDLTE

func GUIDLTE(v string) predicate.FeedItem

GUIDLTE applies the LTE predicate on the "guid" field.

func GUIDNEQ

func GUIDNEQ(v string) predicate.FeedItem

GUIDNEQ applies the NEQ predicate on the "guid" field.

func GUIDNotIn

func GUIDNotIn(vs ...string) predicate.FeedItem

GUIDNotIn applies the NotIn predicate on the "guid" field.

func HasFeed added in v0.0.6

func HasFeed() predicate.FeedItem

HasFeed applies the HasEdge predicate on the "feed" edge.

func HasFeedWith added in v0.0.6

func HasFeedWith(preds ...predicate.Feed) predicate.FeedItem

HasFeedWith applies the HasEdge predicate on the "feed" edge with a given conditions (other predicates).

func ID

func ID(id int64) predicate.FeedItem

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.FeedItem

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.FeedItem

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.FeedItem

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.FeedItem

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.FeedItem

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.FeedItem

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.FeedItem

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.FeedItem

IDNotIn applies the NotIn predicate on the ID field.

func Link(v string) predicate.FeedItem

Link applies equality check predicate on the "link" field. It's identical to LinkEQ.

func LinkContains

func LinkContains(v string) predicate.FeedItem

LinkContains applies the Contains predicate on the "link" field.

func LinkContainsFold

func LinkContainsFold(v string) predicate.FeedItem

LinkContainsFold applies the ContainsFold predicate on the "link" field.

func LinkEQ

func LinkEQ(v string) predicate.FeedItem

LinkEQ applies the EQ predicate on the "link" field.

func LinkEqualFold

func LinkEqualFold(v string) predicate.FeedItem

LinkEqualFold applies the EqualFold predicate on the "link" field.

func LinkGT

func LinkGT(v string) predicate.FeedItem

LinkGT applies the GT predicate on the "link" field.

func LinkGTE

func LinkGTE(v string) predicate.FeedItem

LinkGTE applies the GTE predicate on the "link" field.

func LinkHasPrefix

func LinkHasPrefix(v string) predicate.FeedItem

LinkHasPrefix applies the HasPrefix predicate on the "link" field.

func LinkHasSuffix

func LinkHasSuffix(v string) predicate.FeedItem

LinkHasSuffix applies the HasSuffix predicate on the "link" field.

func LinkIn

func LinkIn(vs ...string) predicate.FeedItem

LinkIn applies the In predicate on the "link" field.

func LinkLT

func LinkLT(v string) predicate.FeedItem

LinkLT applies the LT predicate on the "link" field.

func LinkLTE

func LinkLTE(v string) predicate.FeedItem

LinkLTE applies the LTE predicate on the "link" field.

func LinkNEQ

func LinkNEQ(v string) predicate.FeedItem

LinkNEQ applies the NEQ predicate on the "link" field.

func LinkNotIn

func LinkNotIn(vs ...string) predicate.FeedItem

LinkNotIn applies the NotIn predicate on the "link" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.FeedItem) predicate.FeedItem

Or groups predicates with the OR operator between them.

func Published

func Published(v string) predicate.FeedItem

Published applies equality check predicate on the "published" field. It's identical to PublishedEQ.

func PublishedContains

func PublishedContains(v string) predicate.FeedItem

PublishedContains applies the Contains predicate on the "published" field.

func PublishedContainsFold

func PublishedContainsFold(v string) predicate.FeedItem

PublishedContainsFold applies the ContainsFold predicate on the "published" field.

func PublishedEQ

func PublishedEQ(v string) predicate.FeedItem

PublishedEQ applies the EQ predicate on the "published" field.

func PublishedEqualFold

func PublishedEqualFold(v string) predicate.FeedItem

PublishedEqualFold applies the EqualFold predicate on the "published" field.

func PublishedGT

func PublishedGT(v string) predicate.FeedItem

PublishedGT applies the GT predicate on the "published" field.

func PublishedGTE

func PublishedGTE(v string) predicate.FeedItem

PublishedGTE applies the GTE predicate on the "published" field.

func PublishedHasPrefix

func PublishedHasPrefix(v string) predicate.FeedItem

PublishedHasPrefix applies the HasPrefix predicate on the "published" field.

func PublishedHasSuffix

func PublishedHasSuffix(v string) predicate.FeedItem

PublishedHasSuffix applies the HasSuffix predicate on the "published" field.

func PublishedIn

func PublishedIn(vs ...string) predicate.FeedItem

PublishedIn applies the In predicate on the "published" field.

func PublishedLT

func PublishedLT(v string) predicate.FeedItem

PublishedLT applies the LT predicate on the "published" field.

func PublishedLTE

func PublishedLTE(v string) predicate.FeedItem

PublishedLTE applies the LTE predicate on the "published" field.

func PublishedNEQ

func PublishedNEQ(v string) predicate.FeedItem

PublishedNEQ applies the NEQ predicate on the "published" field.

func PublishedNotIn

func PublishedNotIn(vs ...string) predicate.FeedItem

PublishedNotIn applies the NotIn predicate on the "published" field.

func PublishedParsed

func PublishedParsed(v time.Time) predicate.FeedItem

PublishedParsed applies equality check predicate on the "published_parsed" field. It's identical to PublishedParsedEQ.

func PublishedParsedEQ

func PublishedParsedEQ(v time.Time) predicate.FeedItem

PublishedParsedEQ applies the EQ predicate on the "published_parsed" field.

func PublishedParsedGT

func PublishedParsedGT(v time.Time) predicate.FeedItem

PublishedParsedGT applies the GT predicate on the "published_parsed" field.

func PublishedParsedGTE

func PublishedParsedGTE(v time.Time) predicate.FeedItem

PublishedParsedGTE applies the GTE predicate on the "published_parsed" field.

func PublishedParsedIn

func PublishedParsedIn(vs ...time.Time) predicate.FeedItem

PublishedParsedIn applies the In predicate on the "published_parsed" field.

func PublishedParsedLT

func PublishedParsedLT(v time.Time) predicate.FeedItem

PublishedParsedLT applies the LT predicate on the "published_parsed" field.

func PublishedParsedLTE

func PublishedParsedLTE(v time.Time) predicate.FeedItem

PublishedParsedLTE applies the LTE predicate on the "published_parsed" field.

func PublishedParsedNEQ

func PublishedParsedNEQ(v time.Time) predicate.FeedItem

PublishedParsedNEQ applies the NEQ predicate on the "published_parsed" field.

func PublishedParsedNotIn

func PublishedParsedNotIn(vs ...time.Time) predicate.FeedItem

PublishedParsedNotIn applies the NotIn predicate on the "published_parsed" field.

func Title

func Title(v string) predicate.FeedItem

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.FeedItem

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.FeedItem

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.FeedItem

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.FeedItem

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.FeedItem

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.FeedItem

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.FeedItem

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.FeedItem

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.FeedItem

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.FeedItem

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.FeedItem

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.FeedItem

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.FeedItem

TitleNotIn applies the NotIn predicate on the "title" field.

func Updated

func Updated(v string) predicate.FeedItem

Updated applies equality check predicate on the "updated" field. It's identical to UpdatedEQ.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.FeedItem

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.FeedItem

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.FeedItem

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.FeedItem

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.FeedItem

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.FeedItem

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.FeedItem

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.FeedItem

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.FeedItem

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedContains

func UpdatedContains(v string) predicate.FeedItem

UpdatedContains applies the Contains predicate on the "updated" field.

func UpdatedContainsFold

func UpdatedContainsFold(v string) predicate.FeedItem

UpdatedContainsFold applies the ContainsFold predicate on the "updated" field.

func UpdatedEQ

func UpdatedEQ(v string) predicate.FeedItem

UpdatedEQ applies the EQ predicate on the "updated" field.

func UpdatedEqualFold

func UpdatedEqualFold(v string) predicate.FeedItem

UpdatedEqualFold applies the EqualFold predicate on the "updated" field.

func UpdatedGT

func UpdatedGT(v string) predicate.FeedItem

UpdatedGT applies the GT predicate on the "updated" field.

func UpdatedGTE

func UpdatedGTE(v string) predicate.FeedItem

UpdatedGTE applies the GTE predicate on the "updated" field.

func UpdatedHasPrefix

func UpdatedHasPrefix(v string) predicate.FeedItem

UpdatedHasPrefix applies the HasPrefix predicate on the "updated" field.

func UpdatedHasSuffix

func UpdatedHasSuffix(v string) predicate.FeedItem

UpdatedHasSuffix applies the HasSuffix predicate on the "updated" field.

func UpdatedIn

func UpdatedIn(vs ...string) predicate.FeedItem

UpdatedIn applies the In predicate on the "updated" field.

func UpdatedLT

func UpdatedLT(v string) predicate.FeedItem

UpdatedLT applies the LT predicate on the "updated" field.

func UpdatedLTE

func UpdatedLTE(v string) predicate.FeedItem

UpdatedLTE applies the LTE predicate on the "updated" field.

func UpdatedNEQ

func UpdatedNEQ(v string) predicate.FeedItem

UpdatedNEQ applies the NEQ predicate on the "updated" field.

func UpdatedNotIn

func UpdatedNotIn(vs ...string) predicate.FeedItem

UpdatedNotIn applies the NotIn predicate on the "updated" field.

func UpdatedParsed

func UpdatedParsed(v time.Time) predicate.FeedItem

UpdatedParsed applies equality check predicate on the "updated_parsed" field. It's identical to UpdatedParsedEQ.

func UpdatedParsedEQ

func UpdatedParsedEQ(v time.Time) predicate.FeedItem

UpdatedParsedEQ applies the EQ predicate on the "updated_parsed" field.

func UpdatedParsedGT

func UpdatedParsedGT(v time.Time) predicate.FeedItem

UpdatedParsedGT applies the GT predicate on the "updated_parsed" field.

func UpdatedParsedGTE

func UpdatedParsedGTE(v time.Time) predicate.FeedItem

UpdatedParsedGTE applies the GTE predicate on the "updated_parsed" field.

func UpdatedParsedIn

func UpdatedParsedIn(vs ...time.Time) predicate.FeedItem

UpdatedParsedIn applies the In predicate on the "updated_parsed" field.

func UpdatedParsedLT

func UpdatedParsedLT(v time.Time) predicate.FeedItem

UpdatedParsedLT applies the LT predicate on the "updated_parsed" field.

func UpdatedParsedLTE

func UpdatedParsedLTE(v time.Time) predicate.FeedItem

UpdatedParsedLTE applies the LTE predicate on the "updated_parsed" field.

func UpdatedParsedNEQ

func UpdatedParsedNEQ(v time.Time) predicate.FeedItem

UpdatedParsedNEQ applies the NEQ predicate on the "updated_parsed" field.

func UpdatedParsedNotIn

func UpdatedParsedNotIn(vs ...time.Time) predicate.FeedItem

UpdatedParsedNotIn applies the NotIn predicate on the "updated_parsed" 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