Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Settings) predicate.Settings
- func DehashedAPIKey(v string) predicate.Settings
- func DehashedAPIKeyContains(v string) predicate.Settings
- func DehashedAPIKeyContainsFold(v string) predicate.Settings
- func DehashedAPIKeyEQ(v string) predicate.Settings
- func DehashedAPIKeyEqualFold(v string) predicate.Settings
- func DehashedAPIKeyGT(v string) predicate.Settings
- func DehashedAPIKeyGTE(v string) predicate.Settings
- func DehashedAPIKeyHasPrefix(v string) predicate.Settings
- func DehashedAPIKeyHasSuffix(v string) predicate.Settings
- func DehashedAPIKeyIn(vs ...string) predicate.Settings
- func DehashedAPIKeyIsNil() predicate.Settings
- func DehashedAPIKeyLT(v string) predicate.Settings
- func DehashedAPIKeyLTE(v string) predicate.Settings
- func DehashedAPIKeyNEQ(v string) predicate.Settings
- func DehashedAPIKeyNotIn(vs ...string) predicate.Settings
- func DehashedAPIKeyNotNil() predicate.Settings
- func HibpAPIKey(v string) predicate.Settings
- func HibpAPIKeyContains(v string) predicate.Settings
- func HibpAPIKeyContainsFold(v string) predicate.Settings
- func HibpAPIKeyEQ(v string) predicate.Settings
- func HibpAPIKeyEqualFold(v string) predicate.Settings
- func HibpAPIKeyGT(v string) predicate.Settings
- func HibpAPIKeyGTE(v string) predicate.Settings
- func HibpAPIKeyHasPrefix(v string) predicate.Settings
- func HibpAPIKeyHasSuffix(v string) predicate.Settings
- func HibpAPIKeyIn(vs ...string) predicate.Settings
- func HibpAPIKeyIsNil() predicate.Settings
- func HibpAPIKeyLT(v string) predicate.Settings
- func HibpAPIKeyLTE(v string) predicate.Settings
- func HibpAPIKeyNEQ(v string) predicate.Settings
- func HibpAPIKeyNotIn(vs ...string) predicate.Settings
- func HibpAPIKeyNotNil() predicate.Settings
- func ID(id uuid.UUID) predicate.Settings
- func IDEQ(id uuid.UUID) predicate.Settings
- func IDGT(id uuid.UUID) predicate.Settings
- func IDGTE(id uuid.UUID) predicate.Settings
- func IDIn(ids ...uuid.UUID) predicate.Settings
- func IDLT(id uuid.UUID) predicate.Settings
- func IDLTE(id uuid.UUID) predicate.Settings
- func IDNEQ(id uuid.UUID) predicate.Settings
- func IDNotIn(ids ...uuid.UUID) predicate.Settings
- func Not(p predicate.Settings) predicate.Settings
- func Or(predicates ...predicate.Settings) predicate.Settings
- func Searches(v uint64) predicate.Settings
- func SearchesEQ(v uint64) predicate.Settings
- func SearchesGT(v uint64) predicate.Settings
- func SearchesGTE(v uint64) predicate.Settings
- func SearchesIn(vs ...uint64) predicate.Settings
- func SearchesLT(v uint64) predicate.Settings
- func SearchesLTE(v uint64) predicate.Settings
- func SearchesNEQ(v uint64) predicate.Settings
- func SearchesNotIn(vs ...uint64) predicate.Settings
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the settings type in the database. Label = "settings" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHibpAPIKey holds the string denoting the hibp_api_key field in the database. FieldHibpAPIKey = "hibp_api_key" // FieldDehashedAPIKey holds the string denoting the dehashed_api_key field in the database. FieldDehashedAPIKey = "dehashed_api_key" // FieldSearches holds the string denoting the searches field in the database. FieldSearches = "searches" // Table holds the table name of the settings in the database. Table = "settings" )
Variables ¶
var ( // DefaultSearches holds the default value on creation for the "searches" field. DefaultSearches uint64 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldHibpAPIKey, FieldDehashedAPIKey, FieldSearches, }
Columns holds all SQL columns for settings fields.
Functions ¶
func DehashedAPIKey ¶
DehashedAPIKey applies equality check predicate on the "dehashed_api_key" field. It's identical to DehashedAPIKeyEQ.
func DehashedAPIKeyContains ¶
DehashedAPIKeyContains applies the Contains predicate on the "dehashed_api_key" field.
func DehashedAPIKeyContainsFold ¶
DehashedAPIKeyContainsFold applies the ContainsFold predicate on the "dehashed_api_key" field.
func DehashedAPIKeyEQ ¶
DehashedAPIKeyEQ applies the EQ predicate on the "dehashed_api_key" field.
func DehashedAPIKeyEqualFold ¶
DehashedAPIKeyEqualFold applies the EqualFold predicate on the "dehashed_api_key" field.
func DehashedAPIKeyGT ¶
DehashedAPIKeyGT applies the GT predicate on the "dehashed_api_key" field.
func DehashedAPIKeyGTE ¶
DehashedAPIKeyGTE applies the GTE predicate on the "dehashed_api_key" field.
func DehashedAPIKeyHasPrefix ¶
DehashedAPIKeyHasPrefix applies the HasPrefix predicate on the "dehashed_api_key" field.
func DehashedAPIKeyHasSuffix ¶
DehashedAPIKeyHasSuffix applies the HasSuffix predicate on the "dehashed_api_key" field.
func DehashedAPIKeyIn ¶
DehashedAPIKeyIn applies the In predicate on the "dehashed_api_key" field.
func DehashedAPIKeyIsNil ¶
DehashedAPIKeyIsNil applies the IsNil predicate on the "dehashed_api_key" field.
func DehashedAPIKeyLT ¶
DehashedAPIKeyLT applies the LT predicate on the "dehashed_api_key" field.
func DehashedAPIKeyLTE ¶
DehashedAPIKeyLTE applies the LTE predicate on the "dehashed_api_key" field.
func DehashedAPIKeyNEQ ¶
DehashedAPIKeyNEQ applies the NEQ predicate on the "dehashed_api_key" field.
func DehashedAPIKeyNotIn ¶
DehashedAPIKeyNotIn applies the NotIn predicate on the "dehashed_api_key" field.
func DehashedAPIKeyNotNil ¶
DehashedAPIKeyNotNil applies the NotNil predicate on the "dehashed_api_key" field.
func HibpAPIKey ¶
HibpAPIKey applies equality check predicate on the "hibp_api_key" field. It's identical to HibpAPIKeyEQ.
func HibpAPIKeyContains ¶
HibpAPIKeyContains applies the Contains predicate on the "hibp_api_key" field.
func HibpAPIKeyContainsFold ¶
HibpAPIKeyContainsFold applies the ContainsFold predicate on the "hibp_api_key" field.
func HibpAPIKeyEQ ¶
HibpAPIKeyEQ applies the EQ predicate on the "hibp_api_key" field.
func HibpAPIKeyEqualFold ¶
HibpAPIKeyEqualFold applies the EqualFold predicate on the "hibp_api_key" field.
func HibpAPIKeyGT ¶
HibpAPIKeyGT applies the GT predicate on the "hibp_api_key" field.
func HibpAPIKeyGTE ¶
HibpAPIKeyGTE applies the GTE predicate on the "hibp_api_key" field.
func HibpAPIKeyHasPrefix ¶
HibpAPIKeyHasPrefix applies the HasPrefix predicate on the "hibp_api_key" field.
func HibpAPIKeyHasSuffix ¶
HibpAPIKeyHasSuffix applies the HasSuffix predicate on the "hibp_api_key" field.
func HibpAPIKeyIn ¶
HibpAPIKeyIn applies the In predicate on the "hibp_api_key" field.
func HibpAPIKeyIsNil ¶
HibpAPIKeyIsNil applies the IsNil predicate on the "hibp_api_key" field.
func HibpAPIKeyLT ¶
HibpAPIKeyLT applies the LT predicate on the "hibp_api_key" field.
func HibpAPIKeyLTE ¶
HibpAPIKeyLTE applies the LTE predicate on the "hibp_api_key" field.
func HibpAPIKeyNEQ ¶
HibpAPIKeyNEQ applies the NEQ predicate on the "hibp_api_key" field.
func HibpAPIKeyNotIn ¶
HibpAPIKeyNotIn applies the NotIn predicate on the "hibp_api_key" field.
func HibpAPIKeyNotNil ¶
HibpAPIKeyNotNil applies the NotNil predicate on the "hibp_api_key" field.
func Searches ¶
Searches applies equality check predicate on the "searches" field. It's identical to SearchesEQ.
func SearchesEQ ¶
SearchesEQ applies the EQ predicate on the "searches" field.
func SearchesGT ¶
SearchesGT applies the GT predicate on the "searches" field.
func SearchesGTE ¶
SearchesGTE applies the GTE predicate on the "searches" field.
func SearchesIn ¶
SearchesIn applies the In predicate on the "searches" field.
func SearchesLT ¶
SearchesLT applies the LT predicate on the "searches" field.
func SearchesLTE ¶
SearchesLTE applies the LTE predicate on the "searches" field.
func SearchesNEQ ¶
SearchesNEQ applies the NEQ predicate on the "searches" field.
func SearchesNotIn ¶
SearchesNotIn applies the NotIn predicate on the "searches" 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 Settings queries.
func ByDehashedAPIKey ¶
func ByDehashedAPIKey(opts ...sql.OrderTermOption) OrderOption
ByDehashedAPIKey orders the results by the dehashed_api_key field.
func ByHibpAPIKey ¶
func ByHibpAPIKey(opts ...sql.OrderTermOption) OrderOption
ByHibpAPIKey orders the results by the hibp_api_key field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func BySearches ¶
func BySearches(opts ...sql.OrderTermOption) OrderOption
BySearches orders the results by the searches field.