Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ChatOption) predicate.ChatOption
- func ChatID(v int64) predicate.ChatOption
- func ChatIDEQ(v int64) predicate.ChatOption
- func ChatIDGT(v int64) predicate.ChatOption
- func ChatIDGTE(v int64) predicate.ChatOption
- func ChatIDIn(vs ...int64) predicate.ChatOption
- func ChatIDLT(v int64) predicate.ChatOption
- func ChatIDLTE(v int64) predicate.ChatOption
- func ChatIDNEQ(v int64) predicate.ChatOption
- func ChatIDNotIn(vs ...int64) predicate.ChatOption
- func CreateAt(v time.Time) predicate.ChatOption
- func CreateAtEQ(v time.Time) predicate.ChatOption
- func CreateAtGT(v time.Time) predicate.ChatOption
- func CreateAtGTE(v time.Time) predicate.ChatOption
- func CreateAtIn(vs ...time.Time) predicate.ChatOption
- func CreateAtLT(v time.Time) predicate.ChatOption
- func CreateAtLTE(v time.Time) predicate.ChatOption
- func CreateAtNEQ(v time.Time) predicate.ChatOption
- func CreateAtNotIn(vs ...time.Time) predicate.ChatOption
- func ID(id int64) predicate.ChatOption
- func IDEQ(id int64) predicate.ChatOption
- func IDGT(id int64) predicate.ChatOption
- func IDGTE(id int64) predicate.ChatOption
- func IDIn(ids ...int64) predicate.ChatOption
- func IDLT(id int64) predicate.ChatOption
- func IDLTE(id int64) predicate.ChatOption
- func IDNEQ(id int64) predicate.ChatOption
- func IDNotIn(ids ...int64) predicate.ChatOption
- func Key(v string) predicate.ChatOption
- func KeyContains(v string) predicate.ChatOption
- func KeyContainsFold(v string) predicate.ChatOption
- func KeyEQ(v string) predicate.ChatOption
- func KeyEqualFold(v string) predicate.ChatOption
- func KeyGT(v string) predicate.ChatOption
- func KeyGTE(v string) predicate.ChatOption
- func KeyHasPrefix(v string) predicate.ChatOption
- func KeyHasSuffix(v string) predicate.ChatOption
- func KeyIn(vs ...string) predicate.ChatOption
- func KeyLT(v string) predicate.ChatOption
- func KeyLTE(v string) predicate.ChatOption
- func KeyNEQ(v string) predicate.ChatOption
- func KeyNotIn(vs ...string) predicate.ChatOption
- func Not(p predicate.ChatOption) predicate.ChatOption
- func Or(predicates ...predicate.ChatOption) predicate.ChatOption
- func UpdateAt(v time.Time) predicate.ChatOption
- func UpdateAtEQ(v time.Time) predicate.ChatOption
- func UpdateAtGT(v time.Time) predicate.ChatOption
- func UpdateAtGTE(v time.Time) predicate.ChatOption
- func UpdateAtIn(vs ...time.Time) predicate.ChatOption
- func UpdateAtLT(v time.Time) predicate.ChatOption
- func UpdateAtLTE(v time.Time) predicate.ChatOption
- func UpdateAtNEQ(v time.Time) predicate.ChatOption
- func UpdateAtNotIn(vs ...time.Time) predicate.ChatOption
- func ValidColumn(column string) bool
- func Value(v string) predicate.ChatOption
- func ValueContains(v string) predicate.ChatOption
- func ValueContainsFold(v string) predicate.ChatOption
- func ValueEQ(v string) predicate.ChatOption
- func ValueEqualFold(v string) predicate.ChatOption
- func ValueGT(v string) predicate.ChatOption
- func ValueGTE(v string) predicate.ChatOption
- func ValueHasPrefix(v string) predicate.ChatOption
- func ValueHasSuffix(v string) predicate.ChatOption
- func ValueIn(vs ...string) predicate.ChatOption
- func ValueLT(v string) predicate.ChatOption
- func ValueLTE(v string) predicate.ChatOption
- func ValueNEQ(v string) predicate.ChatOption
- func ValueNotIn(vs ...string) predicate.ChatOption
Constants ¶
const ( // Label holds the string label denoting the chatoption type in the database. Label = "chat_option" // 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" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldCreateAt holds the string denoting the create_at field in the database. FieldCreateAt = "create_at" // FieldUpdateAt holds the string denoting the update_at field in the database. FieldUpdateAt = "update_at" // Table holds the table name of the chatoption in the database. Table = "chat_options" )
Variables ¶
var ( // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // DefaultValue holds the default value on creation for the "value" field. DefaultValue string // DefaultCreateAt holds the default value on creation for the "create_at" field. DefaultCreateAt func() time.Time // DefaultUpdateAt holds the default value on creation for the "update_at" field. DefaultUpdateAt func() time.Time // UpdateDefaultUpdateAt holds the default value on update for the "update_at" field. UpdateDefaultUpdateAt func() time.Time )
var Columns = []string{ FieldID, FieldChatID, FieldKey, FieldValue, FieldCreateAt, FieldUpdateAt, }
Columns holds all SQL columns for chatoption fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ChatOption) predicate.ChatOption
And groups predicates with the AND operator between them.
func ChatID ¶
func ChatID(v int64) predicate.ChatOption
ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.
func ChatIDEQ ¶
func ChatIDEQ(v int64) predicate.ChatOption
ChatIDEQ applies the EQ predicate on the "chat_id" field.
func ChatIDGT ¶
func ChatIDGT(v int64) predicate.ChatOption
ChatIDGT applies the GT predicate on the "chat_id" field.
func ChatIDGTE ¶
func ChatIDGTE(v int64) predicate.ChatOption
ChatIDGTE applies the GTE predicate on the "chat_id" field.
func ChatIDIn ¶
func ChatIDIn(vs ...int64) predicate.ChatOption
ChatIDIn applies the In predicate on the "chat_id" field.
func ChatIDLT ¶
func ChatIDLT(v int64) predicate.ChatOption
ChatIDLT applies the LT predicate on the "chat_id" field.
func ChatIDLTE ¶
func ChatIDLTE(v int64) predicate.ChatOption
ChatIDLTE applies the LTE predicate on the "chat_id" field.
func ChatIDNEQ ¶
func ChatIDNEQ(v int64) predicate.ChatOption
ChatIDNEQ applies the NEQ predicate on the "chat_id" field.
func ChatIDNotIn ¶
func ChatIDNotIn(vs ...int64) predicate.ChatOption
ChatIDNotIn applies the NotIn predicate on the "chat_id" field.
func CreateAt ¶
func CreateAt(v time.Time) predicate.ChatOption
CreateAt applies equality check predicate on the "create_at" field. It's identical to CreateAtEQ.
func CreateAtEQ ¶
func CreateAtEQ(v time.Time) predicate.ChatOption
CreateAtEQ applies the EQ predicate on the "create_at" field.
func CreateAtGT ¶
func CreateAtGT(v time.Time) predicate.ChatOption
CreateAtGT applies the GT predicate on the "create_at" field.
func CreateAtGTE ¶
func CreateAtGTE(v time.Time) predicate.ChatOption
CreateAtGTE applies the GTE predicate on the "create_at" field.
func CreateAtIn ¶
func CreateAtIn(vs ...time.Time) predicate.ChatOption
CreateAtIn applies the In predicate on the "create_at" field.
func CreateAtLT ¶
func CreateAtLT(v time.Time) predicate.ChatOption
CreateAtLT applies the LT predicate on the "create_at" field.
func CreateAtLTE ¶
func CreateAtLTE(v time.Time) predicate.ChatOption
CreateAtLTE applies the LTE predicate on the "create_at" field.
func CreateAtNEQ ¶
func CreateAtNEQ(v time.Time) predicate.ChatOption
CreateAtNEQ applies the NEQ predicate on the "create_at" field.
func CreateAtNotIn ¶
func CreateAtNotIn(vs ...time.Time) predicate.ChatOption
CreateAtNotIn applies the NotIn predicate on the "create_at" field.
func IDGTE ¶
func IDGTE(id int64) predicate.ChatOption
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ChatOption
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ChatOption
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ChatOption
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ChatOption
IDNotIn applies the NotIn predicate on the ID field.
func Key ¶
func Key(v string) predicate.ChatOption
Key applies equality check predicate on the "key" field. It's identical to KeyEQ.
func KeyContains ¶
func KeyContains(v string) predicate.ChatOption
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
func KeyContainsFold(v string) predicate.ChatOption
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEQ ¶
func KeyEQ(v string) predicate.ChatOption
KeyEQ applies the EQ predicate on the "key" field.
func KeyEqualFold ¶
func KeyEqualFold(v string) predicate.ChatOption
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyGT ¶
func KeyGT(v string) predicate.ChatOption
KeyGT applies the GT predicate on the "key" field.
func KeyGTE ¶
func KeyGTE(v string) predicate.ChatOption
KeyGTE applies the GTE predicate on the "key" field.
func KeyHasPrefix ¶
func KeyHasPrefix(v string) predicate.ChatOption
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
func KeyHasSuffix(v string) predicate.ChatOption
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func KeyIn ¶
func KeyIn(vs ...string) predicate.ChatOption
KeyIn applies the In predicate on the "key" field.
func KeyLT ¶
func KeyLT(v string) predicate.ChatOption
KeyLT applies the LT predicate on the "key" field.
func KeyLTE ¶
func KeyLTE(v string) predicate.ChatOption
KeyLTE applies the LTE predicate on the "key" field.
func KeyNEQ ¶
func KeyNEQ(v string) predicate.ChatOption
KeyNEQ applies the NEQ predicate on the "key" field.
func KeyNotIn ¶
func KeyNotIn(vs ...string) predicate.ChatOption
KeyNotIn applies the NotIn predicate on the "key" field.
func Not ¶
func Not(p predicate.ChatOption) predicate.ChatOption
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ChatOption) predicate.ChatOption
Or groups predicates with the OR operator between them.
func UpdateAt ¶
func UpdateAt(v time.Time) predicate.ChatOption
UpdateAt applies equality check predicate on the "update_at" field. It's identical to UpdateAtEQ.
func UpdateAtEQ ¶
func UpdateAtEQ(v time.Time) predicate.ChatOption
UpdateAtEQ applies the EQ predicate on the "update_at" field.
func UpdateAtGT ¶
func UpdateAtGT(v time.Time) predicate.ChatOption
UpdateAtGT applies the GT predicate on the "update_at" field.
func UpdateAtGTE ¶
func UpdateAtGTE(v time.Time) predicate.ChatOption
UpdateAtGTE applies the GTE predicate on the "update_at" field.
func UpdateAtIn ¶
func UpdateAtIn(vs ...time.Time) predicate.ChatOption
UpdateAtIn applies the In predicate on the "update_at" field.
func UpdateAtLT ¶
func UpdateAtLT(v time.Time) predicate.ChatOption
UpdateAtLT applies the LT predicate on the "update_at" field.
func UpdateAtLTE ¶
func UpdateAtLTE(v time.Time) predicate.ChatOption
UpdateAtLTE applies the LTE predicate on the "update_at" field.
func UpdateAtNEQ ¶
func UpdateAtNEQ(v time.Time) predicate.ChatOption
UpdateAtNEQ applies the NEQ predicate on the "update_at" field.
func UpdateAtNotIn ¶
func UpdateAtNotIn(vs ...time.Time) predicate.ChatOption
UpdateAtNotIn applies the NotIn predicate on the "update_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.ChatOption
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.ChatOption
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.ChatOption
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.ChatOption
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.ChatOption
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.ChatOption
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.ChatOption
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.ChatOption
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.ChatOption
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.ChatOption
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.ChatOption
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.ChatOption
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.ChatOption
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.ChatOption
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
This section is empty.