chatconfig

package
v0.0.0-...-b336c4c Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the chatconfig type in the database.
	Label = "chat_config"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldChatID holds the string denoting the chat_id field in the database.
	FieldChatID = "chat_id"
	// FieldJSON holds the string denoting the json field in the database.
	FieldJSON = "json"
	// Table holds the table name of the chatconfig in the database.
	Table = "chat_configs"
)

Variables

Columns holds all SQL columns for chatconfig fields.

Functions

func And

func And(predicates ...predicate.ChatConfig) predicate.ChatConfig

And groups predicates with the AND operator between them.

func ChatID

func ChatID(v int64) predicate.ChatConfig

ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.

func ChatIDEQ

func ChatIDEQ(v int64) predicate.ChatConfig

ChatIDEQ applies the EQ predicate on the "chat_id" field.

func ChatIDGT

func ChatIDGT(v int64) predicate.ChatConfig

ChatIDGT applies the GT predicate on the "chat_id" field.

func ChatIDGTE

func ChatIDGTE(v int64) predicate.ChatConfig

ChatIDGTE applies the GTE predicate on the "chat_id" field.

func ChatIDIn

func ChatIDIn(vs ...int64) predicate.ChatConfig

ChatIDIn applies the In predicate on the "chat_id" field.

func ChatIDLT

func ChatIDLT(v int64) predicate.ChatConfig

ChatIDLT applies the LT predicate on the "chat_id" field.

func ChatIDLTE

func ChatIDLTE(v int64) predicate.ChatConfig

ChatIDLTE applies the LTE predicate on the "chat_id" field.

func ChatIDNEQ

func ChatIDNEQ(v int64) predicate.ChatConfig

ChatIDNEQ applies the NEQ predicate on the "chat_id" field.

func ChatIDNotIn

func ChatIDNotIn(vs ...int64) predicate.ChatConfig

ChatIDNotIn applies the NotIn predicate on the "chat_id" field.

func ID

func ID(id int) predicate.ChatConfig

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ChatConfig

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ChatConfig

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ChatConfig

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ChatConfig

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ChatConfig

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ChatConfig

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func JSON

func JSON(v string) predicate.ChatConfig

JSON applies equality check predicate on the "json" field. It's identical to JSONEQ.

func JSONContains

func JSONContains(v string) predicate.ChatConfig

JSONContains applies the Contains predicate on the "json" field.

func JSONContainsFold

func JSONContainsFold(v string) predicate.ChatConfig

JSONContainsFold applies the ContainsFold predicate on the "json" field.

func JSONEQ

func JSONEQ(v string) predicate.ChatConfig

JSONEQ applies the EQ predicate on the "json" field.

func JSONEqualFold

func JSONEqualFold(v string) predicate.ChatConfig

JSONEqualFold applies the EqualFold predicate on the "json" field.

func JSONGT

func JSONGT(v string) predicate.ChatConfig

JSONGT applies the GT predicate on the "json" field.

func JSONGTE

func JSONGTE(v string) predicate.ChatConfig

JSONGTE applies the GTE predicate on the "json" field.

func JSONHasPrefix

func JSONHasPrefix(v string) predicate.ChatConfig

JSONHasPrefix applies the HasPrefix predicate on the "json" field.

func JSONHasSuffix

func JSONHasSuffix(v string) predicate.ChatConfig

JSONHasSuffix applies the HasSuffix predicate on the "json" field.

func JSONIn

func JSONIn(vs ...string) predicate.ChatConfig

JSONIn applies the In predicate on the "json" field.

func JSONLT

func JSONLT(v string) predicate.ChatConfig

JSONLT applies the LT predicate on the "json" field.

func JSONLTE

func JSONLTE(v string) predicate.ChatConfig

JSONLTE applies the LTE predicate on the "json" field.

func JSONNEQ

func JSONNEQ(v string) predicate.ChatConfig

JSONNEQ applies the NEQ predicate on the "json" field.

func JSONNotIn

func JSONNotIn(vs ...string) predicate.ChatConfig

JSONNotIn applies the NotIn predicate on the "json" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ChatConfig) predicate.ChatConfig

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 ChatConfig queries.

func ByChatID

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

ByChatID orders the results by the chat_id field.

func ByID

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

ByID orders the results by the id field.

func ByJSON

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

ByJSON orders the results by the json field.

Jump to

Keyboard shortcuts

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