settings

package
v0.0.0-...-4d10510 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for settings fields.

Functions

func And

func And(predicates ...predicate.Settings) predicate.Settings

And groups predicates with the AND operator between them.

func DehashedAPIKey

func DehashedAPIKey(v string) predicate.Settings

DehashedAPIKey applies equality check predicate on the "dehashed_api_key" field. It's identical to DehashedAPIKeyEQ.

func DehashedAPIKeyContains

func DehashedAPIKeyContains(v string) predicate.Settings

DehashedAPIKeyContains applies the Contains predicate on the "dehashed_api_key" field.

func DehashedAPIKeyContainsFold

func DehashedAPIKeyContainsFold(v string) predicate.Settings

DehashedAPIKeyContainsFold applies the ContainsFold predicate on the "dehashed_api_key" field.

func DehashedAPIKeyEQ

func DehashedAPIKeyEQ(v string) predicate.Settings

DehashedAPIKeyEQ applies the EQ predicate on the "dehashed_api_key" field.

func DehashedAPIKeyEqualFold

func DehashedAPIKeyEqualFold(v string) predicate.Settings

DehashedAPIKeyEqualFold applies the EqualFold predicate on the "dehashed_api_key" field.

func DehashedAPIKeyGT

func DehashedAPIKeyGT(v string) predicate.Settings

DehashedAPIKeyGT applies the GT predicate on the "dehashed_api_key" field.

func DehashedAPIKeyGTE

func DehashedAPIKeyGTE(v string) predicate.Settings

DehashedAPIKeyGTE applies the GTE predicate on the "dehashed_api_key" field.

func DehashedAPIKeyHasPrefix

func DehashedAPIKeyHasPrefix(v string) predicate.Settings

DehashedAPIKeyHasPrefix applies the HasPrefix predicate on the "dehashed_api_key" field.

func DehashedAPIKeyHasSuffix

func DehashedAPIKeyHasSuffix(v string) predicate.Settings

DehashedAPIKeyHasSuffix applies the HasSuffix predicate on the "dehashed_api_key" field.

func DehashedAPIKeyIn

func DehashedAPIKeyIn(vs ...string) predicate.Settings

DehashedAPIKeyIn applies the In predicate on the "dehashed_api_key" field.

func DehashedAPIKeyIsNil

func DehashedAPIKeyIsNil() predicate.Settings

DehashedAPIKeyIsNil applies the IsNil predicate on the "dehashed_api_key" field.

func DehashedAPIKeyLT

func DehashedAPIKeyLT(v string) predicate.Settings

DehashedAPIKeyLT applies the LT predicate on the "dehashed_api_key" field.

func DehashedAPIKeyLTE

func DehashedAPIKeyLTE(v string) predicate.Settings

DehashedAPIKeyLTE applies the LTE predicate on the "dehashed_api_key" field.

func DehashedAPIKeyNEQ

func DehashedAPIKeyNEQ(v string) predicate.Settings

DehashedAPIKeyNEQ applies the NEQ predicate on the "dehashed_api_key" field.

func DehashedAPIKeyNotIn

func DehashedAPIKeyNotIn(vs ...string) predicate.Settings

DehashedAPIKeyNotIn applies the NotIn predicate on the "dehashed_api_key" field.

func DehashedAPIKeyNotNil

func DehashedAPIKeyNotNil() predicate.Settings

DehashedAPIKeyNotNil applies the NotNil predicate on the "dehashed_api_key" field.

func HibpAPIKey

func HibpAPIKey(v string) predicate.Settings

HibpAPIKey applies equality check predicate on the "hibp_api_key" field. It's identical to HibpAPIKeyEQ.

func HibpAPIKeyContains

func HibpAPIKeyContains(v string) predicate.Settings

HibpAPIKeyContains applies the Contains predicate on the "hibp_api_key" field.

func HibpAPIKeyContainsFold

func HibpAPIKeyContainsFold(v string) predicate.Settings

HibpAPIKeyContainsFold applies the ContainsFold predicate on the "hibp_api_key" field.

