feeditem

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 5 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"
	// FieldFeedID holds the string denoting the feed_id field in the database.
	FieldFeedID = "feed_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"
	// FieldEnclosures holds the string denoting the enclosures field in the database.
	FieldEnclosures = "enclosures"
	// FieldPublishPlatform holds the string denoting the publish_platform field in the database.
	FieldPublishPlatform = "publish_platform"
	// FieldReadCount holds the string denoting the read_count field in the database.
	FieldReadCount = "read_count"
	// FieldDigestDescription holds the string denoting the digest_description field in the database.
	FieldDigestDescription = "digest_description"
	// FieldDigestImages holds the string denoting the digest_images field in the database.
	FieldDigestImages = "digest_images"
	// 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_id"
)

Variables

View Source
var (
	// DefaultReadCount holds the default value on creation for the "read_count" field.
	DefaultReadCount int64
	// 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.

Functions

func And

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

And groups predicates with the AND operator between them.

func AuthorsIsNil

func AuthorsIsNil() predicate.FeedItem

AuthorsIsNil applies the IsNil predicate on the "authors" field.

func AuthorsNotNil

func AuthorsNotNil() predicate.FeedItem

AuthorsNotNil applies the NotNil predicate on the "authors" field.

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 ContentIsNil

func ContentIsNil() predicate.FeedItem

ContentIsNil applies the IsNil 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 ContentNotNil

func ContentNotNil() predicate.FeedItem

ContentNotNil applies the NotNil 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 DescriptionIsNil

func DescriptionIsNil() predicate.FeedItem

DescriptionIsNil applies the IsNil 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 DescriptionNotNil

func DescriptionNotNil() predicate.FeedItem

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DigestDescription added in v0.1.5

func DigestDescription(v string) predicate.FeedItem

DigestDescription applies equality check predicate on the "digest_description" field. It's identical to DigestDescriptionEQ.

func DigestDescriptionContains added in v0.1.5

func DigestDescriptionContains(v string) predicate.FeedItem

DigestDescriptionContains applies the Contains predicate on the "digest_description" field.

func DigestDescriptionContainsFold added in v0.1.5

func DigestDescriptionContainsFold(v string) predicate.FeedItem

DigestDescriptionContainsFold applies the ContainsFold predicate on the "digest_description" field.

func DigestDescriptionEQ added in v0.1.5

func DigestDescriptionEQ(v string) predicate.FeedItem

DigestDescriptionEQ applies the EQ predicate on the "digest_description" field.

func DigestDescriptionEqualFold added in v0.1.5

func DigestDescriptionEqualFold(v string) predicate.FeedItem

DigestDescriptionEqualFold applies the EqualFold predicate on the "digest_description" field.

func DigestDescriptionGT added in v0.1.5

func DigestDescriptionGT(v string) predicate.FeedItem

DigestDescriptionGT applies the GT predicate on the "digest_description" field.

func DigestDescriptionGTE added in v0.1.5

func DigestDescriptionGTE(v string) predicate.FeedItem

DigestDescriptionGTE applies the GTE predicate on the "digest_description" field.

func DigestDescriptionHasPrefix added in v0.1.5

func DigestDescriptionHasPrefix(v string) predicate.FeedItem

DigestDescriptionHasPrefix applies the HasPrefix predicate on the "digest_description" field.

func DigestDescriptionHasSuffix added in v0.1.5

func DigestDescriptionHasSuffix(v string) predicate.FeedItem

DigestDescriptionHasSuffix applies the HasSuffix predicate on the "digest_description" field.

func DigestDescriptionIn added in v0.1.5

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

DigestDescriptionIn applies the In predicate on the "digest_description" field.

func DigestDescriptionIsNil added in v0.1.5

func DigestDescriptionIsNil() predicate.FeedItem

DigestDescriptionIsNil applies the IsNil predicate on the "digest_description" field.

func DigestDescriptionLT added in v0.1.5

func DigestDescriptionLT(v string) predicate.FeedItem

DigestDescriptionLT applies the LT predicate on the "digest_description" field.

func DigestDescriptionLTE added in v0.1.5

func DigestDescriptionLTE(v string) predicate.FeedItem

DigestDescriptionLTE applies the LTE predicate on the "digest_description" field.

func DigestDescriptionNEQ added in v0.1.5

func DigestDescriptionNEQ(v string) predicate.FeedItem

DigestDescriptionNEQ applies the NEQ predicate on the "digest_description" field.

func DigestDescriptionNotIn added in v0.1.5

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

DigestDescriptionNotIn applies the NotIn predicate on the "digest_description" field.

func DigestDescriptionNotNil added in v0.1.5

func DigestDescriptionNotNil() predicate.FeedItem

DigestDescriptionNotNil applies the NotNil predicate on the "digest_description" field.

func DigestImagesIsNil added in v0.1.5

func DigestImagesIsNil() predicate.FeedItem

DigestImagesIsNil applies the IsNil predicate on the "digest_images" field.

func DigestImagesNotNil added in v0.1.5

func DigestImagesNotNil() predicate.FeedItem

DigestImagesNotNil applies the NotNil predicate on the "digest_images" field.

func EnclosuresIsNil

func EnclosuresIsNil() predicate.FeedItem

EnclosuresIsNil applies the IsNil predicate on the "enclosures" field.

func EnclosuresNotNil

func EnclosuresNotNil() predicate.FeedItem

EnclosuresNotNil applies the NotNil predicate on the "enclosures" field.

func FeedID

FeedID applies equality check predicate on the "feed_id" field. It's identical to FeedIDEQ.

func FeedIDEQ

func FeedIDEQ(v model.InternalID) predicate.FeedItem

FeedIDEQ applies the EQ predicate on the "feed_id" field.

func FeedIDIn

func FeedIDIn(vs ...model.InternalID) predicate.FeedItem

FeedIDIn applies the In predicate on the "feed_id" field.

func FeedIDNEQ

func FeedIDNEQ(v model.InternalID) predicate.FeedItem

FeedIDNEQ applies the NEQ predicate on the "feed_id" field.

func FeedIDNotIn

func FeedIDNotIn(vs ...model.InternalID) predicate.FeedItem

FeedIDNotIn applies the NotIn predicate on the "feed_id" 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

func HasFeed() predicate.FeedItem

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

func HasFeedWith

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...model.InternalID) predicate.FeedItem

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...model.InternalID) predicate.FeedItem

