Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TelegramChatRecapsOptions) predicate.TelegramChatRecapsOptions
- func AutoRecapSendMode(v int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeEQ(v int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeGT(v int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeGTE(v int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeIn(vs ...int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeLT(v int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeLTE(v int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeNEQ(v int) predicate.TelegramChatRecapsOptions
- func AutoRecapSendModeNotIn(vs ...int) predicate.TelegramChatRecapsOptions
- func ChatID(v int64) predicate.TelegramChatRecapsOptions
- func ChatIDEQ(v int64) predicate.TelegramChatRecapsOptions
- func ChatIDGT(v int64) predicate.TelegramChatRecapsOptions
- func ChatIDGTE(v int64) predicate.TelegramChatRecapsOptions
- func ChatIDIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func ChatIDLT(v int64) predicate.TelegramChatRecapsOptions
- func ChatIDLTE(v int64) predicate.TelegramChatRecapsOptions
- func ChatIDNEQ(v int64) predicate.TelegramChatRecapsOptions
- func ChatIDNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func CreatedAt(v int64) predicate.TelegramChatRecapsOptions
- func CreatedAtEQ(v int64) predicate.TelegramChatRecapsOptions
- func CreatedAtGT(v int64) predicate.TelegramChatRecapsOptions
- func CreatedAtGTE(v int64) predicate.TelegramChatRecapsOptions
- func CreatedAtIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func CreatedAtLT(v int64) predicate.TelegramChatRecapsOptions
- func CreatedAtLTE(v int64) predicate.TelegramChatRecapsOptions
- func CreatedAtNEQ(v int64) predicate.TelegramChatRecapsOptions
- func CreatedAtNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func ID(id uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDEQ(id uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDGT(id uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDGTE(id uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDIn(ids ...uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDLT(id uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDLTE(id uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDNEQ(id uuid.UUID) predicate.TelegramChatRecapsOptions
- func IDNotIn(ids ...uuid.UUID) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSeconds(v int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsEQ(v int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsGT(v int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsGTE(v int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsLT(v int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsLTE(v int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsNEQ(v int64) predicate.TelegramChatRecapsOptions
- func ManualRecapRatePerSecondsNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func Not(p predicate.TelegramChatRecapsOptions) predicate.TelegramChatRecapsOptions
- func Or(predicates ...predicate.TelegramChatRecapsOptions) predicate.TelegramChatRecapsOptions
- func UpdatedAt(v int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtEQ(v int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtGT(v int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtGTE(v int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtLT(v int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtLTE(v int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtNEQ(v int64) predicate.TelegramChatRecapsOptions
- func UpdatedAtNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
- func ValidColumn(column string) bool
- type OrderOption
- func ByAutoRecapSendMode(opts ...sql.OrderTermOption) OrderOption
- func ByChatID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByManualRecapRatePerSeconds(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the telegramchatrecapsoptions type in the database. Label = "telegram_chat_recaps_options" // 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" // FieldAutoRecapSendMode holds the string denoting the auto_recap_send_mode field in the database. FieldAutoRecapSendMode = "auto_recap_send_mode" // FieldManualRecapRatePerSeconds holds the string denoting the manual_recap_rate_per_seconds field in the database. FieldManualRecapRatePerSeconds = "manual_recap_rate_per_seconds" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // Table holds the table name of the telegramchatrecapsoptions in the database. Table = "telegram_chat_recaps_options" )
Variables ¶
var ( // DefaultAutoRecapSendMode holds the default value on creation for the "auto_recap_send_mode" field. DefaultAutoRecapSendMode int // DefaultManualRecapRatePerSeconds holds the default value on creation for the "manual_recap_rate_per_seconds" field. DefaultManualRecapRatePerSeconds int64 // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() int64 // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() int64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldChatID, FieldAutoRecapSendMode, FieldManualRecapRatePerSeconds, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for telegramchatrecapsoptions fields.
Functions ¶
func And ¶
func And(predicates ...predicate.TelegramChatRecapsOptions) predicate.TelegramChatRecapsOptions
And groups predicates with the AND operator between them.
func AutoRecapSendMode ¶
func AutoRecapSendMode(v int) predicate.TelegramChatRecapsOptions
AutoRecapSendMode applies equality check predicate on the "auto_recap_send_mode" field. It's identical to AutoRecapSendModeEQ.
func AutoRecapSendModeEQ ¶
func AutoRecapSendModeEQ(v int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeEQ applies the EQ predicate on the "auto_recap_send_mode" field.
func AutoRecapSendModeGT ¶
func AutoRecapSendModeGT(v int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeGT applies the GT predicate on the "auto_recap_send_mode" field.
func AutoRecapSendModeGTE ¶
func AutoRecapSendModeGTE(v int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeGTE applies the GTE predicate on the "auto_recap_send_mode" field.
func AutoRecapSendModeIn ¶
func AutoRecapSendModeIn(vs ...int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeIn applies the In predicate on the "auto_recap_send_mode" field.
func AutoRecapSendModeLT ¶
func AutoRecapSendModeLT(v int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeLT applies the LT predicate on the "auto_recap_send_mode" field.
func AutoRecapSendModeLTE ¶
func AutoRecapSendModeLTE(v int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeLTE applies the LTE predicate on the "auto_recap_send_mode" field.
func AutoRecapSendModeNEQ ¶
func AutoRecapSendModeNEQ(v int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeNEQ applies the NEQ predicate on the "auto_recap_send_mode" field.
func AutoRecapSendModeNotIn ¶
func AutoRecapSendModeNotIn(vs ...int) predicate.TelegramChatRecapsOptions
AutoRecapSendModeNotIn applies the NotIn predicate on the "auto_recap_send_mode" field.
func ChatID ¶
func ChatID(v int64) predicate.TelegramChatRecapsOptions
ChatID applies equality check predicate on the "chat_id" field. It's identical to ChatIDEQ.
func ChatIDEQ ¶
func ChatIDEQ(v int64) predicate.TelegramChatRecapsOptions
ChatIDEQ applies the EQ predicate on the "chat_id" field.
func ChatIDGT ¶
func ChatIDGT(v int64) predicate.TelegramChatRecapsOptions
ChatIDGT applies the GT predicate on the "chat_id" field.
func ChatIDGTE ¶
func ChatIDGTE(v int64) predicate.TelegramChatRecapsOptions
ChatIDGTE applies the GTE predicate on the "chat_id" field.
func ChatIDIn ¶
func ChatIDIn(vs ...int64) predicate.TelegramChatRecapsOptions
ChatIDIn applies the In predicate on the "chat_id" field.
func ChatIDLT ¶
func ChatIDLT(v int64) predicate.TelegramChatRecapsOptions
ChatIDLT applies the LT predicate on the "chat_id" field.
func ChatIDLTE ¶
func ChatIDLTE(v int64) predicate.TelegramChatRecapsOptions
ChatIDLTE applies the LTE predicate on the "chat_id" field.
func ChatIDNEQ ¶
func ChatIDNEQ(v int64) predicate.TelegramChatRecapsOptions
ChatIDNEQ applies the NEQ predicate on the "chat_id" field.
func ChatIDNotIn ¶
func ChatIDNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
ChatIDNotIn applies the NotIn predicate on the "chat_id" field.
func CreatedAt ¶
func CreatedAt(v int64) predicate.TelegramChatRecapsOptions
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v int64) predicate.TelegramChatRecapsOptions
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v int64) predicate.TelegramChatRecapsOptions
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v int64) predicate.TelegramChatRecapsOptions
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...int64) predicate.TelegramChatRecapsOptions
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v int64) predicate.TelegramChatRecapsOptions
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v int64) predicate.TelegramChatRecapsOptions
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v int64) predicate.TelegramChatRecapsOptions
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ID ¶
func ID(id uuid.UUID) predicate.TelegramChatRecapsOptions
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TelegramChatRecapsOptions
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TelegramChatRecapsOptions
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TelegramChatRecapsOptions
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TelegramChatRecapsOptions
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TelegramChatRecapsOptions
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TelegramChatRecapsOptions
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TelegramChatRecapsOptions
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TelegramChatRecapsOptions
IDNotIn applies the NotIn predicate on the ID field.
func ManualRecapRatePerSeconds ¶ added in v0.16.0
func ManualRecapRatePerSeconds(v int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSeconds applies equality check predicate on the "manual_recap_rate_per_seconds" field. It's identical to ManualRecapRatePerSecondsEQ.
func ManualRecapRatePerSecondsEQ ¶ added in v0.16.0
func ManualRecapRatePerSecondsEQ(v int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsEQ applies the EQ predicate on the "manual_recap_rate_per_seconds" field.
func ManualRecapRatePerSecondsGT ¶ added in v0.16.0
func ManualRecapRatePerSecondsGT(v int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsGT applies the GT predicate on the "manual_recap_rate_per_seconds" field.
func ManualRecapRatePerSecondsGTE ¶ added in v0.16.0
func ManualRecapRatePerSecondsGTE(v int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsGTE applies the GTE predicate on the "manual_recap_rate_per_seconds" field.
func ManualRecapRatePerSecondsIn ¶ added in v0.16.0
func ManualRecapRatePerSecondsIn(vs ...int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsIn applies the In predicate on the "manual_recap_rate_per_seconds" field.
func ManualRecapRatePerSecondsLT ¶ added in v0.16.0
func ManualRecapRatePerSecondsLT(v int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsLT applies the LT predicate on the "manual_recap_rate_per_seconds" field.
func ManualRecapRatePerSecondsLTE ¶ added in v0.16.0
func ManualRecapRatePerSecondsLTE(v int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsLTE applies the LTE predicate on the "manual_recap_rate_per_seconds" field.
func ManualRecapRatePerSecondsNEQ ¶ added in v0.16.0
func ManualRecapRatePerSecondsNEQ(v int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsNEQ applies the NEQ predicate on the "manual_recap_rate_per_seconds" field.
func ManualRecapRatePerSecondsNotIn ¶ added in v0.16.0
func ManualRecapRatePerSecondsNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
ManualRecapRatePerSecondsNotIn applies the NotIn predicate on the "manual_recap_rate_per_seconds" field.
func Or ¶
func Or(predicates ...predicate.TelegramChatRecapsOptions) predicate.TelegramChatRecapsOptions
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v int64) predicate.TelegramChatRecapsOptions
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v int64) predicate.TelegramChatRecapsOptions
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v int64) predicate.TelegramChatRecapsOptions
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v int64) predicate.TelegramChatRecapsOptions
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...int64) predicate.TelegramChatRecapsOptions
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v int64) predicate.TelegramChatRecapsOptions
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v int64) predicate.TelegramChatRecapsOptions
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v int64) predicate.TelegramChatRecapsOptions
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...int64) predicate.TelegramChatRecapsOptions
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
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 TelegramChatRecapsOptions queries.
func ByAutoRecapSendMode ¶
func ByAutoRecapSendMode(opts ...sql.OrderTermOption) OrderOption
ByAutoRecapSendMode orders the results by the auto_recap_send_mode field.
func ByChatID ¶
func ByChatID(opts ...sql.OrderTermOption) OrderOption
ByChatID orders the results by the chat_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByManualRecapRatePerSeconds ¶ added in v0.16.0
func ByManualRecapRatePerSeconds(opts ...sql.OrderTermOption) OrderOption
ByManualRecapRatePerSeconds orders the results by the manual_recap_rate_per_seconds field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.