dchat

package
v0.0.0-...-91de038 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the dchat type in the database.
	Label = "dchat"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldSessionID holds the string denoting the session_id field in the database.
	FieldSessionID = "session_id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldRoomID holds the string denoting the room_id field in the database.
	FieldRoomID = "room_id"
	// FieldText holds the string denoting the text field in the database.
	FieldText = "text"
	// FieldCreateTime holds the string denoting the create_time field in the database.
	FieldCreateTime = "create_time"
	// Table holds the table name of the dchat in the database.
	Table = "dchats"
)

Variables

Columns holds all SQL columns for dchat fields.

Functions

func And

func And(predicates ...predicate.DChat) predicate.DChat

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.DChat

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

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.DChat

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

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.DChat

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

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.DChat

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

func CreateTimeIn

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

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

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.DChat

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

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.DChat

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

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.DChat

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

func CreateTimeNotIn

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

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

func ID

func ID(id string) predicate.DChat

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.DChat

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.DChat

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.DChat

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.DChat

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.DChat

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.DChat

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.DChat

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.DChat

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

Or groups predicates with the OR operator between them.

func RoomID

func RoomID(v string) predicate.DChat

RoomID applies equality check predicate on the "room_id" field. It's identical to RoomIDEQ.

func RoomIDContains

func RoomIDContains(v string) predicate.DChat

RoomIDContains applies the Contains predicate on the "room_id" field.

func RoomIDContainsFold

func RoomIDContainsFold(v string) predicate.DChat

RoomIDContainsFold applies the ContainsFold predicate on the "room_id" field.

func RoomIDEQ

func RoomIDEQ(v string) predicate.DChat

RoomIDEQ applies the EQ predicate on the "room_id" field.

func RoomIDEqualFold

func RoomIDEqualFold(v string) predicate.DChat

RoomIDEqualFold applies the EqualFold predicate on the "room_id" field.

func RoomIDGT

func RoomIDGT(v string) predicate.DChat

RoomIDGT applies the GT predicate on the "room_id" field.

func RoomIDGTE

func RoomIDGTE(v string) predicate.DChat

RoomIDGTE applies the GTE predicate on the "room_id" field.

func RoomIDHasPrefix

func RoomIDHasPrefix(v string) predicate.DChat

RoomIDHasPrefix applies the HasPrefix predicate on the "room_id" field.

func RoomIDHasSuffix

func RoomIDHasSuffix(v string) predicate.DChat

RoomIDHasSuffix applies the HasSuffix predicate on the "room_id" field.

func RoomIDIn

func RoomIDIn(vs ...string) predicate.DChat

RoomIDIn applies the In predicate on the "room_id" field.

func RoomIDLT

func RoomIDLT(v string) predicate.DChat

RoomIDLT applies the LT predicate on the "room_id" field.

func RoomIDLTE

func RoomIDLTE(v string) predicate.DChat

RoomIDLTE applies the LTE predicate on the "room_id" field.

func RoomIDNEQ

func RoomIDNEQ(v string) predicate.DChat

RoomIDNEQ applies the NEQ predicate on the "room_id" field.

func RoomIDNotIn

func RoomIDNotIn(vs ...string) predicate.DChat

RoomIDNotIn applies the NotIn predicate on the "room_id" field.

func SessionID

func SessionID(v string) predicate.DChat

SessionID applies equality check predicate on the "session_id" field. It's identical to SessionIDEQ.

func SessionIDContains

func SessionIDContains(v string) predicate.DChat

SessionIDContains applies the Contains predicate on the "session_id" field.

func SessionIDContainsFold

func SessionIDContainsFold(v string) predicate.DChat

SessionIDContainsFold applies the ContainsFold predicate on the "session_id" field.

func SessionIDEQ

func SessionIDEQ(v string) predicate.DChat

SessionIDEQ applies the EQ predicate on the "session_id" field.

func SessionIDEqualFold

func SessionIDEqualFold(v string) predicate.DChat

SessionIDEqualFold applies the EqualFold predicate on the "session_id" field.

func SessionIDGT