IDNotIn applies the NotIn predicate on the ID field.

func ImageIsNil

func ImageIsNil() predicate.FeedItem

ImageIsNil applies the IsNil predicate on the "image" field.

func ImageNotNil

func ImageNotNil() predicate.FeedItem

ImageNotNil applies the NotNil predicate on the "image" 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 LinkIsNil

func LinkIsNil() predicate.FeedItem

LinkIsNil applies the IsNil 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 LinkNotNil

func LinkNotNil() predicate.FeedItem

LinkNotNil applies the NotNil 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 PublishPlatform

func PublishPlatform(v string) predicate.FeedItem

PublishPlatform applies equality check predicate on the "publish_platform" field. It's identical to PublishPlatformEQ.

func PublishPlatformContains

func PublishPlatformContains(v string) predicate.FeedItem

PublishPlatformContains applies the Contains predicate on the "publish_platform" field.

func PublishPlatformContainsFold

func PublishPlatformContainsFold(v string) predicate.FeedItem

PublishPlatformContainsFold applies the ContainsFold predicate on the "publish_platform" field.

func PublishPlatformEQ

func PublishPlatformEQ(v string) predicate.FeedItem

PublishPlatformEQ applies the EQ predicate on the "publish_platform" field.

func PublishPlatformEqualFold

func PublishPlatformEqualFold(v string) predicate.FeedItem

PublishPlatformEqualFold applies the EqualFold predicate on the "publish_platform" field.

func PublishPlatformGT

func PublishPlatformGT(v string) predicate.FeedItem

PublishPlatformGT applies the GT predicate on the "publish_platform" field.

func PublishPlatformGTE

func PublishPlatformGTE(v string) predicate.FeedItem

PublishPlatformGTE applies the GTE predicate on the "publish_platform" field.

func PublishPlatformHasPrefix

func PublishPlatformHasPrefix(v string) predicate.FeedItem

PublishPlatformHasPrefix applies the HasPrefix predicate on the "publish_platform" field.

func PublishPlatformHasSuffix

func PublishPlatformHasSuffix(v string) predicate.FeedItem

PublishPlatformHasSuffix applies the HasSuffix predicate on the "publish_platform" field.

func PublishPlatformIn

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

PublishPlatformIn applies the In predicate on the "publish_platform" field.

func PublishPlatformIsNil

func PublishPlatformIsNil() predicate.FeedItem

PublishPlatformIsNil applies the IsNil predicate on the "publish_platform" field.

func PublishPlatformLT

func PublishPlatformLT(v string) predicate.FeedItem

PublishPlatformLT applies the LT predicate on the "publish_platform" field.

func PublishPlatformLTE

func PublishPlatformLTE(v string) predicate.FeedItem

PublishPlatformLTE applies the LTE predicate on the "publish_platform" field.

func PublishPlatformNEQ

func PublishPlatformNEQ(v string) predicate.FeedItem

PublishPlatformNEQ applies the NEQ predicate on the "publish_platform" field.

func PublishPlatformNotIn

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

PublishPlatformNotIn applies the NotIn predicate on the "publish_platform" field.

func PublishPlatformNotNil

func PublishPlatformNotNil() predicate.FeedItem

PublishPlatformNotNil applies the NotNil predicate on the "publish_platform" field.

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 PublishedIsNil