func HibpAPIKeyEQ

func HibpAPIKeyEQ(v string) predicate.Settings

HibpAPIKeyEQ applies the EQ predicate on the "hibp_api_key" field.

func HibpAPIKeyEqualFold

func HibpAPIKeyEqualFold(v string) predicate.Settings

HibpAPIKeyEqualFold applies the EqualFold predicate on the "hibp_api_key" field.

func HibpAPIKeyGT

func HibpAPIKeyGT(v string) predicate.Settings

HibpAPIKeyGT applies the GT predicate on the "hibp_api_key" field.

func HibpAPIKeyGTE

func HibpAPIKeyGTE(v string) predicate.Settings

HibpAPIKeyGTE applies the GTE predicate on the "hibp_api_key" field.

func HibpAPIKeyHasPrefix

func HibpAPIKeyHasPrefix(v string) predicate.Settings

HibpAPIKeyHasPrefix applies the HasPrefix predicate on the "hibp_api_key" field.

func HibpAPIKeyHasSuffix

func HibpAPIKeyHasSuffix(v string) predicate.Settings

HibpAPIKeyHasSuffix applies the HasSuffix predicate on the "hibp_api_key" field.

func HibpAPIKeyIn

func HibpAPIKeyIn(vs ...string) predicate.Settings

HibpAPIKeyIn applies the In predicate on the "hibp_api_key" field.

func HibpAPIKeyIsNil

func HibpAPIKeyIsNil() predicate.Settings

HibpAPIKeyIsNil applies the IsNil predicate on the "hibp_api_key" field.

func HibpAPIKeyLT

func HibpAPIKeyLT(v string) predicate.Settings

HibpAPIKeyLT applies the LT predicate on the "hibp_api_key" field.

func HibpAPIKeyLTE

func HibpAPIKeyLTE(v string) predicate.Settings

HibpAPIKeyLTE applies the LTE predicate on the "hibp_api_key" field.

func HibpAPIKeyNEQ

func HibpAPIKeyNEQ(v string) predicate.Settings

HibpAPIKeyNEQ applies the NEQ predicate on the "hibp_api_key" field.

func HibpAPIKeyNotIn

func HibpAPIKeyNotIn(vs ...string) predicate.Settings

HibpAPIKeyNotIn applies the NotIn predicate on the "hibp_api_key" field.

func HibpAPIKeyNotNil

func HibpAPIKeyNotNil() predicate.Settings

HibpAPIKeyNotNil applies the NotNil predicate on the "hibp_api_key" field.

func ID

func ID(id uuid.UUID) predicate.Settings

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Settings

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Settings

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Settings

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Settings

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Settings

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Settings

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Settings

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Settings

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Settings) predicate.Settings

Or groups predicates with the OR operator between them.

func Searches

func Searches(v uint64) predicate.Settings

Searches applies equality check predicate on the "searches" field. It's identical to SearchesEQ.

func SearchesEQ

func SearchesEQ(v uint64) predicate.Settings

SearchesEQ applies the EQ predicate on the "searches" field.

func SearchesGT

func SearchesGT(v uint64) predicate.Settings

SearchesGT applies the GT predicate on the "searches" field.

func SearchesGTE

func SearchesGTE(v uint64) predicate.Settings

SearchesGTE applies the GTE predicate on the "searches" field.

func SearchesIn

func SearchesIn(vs ...uint64) predicate.Settings

SearchesIn applies the In predicate on the "searches" field.

func SearchesLT

func SearchesLT(v uint64) predicate.Settings

SearchesLT applies the LT predicate on the "searches" field.

func SearchesLTE

func SearchesLTE(v uint64) predicate.Settings

SearchesLTE applies the LTE predicate on the "searches" field.

func SearchesNEQ

func SearchesNEQ(v uint64) predicate.Settings

SearchesNEQ applies the NEQ predicate on the "searches" field.

func SearchesNotIn

func SearchesNotIn(vs ...uint64) predicate.Settings

SearchesNotIn applies the NotIn predicate on the "searches" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL