activity

package
v0.0.0-...-06a3cf6 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2025 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the activity type in the database.
	Label = "activity"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUID holds the string denoting the uid field in the database.
	FieldUID = "uid"
	// FieldSourceUids holds the string denoting the source_uids field in the database.
	FieldSourceUids = "source_uids"
	// FieldSourceType holds the string denoting the source_type field in the database.
	FieldSourceType = "source_type"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldBody holds the string denoting the body field in the database.
	FieldBody = "body"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldImageURL holds the string denoting the image_url field in the database.
	FieldImageURL = "image_url"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldShortSummary holds the string denoting the short_summary field in the database.
	FieldShortSummary = "short_summary"
	// FieldFullSummary holds the string denoting the full_summary field in the database.
	FieldFullSummary = "full_summary"
	// FieldRawJSON holds the string denoting the raw_json field in the database.
	FieldRawJSON = "raw_json"
	// FieldEmbedding1536 holds the string denoting the embedding_1536 field in the database.
	FieldEmbedding1536 = "embedding_1536"
	// FieldEmbedding3072 holds the string denoting the embedding_3072 field in the database.
	FieldEmbedding3072 = "embedding_3072"
	// FieldSocialScore holds the string denoting the social_score field in the database.
	FieldSocialScore = "social_score"
	// FieldUpdateCount holds the string denoting the update_count field in the database.
	FieldUpdateCount = "update_count"
	// Table holds the table name of the activity in the database.
	Table = "activities"
)

Variables

View Source
var (
	// DefaultSocialScore holds the default value on creation for the "social_score" field.
	DefaultSocialScore float64
	// DefaultUpdateCount holds the default value on creation for the "update_count" field.
	DefaultUpdateCount int
)

Columns holds all SQL columns for activity fields.

Functions

func And

func And(predicates ...predicate.Activity) predicate.Activity

And groups predicates with the AND operator between them.

func Body

func Body(v string) predicate.Activity

Body applies equality check predicate on the "body" field. It's identical to BodyEQ.

func BodyContains

func BodyContains(v string) predicate.Activity

BodyContains applies the Contains predicate on the "body" field.

func BodyContainsFold

func BodyContainsFold(v string) predicate.Activity

BodyContainsFold applies the ContainsFold predicate on the "body" field.

func BodyEQ

func BodyEQ(v string) predicate.Activity

BodyEQ applies the EQ predicate on the "body" field.

func BodyEqualFold

func BodyEqualFold(v string) predicate.Activity

BodyEqualFold applies the EqualFold predicate on the "body" field.

func BodyGT

func BodyGT(v string) predicate.Activity

BodyGT applies the GT predicate on the "body" field.

func BodyGTE

func BodyGTE(v string) predicate.Activity

BodyGTE applies the GTE predicate on the "body" field.

func BodyHasPrefix

func BodyHasPrefix(v string) predicate.Activity

BodyHasPrefix applies the HasPrefix predicate on the "body" field.

func BodyHasSuffix

func BodyHasSuffix(v string) predicate.Activity

BodyHasSuffix applies the HasSuffix predicate on the "body" field.

func BodyIn

func BodyIn(vs ...string) predicate.Activity

BodyIn applies the In predicate on the "body" field.

func BodyLT

func BodyLT(v string) predicate.Activity

BodyLT applies the LT predicate on the "body" field.

func BodyLTE

func BodyLTE(v string) predicate.Activity

BodyLTE applies the LTE predicate on the "body" field.

func BodyNEQ

func BodyNEQ(v string) predicate.Activity

BodyNEQ applies the NEQ predicate on the "body" field.

func BodyNotIn

func BodyNotIn(vs ...string) predicate.Activity

BodyNotIn applies the NotIn predicate on the "body" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Activity

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Activity

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Activity

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Activity

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Activity

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Activity

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Activity

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

func CreatedAtNotIn

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

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

func Embedding1536

func Embedding1536(v pgvector.Vector) predicate.Activity

Embedding1536 applies equality check predicate on the "embedding_1536" field. It's identical to Embedding1536EQ.

func Embedding1536EQ

func Embedding1536EQ(v pgvector.Vector) predicate.Activity

Embedding1536EQ applies the EQ predicate on the "embedding_1536" field.

func Embedding1536GT

func Embedding1536GT(v pgvector.Vector) predicate.Activity

Embedding1536GT applies the GT predicate on the "embedding_1536" field.

func Embedding1536GTE

func Embedding1536GTE(v pgvector.Vector) predicate.Activity

Embedding1536GTE applies the GTE predicate on the "embedding_1536" field.

func Embedding1536In

func Embedding1536In(vs ...pgvector.Vector) predicate.Activity

Embedding1536In applies the In predicate on the "embedding_1536" field.

func Embedding1536IsNil

func Embedding1536IsNil() predicate.Activity

Embedding1536IsNil applies the IsNil predicate on the "embedding_1536" field.

func Embedding1536LT

func Embedding1536LT(v pgvector.Vector) predicate.Activity

Embedding1536LT applies the LT predicate on the "embedding_1536" field.

func Embedding1536LTE

func Embedding1536LTE(v pgvector.Vector) predicate.Activity

Embedding1536LTE applies the LTE predicate on the "embedding_1536" field.

func Embedding1536NEQ

func Embedding1536NEQ(v pgvector.Vector) predicate.Activity

Embedding1536NEQ applies the NEQ predicate on the "embedding_1536" field.

func Embedding1536NotIn

func Embedding1536NotIn(vs ...pgvector.Vector) predicate.Activity

Embedding1536NotIn applies the NotIn predicate on the "embedding_1536" field.

func Embedding1536NotNil

func Embedding1536NotNil() predicate.Activity

Embedding1536NotNil applies the NotNil predicate on the "embedding_1536" field.

func Embedding3072

func Embedding3072(v pgvector.Vector) predicate.Activity

Embedding3072 applies equality check predicate on the "embedding_3072" field. It's identical to Embedding3072EQ.

func Embedding3072EQ

func Embedding3072EQ(v pgvector.Vector) predicate.Activity

Embedding3072EQ applies the EQ predicate on the "embedding_3072" field.

func Embedding3072GT

func Embedding3072GT(v pgvector.Vector) predicate.Activity

Embedding3072GT applies the GT predicate on the "embedding_3072" field.

func Embedding3072GTE

func Embedding3072GTE(v pgvector.Vector) predicate.Activity

Embedding3072GTE applies the GTE predicate on the "embedding_3072" field.

func Embedding3072In

func Embedding3072In(vs ...pgvector.Vector) predicate.Activity

Embedding3072In applies the In predicate on the "embedding_3072" field.

func Embedding3072IsNil

func Embedding3072IsNil() predicate.Activity

Embedding3072IsNil applies the IsNil predicate on the "embedding_3072" field.

func Embedding3072LT

func Embedding3072LT(v pgvector.Vector) predicate.Activity

Embedding3072LT applies the LT predicate on the "embedding_3072" field.

func Embedding3072LTE

func Embedding3072LTE(v pgvector.Vector) predicate.Activity

Embedding3072LTE applies the LTE predicate on the "embedding_3072" field.

func Embedding3072NEQ

func Embedding3072NEQ(v pgvector.Vector) predicate.Activity

Embedding3072NEQ applies the NEQ predicate on the "embedding_3072" field.

func Embedding3072NotIn

func Embedding3072NotIn(vs ...pgvector.Vector) predicate.Activity

Embedding3072NotIn applies the NotIn predicate on the "embedding_3072" field.

func Embedding3072NotNil

func Embedding3072NotNil() predicate.Activity

Embedding3072NotNil applies the NotNil predicate on the "embedding_3072" field.

func FullSummary

func FullSummary(v string) predicate.Activity

FullSummary applies equality check predicate on the "full_summary" field. It's identical to FullSummaryEQ.

func FullSummaryContains

func FullSummaryContains(v string) predicate.Activity

FullSummaryContains applies the Contains predicate on the "full_summary" field.

func FullSummaryContainsFold

func FullSummaryContainsFold(v string) predicate.Activity

FullSummaryContainsFold applies the ContainsFold predicate on the "full_summary" field.

func FullSummaryEQ

func FullSummaryEQ(v string) predicate.Activity

FullSummaryEQ applies the EQ predicate on the "full_summary" field.

func FullSummaryEqualFold

func FullSummaryEqualFold(v string) predicate.Activity

FullSummaryEqualFold applies the EqualFold predicate on the "full_summary" field.

func FullSummaryGT

func FullSummaryGT(v string) predicate.Activity

FullSummaryGT applies the GT predicate on the "full_summary" field.

func FullSummaryGTE

func FullSummaryGTE(v string) predicate.Activity

FullSummaryGTE applies the GTE predicate on the "full_summary" field.

func FullSummaryHasPrefix

func FullSummaryHasPrefix(v string) predicate.Activity

FullSummaryHasPrefix applies the HasPrefix predicate on the "full_summary" field.

func FullSummaryHasSuffix

func FullSummaryHasSuffix(v string) predicate.Activity

FullSummaryHasSuffix applies the HasSuffix predicate on the "full_summary" field.

func FullSummaryIn

func FullSummaryIn(vs ...string) predicate.Activity

FullSummaryIn applies the In predicate on the "full_summary" field.

func FullSummaryLT

func FullSummaryLT(v string) predicate.Activity

FullSummaryLT applies the LT predicate on the "full_summary" field.

func FullSummaryLTE

func FullSummaryLTE(v string) predicate.Activity

FullSummaryLTE applies the LTE predicate on the "full_summary" field.

func FullSummaryNEQ

func FullSummaryNEQ(v string) predicate.Activity

FullSummaryNEQ applies the NEQ predicate on the "full_summary" field.

func FullSummaryNotIn

func FullSummaryNotIn(vs ...string) predicate.Activity

FullSummaryNotIn applies the NotIn predicate on the "full_summary" field.

func ID

func ID(id string) predicate.Activity

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Activity

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Activity

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Activity

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Activity

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Activity

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Activity

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Activity

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Activity

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Activity

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Activity

IDNotIn applies the NotIn predicate on the ID field.

func ImageURL

func ImageURL(v string) predicate.Activity

ImageURL applies equality check predicate on the "image_url" field. It's identical to ImageURLEQ.

func ImageURLContains

func ImageURLContains(v string) predicate.Activity

ImageURLContains applies the Contains predicate on the "image_url" field.

func ImageURLContainsFold

func ImageURLContainsFold(v string) predicate.Activity

ImageURLContainsFold applies the ContainsFold predicate on the "image_url" field.

func ImageURLEQ

func ImageURLEQ(v string) predicate.Activity

ImageURLEQ applies the EQ predicate on the "image_url" field.

func ImageURLEqualFold

func ImageURLEqualFold(v string) predicate.Activity

ImageURLEqualFold applies the EqualFold predicate on the "image_url" field.

func ImageURLGT

func ImageURLGT(v string) predicate.Activity

ImageURLGT applies the GT predicate on the "image_url" field.

func ImageURLGTE

func ImageURLGTE(v string) predicate.Activity

ImageURLGTE applies the GTE predicate on the "image_url" field.

func ImageURLHasPrefix

func ImageURLHasPrefix(v string) predicate.Activity

ImageURLHasPrefix applies the HasPrefix predicate on the "image_url" field.

func ImageURLHasSuffix

func ImageURLHasSuffix(v string) predicate.Activity

ImageURLHasSuffix applies the HasSuffix predicate on the "image_url" field.

func ImageURLIn

func ImageURLIn(vs ...string) predicate.Activity

ImageURLIn applies the In predicate on the "image_url" field.

func ImageURLLT

func ImageURLLT(v string) predicate.Activity

ImageURLLT applies the LT predicate on the "image_url" field.

func ImageURLLTE

func ImageURLLTE(v string) predicate.Activity

ImageURLLTE applies the LTE predicate on the "image_url" field.

func ImageURLNEQ

func ImageURLNEQ(v string) predicate.Activity

ImageURLNEQ applies the NEQ predicate on the "image_url" field.

func ImageURLNotIn

func ImageURLNotIn(vs ...string) predicate.Activity

ImageURLNotIn applies the NotIn predicate on the "image_url" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Activity) predicate.Activity

Or groups predicates with the OR operator between them.

func RawJSON

func RawJSON(v string) predicate.Activity

RawJSON applies equality check predicate on the "raw_json" field. It's identical to RawJSONEQ.

func RawJSONContains

func RawJSONContains(v string) predicate.Activity

RawJSONContains applies the Contains predicate on the "raw_json" field.

func RawJSONContainsFold

func RawJSONContainsFold(v string) predicate.Activity

RawJSONContainsFold applies the ContainsFold predicate on the "raw_json" field.

func RawJSONEQ

func RawJSONEQ(v string) predicate.Activity

RawJSONEQ applies the EQ predicate on the "raw_json" field.

func RawJSONEqualFold

func RawJSONEqualFold(v string) predicate.Activity

RawJSONEqualFold applies the EqualFold predicate on the "raw_json" field.

func RawJSONGT

func RawJSONGT(v string) predicate.Activity

RawJSONGT applies the GT predicate on the "raw_json" field.

func RawJSONGTE

func RawJSONGTE(v string) predicate.Activity

RawJSONGTE applies the GTE predicate on the "raw_json" field.

func RawJSONHasPrefix

func RawJSONHasPrefix(v string) predicate.Activity

RawJSONHasPrefix applies the HasPrefix predicate on the "raw_json" field.

func RawJSONHasSuffix

func RawJSONHasSuffix(v string) predicate.Activity

RawJSONHasSuffix applies the HasSuffix predicate on the "raw_json" field.

func RawJSONIn

func RawJSONIn(vs ...string) predicate.Activity

RawJSONIn applies the In predicate on the "raw_json" field.

func RawJSONLT

func RawJSONLT(v string) predicate.Activity

RawJSONLT applies the LT predicate on the "raw_json" field.

func RawJSONLTE

func RawJSONLTE(v string) predicate.Activity

RawJSONLTE applies the LTE predicate on the "raw_json" field.

func RawJSONNEQ

func RawJSONNEQ(v string) predicate.Activity

RawJSONNEQ applies the NEQ predicate on the "raw_json" field.

func RawJSONNotIn

func RawJSONNotIn(vs ...string) predicate.Activity

RawJSONNotIn applies the NotIn predicate on the "raw_json" field.

func ShortSummary

func ShortSummary(v string) predicate.Activity

ShortSummary applies equality check predicate on the "short_summary" field. It's identical to ShortSummaryEQ.

func ShortSummaryContains

func ShortSummaryContains(v string) predicate.Activity

ShortSummaryContains applies the Contains predicate on the "short_summary" field.

func ShortSummaryContainsFold

func ShortSummaryContainsFold(v string) predicate.Activity

ShortSummaryContainsFold applies the ContainsFold predicate on the "short_summary" field.

func ShortSummaryEQ

func ShortSummaryEQ(v string) predicate.Activity

ShortSummaryEQ applies the EQ predicate on the "short_summary" field.

func ShortSummaryEqualFold

func ShortSummaryEqualFold(v string) predicate.Activity

ShortSummaryEqualFold applies the EqualFold predicate on the "short_summary" field.

func ShortSummaryGT

func ShortSummaryGT(v string) predicate.Activity

ShortSummaryGT applies the GT predicate on the "short_summary" field.

func ShortSummaryGTE

func ShortSummaryGTE(v string) predicate.Activity

ShortSummaryGTE applies the GTE predicate on the "short_summary" field.

func ShortSummaryHasPrefix

func ShortSummaryHasPrefix(v string) predicate.Activity

ShortSummaryHasPrefix applies the HasPrefix predicate on the "short_summary" field.

func ShortSummaryHasSuffix

func ShortSummaryHasSuffix(v string) predicate.Activity

ShortSummaryHasSuffix applies the HasSuffix predicate on the "short_summary" field.

func ShortSummaryIn

func ShortSummaryIn(vs ...string) predicate.Activity

ShortSummaryIn applies the In predicate on the "short_summary" field.

func ShortSummaryLT

func ShortSummaryLT(v string) predicate.Activity

ShortSummaryLT applies the LT predicate on the "short_summary" field.

func ShortSummaryLTE

func ShortSummaryLTE(v string) predicate.Activity

ShortSummaryLTE applies the LTE predicate on the "short_summary" field.

func ShortSummaryNEQ

func ShortSummaryNEQ(v string) predicate.Activity

ShortSummaryNEQ applies the NEQ predicate on the "short_summary" field.

func ShortSummaryNotIn

func ShortSummaryNotIn(vs ...string) predicate.Activity

ShortSummaryNotIn applies the NotIn predicate on the "short_summary" field.

func SocialScore

func SocialScore(v float64) predicate.Activity

SocialScore applies equality check predicate on the "social_score" field. It's identical to SocialScoreEQ.

func SocialScoreEQ

func SocialScoreEQ(v float64) predicate.Activity

SocialScoreEQ applies the EQ predicate on the "social_score" field.

func SocialScoreGT

func SocialScoreGT(v float64) predicate.Activity

SocialScoreGT applies the GT predicate on the "social_score" field.

func SocialScoreGTE

func SocialScoreGTE(v float64) predicate.Activity

SocialScoreGTE applies the GTE predicate on the "social_score" field.

func SocialScoreIn

func SocialScoreIn(vs ...float64) predicate.Activity

SocialScoreIn applies the In predicate on the "social_score" field.

func SocialScoreLT

func SocialScoreLT(v float64) predicate.Activity

SocialScoreLT applies the LT predicate on the "social_score" field.

func SocialScoreLTE

func SocialScoreLTE(v float64) predicate.Activity

SocialScoreLTE applies the LTE predicate on the "social_score" field.

func SocialScoreNEQ

func SocialScoreNEQ(v float64) predicate.Activity

SocialScoreNEQ applies the NEQ predicate on the "social_score" field.

func SocialScoreNotIn

func SocialScoreNotIn(vs ...float64) predicate.Activity

SocialScoreNotIn applies the NotIn predicate on the "social_score" field.

func SourceType

func SourceType(v string) predicate.Activity

SourceType applies equality check predicate on the "source_type" field. It's identical to SourceTypeEQ.

func SourceTypeContains

func SourceTypeContains(v string) predicate.Activity

SourceTypeContains applies the Contains predicate on the "source_type" field.

func SourceTypeContainsFold

func SourceTypeContainsFold(v string) predicate.Activity

SourceTypeContainsFold applies the ContainsFold predicate on the "source_type" field.

func SourceTypeEQ

func SourceTypeEQ(v string) predicate.Activity

SourceTypeEQ applies the EQ predicate on the "source_type" field.

func SourceTypeEqualFold

func SourceTypeEqualFold(v string) predicate.Activity

SourceTypeEqualFold applies the EqualFold predicate on the "source_type" field.

func SourceTypeGT

func SourceTypeGT(v string) predicate.Activity

SourceTypeGT applies the GT predicate on the "source_type" field.

func SourceTypeGTE

func SourceTypeGTE(v string) predicate.Activity

SourceTypeGTE applies the GTE predicate on the "source_type" field.

func SourceTypeHasPrefix

func SourceTypeHasPrefix(v string) predicate.Activity

SourceTypeHasPrefix applies the HasPrefix predicate on the "source_type" field.

func SourceTypeHasSuffix

func SourceTypeHasSuffix(v string) predicate.Activity

SourceTypeHasSuffix applies the HasSuffix predicate on the "source_type" field.

func SourceTypeIn

func SourceTypeIn(vs ...string) predicate.Activity

SourceTypeIn applies the In predicate on the "source_type" field.

func SourceTypeLT

func SourceTypeLT(v string) predicate.Activity

SourceTypeLT applies the LT predicate on the "source_type" field.

func SourceTypeLTE

func SourceTypeLTE(v string) predicate.Activity

SourceTypeLTE applies the LTE predicate on the "source_type" field.

func SourceTypeNEQ

func SourceTypeNEQ(v string) predicate.Activity

SourceTypeNEQ applies the NEQ predicate on the "source_type" field.

func SourceTypeNotIn

func SourceTypeNotIn(vs ...string) predicate.Activity

SourceTypeNotIn applies the NotIn predicate on the "source_type" field.

func Title

func Title(v string) predicate.Activity

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

func TitleContains

func TitleContains(v string) predicate.Activity

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

func TitleContainsFold

func TitleContainsFold(v string) predicate.Activity

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

func TitleEQ

func TitleEQ(v string) predicate.Activity

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

func TitleEqualFold

func TitleEqualFold(v string) predicate.Activity

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

func TitleGT

func TitleGT(v string) predicate.Activity

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

func TitleGTE

func TitleGTE(v string) predicate.Activity

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

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Activity

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

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Activity

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

func TitleIn

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

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

func TitleLT

func TitleLT(v string) predicate.Activity

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

func TitleLTE

func TitleLTE(v string) predicate.Activity

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

func TitleNEQ

func TitleNEQ(v string) predicate.Activity

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

func TitleNotIn

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

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

func UID

func UID(v string) predicate.Activity

UID applies equality check predicate on the "uid" field. It's identical to UIDEQ.

func UIDContains

func UIDContains(v string) predicate.Activity

UIDContains applies the Contains predicate on the "uid" field.

func UIDContainsFold

func UIDContainsFold(v string) predicate.Activity

UIDContainsFold applies the ContainsFold predicate on the "uid" field.

func UIDEQ

func UIDEQ(v string) predicate.Activity

UIDEQ applies the EQ predicate on the "uid" field.

func UIDEqualFold

func UIDEqualFold(v string) predicate.Activity

UIDEqualFold applies the EqualFold predicate on the "uid" field.

func UIDGT

func UIDGT(v string) predicate.Activity

UIDGT applies the GT predicate on the "uid" field.

func UIDGTE

func UIDGTE(v string) predicate.Activity

UIDGTE applies the GTE predicate on the "uid" field.

func UIDHasPrefix

func UIDHasPrefix(v string) predicate.Activity

UIDHasPrefix applies the HasPrefix predicate on the "uid" field.

func UIDHasSuffix

func UIDHasSuffix(v string) predicate.Activity

UIDHasSuffix applies the HasSuffix predicate on the "uid" field.

func UIDIn

func UIDIn(vs ...string) predicate.Activity

UIDIn applies the In predicate on the "uid" field.

func UIDLT

func UIDLT(v string) predicate.Activity

UIDLT applies the LT predicate on the "uid" field.

func UIDLTE

func UIDLTE(v string) predicate.Activity

UIDLTE applies the LTE predicate on the "uid" field.

func UIDNEQ

func UIDNEQ(v string) predicate.Activity

UIDNEQ applies the NEQ predicate on the "uid" field.

func UIDNotIn

func UIDNotIn(vs ...string) predicate.Activity

UIDNotIn applies the NotIn predicate on the "uid" field.

func URL

func URL(v string) predicate.Activity

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Activity

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Activity

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Activity

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Activity

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Activity

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Activity

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Activity

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Activity

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Activity

URLIn applies the In predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Activity

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Activity

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Activity

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Activity

URLNotIn applies the NotIn predicate on the "url" field.

func UpdateCount

func UpdateCount(v int) predicate.Activity

UpdateCount applies equality check predicate on the "update_count" field. It's identical to UpdateCountEQ.

func UpdateCountEQ

func UpdateCountEQ(v int) predicate.Activity

UpdateCountEQ applies the EQ predicate on the "update_count" field.

func UpdateCountGT

func UpdateCountGT(v int) predicate.Activity

UpdateCountGT applies the GT predicate on the "update_count" field.

func UpdateCountGTE

func UpdateCountGTE(v int) predicate.Activity

UpdateCountGTE applies the GTE predicate on the "update_count" field.

func UpdateCountIn

func UpdateCountIn(vs ...int) predicate.Activity

UpdateCountIn applies the In predicate on the "update_count" field.

func UpdateCountLT

func UpdateCountLT(v int) predicate.Activity

UpdateCountLT applies the LT predicate on the "update_count" field.

func UpdateCountLTE

func UpdateCountLTE(v int) predicate.Activity

UpdateCountLTE applies the LTE predicate on the "update_count" field.

func UpdateCountNEQ

func UpdateCountNEQ(v int) predicate.Activity

UpdateCountNEQ applies the NEQ predicate on the "update_count" field.

func UpdateCountNotIn

func UpdateCountNotIn(vs ...int) predicate.Activity

UpdateCountNotIn applies the NotIn predicate on the "update_count" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Activity queries.

func ByBody

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

ByBody orders the results by the body field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEmbedding1536

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

ByEmbedding1536 orders the results by the embedding_1536 field.

func ByEmbedding3072

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

ByEmbedding3072 orders the results by the embedding_3072 field.

func ByFullSummary

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

ByFullSummary orders the results by the full_summary field.

func ByID

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

ByID orders the results by the id field.

func ByImageURL

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

ByImageURL orders the results by the image_url field.

func ByRawJSON

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

ByRawJSON orders the results by the raw_json field.

func ByShortSummary

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

ByShortSummary orders the results by the short_summary field.

func BySocialScore

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

BySocialScore orders the results by the social_score field.

func BySourceType

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

BySourceType orders the results by the source_type field.

func ByTitle

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

ByTitle orders the results by the title field.

func ByUID

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

ByUID orders the results by the uid field.

func ByURL

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

ByURL orders the results by the url field.

func ByUpdateCount

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

ByUpdateCount orders the results by the update_count field.

Jump to

Keyboard shortcuts

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