func SessionIDGT(v string) predicate.DChat

SessionIDGT applies the GT predicate on the "session_id" field.

func SessionIDGTE

func SessionIDGTE(v string) predicate.DChat

SessionIDGTE applies the GTE predicate on the "session_id" field.

func SessionIDHasPrefix

func SessionIDHasPrefix(v string) predicate.DChat

SessionIDHasPrefix applies the HasPrefix predicate on the "session_id" field.

func SessionIDHasSuffix

func SessionIDHasSuffix(v string) predicate.DChat

SessionIDHasSuffix applies the HasSuffix predicate on the "session_id" field.

func SessionIDIn

func SessionIDIn(vs ...string) predicate.DChat

SessionIDIn applies the In predicate on the "session_id" field.

func SessionIDLT

func SessionIDLT(v string) predicate.DChat

SessionIDLT applies the LT predicate on the "session_id" field.

func SessionIDLTE

func SessionIDLTE(v string) predicate.DChat

SessionIDLTE applies the LTE predicate on the "session_id" field.

func SessionIDNEQ

func SessionIDNEQ(v string) predicate.DChat

SessionIDNEQ applies the NEQ predicate on the "session_id" field.

func SessionIDNotIn

func SessionIDNotIn(vs ...string) predicate.DChat

SessionIDNotIn applies the NotIn predicate on the "session_id" field.

func Text

func Text(v string) predicate.DChat

Text applies equality check predicate on the "text" field. It's identical to TextEQ.

func TextContains

func TextContains(v string) predicate.DChat

TextContains applies the Contains predicate on the "text" field.

func TextContainsFold

func TextContainsFold(v string) predicate.DChat

TextContainsFold applies the ContainsFold predicate on the "text" field.

func TextEQ

func TextEQ(v string) predicate.DChat

TextEQ applies the EQ predicate on the "text" field.

func TextEqualFold

func TextEqualFold(v string) predicate.DChat

TextEqualFold applies the EqualFold predicate on the "text" field.

func TextGT

func TextGT(v string) predicate.DChat

TextGT applies the GT predicate on the "text" field.

func TextGTE

func TextGTE(v string) predicate.DChat

TextGTE applies the GTE predicate on the "text" field.

func TextHasPrefix

func TextHasPrefix(v string) predicate.DChat

TextHasPrefix applies the HasPrefix predicate on the "text" field.

func TextHasSuffix

func TextHasSuffix(v string) predicate.DChat

TextHasSuffix applies the HasSuffix predicate on the "text" field.

func TextIn

func TextIn(vs ...string) predicate.DChat

TextIn applies the In predicate on the "text" field.

func TextLT

func TextLT(v string) predicate.DChat

TextLT applies the LT predicate on the "text" field.

func TextLTE

func TextLTE(v string) predicate.DChat

TextLTE applies the LTE predicate on the "text" field.

func TextNEQ

func TextNEQ(v string) predicate.DChat

TextNEQ applies the NEQ predicate on the "text" field.

func TextNotIn

func TextNotIn(vs ...string) predicate.DChat

TextNotIn applies the NotIn predicate on the "text" field.

func UserID

func UserID(v string) predicate.DChat

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDContains

func UserIDContains(v string) predicate.DChat

UserIDContains applies the Contains predicate on the "user_id" field.

func UserIDContainsFold

func UserIDContainsFold(v string) predicate.DChat

UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.

func UserIDEQ

func UserIDEQ(v string) predicate.DChat

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDEqualFold

func UserIDEqualFold(v string) predicate.DChat

UserIDEqualFold applies the EqualFold predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v string) predicate.DChat

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v string) predicate.DChat

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDHasPrefix

func UserIDHasPrefix(v string) predicate.DChat

UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.

func UserIDHasSuffix

func UserIDHasSuffix(v string) predicate.DChat

UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...string) predicate.DChat

UserIDIn applies the In predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v string) predicate.DChat

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v string) predicate.DChat

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v string) predicate.DChat

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...string) predicate.DChat

UserIDNotIn applies the NotIn predicate on the "user_id" 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