Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SmsProvider) predicate.SmsProvider
- func CreatedAt(v time.Time) predicate.SmsProvider
- func CreatedAtEQ(v time.Time) predicate.SmsProvider
- func CreatedAtGT(v time.Time) predicate.SmsProvider
- func CreatedAtGTE(v time.Time) predicate.SmsProvider
- func CreatedAtIn(vs ...time.Time) predicate.SmsProvider
- func CreatedAtLT(v time.Time) predicate.SmsProvider
- func CreatedAtLTE(v time.Time) predicate.SmsProvider
- func CreatedAtNEQ(v time.Time) predicate.SmsProvider
- func CreatedAtNotIn(vs ...time.Time) predicate.SmsProvider
- func ID(id uint64) predicate.SmsProvider
- func IDEQ(id uint64) predicate.SmsProvider
- func IDGT(id uint64) predicate.SmsProvider
- func IDGTE(id uint64) predicate.SmsProvider
- func IDIn(ids ...uint64) predicate.SmsProvider
- func IDLT(id uint64) predicate.SmsProvider
- func IDLTE(id uint64) predicate.SmsProvider
- func IDNEQ(id uint64) predicate.SmsProvider
- func IDNotIn(ids ...uint64) predicate.SmsProvider
- func IsDefault(v bool) predicate.SmsProvider
- func IsDefaultEQ(v bool) predicate.SmsProvider
- func IsDefaultNEQ(v bool) predicate.SmsProvider
- func Name(v string) predicate.SmsProvider
- func NameContains(v string) predicate.SmsProvider
- func NameContainsFold(v string) predicate.SmsProvider
- func NameEQ(v string) predicate.SmsProvider
- func NameEqualFold(v string) predicate.SmsProvider
- func NameGT(v string) predicate.SmsProvider
- func NameGTE(v string) predicate.SmsProvider
- func NameHasPrefix(v string) predicate.SmsProvider
- func NameHasSuffix(v string) predicate.SmsProvider
- func NameIn(vs ...string) predicate.SmsProvider
- func NameLT(v string) predicate.SmsProvider
- func NameLTE(v string) predicate.SmsProvider
- func NameNEQ(v string) predicate.SmsProvider
- func NameNotIn(vs ...string) predicate.SmsProvider
- func Not(p predicate.SmsProvider) predicate.SmsProvider
- func Or(predicates ...predicate.SmsProvider) predicate.SmsProvider
- func Region(v string) predicate.SmsProvider
- func RegionContains(v string) predicate.SmsProvider
- func RegionContainsFold(v string) predicate.SmsProvider
- func RegionEQ(v string) predicate.SmsProvider
- func RegionEqualFold(v string) predicate.SmsProvider
- func RegionGT(v string) predicate.SmsProvider
- func RegionGTE(v string) predicate.SmsProvider
- func RegionHasPrefix(v string) predicate.SmsProvider
- func RegionHasSuffix(v string) predicate.SmsProvider
- func RegionIn(vs ...string) predicate.SmsProvider
- func RegionLT(v string) predicate.SmsProvider
- func RegionLTE(v string) predicate.SmsProvider
- func RegionNEQ(v string) predicate.SmsProvider
- func RegionNotIn(vs ...string) predicate.SmsProvider
- func SecretID(v string) predicate.SmsProvider
- func SecretIDContains(v string) predicate.SmsProvider
- func SecretIDContainsFold(v string) predicate.SmsProvider
- func SecretIDEQ(v string) predicate.SmsProvider
- func SecretIDEqualFold(v string) predicate.SmsProvider
- func SecretIDGT(v string) predicate.SmsProvider
- func SecretIDGTE(v string) predicate.SmsProvider
- func SecretIDHasPrefix(v string) predicate.SmsProvider
- func SecretIDHasSuffix(v string) predicate.SmsProvider
- func SecretIDIn(vs ...string) predicate.SmsProvider
- func SecretIDLT(v string) predicate.SmsProvider
- func SecretIDLTE(v string) predicate.SmsProvider
- func SecretIDNEQ(v string) predicate.SmsProvider
- func SecretIDNotIn(vs ...string) predicate.SmsProvider
- func SecretKey(v string) predicate.SmsProvider
- func SecretKeyContains(v string) predicate.SmsProvider
- func SecretKeyContainsFold(v string) predicate.SmsProvider
- func SecretKeyEQ(v string) predicate.SmsProvider
- func SecretKeyEqualFold(v string) predicate.SmsProvider
- func SecretKeyGT(v string) predicate.SmsProvider
- func SecretKeyGTE(v string) predicate.SmsProvider
- func SecretKeyHasPrefix(v string) predicate.SmsProvider
- func SecretKeyHasSuffix(v string) predicate.SmsProvider
- func SecretKeyIn(vs ...string) predicate.SmsProvider
- func SecretKeyLT(v string) predicate.SmsProvider
- func SecretKeyLTE(v string) predicate.SmsProvider
- func SecretKeyNEQ(v string) predicate.SmsProvider
- func SecretKeyNotIn(vs ...string) predicate.SmsProvider
- func UpdatedAt(v time.Time) predicate.SmsProvider
- func UpdatedAtEQ(v time.Time) predicate.SmsProvider
- func UpdatedAtGT(v time.Time) predicate.SmsProvider
- func UpdatedAtGTE(v time.Time) predicate.SmsProvider
- func UpdatedAtIn(vs ...time.Time) predicate.SmsProvider
- func UpdatedAtLT(v time.Time) predicate.SmsProvider
- func UpdatedAtLTE(v time.Time) predicate.SmsProvider
- func UpdatedAtNEQ(v time.Time) predicate.SmsProvider
- func UpdatedAtNotIn(vs ...time.Time) predicate.SmsProvider
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRegion(opts ...sql.OrderTermOption) OrderOption
- func BySecretID(opts ...sql.OrderTermOption) OrderOption
- func BySecretKey(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the smsprovider type in the database. Label = "sms_provider" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldSecretID holds the string denoting the secret_id field in the database. FieldSecretID = "secret_id" // FieldSecretKey holds the string denoting the secret_key field in the database. FieldSecretKey = "secret_key" // FieldRegion holds the string denoting the region field in the database. FieldRegion = "region" // FieldIsDefault holds the string denoting the is_default field in the database. FieldIsDefault = "is_default" // Table holds the table name of the smsprovider in the database. Table = "mcms_sms_providers" )
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 // DefaultIsDefault holds the default value on creation for the "is_default" field. DefaultIsDefault bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldSecretID, FieldSecretKey, FieldRegion, FieldIsDefault, }
Columns holds all SQL columns for smsprovider fields.
Functions ¶
func And ¶
func And(predicates ...predicate.SmsProvider) predicate.SmsProvider
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SmsProvider
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SmsProvider
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SmsProvider
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SmsProvider
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SmsProvider
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SmsProvider
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SmsProvider
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SmsProvider
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SmsProvider
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func IDEQ ¶
func IDEQ(id uint64) predicate.SmsProvider
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uint64) predicate.SmsProvider
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uint64) predicate.SmsProvider
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uint64) predicate.SmsProvider
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uint64) predicate.SmsProvider
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uint64) predicate.SmsProvider
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uint64) predicate.SmsProvider
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uint64) predicate.SmsProvider
IDNotIn applies the NotIn predicate on the ID field.
func IsDefault ¶
func IsDefault(v bool) predicate.SmsProvider
IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.
func IsDefaultEQ ¶
func IsDefaultEQ(v bool) predicate.SmsProvider
IsDefaultEQ applies the EQ predicate on the "is_default" field.
func IsDefaultNEQ ¶
func IsDefaultNEQ(v bool) predicate.SmsProvider
IsDefaultNEQ applies the NEQ predicate on the "is_default" field.
func Name ¶
func Name(v string) predicate.SmsProvider
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.SmsProvider
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.SmsProvider
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.SmsProvider
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.SmsProvider
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.SmsProvider
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.SmsProvider
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.SmsProvider
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.SmsProvider
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.SmsProvider
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.SmsProvider
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.SmsProvider
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.SmsProvider
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.SmsProvider
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.SmsProvider) predicate.SmsProvider
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SmsProvider) predicate.SmsProvider
Or groups predicates with the OR operator between them.
func Region ¶
func Region(v string) predicate.SmsProvider
Region applies equality check predicate on the "region" field. It's identical to RegionEQ.
func RegionContains ¶
func RegionContains(v string) predicate.SmsProvider
RegionContains applies the Contains predicate on the "region" field.
func RegionContainsFold ¶
func RegionContainsFold(v string) predicate.SmsProvider
RegionContainsFold applies the ContainsFold predicate on the "region" field.
func RegionEQ ¶
func RegionEQ(v string) predicate.SmsProvider
RegionEQ applies the EQ predicate on the "region" field.
func RegionEqualFold ¶
func RegionEqualFold(v string) predicate.SmsProvider
RegionEqualFold applies the EqualFold predicate on the "region" field.
func RegionGT ¶
func RegionGT(v string) predicate.SmsProvider
RegionGT applies the GT predicate on the "region" field.
func RegionGTE ¶
func RegionGTE(v string) predicate.SmsProvider
RegionGTE applies the GTE predicate on the "region" field.
func RegionHasPrefix ¶
func RegionHasPrefix(v string) predicate.SmsProvider
RegionHasPrefix applies the HasPrefix predicate on the "region" field.
func RegionHasSuffix ¶
func RegionHasSuffix(v string) predicate.SmsProvider
RegionHasSuffix applies the HasSuffix predicate on the "region" field.
func RegionIn ¶
func RegionIn(vs ...string) predicate.SmsProvider
RegionIn applies the In predicate on the "region" field.
func RegionLT ¶
func RegionLT(v string) predicate.SmsProvider
RegionLT applies the LT predicate on the "region" field.
func RegionLTE ¶
func RegionLTE(v string) predicate.SmsProvider
RegionLTE applies the LTE predicate on the "region" field.
func RegionNEQ ¶
func RegionNEQ(v string) predicate.SmsProvider
RegionNEQ applies the NEQ predicate on the "region" field.
func RegionNotIn ¶
func RegionNotIn(vs ...string) predicate.SmsProvider
RegionNotIn applies the NotIn predicate on the "region" field.
func SecretID ¶
func SecretID(v string) predicate.SmsProvider
SecretID applies equality check predicate on the "secret_id" field. It's identical to SecretIDEQ.
func SecretIDContains ¶
func SecretIDContains(v string) predicate.SmsProvider
SecretIDContains applies the Contains predicate on the "secret_id" field.
func SecretIDContainsFold ¶
func SecretIDContainsFold(v string) predicate.SmsProvider
SecretIDContainsFold applies the ContainsFold predicate on the "secret_id" field.
func SecretIDEQ ¶
func SecretIDEQ(v string) predicate.SmsProvider
SecretIDEQ applies the EQ predicate on the "secret_id" field.
func SecretIDEqualFold ¶
func SecretIDEqualFold(v string) predicate.SmsProvider
SecretIDEqualFold applies the EqualFold predicate on the "secret_id" field.
func SecretIDGT ¶
func SecretIDGT(v string) predicate.SmsProvider
SecretIDGT applies the GT predicate on the "secret_id" field.
func SecretIDGTE ¶
func SecretIDGTE(v string) predicate.SmsProvider
SecretIDGTE applies the GTE predicate on the "secret_id" field.
func SecretIDHasPrefix ¶
func SecretIDHasPrefix(v string) predicate.SmsProvider
SecretIDHasPrefix applies the HasPrefix predicate on the "secret_id" field.
func SecretIDHasSuffix ¶
func SecretIDHasSuffix(v string) predicate.SmsProvider
SecretIDHasSuffix applies the HasSuffix predicate on the "secret_id" field.
func SecretIDIn ¶
func SecretIDIn(vs ...string) predicate.SmsProvider
SecretIDIn applies the In predicate on the "secret_id" field.
func SecretIDLT ¶
func SecretIDLT(v string) predicate.SmsProvider
SecretIDLT applies the LT predicate on the "secret_id" field.
func SecretIDLTE ¶
func SecretIDLTE(v string) predicate.SmsProvider
SecretIDLTE applies the LTE predicate on the "secret_id" field.
func SecretIDNEQ ¶
func SecretIDNEQ(v string) predicate.SmsProvider
SecretIDNEQ applies the NEQ predicate on the "secret_id" field.
func SecretIDNotIn ¶
func SecretIDNotIn(vs ...string) predicate.SmsProvider
SecretIDNotIn applies the NotIn predicate on the "secret_id" field.
func SecretKey ¶
func SecretKey(v string) predicate.SmsProvider
SecretKey applies equality check predicate on the "secret_key" field. It's identical to SecretKeyEQ.
func SecretKeyContains ¶
func SecretKeyContains(v string) predicate.SmsProvider
SecretKeyContains applies the Contains predicate on the "secret_key" field.
func SecretKeyContainsFold ¶
func SecretKeyContainsFold(v string) predicate.SmsProvider
SecretKeyContainsFold applies the ContainsFold predicate on the "secret_key" field.
func SecretKeyEQ ¶
func SecretKeyEQ(v string) predicate.SmsProvider
SecretKeyEQ applies the EQ predicate on the "secret_key" field.
func SecretKeyEqualFold ¶
func SecretKeyEqualFold(v string) predicate.SmsProvider
SecretKeyEqualFold applies the EqualFold predicate on the "secret_key" field.
func SecretKeyGT ¶
func SecretKeyGT(v string) predicate.SmsProvider
SecretKeyGT applies the GT predicate on the "secret_key" field.
func SecretKeyGTE ¶
func SecretKeyGTE(v string) predicate.SmsProvider
SecretKeyGTE applies the GTE predicate on the "secret_key" field.
func SecretKeyHasPrefix ¶
func SecretKeyHasPrefix(v string) predicate.SmsProvider
SecretKeyHasPrefix applies the HasPrefix predicate on the "secret_key" field.
func SecretKeyHasSuffix ¶
func SecretKeyHasSuffix(v string) predicate.SmsProvider
SecretKeyHasSuffix applies the HasSuffix predicate on the "secret_key" field.
func SecretKeyIn ¶
func SecretKeyIn(vs ...string) predicate.SmsProvider
SecretKeyIn applies the In predicate on the "secret_key" field.
func SecretKeyLT ¶
func SecretKeyLT(v string) predicate.SmsProvider
SecretKeyLT applies the LT predicate on the "secret_key" field.
func SecretKeyLTE ¶
func SecretKeyLTE(v string) predicate.SmsProvider
SecretKeyLTE applies the LTE predicate on the "secret_key" field.
func SecretKeyNEQ ¶
func SecretKeyNEQ(v string) predicate.SmsProvider
SecretKeyNEQ applies the NEQ predicate on the "secret_key" field.
func SecretKeyNotIn ¶
func SecretKeyNotIn(vs ...string) predicate.SmsProvider
SecretKeyNotIn applies the NotIn predicate on the "secret_key" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.SmsProvider
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.SmsProvider
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.SmsProvider
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.SmsProvider
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.SmsProvider
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.SmsProvider
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.SmsProvider
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.SmsProvider
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.SmsProvider
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 SmsProvider queries.
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 ByIsDefault ¶
func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
ByIsDefault orders the results by the is_default field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByRegion ¶
func ByRegion(opts ...sql.OrderTermOption) OrderOption
ByRegion orders the results by the region field.
func BySecretID ¶
func BySecretID(opts ...sql.OrderTermOption) OrderOption
BySecretID orders the results by the secret_id field.
func BySecretKey ¶
func BySecretKey(opts ...sql.OrderTermOption) OrderOption
BySecretKey orders the results by the secret_key field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.