rdmessage

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 rdmessage type in the database.
	Label = "rd_message"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSenderUID holds the string denoting the sender_uid field in the database.
	FieldSenderUID = "sender_uid"
	// FieldRecverUID holds the string denoting the recver_uid field in the database.
	FieldRecverUID = "recver_uid"
	// FieldContent holds the string denoting the content field in the database.
	FieldContent = "content"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// Table holds the table name of the rdmessage in the database.
	Table = "rd_message"
)

Variables

Columns holds all SQL columns for rdmessage fields.

View Source
var (
	// DefaultCreateTime holds the default value on creation for the "create_time" field.
	DefaultCreateTime func() time.Time
)

Functions

func And

func And(predicates ...predicate.RdMessage) predicate.RdMessage

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.RdMessage

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.RdMessage

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.RdMessage

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.RdMessage

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.RdMessage

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.RdMessage

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.RdMessage

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.RdMessage

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.RdMessage

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func ID

func ID(id int32) predicate.RdMessage

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int32) predicate.RdMessage

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int32) predicate.RdMessage

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int32) predicate.RdMessage

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int32) predicate.RdMessage

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int32) predicate.RdMessage

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int32) predicate.RdMessage

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int32) predicate.RdMessage

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int32) predicate.RdMessage

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.RdMessage) predicate.RdMessage

Or groups predicates with the OR operator between them.

func RecverUID

func RecverUID(v int32) predicate.RdMessage

RecverUID applies equality check predicate on the "recver_uid" field. It's identical to RecverUIDEQ.

func RecverUIDEQ

func RecverUIDEQ(v int32) predicate.RdMessage

RecverUIDEQ applies the EQ predicate on the "recver_uid" field.

func RecverUIDGT

func RecverUIDGT(v int32) predicate.RdMessage

RecverUIDGT applies the GT predicate on the "recver_uid" field.

func RecverUIDGTE

func RecverUIDGTE(v int32) predicate.RdMessage

RecverUIDGTE applies the GTE predicate on the "recver_uid" field.

func RecverUIDIn

func RecverUIDIn(vs ...int32) predicate.RdMessage

RecverUIDIn applies the In predicate on the "recver_uid" field.

func RecverUIDIsNil

func RecverUIDIsNil() predicate.RdMessage

RecverUIDIsNil applies the IsNil predicate on the "recver_uid" field.

func RecverUIDLT

func RecverUIDLT(v int32) predicate.RdMessage

RecverUIDLT applies the LT predicate on the "recver_uid" field.

func RecverUIDLTE

func RecverUIDLTE(v int32) predicate.RdMessage

RecverUIDLTE applies the LTE predicate on the "recver_uid" field.

func RecverUIDNEQ

func RecverUIDNEQ(v int32) predicate.RdMessage

RecverUIDNEQ applies the NEQ predicate on the "recver_uid" field.

func RecverUIDNotIn

func RecverUIDNotIn(vs ...int32) predicate.RdMessage

RecverUIDNotIn applies the NotIn predicate on the "recver_uid" field.

func RecverUIDNotNil

func RecverUIDNotNil() predicate.RdMessage

RecverUIDNotNil applies the NotNil predicate on the "recver_uid" field.

func SenderUID

func SenderUID(v int32) predicate.RdMessage

SenderUID applies equality check predicate on the "sender_uid" field. It's identical to SenderUIDEQ.

func SenderUIDEQ

func SenderUIDEQ(v int32) predicate.RdMessage

SenderUIDEQ applies the EQ predicate on the "sender_uid" field.

func SenderUIDGT

func SenderUIDGT(v int32) predicate.RdMessage

SenderUIDGT applies the GT predicate on the "sender_uid" field.

func SenderUIDGTE

func SenderUIDGTE(v int32) predicate.RdMessage

SenderUIDGTE applies the GTE predicate on the "sender_uid" field.

func SenderUIDIn

func SenderUIDIn(vs ...int32) predicate.RdMessage

SenderUIDIn applies the In predicate on the "sender_uid" field.

func SenderUIDIsNil

func SenderUIDIsNil() predicate.RdMessage

SenderUIDIsNil applies the IsNil predicate on the "sender_uid" field.

func SenderUIDLT

func SenderUIDLT(v int32) predicate.RdMessage

SenderUIDLT applies the LT predicate on the "sender_uid" field.

func SenderUIDLTE

func SenderUIDLTE(v int32) predicate.RdMessage

SenderUIDLTE applies the LTE predicate on the "sender_uid" field.

func SenderUIDNEQ

func SenderUIDNEQ(v int32) predicate.RdMessage

SenderUIDNEQ applies the NEQ predicate on the "sender_uid" field.

func SenderUIDNotIn

func SenderUIDNotIn(vs ...int32) predicate.RdMessage

SenderUIDNotIn applies the NotIn predicate on the "sender_uid" field.

func SenderUIDNotNil

func SenderUIDNotNil() predicate.RdMessage

SenderUIDNotNil applies the NotNil predicate on the "sender_uid" 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