Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SmsLog) predicate.SmsLog
- func Content(v string) predicate.SmsLog
- func ContentContains(v string) predicate.SmsLog
- func ContentContainsFold(v string) predicate.SmsLog
- func ContentEQ(v string) predicate.SmsLog
- func ContentEqualFold(v string) predicate.SmsLog
- func ContentGT(v string) predicate.SmsLog
- func ContentGTE(v string) predicate.SmsLog
- func ContentHasPrefix(v string) predicate.SmsLog
- func ContentHasSuffix(v string) predicate.SmsLog
- func ContentIn(vs ...string) predicate.SmsLog
- func ContentLT(v string) predicate.SmsLog
- func ContentLTE(v string) predicate.SmsLog
- func ContentNEQ(v string) predicate.SmsLog
- func ContentNotIn(vs ...string) predicate.SmsLog
- func CreatedAt(v time.Time) predicate.SmsLog
- func CreatedAtEQ(v time.Time) predicate.SmsLog
- func CreatedAtGT(v time.Time) predicate.SmsLog
- func CreatedAtGTE(v time.Time) predicate.SmsLog
- func CreatedAtIn(vs ...time.Time) predicate.SmsLog
- func CreatedAtLT(v time.Time) predicate.SmsLog
- func CreatedAtLTE(v time.Time) predicate.SmsLog
- func CreatedAtNEQ(v time.Time) predicate.SmsLog
- func CreatedAtNotIn(vs ...time.Time) predicate.SmsLog
- func ID(id uuid.UUID) predicate.SmsLog
- func IDEQ(id uuid.UUID) predicate.SmsLog
- func IDGT(id uuid.UUID) predicate.SmsLog
- func IDGTE(id uuid.UUID) predicate.SmsLog
- func IDIn(ids ...uuid.UUID) predicate.SmsLog
- func IDLT(id uuid.UUID) predicate.SmsLog
- func IDLTE(id uuid.UUID) predicate.SmsLog
- func IDNEQ(id uuid.UUID) predicate.SmsLog
- func IDNotIn(ids ...uuid.UUID) predicate.SmsLog
- func Not(p predicate.SmsLog) predicate.SmsLog
- func Or(predicates ...predicate.SmsLog) predicate.SmsLog
- func PhoneNumber(v string) predicate.SmsLog
- func PhoneNumberContains(v string) predicate.SmsLog
- func PhoneNumberContainsFold(v string) predicate.SmsLog
- func PhoneNumberEQ(v string) predicate.SmsLog
- func PhoneNumberEqualFold(v string) predicate.SmsLog
- func PhoneNumberGT(v string) predicate.SmsLog
- func PhoneNumberGTE(v string) predicate.SmsLog
- func PhoneNumberHasPrefix(v string) predicate.SmsLog
- func PhoneNumberHasSuffix(v string) predicate.SmsLog
- func PhoneNumberIn(vs ...string) predicate.SmsLog
- func PhoneNumberLT(v string) predicate.SmsLog
- func PhoneNumberLTE(v string) predicate.SmsLog
- func PhoneNumberNEQ(v string) predicate.SmsLog
- func PhoneNumberNotIn(vs ...string) predicate.SmsLog
- func Provider(v string) predicate.SmsLog
- func ProviderContains(v string) predicate.SmsLog
- func ProviderContainsFold(v string) predicate.SmsLog
- func ProviderEQ(v string) predicate.SmsLog
- func ProviderEqualFold(v string) predicate.SmsLog
- func ProviderGT(v string) predicate.SmsLog
- func ProviderGTE(v string) predicate.SmsLog
- func ProviderHasPrefix(v string) predicate.SmsLog
- func ProviderHasSuffix(v string) predicate.SmsLog
- func ProviderIn(vs ...string) predicate.SmsLog
- func ProviderLT(v string) predicate.SmsLog
- func ProviderLTE(v string) predicate.SmsLog
- func ProviderNEQ(v string) predicate.SmsLog
- func ProviderNotIn(vs ...string) predicate.SmsLog
- func SendStatus(v uint8) predicate.SmsLog
- func SendStatusEQ(v uint8) predicate.SmsLog
- func SendStatusGT(v uint8) predicate.SmsLog
- func SendStatusGTE(v uint8) predicate.SmsLog
- func SendStatusIn(vs ...uint8) predicate.SmsLog
- func SendStatusLT(v uint8) predicate.SmsLog
- func SendStatusLTE(v uint8) predicate.SmsLog
- func SendStatusNEQ(v uint8) predicate.SmsLog
- func SendStatusNotIn(vs ...uint8) predicate.SmsLog
- func UpdatedAt(v time.Time) predicate.SmsLog
- func UpdatedAtEQ(v time.Time) predicate.SmsLog
- func UpdatedAtGT(v time.Time) predicate.SmsLog
- func UpdatedAtGTE(v time.Time) predicate.SmsLog
- func UpdatedAtIn(vs ...time.Time) predicate.SmsLog
- func UpdatedAtLT(v time.Time) predicate.SmsLog
- func UpdatedAtLTE(v time.Time) predicate.SmsLog
- func UpdatedAtNEQ(v time.Time) predicate.SmsLog
- func UpdatedAtNotIn(vs ...time.Time) predicate.SmsLog
- func ValidColumn(column string) bool
- type OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
- func ByProvider(opts ...sql.OrderTermOption) OrderOption
- func BySendStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the smslog type in the database. Label = "sms_log" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldPhoneNumber holds the string denoting the phone_number field in the database. FieldPhoneNumber = "phone_number" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldSendStatus holds the string denoting the send_status field in the database. FieldSendStatus = "send_status" // FieldProvider holds the string denoting the provider field in the database. FieldProvider = "provider" // Table holds the table name of the smslog in the database. Table = "mcms_sms_logs" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldPhoneNumber, FieldContent, FieldSendStatus, FieldProvider, }
Columns holds all SQL columns for smslog fields.
Functions ¶
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func PhoneNumber ¶
PhoneNumber applies equality check predicate on the "phone_number" field. It's identical to PhoneNumberEQ.
func PhoneNumberContains ¶
PhoneNumberContains applies the Contains predicate on the "phone_number" field.
func PhoneNumberContainsFold ¶
PhoneNumberContainsFold applies the ContainsFold predicate on the "phone_number" field.
func PhoneNumberEQ ¶
PhoneNumberEQ applies the EQ predicate on the "phone_number" field.
func PhoneNumberEqualFold ¶
PhoneNumberEqualFold applies the EqualFold predicate on the "phone_number" field.
func PhoneNumberGT ¶
PhoneNumberGT applies the GT predicate on the "phone_number" field.
func PhoneNumberGTE ¶
PhoneNumberGTE applies the GTE predicate on the "phone_number" field.
func PhoneNumberHasPrefix ¶
PhoneNumberHasPrefix applies the HasPrefix predicate on the "phone_number" field.
func PhoneNumberHasSuffix ¶
PhoneNumberHasSuffix applies the HasSuffix predicate on the "phone_number" field.
func PhoneNumberIn ¶
PhoneNumberIn applies the In predicate on the "phone_number" field.
func PhoneNumberLT ¶
PhoneNumberLT applies the LT predicate on the "phone_number" field.
func PhoneNumberLTE ¶
PhoneNumberLTE applies the LTE predicate on the "phone_number" field.
func PhoneNumberNEQ ¶
PhoneNumberNEQ applies the NEQ predicate on the "phone_number" field.
func PhoneNumberNotIn ¶
PhoneNumberNotIn applies the NotIn predicate on the "phone_number" field.
func Provider ¶
Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
func ProviderContains ¶
ProviderContains applies the Contains predicate on the "provider" field.
func ProviderContainsFold ¶
ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
func ProviderEQ ¶
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderEqualFold ¶
ProviderEqualFold applies the EqualFold predicate on the "provider" field.
func ProviderGT ¶
ProviderGT applies the GT predicate on the "provider" field.
func ProviderGTE ¶
ProviderGTE applies the GTE predicate on the "provider" field.
func ProviderHasPrefix ¶
ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
func ProviderHasSuffix ¶
ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
func ProviderIn ¶
ProviderIn applies the In predicate on the "provider" field.
func ProviderLT ¶
ProviderLT applies the LT predicate on the "provider" field.
func ProviderLTE ¶
ProviderLTE applies the LTE predicate on the "provider" field.
func ProviderNEQ ¶
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶
ProviderNotIn applies the NotIn predicate on the "provider" field.
func SendStatus ¶
SendStatus applies equality check predicate on the "send_status" field. It's identical to SendStatusEQ.
func SendStatusEQ ¶
SendStatusEQ applies the EQ predicate on the "send_status" field.
func SendStatusGT ¶
SendStatusGT applies the GT predicate on the "send_status" field.
func SendStatusGTE ¶
SendStatusGTE applies the GTE predicate on the "send_status" field.
func SendStatusIn ¶
SendStatusIn applies the In predicate on the "send_status" field.
func SendStatusLT ¶
SendStatusLT applies the LT predicate on the "send_status" field.
func SendStatusLTE ¶
SendStatusLTE applies the LTE predicate on the "send_status" field.
func SendStatusNEQ ¶
SendStatusNEQ applies the NEQ predicate on the "send_status" field.
func SendStatusNotIn ¶
SendStatusNotIn applies the NotIn predicate on the "send_status" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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 SmsLog queries.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content 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 ByPhoneNumber ¶
func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
ByPhoneNumber orders the results by the phone_number field.
func ByProvider ¶
func ByProvider(opts ...sql.OrderTermOption) OrderOption
ByProvider orders the results by the provider field.
func BySendStatus ¶
func BySendStatus(opts ...sql.OrderTermOption) OrderOption
BySendStatus orders the results by the send_status field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.