lastchannelmessage

package
v0.0.0-...-5feaf8d Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the lastchannelmessage type in the database.
	Label = "last_channel_message"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldMessageID holds the string denoting the message_id field in the database.
	FieldMessageID = "message_id"
	// Table holds the table name of the lastchannelmessage in the database.
	Table = "last_channel_messages"
)

Variables

View Source
var Columns = []string{
	FieldID,
	FieldMessageID,
}

Columns holds all SQL columns for lastchannelmessage fields.

Functions

func And

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MessageID

func MessageID(v int) predicate.LastChannelMessage

MessageID applies equality check predicate on the "message_id" field. It's identical to MessageIDEQ.

func MessageIDEQ

func MessageIDEQ(v int) predicate.LastChannelMessage

MessageIDEQ applies the EQ predicate on the "message_id" field.

func MessageIDGT

func MessageIDGT(v int) predicate.LastChannelMessage

MessageIDGT applies the GT predicate on the "message_id" field.

func MessageIDGTE

func MessageIDGTE(v int) predicate.LastChannelMessage

MessageIDGTE applies the GTE predicate on the "message_id" field.

func MessageIDIn

func MessageIDIn(vs ...int) predicate.LastChannelMessage

MessageIDIn applies the In predicate on the "message_id" field.

func MessageIDLT

func MessageIDLT(v int) predicate.LastChannelMessage

MessageIDLT applies the LT predicate on the "message_id" field.

func MessageIDLTE

func MessageIDLTE(v int) predicate.LastChannelMessage

MessageIDLTE applies the LTE predicate on the "message_id" field.

func MessageIDNEQ

func MessageIDNEQ(v int) predicate.LastChannelMessage

MessageIDNEQ applies the NEQ predicate on the "message_id" field.

func MessageIDNotIn

func MessageIDNotIn(vs ...int) predicate.LastChannelMessage

MessageIDNotIn applies the NotIn predicate on the "message_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 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 LastChannelMessage queries.

func ByID

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

ByID orders the results by the id field.

func ByMessageID

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

ByMessageID orders the results by the message_id field.

Jump to

Keyboard shortcuts

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