retweet_feature

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the retweet_feature type in the database.
	Label = "retweet_feature"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldFromAccountID holds the string denoting the from_account_id field in the database.
	FieldFromAccountID = "from_account_id"
	// FieldRetweet holds the string denoting the retweet field in the database.
	FieldRetweet = "retweet"
	// FieldPostID holds the string denoting the post_id field in the database.
	FieldPostID = "post_id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// Table holds the table name of the retweet_feature in the database.
	Table = "retweet_features"
)

Variables

View Source
var (
	// DefaultRetweet holds the default value on creation for the "retweet" field.
	DefaultRetweet bool
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt time.Time
)

Columns holds all SQL columns for retweet_feature fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Retweet_feature

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Retweet_feature

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Retweet_feature

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Retweet_feature

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Retweet_feature

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Retweet_feature

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Retweet_feature

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

func CreatedAtNotIn

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

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

func FromAccountID

func FromAccountID(v int64) predicate.Retweet_feature

FromAccountID applies equality check predicate on the "from_account_id" field. It's identical to FromAccountIDEQ.

func FromAccountIDEQ

func FromAccountIDEQ(v int64) predicate.Retweet_feature

FromAccountIDEQ applies the EQ predicate on the "from_account_id" field.

func FromAccountIDGT

func FromAccountIDGT(v int64) predicate.Retweet_feature

FromAccountIDGT applies the GT predicate on the "from_account_id" field.

func FromAccountIDGTE

func FromAccountIDGTE(v int64) predicate.Retweet_feature

FromAccountIDGTE applies the GTE predicate on the "from_account_id" field.

func FromAccountIDIn

func FromAccountIDIn(vs ...int64) predicate.Retweet_feature

FromAccountIDIn applies the In predicate on the "from_account_id" field.

func FromAccountIDLT

func FromAccountIDLT(v int64) predicate.Retweet_feature

FromAccountIDLT applies the LT predicate on the "from_account_id" field.

func FromAccountIDLTE

func FromAccountIDLTE(v int64) predicate.Retweet_feature

FromAccountIDLTE applies the LTE predicate on the "from_account_id" field.

func FromAccountIDNEQ

func FromAccountIDNEQ(v int64) predicate.Retweet_feature

FromAccountIDNEQ applies the NEQ predicate on the "from_account_id" field.

func FromAccountIDNotIn

func FromAccountIDNotIn(vs ...int64) predicate.Retweet_feature

FromAccountIDNotIn applies the NotIn predicate on the "from_account_id" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Retweet_feature

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Retweet_feature

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Retweet_feature

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Retweet_feature

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Retweet_feature

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Retweet_feature

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Retweet_feature

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Retweet_feature

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PostID

PostID applies equality check predicate on the "post_id" field. It's identical to PostIDEQ.

func PostIDEQ

func PostIDEQ(v uuid.UUID) predicate.Retweet_feature

PostIDEQ applies the EQ predicate on the "post_id" field.

func PostIDGT

func PostIDGT(v uuid.UUID) predicate.Retweet_feature

PostIDGT applies the GT predicate on the "post_id" field.

func PostIDGTE

func PostIDGTE(v uuid.UUID) predicate.Retweet_feature

PostIDGTE applies the GTE predicate on the "post_id" field.

func PostIDIn

func PostIDIn(vs ...uuid.UUID) predicate.Retweet_feature

PostIDIn applies the In predicate on the "post_id" field.

func PostIDLT

func PostIDLT(v uuid.UUID) predicate.Retweet_feature

PostIDLT applies the LT predicate on the "post_id" field.

func PostIDLTE

func PostIDLTE(v uuid.UUID) predicate.Retweet_feature

PostIDLTE applies the LTE predicate on the "post_id" field.

func PostIDNEQ

func PostIDNEQ(v uuid.UUID) predicate.Retweet_feature

PostIDNEQ applies the NEQ predicate on the "post_id" field.

func PostIDNotIn

func PostIDNotIn(vs ...uuid.UUID) predicate.Retweet_feature

PostIDNotIn applies the NotIn predicate on the "post_id" field.

func Retweet

func Retweet(v bool) predicate.Retweet_feature

Retweet applies equality check predicate on the "retweet" field. It's identical to RetweetEQ.

func RetweetEQ

func RetweetEQ(v bool) predicate.Retweet_feature

RetweetEQ applies the EQ predicate on the "retweet" field.

func RetweetNEQ

func RetweetNEQ(v bool) predicate.Retweet_feature

RetweetNEQ applies the NEQ predicate on the "retweet" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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