rdmoment

package
v0.0.0-...-aa092f0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the rdmoment type in the database.
	Label = "rd_moment"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldByUID holds the string denoting the by_uid field in the database.
	FieldByUID = "by_uid"
	// FieldTxt holds the string denoting the txt field in the database.
	FieldTxt = "txt"
	// FieldImgs holds the string denoting the imgs field in the database.
	FieldImgs = "imgs"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldPublishTime holds the string denoting the publish_time field in the database.
	FieldPublishTime = "publish_time"
	// Table holds the table name of the rdmoment in the database.
	Table = "rd_moment"
)

Variables

View Source
var (
	// DefaultType holds the default value on creation for the "type" field.
	DefaultType int32
	// DefaultPublishTime holds the default value on creation for the "publish_time" field.
	DefaultPublishTime func() time.Time
)

Columns holds all SQL columns for rdmoment fields.

Functions

func And

func And(predicates ...predicate.RdMoment) predicate.RdMoment

And groups predicates with the AND operator between them.

func ByUID

func ByUID(v int32) predicate.RdMoment

ByUID applies equality check predicate on the "by_uid" field. It's identical to ByUIDEQ.

func ByUIDEQ

func ByUIDEQ(v int32) predicate.RdMoment

ByUIDEQ applies the EQ predicate on the "by_uid" field.

func ByUIDGT

func ByUIDGT(v int32) predicate.RdMoment

ByUIDGT applies the GT predicate on the "by_uid" field.

func ByUIDGTE

func ByUIDGTE(v int32) predicate.RdMoment

ByUIDGTE applies the GTE predicate on the "by_uid" field.

func ByUIDIn

func ByUIDIn(vs ...int32) predicate.RdMoment

ByUIDIn applies the In predicate on the "by_uid" field.

func ByUIDIsNil

func ByUIDIsNil() predicate.RdMoment

ByUIDIsNil applies the IsNil predicate on the "by_uid" field.

func ByUIDLT

func ByUIDLT(v int32) predicate.RdMoment

ByUIDLT applies the LT predicate on the "by_uid" field.

func ByUIDLTE

func ByUIDLTE(v int32) predicate.RdMoment

ByUIDLTE applies the LTE predicate on the "by_uid" field.

func ByUIDNEQ

func ByUIDNEQ(v int32) predicate.RdMoment

ByUIDNEQ applies the NEQ predicate on the "by_uid" field.

func ByUIDNotIn

func ByUIDNotIn(vs ...int32) predicate.RdMoment

ByUIDNotIn applies the NotIn predicate on the "by_uid" field.

func ByUIDNotNil

func ByUIDNotNil() predicate.RdMoment

ByUIDNotNil applies the NotNil predicate on the "by_uid" field.

func ID

func ID(id int64) predicate.RdMoment

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.RdMoment

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.RdMoment

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.RdMoment

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.RdMoment

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.RdMoment

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.RdMoment

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.RdMoment) predicate.RdMoment

Or groups predicates with the OR operator between them.

func PublishTime

func PublishTime(v time.Time) predicate.RdMoment

PublishTime applies equality check predicate on the "publish_time" field. It's identical to PublishTimeEQ.

func PublishTimeEQ

func PublishTimeEQ(v time.Time) predicate.RdMoment

PublishTimeEQ applies the EQ predicate on the "publish_time" field.

func PublishTimeGT

func PublishTimeGT(v time.Time) predicate.RdMoment

PublishTimeGT applies the GT predicate on the "publish_time" field.

func PublishTimeGTE

func PublishTimeGTE(v time.Time) predicate.RdMoment

PublishTimeGTE applies the GTE predicate on the "publish_time" field.

func PublishTimeIn

func PublishTimeIn(vs ...time.Time) predicate.RdMoment

PublishTimeIn applies the In predicate on the "publish_time" field.

func PublishTimeLT

func PublishTimeLT(v time.Time) predicate.RdMoment

PublishTimeLT applies the LT predicate on the "publish_time" field.

func PublishTimeLTE

func PublishTimeLTE(v time.Time) predicate.RdMoment

PublishTimeLTE applies the LTE predicate on the "publish_time" field.

func PublishTimeNEQ

func PublishTimeNEQ(v time.Time) predicate.RdMoment

PublishTimeNEQ applies the NEQ predicate on the "publish_time" field.

func PublishTimeNotIn

func PublishTimeNotIn(vs ...time.Time) predicate.RdMoment

PublishTimeNotIn applies the NotIn predicate on the "publish_time" field.

func Status

func Status(v int32) predicate.RdMoment

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusEQ

func StatusEQ(v int32) predicate.RdMoment

StatusEQ applies the EQ predicate on the "status" field.

func StatusGT

func StatusGT(v int32) predicate.RdMoment

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v int32) predicate.RdMoment

StatusGTE applies the GTE predicate on the "status" field.

func StatusIn

func StatusIn(vs ...int32) predicate.RdMoment

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.RdMoment

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v int32) predicate.RdMoment

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v int32) predicate.RdMoment

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v int32) predicate.RdMoment

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...int32) predicate.RdMoment

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.RdMoment

StatusNotNil applies the NotNil predicate on the "status" field.

func Txt

func Txt(v string) predicate.RdMoment

Txt applies equality check predicate on the "txt" field. It's identical to TxtEQ.

func TxtContains

func TxtContains(v string) predicate.RdMoment

TxtContains applies the Contains predicate on the "txt" field.

func TxtContainsFold

func TxtContainsFold(v string) predicate.RdMoment

TxtContainsFold applies the ContainsFold predicate on the "txt" field.

func TxtEQ

func TxtEQ(v string) predicate.RdMoment

TxtEQ applies the EQ predicate on the "txt" field.

func TxtEqualFold

func TxtEqualFold(v string) predicate.RdMoment

TxtEqualFold applies the EqualFold predicate on the "txt" field.

func TxtGT

func TxtGT(v string) predicate.RdMoment

TxtGT applies the GT predicate on the "txt" field.

func TxtGTE

func TxtGTE(v string) predicate.RdMoment

TxtGTE applies the GTE predicate on the "txt" field.

func TxtHasPrefix

func TxtHasPrefix(v string) predicate.RdMoment

TxtHasPrefix applies the HasPrefix predicate on the "txt" field.

func TxtHasSuffix

func TxtHasSuffix(v string) predicate.RdMoment

TxtHasSuffix applies the HasSuffix predicate on the "txt" field.

func TxtIn

func TxtIn(vs ...string) predicate.RdMoment

TxtIn applies the In predicate on the "txt" field.

func TxtLT

func TxtLT(v string) predicate.RdMoment

TxtLT applies the LT predicate on the "txt" field.

func TxtLTE

func TxtLTE(v string) predicate.RdMoment

TxtLTE applies the LTE predicate on the "txt" field.

func TxtNEQ

func TxtNEQ(v string) predicate.RdMoment

TxtNEQ applies the NEQ predicate on the "txt" field.

func TxtNotIn

func TxtNotIn(vs ...string) predicate.RdMoment

TxtNotIn applies the NotIn predicate on the "txt" field.

func Type

func Type(v int32) predicate.RdMoment

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeEQ

func TypeEQ(v int32) predicate.RdMoment

TypeEQ applies the EQ predicate on the "type" field.

func TypeGT

func TypeGT(v int32) predicate.RdMoment

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v int32) predicate.RdMoment

TypeGTE applies the GTE predicate on the "type" field.

func TypeIn

func TypeIn(vs ...int32) predicate.RdMoment

TypeIn applies the In predicate on the "type" field.

func TypeIsNil

func TypeIsNil() predicate.RdMoment

TypeIsNil applies the IsNil predicate on the "type" field.

func TypeLT

func TypeLT(v int32) predicate.RdMoment

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v int32) predicate.RdMoment

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v int32) predicate.RdMoment

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...int32) predicate.RdMoment

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeNotNil

func TypeNotNil() predicate.RdMoment

TypeNotNil applies the NotNil predicate on the "type" 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