Documentation
¶
Index ¶
- Constants
- Variables
- func AddedDate(v time.Time) predicate.HIBP
- func AddedDateEQ(v time.Time) predicate.HIBP
- func AddedDateGT(v time.Time) predicate.HIBP
- func AddedDateGTE(v time.Time) predicate.HIBP
- func AddedDateIn(vs ...time.Time) predicate.HIBP
- func AddedDateLT(v time.Time) predicate.HIBP
- func AddedDateLTE(v time.Time) predicate.HIBP
- func AddedDateNEQ(v time.Time) predicate.HIBP
- func AddedDateNotIn(vs ...time.Time) predicate.HIBP
- func And(predicates ...predicate.HIBP) predicate.HIBP
- func BreachDate(v string) predicate.HIBP
- func BreachDateContains(v string) predicate.HIBP
- func BreachDateContainsFold(v string) predicate.HIBP
- func BreachDateEQ(v string) predicate.HIBP
- func BreachDateEqualFold(v string) predicate.HIBP
- func BreachDateGT(v string) predicate.HIBP
- func BreachDateGTE(v string) predicate.HIBP
- func BreachDateHasPrefix(v string) predicate.HIBP
- func BreachDateHasSuffix(v string) predicate.HIBP
- func BreachDateIn(vs ...string) predicate.HIBP
- func BreachDateLT(v string) predicate.HIBP
- func BreachDateLTE(v string) predicate.HIBP
- func BreachDateNEQ(v string) predicate.HIBP
- func BreachDateNotIn(vs ...string) predicate.HIBP
- func Description(v string) predicate.HIBP
- func DescriptionContains(v string) predicate.HIBP
- func DescriptionContainsFold(v string) predicate.HIBP
- func DescriptionEQ(v string) predicate.HIBP
- func DescriptionEqualFold(v string) predicate.HIBP
- func DescriptionGT(v string) predicate.HIBP
- func DescriptionGTE(v string) predicate.HIBP
- func DescriptionHasPrefix(v string) predicate.HIBP
- func DescriptionHasSuffix(v string) predicate.HIBP
- func DescriptionIn(vs ...string) predicate.HIBP
- func DescriptionIsNil() predicate.HIBP
- func DescriptionLT(v string) predicate.HIBP
- func DescriptionLTE(v string) predicate.HIBP
- func DescriptionNEQ(v string) predicate.HIBP
- func DescriptionNotIn(vs ...string) predicate.HIBP
- func DescriptionNotNil() predicate.HIBP
- func Domain(v string) predicate.HIBP
- func DomainContains(v string) predicate.HIBP
- func DomainContainsFold(v string) predicate.HIBP
- func DomainEQ(v string) predicate.HIBP
- func DomainEqualFold(v string) predicate.HIBP
- func DomainGT(v string) predicate.HIBP
- func DomainGTE(v string) predicate.HIBP
- func DomainHasPrefix(v string) predicate.HIBP
- func DomainHasSuffix(v string) predicate.HIBP
- func DomainIn(vs ...string) predicate.HIBP
- func DomainLT(v string) predicate.HIBP
- func DomainLTE(v string) predicate.HIBP
- func DomainNEQ(v string) predicate.HIBP
- func DomainNotIn(vs ...string) predicate.HIBP
- func HasTrackedBreaches() predicate.HIBP
- func HasTrackedBreachesWith(preds ...predicate.TrackedBreaches) predicate.HIBP
- func ID(id uuid.UUID) predicate.HIBP
- func IDEQ(id uuid.UUID) predicate.HIBP
- func IDGT(id uuid.UUID) predicate.HIBP
- func IDGTE(id uuid.UUID) predicate.HIBP
- func IDIn(ids ...uuid.UUID) predicate.HIBP
- func IDLT(id uuid.UUID) predicate.HIBP
- func IDLTE(id uuid.UUID) predicate.HIBP
- func IDNEQ(id uuid.UUID) predicate.HIBP
- func IDNotIn(ids ...uuid.UUID) predicate.HIBP
- func IsFabricated(v bool) predicate.HIBP
- func IsFabricatedEQ(v bool) predicate.HIBP
- func IsFabricatedNEQ(v bool) predicate.HIBP
- func IsMalware(v bool) predicate.HIBP
- func IsMalwareEQ(v bool) predicate.HIBP
- func IsMalwareNEQ(v bool) predicate.HIBP
- func IsRetired(v bool) predicate.HIBP
- func IsRetiredEQ(v bool) predicate.HIBP
- func IsRetiredNEQ(v bool) predicate.HIBP
- func IsSensitive(v bool) predicate.HIBP
- func IsSensitiveEQ(v bool) predicate.HIBP
- func IsSensitiveNEQ(v bool) predicate.HIBP
- func IsSpamList(v bool) predicate.HIBP
- func IsSpamListEQ(v bool) predicate.HIBP
- func IsSpamListNEQ(v bool) predicate.HIBP
- func IsVerified(v bool) predicate.HIBP
- func IsVerifiedEQ(v bool) predicate.HIBP
- func IsVerifiedNEQ(v bool) predicate.HIBP
- func LogoPath(v string) predicate.HIBP
- func LogoPathContains(v string) predicate.HIBP
- func LogoPathContainsFold(v string) predicate.HIBP
- func LogoPathEQ(v string) predicate.HIBP
- func LogoPathEqualFold(v string) predicate.HIBP
- func LogoPathGT(v string) predicate.HIBP
- func LogoPathGTE(v string) predicate.HIBP
- func LogoPathHasPrefix(v string) predicate.HIBP
- func LogoPathHasSuffix(v string) predicate.HIBP
- func LogoPathIn(vs ...string) predicate.HIBP
- func LogoPathIsNil() predicate.HIBP
- func LogoPathLT(v string) predicate.HIBP
- func LogoPathLTE(v string) predicate.HIBP
- func LogoPathNEQ(v string) predicate.HIBP
- func LogoPathNotIn(vs ...string) predicate.HIBP
- func LogoPathNotNil() predicate.HIBP
- func ModifiedDate(v time.Time) predicate.HIBP
- func ModifiedDateEQ(v time.Time) predicate.HIBP
- func ModifiedDateGT(v time.Time) predicate.HIBP
- func ModifiedDateGTE(v time.Time) predicate.HIBP
- func ModifiedDateIn(vs ...time.Time) predicate.HIBP
- func ModifiedDateLT(v time.Time) predicate.HIBP
- func ModifiedDateLTE(v time.Time) predicate.HIBP
- func ModifiedDateNEQ(v time.Time) predicate.HIBP
- func ModifiedDateNotIn(vs ...time.Time) predicate.HIBP
- func Name(v string) predicate.HIBP
- func NameContains(v string) predicate.HIBP
- func NameContainsFold(v string) predicate.HIBP
- func NameEQ(v string) predicate.HIBP
- func NameEqualFold(v string) predicate.HIBP
- func NameGT(v string) predicate.HIBP
- func NameGTE(v string) predicate.HIBP
- func NameHasPrefix(v string) predicate.HIBP
- func NameHasSuffix(v string) predicate.HIBP
- func NameIn(vs ...string) predicate.HIBP
- func NameLT(v string) predicate.HIBP
- func NameLTE(v string) predicate.HIBP
- func NameNEQ(v string) predicate.HIBP
- func NameNotIn(vs ...string) predicate.HIBP
- func Not(p predicate.HIBP) predicate.HIBP
- func Or(predicates ...predicate.HIBP) predicate.HIBP
- func PwnCount(v int) predicate.HIBP
- func PwnCountEQ(v int) predicate.HIBP
- func PwnCountGT(v int) predicate.HIBP
- func PwnCountGTE(v int) predicate.HIBP
- func PwnCountIn(vs ...int) predicate.HIBP
- func PwnCountLT(v int) predicate.HIBP
- func PwnCountLTE(v int) predicate.HIBP
- func PwnCountNEQ(v int) predicate.HIBP
- func PwnCountNotIn(vs ...int) predicate.HIBP
- func Title(v string) predicate.HIBP
- func TitleContains(v string) predicate.HIBP
- func TitleContainsFold(v string) predicate.HIBP
- func TitleEQ(v string) predicate.HIBP
- func TitleEqualFold(v string) predicate.HIBP
- func TitleGT(v string) predicate.HIBP
- func TitleGTE(v string) predicate.HIBP
- func TitleHasPrefix(v string) predicate.HIBP
- func TitleHasSuffix(v string) predicate.HIBP
- func TitleIn(vs ...string) predicate.HIBP
- func TitleLT(v string) predicate.HIBP
- func TitleLTE(v string) predicate.HIBP
- func TitleNEQ(v string) predicate.HIBP
- func TitleNotIn(vs ...string) predicate.HIBP
- func ValidColumn(column string) bool
- type OrderOption
- func ByAddedDate(opts ...sql.OrderTermOption) OrderOption
- func ByBreachDate(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDomain(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsFabricated(opts ...sql.OrderTermOption) OrderOption
- func ByIsMalware(opts ...sql.OrderTermOption) OrderOption
- func ByIsRetired(opts ...sql.OrderTermOption) OrderOption
- func ByIsSensitive(opts ...sql.OrderTermOption) OrderOption
- func ByIsSpamList(opts ...sql.OrderTermOption) OrderOption
- func ByIsVerified(opts ...sql.OrderTermOption) OrderOption
- func ByLogoPath(opts ...sql.OrderTermOption) OrderOption
- func ByModifiedDate(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPwnCount(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByTrackedBreachesField(field string, opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the hibp type in the database. Label = "hibp" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDomain holds the string denoting the domain field in the database. FieldDomain = "domain" // FieldBreachDate holds the string denoting the breach_date field in the database. FieldBreachDate = "breach_date" // FieldAddedDate holds the string denoting the added_date field in the database. FieldAddedDate = "added_date" // FieldModifiedDate holds the string denoting the modified_date field in the database. FieldModifiedDate = "modified_date" // FieldPwnCount holds the string denoting the pwn_count field in the database. FieldPwnCount = "pwn_count" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldDataclasses holds the string denoting the dataclasses field in the database. FieldDataclasses = "dataclasses" // FieldIsVerified holds the string denoting the is_verified field in the database. FieldIsVerified = "is_verified" // FieldIsFabricated holds the string denoting the is_fabricated field in the database. FieldIsFabricated = "is_fabricated" // FieldIsSensitive holds the string denoting the is_sensitive field in the database. FieldIsSensitive = "is_sensitive" // FieldIsRetired holds the string denoting the is_retired field in the database. FieldIsRetired = "is_retired" // FieldIsSpamList holds the string denoting the is_spamlist field in the database. FieldIsSpamList = "is_spam_list" // FieldIsMalware holds the string denoting the is_malware field in the database. FieldIsMalware = "is_malware" // FieldLogoPath holds the string denoting the logo_path field in the database. FieldLogoPath = "logo_path" // EdgeTrackedBreaches holds the string denoting the tracked_breaches edge name in mutations. EdgeTrackedBreaches = "tracked_breaches" // Table holds the table name of the hibp in the database. Table = "hib_ps" // TrackedBreachesTable is the table that holds the tracked_breaches relation/edge. TrackedBreachesTable = "hib_ps" // TrackedBreachesInverseTable is the table name for the TrackedBreaches entity. // It exists in this package in order to avoid circular dependency with the "trackedbreaches" package. TrackedBreachesInverseTable = "tracked_breaches" // TrackedBreachesColumn is the table column denoting the tracked_breaches relation/edge. TrackedBreachesColumn = "tracked_breaches_hibp" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultIsVerified holds the default value on creation for the "is_verified" field. DefaultIsVerified bool // DefaultIsFabricated holds the default value on creation for the "is_fabricated" field. DefaultIsFabricated bool // DefaultIsSensitive holds the default value on creation for the "is_sensitive" field. DefaultIsSensitive bool // DefaultIsRetired holds the default value on creation for the "is_retired" field. DefaultIsRetired bool // DefaultIsSpamList holds the default value on creation for the "is_spamList" field. DefaultIsSpamList bool // DefaultIsMalware holds the default value on creation for the "is_malware" field. DefaultIsMalware bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldTitle, FieldDomain, FieldBreachDate, FieldAddedDate, FieldModifiedDate, FieldPwnCount, FieldDescription, FieldDataclasses, FieldIsVerified, FieldIsFabricated, FieldIsSensitive, FieldIsRetired, FieldIsSpamList, FieldIsMalware, FieldLogoPath, }
Columns holds all SQL columns for hibp fields.
var ForeignKeys = []string{
"tracked_breaches_hibp",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "hib_ps" table and are not defined as standalone fields in the schema.
Functions ¶
func AddedDate ¶
AddedDate applies equality check predicate on the "added_date" field. It's identical to AddedDateEQ.
func AddedDateEQ ¶
AddedDateEQ applies the EQ predicate on the "added_date" field.
func AddedDateGT ¶
AddedDateGT applies the GT predicate on the "added_date" field.
func AddedDateGTE ¶
AddedDateGTE applies the GTE predicate on the "added_date" field.
func AddedDateIn ¶
AddedDateIn applies the In predicate on the "added_date" field.
func AddedDateLT ¶
AddedDateLT applies the LT predicate on the "added_date" field.
func AddedDateLTE ¶
AddedDateLTE applies the LTE predicate on the "added_date" field.
func AddedDateNEQ ¶
AddedDateNEQ applies the NEQ predicate on the "added_date" field.
func AddedDateNotIn ¶
AddedDateNotIn applies the NotIn predicate on the "added_date" field.
func BreachDate ¶
BreachDate applies equality check predicate on the "breach_date" field. It's identical to BreachDateEQ.
func BreachDateContains ¶
BreachDateContains applies the Contains predicate on the "breach_date" field.
func BreachDateContainsFold ¶
BreachDateContainsFold applies the ContainsFold predicate on the "breach_date" field.
func BreachDateEQ ¶
BreachDateEQ applies the EQ predicate on the "breach_date" field.
func BreachDateEqualFold ¶
BreachDateEqualFold applies the EqualFold predicate on the "breach_date" field.
func BreachDateGT ¶
BreachDateGT applies the GT predicate on the "breach_date" field.
func BreachDateGTE ¶
BreachDateGTE applies the GTE predicate on the "breach_date" field.
func BreachDateHasPrefix ¶
BreachDateHasPrefix applies the HasPrefix predicate on the "breach_date" field.
func BreachDateHasSuffix ¶
BreachDateHasSuffix applies the HasSuffix predicate on the "breach_date" field.
func BreachDateIn ¶
BreachDateIn applies the In predicate on the "breach_date" field.
func BreachDateLT ¶
BreachDateLT applies the LT predicate on the "breach_date" field.
func BreachDateLTE ¶
BreachDateLTE applies the LTE predicate on the "breach_date" field.
func BreachDateNEQ ¶
BreachDateNEQ applies the NEQ predicate on the "breach_date" field.
func BreachDateNotIn ¶
BreachDateNotIn applies the NotIn predicate on the "breach_date" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Domain ¶
Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.
func DomainContains ¶
DomainContains applies the Contains predicate on the "domain" field.
func DomainContainsFold ¶
DomainContainsFold applies the ContainsFold predicate on the "domain" field.
func DomainEqualFold ¶
DomainEqualFold applies the EqualFold predicate on the "domain" field.
func DomainHasPrefix ¶
DomainHasPrefix applies the HasPrefix predicate on the "domain" field.
func DomainHasSuffix ¶
DomainHasSuffix applies the HasSuffix predicate on the "domain" field.
func DomainNotIn ¶
DomainNotIn applies the NotIn predicate on the "domain" field.
func HasTrackedBreaches ¶
HasTrackedBreaches applies the HasEdge predicate on the "tracked_breaches" edge.
func HasTrackedBreachesWith ¶
func HasTrackedBreachesWith(preds ...predicate.TrackedBreaches) predicate.HIBP
HasTrackedBreachesWith applies the HasEdge predicate on the "tracked_breaches" edge with a given conditions (other predicates).
func IsFabricated ¶
IsFabricated applies equality check predicate on the "is_fabricated" field. It's identical to IsFabricatedEQ.
func IsFabricatedEQ ¶
IsFabricatedEQ applies the EQ predicate on the "is_fabricated" field.
func IsFabricatedNEQ ¶
IsFabricatedNEQ applies the NEQ predicate on the "is_fabricated" field.
func IsMalware ¶
IsMalware applies equality check predicate on the "is_malware" field. It's identical to IsMalwareEQ.
func IsMalwareEQ ¶
IsMalwareEQ applies the EQ predicate on the "is_malware" field.
func IsMalwareNEQ ¶
IsMalwareNEQ applies the NEQ predicate on the "is_malware" field.
func IsRetired ¶
IsRetired applies equality check predicate on the "is_retired" field. It's identical to IsRetiredEQ.
func IsRetiredEQ ¶
IsRetiredEQ applies the EQ predicate on the "is_retired" field.
func IsRetiredNEQ ¶
IsRetiredNEQ applies the NEQ predicate on the "is_retired" field.
func IsSensitive ¶
IsSensitive applies equality check predicate on the "is_sensitive" field. It's identical to IsSensitiveEQ.
func IsSensitiveEQ ¶
IsSensitiveEQ applies the EQ predicate on the "is_sensitive" field.
func IsSensitiveNEQ ¶
IsSensitiveNEQ applies the NEQ predicate on the "is_sensitive" field.
func IsSpamList ¶
IsSpamList applies equality check predicate on the "is_spamList" field. It's identical to IsSpamListEQ.
func IsSpamListEQ ¶
IsSpamListEQ applies the EQ predicate on the "is_spamList" field.
func IsSpamListNEQ ¶
IsSpamListNEQ applies the NEQ predicate on the "is_spamList" field.
func IsVerified ¶
IsVerified applies equality check predicate on the "is_verified" field. It's identical to IsVerifiedEQ.
func IsVerifiedEQ ¶
IsVerifiedEQ applies the EQ predicate on the "is_verified" field.
func IsVerifiedNEQ ¶
IsVerifiedNEQ applies the NEQ predicate on the "is_verified" field.
func LogoPath ¶
LogoPath applies equality check predicate on the "logo_path" field. It's identical to LogoPathEQ.
func LogoPathContains ¶
LogoPathContains applies the Contains predicate on the "logo_path" field.
func LogoPathContainsFold ¶
LogoPathContainsFold applies the ContainsFold predicate on the "logo_path" field.
func LogoPathEQ ¶
LogoPathEQ applies the EQ predicate on the "logo_path" field.
func LogoPathEqualFold ¶
LogoPathEqualFold applies the EqualFold predicate on the "logo_path" field.
func LogoPathGT ¶
LogoPathGT applies the GT predicate on the "logo_path" field.
func LogoPathGTE ¶
LogoPathGTE applies the GTE predicate on the "logo_path" field.
func LogoPathHasPrefix ¶
LogoPathHasPrefix applies the HasPrefix predicate on the "logo_path" field.
func LogoPathHasSuffix ¶
LogoPathHasSuffix applies the HasSuffix predicate on the "logo_path" field.
func LogoPathIn ¶
LogoPathIn applies the In predicate on the "logo_path" field.
func LogoPathIsNil ¶
LogoPathIsNil applies the IsNil predicate on the "logo_path" field.
func LogoPathLT ¶
LogoPathLT applies the LT predicate on the "logo_path" field.
func LogoPathLTE ¶
LogoPathLTE applies the LTE predicate on the "logo_path" field.
func LogoPathNEQ ¶
LogoPathNEQ applies the NEQ predicate on the "logo_path" field.
func LogoPathNotIn ¶
LogoPathNotIn applies the NotIn predicate on the "logo_path" field.
func LogoPathNotNil ¶
LogoPathNotNil applies the NotNil predicate on the "logo_path" field.
func ModifiedDate ¶
ModifiedDate applies equality check predicate on the "modified_date" field. It's identical to ModifiedDateEQ.
func ModifiedDateEQ ¶
ModifiedDateEQ applies the EQ predicate on the "modified_date" field.
func ModifiedDateGT ¶
ModifiedDateGT applies the GT predicate on the "modified_date" field.
func ModifiedDateGTE ¶
ModifiedDateGTE applies the GTE predicate on the "modified_date" field.
func ModifiedDateIn ¶
ModifiedDateIn applies the In predicate on the "modified_date" field.
func ModifiedDateLT ¶
ModifiedDateLT applies the LT predicate on the "modified_date" field.
func ModifiedDateLTE ¶
ModifiedDateLTE applies the LTE predicate on the "modified_date" field.
func ModifiedDateNEQ ¶
ModifiedDateNEQ applies the NEQ predicate on the "modified_date" field.
func ModifiedDateNotIn ¶
ModifiedDateNotIn applies the NotIn predicate on the "modified_date" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PwnCount ¶
PwnCount applies equality check predicate on the "pwn_count" field. It's identical to PwnCountEQ.
func PwnCountEQ ¶
PwnCountEQ applies the EQ predicate on the "pwn_count" field.
func PwnCountGT ¶
PwnCountGT applies the GT predicate on the "pwn_count" field.
func PwnCountGTE ¶
PwnCountGTE applies the GTE predicate on the "pwn_count" field.
func PwnCountIn ¶
PwnCountIn applies the In predicate on the "pwn_count" field.
func PwnCountLT ¶
PwnCountLT applies the LT predicate on the "pwn_count" field.
func PwnCountLTE ¶
PwnCountLTE applies the LTE predicate on the "pwn_count" field.
func PwnCountNEQ ¶
PwnCountNEQ applies the NEQ predicate on the "pwn_count" field.
func PwnCountNotIn ¶
PwnCountNotIn applies the NotIn predicate on the "pwn_count" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" 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 HIBP queries.
func ByAddedDate ¶
func ByAddedDate(opts ...sql.OrderTermOption) OrderOption
ByAddedDate orders the results by the added_date field.
func ByBreachDate ¶
func ByBreachDate(opts ...sql.OrderTermOption) OrderOption
ByBreachDate orders the results by the breach_date field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDomain ¶
func ByDomain(opts ...sql.OrderTermOption) OrderOption
ByDomain orders the results by the domain field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsFabricated ¶
func ByIsFabricated(opts ...sql.OrderTermOption) OrderOption
ByIsFabricated orders the results by the is_fabricated field.
func ByIsMalware ¶
func ByIsMalware(opts ...sql.OrderTermOption) OrderOption
ByIsMalware orders the results by the is_malware field.
func ByIsRetired ¶
func ByIsRetired(opts ...sql.OrderTermOption) OrderOption
ByIsRetired orders the results by the is_retired field.
func ByIsSensitive ¶
func ByIsSensitive(opts ...sql.OrderTermOption) OrderOption
ByIsSensitive orders the results by the is_sensitive field.
func ByIsSpamList ¶
func ByIsSpamList(opts ...sql.OrderTermOption) OrderOption
ByIsSpamList orders the results by the is_spamList field.
func ByIsVerified ¶
func ByIsVerified(opts ...sql.OrderTermOption) OrderOption
ByIsVerified orders the results by the is_verified field.
func ByLogoPath ¶
func ByLogoPath(opts ...sql.OrderTermOption) OrderOption
ByLogoPath orders the results by the logo_path field.
func ByModifiedDate ¶
func ByModifiedDate(opts ...sql.OrderTermOption) OrderOption
ByModifiedDate orders the results by the modified_date field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPwnCount ¶
func ByPwnCount(opts ...sql.OrderTermOption) OrderOption
ByPwnCount orders the results by the pwn_count field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByTrackedBreachesField ¶
func ByTrackedBreachesField(field string, opts ...sql.OrderTermOption) OrderOption
ByTrackedBreachesField orders the results by tracked_breaches field.