Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ChatConfig) predicate.ChatConfig
- func ChatID(v int64) predicate.ChatConfig
- func ChatIDEQ(v int64) predicate.ChatConfig
- func ChatIDGT(v int64) predicate.ChatConfig
- func ChatIDGTE(v int64) predicate.ChatConfig
- func ChatIDIn(vs ...int64) predicate.ChatConfig
- func ChatIDLT(v int64) predicate.ChatConfig
- func ChatIDLTE(v int64) predicate.ChatConfig
- func ChatIDNEQ(v int64) predicate.ChatConfig
- func ChatIDNotIn(vs ...int64) predicate.ChatConfig
- func ID(id int) predicate.ChatConfig
- func IDEQ(id int) predicate.ChatConfig
- func IDGT(id int) predicate.ChatConfig
- func IDGTE(id int) predicate.ChatConfig
- func IDIn(ids ...int) predicate.ChatConfig
- func IDLT(id int) predicate.ChatConfig
- func IDLTE(id int) predicate.ChatConfig
- func IDNEQ(id int) predicate.ChatConfig
- func IDNotIn(ids ...int) predicate.ChatConfig
- func JSON(v string) predicate.ChatConfig
- func JSONContains(v string) predicate.ChatConfig
- func JSONContainsFold(v string) predicate.ChatConfig
- func JSONEQ(v string) predicate.ChatConfig
- func JSONEqualFold(v string) predicate.ChatConfig
- func JSONGT(v string) predicate.ChatConfig
- func JSONGTE(v string) predicate.ChatConfig
- func JSONHasPrefix(v string) predicate.ChatConfig
- func JSONHasSuffix(v string) predicate.ChatConfig
- func JSONIn(vs ...string) predicate.ChatConfig
- func JSONLT(v string) predicate.ChatConfig
- func JSONLTE(v string) predicate.ChatConfig
- func JSONNEQ(v string) predicate.ChatConfig
- func JSONNotIn(vs ...string) predicate.ChatConfig
- func Not(p predicate.ChatConfig) predicate.ChatConfig
- func Or(predicates ...predicate.ChatConfig) predicate.ChatConfig
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldChatID, FieldJSON, }
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 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 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 ¶
func Not(p predicate.ChatConfig) predicate.ChatConfig
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.