func PublishedIsNil() predicate.FeedItem

PublishedIsNil applies the IsNil 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 PublishedNotNil

func PublishedNotNil() predicate.FeedItem

PublishedNotNil applies the NotNil 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 ReadCount added in v0.1.15

func ReadCount(v int64) predicate.FeedItem

ReadCount applies equality check predicate on the "read_count" field. It's identical to ReadCountEQ.

func ReadCountEQ added in v0.1.15

func ReadCountEQ(v int64) predicate.FeedItem

ReadCountEQ applies the EQ predicate on the "read_count" field.

func ReadCountGT added in v0.1.15

func ReadCountGT(v int64) predicate.FeedItem

ReadCountGT applies the GT predicate on the "read_count" field.

func ReadCountGTE added in v0.1.15

func ReadCountGTE(v int64) predicate.FeedItem

ReadCountGTE applies the GTE predicate on the "read_count" field.

func ReadCountIn added in v0.1.15

func ReadCountIn(vs ...int64) predicate.FeedItem

ReadCountIn applies the In predicate on the "read_count" field.

func ReadCountLT added in v0.1.15

func ReadCountLT(v int64) predicate.FeedItem

ReadCountLT applies the LT predicate on the "read_count" field.

func ReadCountLTE added in v0.1.15

func ReadCountLTE(v int64) predicate.FeedItem

ReadCountLTE applies the LTE predicate on the "read_count" field.

func ReadCountNEQ added in v0.1.15

func ReadCountNEQ(v int64) predicate.FeedItem

ReadCountNEQ applies the NEQ predicate on the "read_count" field.

func ReadCountNotIn added in v0.1.15

func ReadCountNotIn(vs ...int64) predicate.FeedItem

ReadCountNotIn applies the NotIn predicate on the "read_count" 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 TitleIsNil

func TitleIsNil() predicate.FeedItem

TitleIsNil applies the IsNil 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 TitleNotNil

func TitleNotNil() predicate.FeedItem

TitleNotNil applies the NotNil 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 UpdatedIsNil

func UpdatedIsNil() predicate.FeedItem

UpdatedIsNil applies the IsNil 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 UpdatedNotNil

func UpdatedNotNil() predicate.FeedItem

UpdatedNotNil applies the NotNil 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 UpdatedParsedIsNil

func UpdatedParsedIsNil() predicate.FeedItem

UpdatedParsedIsNil applies the IsNil 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 UpdatedParsedNotNil

func UpdatedParsedNotNil() predicate.FeedItem

UpdatedParsedNotNil applies the NotNil 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

type OrderOption added in v0.1.4

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the FeedItem queries.

func ByContent added in v0.1.4

func ByContent(opts ...sql.OrderTermOption) OrderOption

ByContent orders the results by the content field.

func ByCreatedAt added in v0.1.4

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDescription added in v0.1.4

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByDigestDescription added in v0.1.5

func ByDigestDescription(opts ...sql.OrderTermOption) OrderOption

ByDigestDescription orders the results by the digest_description field.

func ByFeedField added in v0.1.4

func ByFeedField(field string, opts ...sql.OrderTermOption) OrderOption

ByFeedField orders the results by feed field.

func ByFeedID added in v0.1.4

func ByFeedID(opts ...sql.OrderTermOption) OrderOption

ByFeedID orders the results by the feed_id field.

func ByGUID added in v0.1.4

func ByGUID(opts ...sql.OrderTermOption) OrderOption

ByGUID orders the results by the guid field.

func ByID added in v0.1.4

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLink(opts ...sql.OrderTermOption) OrderOption

ByLink orders the results by the link field.

func ByPublishPlatform added in v0.1.4

func ByPublishPlatform(opts ...sql.OrderTermOption) OrderOption

ByPublishPlatform orders the results by the publish_platform field.

func ByPublished added in v0.1.4

func ByPublished(opts ...sql.OrderTermOption) OrderOption

ByPublished orders the results by the published field.

func ByPublishedParsed added in v0.1.4

func ByPublishedParsed(opts ...sql.OrderTermOption) OrderOption

ByPublishedParsed orders the results by the published_parsed field.

func ByReadCount added in v0.1.15

func ByReadCount(opts ...sql.OrderTermOption) OrderOption

ByReadCount orders the results by the read_count field.

func ByTitle added in v0.1.4

func ByTitle(opts ...sql.OrderTermOption) OrderOption

ByTitle orders the results by the title field.

func ByUpdated added in v0.1.4

func ByUpdated(opts ...sql.OrderTermOption) OrderOption

ByUpdated orders the results by the updated field.

func ByUpdatedAt added in v0.1.4

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedParsed added in v0.1.4

func ByUpdatedParsed(opts ...sql.OrderTermOption) OrderOption

ByUpdatedParsed orders the results by the updated_parsed field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL