Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Activity) predicate.Activity
- func Body(v string) predicate.Activity
- func BodyContains(v string) predicate.Activity
- func BodyContainsFold(v string) predicate.Activity
- func BodyEQ(v string) predicate.Activity
- func BodyEqualFold(v string) predicate.Activity
- func BodyGT(v string) predicate.Activity
- func BodyGTE(v string) predicate.Activity
- func BodyHasPrefix(v string) predicate.Activity
- func BodyHasSuffix(v string) predicate.Activity
- func BodyIn(vs ...string) predicate.Activity
- func BodyLT(v string) predicate.Activity
- func BodyLTE(v string) predicate.Activity
- func BodyNEQ(v string) predicate.Activity
- func BodyNotIn(vs ...string) predicate.Activity
- func CreatedAt(v time.Time) predicate.Activity
- func CreatedAtEQ(v time.Time) predicate.Activity
- func CreatedAtGT(v time.Time) predicate.Activity
- func CreatedAtGTE(v time.Time) predicate.Activity
- func CreatedAtIn(vs ...time.Time) predicate.Activity
- func CreatedAtLT(v time.Time) predicate.Activity
- func CreatedAtLTE(v time.Time) predicate.Activity
- func CreatedAtNEQ(v time.Time) predicate.Activity
- func CreatedAtNotIn(vs ...time.Time) predicate.Activity
- func Embedding1536(v pgvector.Vector) predicate.Activity
- func Embedding1536EQ(v pgvector.Vector) predicate.Activity
- func Embedding1536GT(v pgvector.Vector) predicate.Activity
- func Embedding1536GTE(v pgvector.Vector) predicate.Activity
- func Embedding1536In(vs ...pgvector.Vector) predicate.Activity
- func Embedding1536IsNil() predicate.Activity
- func Embedding1536LT(v pgvector.Vector) predicate.Activity
- func Embedding1536LTE(v pgvector.Vector) predicate.Activity
- func Embedding1536NEQ(v pgvector.Vector) predicate.Activity
- func Embedding1536NotIn(vs ...pgvector.Vector) predicate.Activity
- func Embedding1536NotNil() predicate.Activity
- func Embedding3072(v pgvector.Vector) predicate.Activity
- func Embedding3072EQ(v pgvector.Vector) predicate.Activity
- func Embedding3072GT(v pgvector.Vector) predicate.Activity
- func Embedding3072GTE(v pgvector.Vector) predicate.Activity
- func Embedding3072In(vs ...pgvector.Vector) predicate.Activity
- func Embedding3072IsNil() predicate.Activity
- func Embedding3072LT(v pgvector.Vector) predicate.Activity
- func Embedding3072LTE(v pgvector.Vector) predicate.Activity
- func Embedding3072NEQ(v pgvector.Vector) predicate.Activity
- func Embedding3072NotIn(vs ...pgvector.Vector) predicate.Activity
- func Embedding3072NotNil() predicate.Activity
- func FullSummary(v string) predicate.Activity
- func FullSummaryContains(v string) predicate.Activity
- func FullSummaryContainsFold(v string) predicate.Activity
- func FullSummaryEQ(v string) predicate.Activity
- func FullSummaryEqualFold(v string) predicate.Activity
- func FullSummaryGT(v string) predicate.Activity
- func FullSummaryGTE(v string) predicate.Activity
- func FullSummaryHasPrefix(v string) predicate.Activity
- func FullSummaryHasSuffix(v string) predicate.Activity
- func FullSummaryIn(vs ...string) predicate.Activity
- func FullSummaryLT(v string) predicate.Activity
- func FullSummaryLTE(v string) predicate.Activity
- func FullSummaryNEQ(v string) predicate.Activity
- func FullSummaryNotIn(vs ...string) predicate.Activity
- func ID(id string) predicate.Activity
- func IDContainsFold(id string) predicate.Activity
- func IDEQ(id string) predicate.Activity
- func IDEqualFold(id string) predicate.Activity
- func IDGT(id string) predicate.Activity
- func IDGTE(id string) predicate.Activity
- func IDIn(ids ...string) predicate.Activity
- func IDLT(id string) predicate.Activity
- func IDLTE(id string) predicate.Activity
- func IDNEQ(id string) predicate.Activity
- func IDNotIn(ids ...string) predicate.Activity
- func ImageURL(v string) predicate.Activity
- func ImageURLContains(v string) predicate.Activity
- func ImageURLContainsFold(v string) predicate.Activity
- func ImageURLEQ(v string) predicate.Activity
- func ImageURLEqualFold(v string) predicate.Activity
- func ImageURLGT(v string) predicate.Activity
- func ImageURLGTE(v string) predicate.Activity
- func ImageURLHasPrefix(v string) predicate.Activity
- func ImageURLHasSuffix(v string) predicate.Activity
- func ImageURLIn(vs ...string) predicate.Activity
- func ImageURLLT(v string) predicate.Activity
- func ImageURLLTE(v string) predicate.Activity
- func ImageURLNEQ(v string) predicate.Activity
- func ImageURLNotIn(vs ...string) predicate.Activity
- func Not(p predicate.Activity) predicate.Activity
- func Or(predicates ...predicate.Activity) predicate.Activity
- func RawJSON(v string) predicate.Activity
- func RawJSONContains(v string) predicate.Activity
- func RawJSONContainsFold(v string) predicate.Activity
- func RawJSONEQ(v string) predicate.Activity
- func RawJSONEqualFold(v string) predicate.Activity
- func RawJSONGT(v string) predicate.Activity
- func RawJSONGTE(v string) predicate.Activity
- func RawJSONHasPrefix(v string) predicate.Activity
- func RawJSONHasSuffix(v string) predicate.Activity
- func RawJSONIn(vs ...string) predicate.Activity
- func RawJSONLT(v string) predicate.Activity
- func RawJSONLTE(v string) predicate.Activity
- func RawJSONNEQ(v string) predicate.Activity
- func RawJSONNotIn(vs ...string) predicate.Activity
- func ShortSummary(v string) predicate.Activity
- func ShortSummaryContains(v string) predicate.Activity
- func ShortSummaryContainsFold(v string) predicate.Activity
- func ShortSummaryEQ(v string) predicate.Activity
- func ShortSummaryEqualFold(v string) predicate.Activity
- func ShortSummaryGT(v string) predicate.Activity
- func ShortSummaryGTE(v string) predicate.Activity
- func ShortSummaryHasPrefix(v string) predicate.Activity
- func ShortSummaryHasSuffix(v string) predicate.Activity
- func ShortSummaryIn(vs ...string) predicate.Activity
- func ShortSummaryLT(v string) predicate.Activity
- func ShortSummaryLTE(v string) predicate.Activity
- func ShortSummaryNEQ(v string) predicate.Activity
- func ShortSummaryNotIn(vs ...string) predicate.Activity
- func SocialScore(v float64) predicate.Activity
- func SocialScoreEQ(v float64) predicate.Activity
- func SocialScoreGT(v float64) predicate.Activity
- func SocialScoreGTE(v float64) predicate.Activity
- func SocialScoreIn(vs ...float64) predicate.Activity
- func SocialScoreLT(v float64) predicate.Activity
- func SocialScoreLTE(v float64) predicate.Activity
- func SocialScoreNEQ(v float64) predicate.Activity
- func SocialScoreNotIn(vs ...float64) predicate.Activity
- func SourceType(v string) predicate.Activity
- func SourceTypeContains(v string) predicate.Activity
- func SourceTypeContainsFold(v string) predicate.Activity
- func SourceTypeEQ(v string) predicate.Activity
- func SourceTypeEqualFold(v string) predicate.Activity
- func SourceTypeGT(v string) predicate.Activity
- func SourceTypeGTE(v string) predicate.Activity
- func SourceTypeHasPrefix(v string) predicate.Activity
- func SourceTypeHasSuffix(v string) predicate.Activity
- func SourceTypeIn(vs ...string) predicate.Activity
- func SourceTypeLT(v string) predicate.Activity
- func SourceTypeLTE(v string) predicate.Activity
- func SourceTypeNEQ(v string) predicate.Activity
- func SourceTypeNotIn(vs ...string) predicate.Activity
- func Title(v string) predicate.Activity
- func TitleContains(v string) predicate.Activity
- func TitleContainsFold(v string) predicate.Activity
- func TitleEQ(v string) predicate.Activity
- func TitleEqualFold(v string) predicate.Activity
- func TitleGT(v string) predicate.Activity
- func TitleGTE(v string) predicate.Activity
- func TitleHasPrefix(v string) predicate.Activity
- func TitleHasSuffix(v string) predicate.Activity
- func TitleIn(vs ...string) predicate.Activity
- func TitleLT(v string) predicate.Activity
- func TitleLTE(v string) predicate.Activity
- func TitleNEQ(v string) predicate.Activity
- func TitleNotIn(vs ...string) predicate.Activity
- func UID(v string) predicate.Activity
- func UIDContains(v string) predicate.Activity
- func UIDContainsFold(v string) predicate.Activity
- func UIDEQ(v string) predicate.Activity
- func UIDEqualFold(v string) predicate.Activity
- func UIDGT(v string) predicate.Activity
- func UIDGTE(v string) predicate.Activity
- func UIDHasPrefix(v string) predicate.Activity
- func UIDHasSuffix(v string) predicate.Activity
- func UIDIn(vs ...string) predicate.Activity
- func UIDLT(v string) predicate.Activity
- func UIDLTE(v string) predicate.Activity
- func UIDNEQ(v string) predicate.Activity
- func UIDNotIn(vs ...string) predicate.Activity
- func URL(v string) predicate.Activity
- func URLContains(v string) predicate.Activity
- func URLContainsFold(v string) predicate.Activity
- func URLEQ(v string) predicate.Activity
- func URLEqualFold(v string) predicate.Activity
- func URLGT(v string) predicate.Activity
- func URLGTE(v string) predicate.Activity
- func URLHasPrefix(v string) predicate.Activity
- func URLHasSuffix(v string) predicate.Activity
- func URLIn(vs ...string) predicate.Activity
- func URLLT(v string) predicate.Activity
- func URLLTE(v string) predicate.Activity
- func URLNEQ(v string) predicate.Activity
- func URLNotIn(vs ...string) predicate.Activity
- func UpdateCount(v int) predicate.Activity
- func UpdateCountEQ(v int) predicate.Activity
- func UpdateCountGT(v int) predicate.Activity
- func UpdateCountGTE(v int) predicate.Activity
- func UpdateCountIn(vs ...int) predicate.Activity
- func UpdateCountLT(v int) predicate.Activity
- func UpdateCountLTE(v int) predicate.Activity
- func UpdateCountNEQ(v int) predicate.Activity
- func UpdateCountNotIn(vs ...int) predicate.Activity
- func ValidColumn(column string) bool
- type OrderOption
- func ByBody(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmbedding1536(opts ...sql.OrderTermOption) OrderOption
- func ByEmbedding3072(opts ...sql.OrderTermOption) OrderOption
- func ByFullSummary(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByImageURL(opts ...sql.OrderTermOption) OrderOption
- func ByRawJSON(opts ...sql.OrderTermOption) OrderOption
- func ByShortSummary(opts ...sql.OrderTermOption) OrderOption
- func BySocialScore(opts ...sql.OrderTermOption) OrderOption
- func BySourceType(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUID(opts ...sql.OrderTermOption) OrderOption
- func ByURL(opts ...sql.OrderTermOption) OrderOption
- func ByUpdateCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldUID, FieldSourceUids, FieldSourceType, FieldTitle, FieldBody, FieldURL, FieldImageURL, FieldCreatedAt, FieldShortSummary, FieldFullSummary, FieldRawJSON, FieldEmbedding1536, FieldEmbedding3072, FieldSocialScore, FieldUpdateCount, }
Columns holds all SQL columns for activity fields.
Functions ¶
func BodyContains ¶
BodyContains applies the Contains predicate on the "body" field.
func BodyContainsFold ¶
BodyContainsFold applies the ContainsFold predicate on the "body" field.
func BodyEqualFold ¶
BodyEqualFold applies the EqualFold predicate on the "body" field.
func BodyHasPrefix ¶
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
func BodyHasSuffix ¶
BodyHasSuffix applies the HasSuffix predicate on the "body" 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 Embedding1536 ¶
Embedding1536 applies equality check predicate on the "embedding_1536" field. It's identical to Embedding1536EQ.
func Embedding1536EQ ¶
Embedding1536EQ applies the EQ predicate on the "embedding_1536" field.
func Embedding1536GT ¶
Embedding1536GT applies the GT predicate on the "embedding_1536" field.
func Embedding1536GTE ¶
Embedding1536GTE applies the GTE predicate on the "embedding_1536" field.
func Embedding1536In ¶
Embedding1536In applies the In predicate on the "embedding_1536" field.
func Embedding1536IsNil ¶
Embedding1536IsNil applies the IsNil predicate on the "embedding_1536" field.
func Embedding1536LT ¶
Embedding1536LT applies the LT predicate on the "embedding_1536" field.
func Embedding1536LTE ¶
Embedding1536LTE applies the LTE predicate on the "embedding_1536" field.
func Embedding1536NEQ ¶
Embedding1536NEQ applies the NEQ predicate on the "embedding_1536" field.
func Embedding1536NotIn ¶
Embedding1536NotIn applies the NotIn predicate on the "embedding_1536" field.
func Embedding1536NotNil ¶
Embedding1536NotNil applies the NotNil predicate on the "embedding_1536" field.
func Embedding3072 ¶
Embedding3072 applies equality check predicate on the "embedding_3072" field. It's identical to Embedding3072EQ.
func Embedding3072EQ ¶
Embedding3072EQ applies the EQ predicate on the "embedding_3072" field.
func Embedding3072GT ¶
Embedding3072GT applies the GT predicate on the "embedding_3072" field.
func Embedding3072GTE ¶
Embedding3072GTE applies the GTE predicate on the "embedding_3072" field.
func Embedding3072In ¶
Embedding3072In applies the In predicate on the "embedding_3072" field.
func Embedding3072IsNil ¶
Embedding3072IsNil applies the IsNil predicate on the "embedding_3072" field.
func Embedding3072LT ¶
Embedding3072LT applies the LT predicate on the "embedding_3072" field.
func Embedding3072LTE ¶
Embedding3072LTE applies the LTE predicate on the "embedding_3072" field.
func Embedding3072NEQ ¶
Embedding3072NEQ applies the NEQ predicate on the "embedding_3072" field.
func Embedding3072NotIn ¶
Embedding3072NotIn applies the NotIn predicate on the "embedding_3072" field.
func Embedding3072NotNil ¶
Embedding3072NotNil applies the NotNil predicate on the "embedding_3072" field.
func FullSummary ¶
FullSummary applies equality check predicate on the "full_summary" field. It's identical to FullSummaryEQ.
func FullSummaryContains ¶
FullSummaryContains applies the Contains predicate on the "full_summary" field.
func FullSummaryContainsFold ¶
FullSummaryContainsFold applies the ContainsFold predicate on the "full_summary" field.
func FullSummaryEQ ¶
FullSummaryEQ applies the EQ predicate on the "full_summary" field.
func FullSummaryEqualFold ¶
FullSummaryEqualFold applies the EqualFold predicate on the "full_summary" field.
func FullSummaryGT ¶
FullSummaryGT applies the GT predicate on the "full_summary" field.
func FullSummaryGTE ¶
FullSummaryGTE applies the GTE predicate on the "full_summary" field.
func FullSummaryHasPrefix ¶
FullSummaryHasPrefix applies the HasPrefix predicate on the "full_summary" field.
func FullSummaryHasSuffix ¶
FullSummaryHasSuffix applies the HasSuffix predicate on the "full_summary" field.
func FullSummaryIn ¶
FullSummaryIn applies the In predicate on the "full_summary" field.
func FullSummaryLT ¶
FullSummaryLT applies the LT predicate on the "full_summary" field.
func FullSummaryLTE ¶
FullSummaryLTE applies the LTE predicate on the "full_summary" field.
func FullSummaryNEQ ¶
FullSummaryNEQ applies the NEQ predicate on the "full_summary" field.
func FullSummaryNotIn ¶
FullSummaryNotIn applies the NotIn predicate on the "full_summary" field.
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func ImageURL ¶
ImageURL applies equality check predicate on the "image_url" field. It's identical to ImageURLEQ.
func ImageURLContains ¶
ImageURLContains applies the Contains predicate on the "image_url" field.
func ImageURLContainsFold ¶
ImageURLContainsFold applies the ContainsFold predicate on the "image_url" field.
func ImageURLEQ ¶
ImageURLEQ applies the EQ predicate on the "image_url" field.
func ImageURLEqualFold ¶
ImageURLEqualFold applies the EqualFold predicate on the "image_url" field.
func ImageURLGT ¶
ImageURLGT applies the GT predicate on the "image_url" field.
func ImageURLGTE ¶
ImageURLGTE applies the GTE predicate on the "image_url" field.
func ImageURLHasPrefix ¶
ImageURLHasPrefix applies the HasPrefix predicate on the "image_url" field.
func ImageURLHasSuffix ¶
ImageURLHasSuffix applies the HasSuffix predicate on the "image_url" field.
func ImageURLIn ¶
ImageURLIn applies the In predicate on the "image_url" field.
func ImageURLLT ¶
ImageURLLT applies the LT predicate on the "image_url" field.
func ImageURLLTE ¶
ImageURLLTE applies the LTE predicate on the "image_url" field.
func ImageURLNEQ ¶
ImageURLNEQ applies the NEQ predicate on the "image_url" field.
func ImageURLNotIn ¶
ImageURLNotIn applies the NotIn predicate on the "image_url" field.
func RawJSON ¶
RawJSON applies equality check predicate on the "raw_json" field. It's identical to RawJSONEQ.
func RawJSONContains ¶
RawJSONContains applies the Contains predicate on the "raw_json" field.
func RawJSONContainsFold ¶
RawJSONContainsFold applies the ContainsFold predicate on the "raw_json" field.
func RawJSONEqualFold ¶
RawJSONEqualFold applies the EqualFold predicate on the "raw_json" field.
func RawJSONGTE ¶
RawJSONGTE applies the GTE predicate on the "raw_json" field.
func RawJSONHasPrefix ¶
RawJSONHasPrefix applies the HasPrefix predicate on the "raw_json" field.
func RawJSONHasSuffix ¶
RawJSONHasSuffix applies the HasSuffix predicate on the "raw_json" field.
func RawJSONLTE ¶
RawJSONLTE applies the LTE predicate on the "raw_json" field.
func RawJSONNEQ ¶
RawJSONNEQ applies the NEQ predicate on the "raw_json" field.
func RawJSONNotIn ¶
RawJSONNotIn applies the NotIn predicate on the "raw_json" field.
func ShortSummary ¶
ShortSummary applies equality check predicate on the "short_summary" field. It's identical to ShortSummaryEQ.
func ShortSummaryContains ¶
ShortSummaryContains applies the Contains predicate on the "short_summary" field.
func ShortSummaryContainsFold ¶
ShortSummaryContainsFold applies the ContainsFold predicate on the "short_summary" field.
func ShortSummaryEQ ¶
ShortSummaryEQ applies the EQ predicate on the "short_summary" field.
func ShortSummaryEqualFold ¶
ShortSummaryEqualFold applies the EqualFold predicate on the "short_summary" field.
func ShortSummaryGT ¶
ShortSummaryGT applies the GT predicate on the "short_summary" field.
func ShortSummaryGTE ¶
ShortSummaryGTE applies the GTE predicate on the "short_summary" field.
func ShortSummaryHasPrefix ¶
ShortSummaryHasPrefix applies the HasPrefix predicate on the "short_summary" field.
func ShortSummaryHasSuffix ¶
ShortSummaryHasSuffix applies the HasSuffix predicate on the "short_summary" field.
func ShortSummaryIn ¶
ShortSummaryIn applies the In predicate on the "short_summary" field.
func ShortSummaryLT ¶
ShortSummaryLT applies the LT predicate on the "short_summary" field.
func ShortSummaryLTE ¶
ShortSummaryLTE applies the LTE predicate on the "short_summary" field.
func ShortSummaryNEQ ¶
ShortSummaryNEQ applies the NEQ predicate on the "short_summary" field.
func ShortSummaryNotIn ¶
ShortSummaryNotIn applies the NotIn predicate on the "short_summary" field.
func SocialScore ¶
SocialScore applies equality check predicate on the "social_score" field. It's identical to SocialScoreEQ.
func SocialScoreEQ ¶
SocialScoreEQ applies the EQ predicate on the "social_score" field.
func SocialScoreGT ¶
SocialScoreGT applies the GT predicate on the "social_score" field.
func SocialScoreGTE ¶
SocialScoreGTE applies the GTE predicate on the "social_score" field.
func SocialScoreIn ¶
SocialScoreIn applies the In predicate on the "social_score" field.
func SocialScoreLT ¶
SocialScoreLT applies the LT predicate on the "social_score" field.
func SocialScoreLTE ¶
SocialScoreLTE applies the LTE predicate on the "social_score" field.
func SocialScoreNEQ ¶
SocialScoreNEQ applies the NEQ predicate on the "social_score" field.
func SocialScoreNotIn ¶
SocialScoreNotIn applies the NotIn predicate on the "social_score" field.
func SourceType ¶
SourceType applies equality check predicate on the "source_type" field. It's identical to SourceTypeEQ.
func SourceTypeContains ¶
SourceTypeContains applies the Contains predicate on the "source_type" field.
func SourceTypeContainsFold ¶
SourceTypeContainsFold applies the ContainsFold predicate on the "source_type" field.
func SourceTypeEQ ¶
SourceTypeEQ applies the EQ predicate on the "source_type" field.
func SourceTypeEqualFold ¶
SourceTypeEqualFold applies the EqualFold predicate on the "source_type" field.
func SourceTypeGT ¶
SourceTypeGT applies the GT predicate on the "source_type" field.
func SourceTypeGTE ¶
SourceTypeGTE applies the GTE predicate on the "source_type" field.
func SourceTypeHasPrefix ¶
SourceTypeHasPrefix applies the HasPrefix predicate on the "source_type" field.
func SourceTypeHasSuffix ¶
SourceTypeHasSuffix applies the HasSuffix predicate on the "source_type" field.
func SourceTypeIn ¶
SourceTypeIn applies the In predicate on the "source_type" field.
func SourceTypeLT ¶
SourceTypeLT applies the LT predicate on the "source_type" field.
func SourceTypeLTE ¶
SourceTypeLTE applies the LTE predicate on the "source_type" field.
func SourceTypeNEQ ¶
SourceTypeNEQ applies the NEQ predicate on the "source_type" field.
func SourceTypeNotIn ¶
SourceTypeNotIn applies the NotIn predicate on the "source_type" 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 TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func UIDContains ¶
UIDContains applies the Contains predicate on the "uid" field.
func UIDContainsFold ¶
UIDContainsFold applies the ContainsFold predicate on the "uid" field.
func UIDEqualFold ¶
UIDEqualFold applies the EqualFold predicate on the "uid" field.
func UIDHasPrefix ¶
UIDHasPrefix applies the HasPrefix predicate on the "uid" field.
func UIDHasSuffix ¶
UIDHasSuffix applies the HasSuffix predicate on the "uid" field.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func UpdateCount ¶
UpdateCount applies equality check predicate on the "update_count" field. It's identical to UpdateCountEQ.
func UpdateCountEQ ¶
UpdateCountEQ applies the EQ predicate on the "update_count" field.
func UpdateCountGT ¶
UpdateCountGT applies the GT predicate on the "update_count" field.
func UpdateCountGTE ¶
UpdateCountGTE applies the GTE predicate on the "update_count" field.
func UpdateCountIn ¶
UpdateCountIn applies the In predicate on the "update_count" field.
func UpdateCountLT ¶
UpdateCountLT applies the LT predicate on the "update_count" field.
func UpdateCountLTE ¶
UpdateCountLTE applies the LTE predicate on the "update_count" field.
func UpdateCountNEQ ¶
UpdateCountNEQ applies the NEQ predicate on the "update_count" field.
func UpdateCountNotIn ¶
UpdateCountNotIn applies the NotIn predicate on the "update_count" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.