Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Property) predicate.Property
- func EncryptedBody(v string) predicate.Property
- func EncryptedBodyContains(v string) predicate.Property
- func EncryptedBodyContainsFold(v string) predicate.Property
- func EncryptedBodyEQ(v string) predicate.Property
- func EncryptedBodyEqualFold(v string) predicate.Property
- func EncryptedBodyGT(v string) predicate.Property
- func EncryptedBodyGTE(v string) predicate.Property
- func EncryptedBodyHasPrefix(v string) predicate.Property
- func EncryptedBodyHasSuffix(v string) predicate.Property
- func EncryptedBodyIn(vs ...string) predicate.Property
- func EncryptedBodyLT(v string) predicate.Property
- func EncryptedBodyLTE(v string) predicate.Property
- func EncryptedBodyNEQ(v string) predicate.Property
- func EncryptedBodyNotIn(vs ...string) predicate.Property
- func EncryptedID(v string) predicate.Property
- func EncryptedIDContains(v string) predicate.Property
- func EncryptedIDContainsFold(v string) predicate.Property
- func EncryptedIDEQ(v string) predicate.Property
- func EncryptedIDEqualFold(v string) predicate.Property
- func EncryptedIDGT(v string) predicate.Property
- func EncryptedIDGTE(v string) predicate.Property
- func EncryptedIDHasPrefix(v string) predicate.Property
- func EncryptedIDHasSuffix(v string) predicate.Property
- func EncryptedIDIn(vs ...string) predicate.Property
- func EncryptedIDLT(v string) predicate.Property
- func EncryptedIDLTE(v string) predicate.Property
- func EncryptedIDNEQ(v string) predicate.Property
- func EncryptedIDNotIn(vs ...string) predicate.Property
- func HasAccount() predicate.Property
- func HasAccountWith(preds ...predicate.Account) predicate.Property
- func Hash(v string) predicate.Property
- func HashContains(v string) predicate.Property
- func HashContainsFold(v string) predicate.Property
- func HashEQ(v string) predicate.Property
- func HashEqualFold(v string) predicate.Property
- func HashGT(v string) predicate.Property
- func HashGTE(v string) predicate.Property
- func HashHasPrefix(v string) predicate.Property
- func HashHasSuffix(v string) predicate.Property
- func HashIn(vs ...string) predicate.Property
- func HashLT(v string) predicate.Property
- func HashLTE(v string) predicate.Property
- func HashNEQ(v string) predicate.Property
- func HashNotIn(vs ...string) predicate.Property
- func ID(id int) predicate.Property
- func IDEQ(id int) predicate.Property
- func IDGT(id int) predicate.Property
- func IDGTE(id int) predicate.Property
- func IDIn(ids ...int) predicate.Property
- func IDLT(id int) predicate.Property
- func IDLTE(id int) predicate.Property
- func IDNEQ(id int) predicate.Property
- func IDNotIn(ids ...int) predicate.Property
- func Level(v int32) predicate.Property
- func LevelEQ(v int32) predicate.Property
- func LevelGT(v int32) predicate.Property
- func LevelGTE(v int32) predicate.Property
- func LevelIn(vs ...int32) predicate.Property
- func LevelLT(v int32) predicate.Property
- func LevelLTE(v int32) predicate.Property
- func LevelNEQ(v int32) predicate.Property
- func LevelNotIn(vs ...int32) predicate.Property
- func Not(p predicate.Property) predicate.Property
- func Or(predicates ...predicate.Property) predicate.Property
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the property type in the database. Label = "property" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldHash holds the string denoting the hash field in the database. FieldHash = "hash" // FieldLevel holds the string denoting the level field in the database. FieldLevel = "level" // FieldEncryptedID holds the string denoting the encrypted_id field in the database. FieldEncryptedID = "encrypted_id" // FieldEncryptedBody holds the string denoting the encrypted_body field in the database. FieldEncryptedBody = "encrypted_body" // EdgeAccount holds the string denoting the account edge name in mutations. EdgeAccount = "account" // Table holds the table name of the property in the database. Table = "properties" // AccountTable is the table that holds the account relation/edge. AccountTable = "properties" // AccountInverseTable is the table name for the Account entity. // It exists in this package in order to avoid circular dependency with the "entaccount" package. AccountInverseTable = "accounts" // AccountColumn is the table column denoting the account relation/edge. AccountColumn = "account" )
Variables ¶
var Columns = []string{ FieldID, FieldHash, FieldLevel, FieldEncryptedID, FieldEncryptedBody, }
Columns holds all SQL columns for property fields.
var ForeignKeys = []string{
"account",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "properties" table and are not defined as standalone fields in the schema.
Functions ¶
func EncryptedBody ¶
EncryptedBody applies equality check predicate on the "encrypted_body" field. It's identical to EncryptedBodyEQ.
func EncryptedBodyContains ¶
EncryptedBodyContains applies the Contains predicate on the "encrypted_body" field.
func EncryptedBodyContainsFold ¶
EncryptedBodyContainsFold applies the ContainsFold predicate on the "encrypted_body" field.
func EncryptedBodyEQ ¶
EncryptedBodyEQ applies the EQ predicate on the "encrypted_body" field.
func EncryptedBodyEqualFold ¶
EncryptedBodyEqualFold applies the EqualFold predicate on the "encrypted_body" field.
func EncryptedBodyGT ¶
EncryptedBodyGT applies the GT predicate on the "encrypted_body" field.
func EncryptedBodyGTE ¶
EncryptedBodyGTE applies the GTE predicate on the "encrypted_body" field.
func EncryptedBodyHasPrefix ¶
EncryptedBodyHasPrefix applies the HasPrefix predicate on the "encrypted_body" field.
func EncryptedBodyHasSuffix ¶
EncryptedBodyHasSuffix applies the HasSuffix predicate on the "encrypted_body" field.
func EncryptedBodyIn ¶
EncryptedBodyIn applies the In predicate on the "encrypted_body" field.
func EncryptedBodyLT ¶
EncryptedBodyLT applies the LT predicate on the "encrypted_body" field.
func EncryptedBodyLTE ¶
EncryptedBodyLTE applies the LTE predicate on the "encrypted_body" field.
func EncryptedBodyNEQ ¶
EncryptedBodyNEQ applies the NEQ predicate on the "encrypted_body" field.
func EncryptedBodyNotIn ¶
EncryptedBodyNotIn applies the NotIn predicate on the "encrypted_body" field.
func EncryptedID ¶
EncryptedID applies equality check predicate on the "encrypted_id" field. It's identical to EncryptedIDEQ.
func EncryptedIDContains ¶
EncryptedIDContains applies the Contains predicate on the "encrypted_id" field.
func EncryptedIDContainsFold ¶
EncryptedIDContainsFold applies the ContainsFold predicate on the "encrypted_id" field.
func EncryptedIDEQ ¶
EncryptedIDEQ applies the EQ predicate on the "encrypted_id" field.
func EncryptedIDEqualFold ¶
EncryptedIDEqualFold applies the EqualFold predicate on the "encrypted_id" field.
func EncryptedIDGT ¶
EncryptedIDGT applies the GT predicate on the "encrypted_id" field.
func EncryptedIDGTE ¶
EncryptedIDGTE applies the GTE predicate on the "encrypted_id" field.
func EncryptedIDHasPrefix ¶
EncryptedIDHasPrefix applies the HasPrefix predicate on the "encrypted_id" field.
func EncryptedIDHasSuffix ¶
EncryptedIDHasSuffix applies the HasSuffix predicate on the "encrypted_id" field.
func EncryptedIDIn ¶
EncryptedIDIn applies the In predicate on the "encrypted_id" field.
func EncryptedIDLT ¶
EncryptedIDLT applies the LT predicate on the "encrypted_id" field.
func EncryptedIDLTE ¶
EncryptedIDLTE applies the LTE predicate on the "encrypted_id" field.
func EncryptedIDNEQ ¶
EncryptedIDNEQ applies the NEQ predicate on the "encrypted_id" field.
func EncryptedIDNotIn ¶
EncryptedIDNotIn applies the NotIn predicate on the "encrypted_id" field.
func HasAccount ¶
HasAccount applies the HasEdge predicate on the "account" edge.
func HasAccountWith ¶
HasAccountWith applies the HasEdge predicate on the "account" edge with a given conditions (other predicates).
func HashContains ¶
HashContains applies the Contains predicate on the "hash" field.
func HashContainsFold ¶
HashContainsFold applies the ContainsFold predicate on the "hash" field.
func HashEqualFold ¶
HashEqualFold applies the EqualFold predicate on the "hash" field.
func HashHasPrefix ¶
HashHasPrefix applies the HasPrefix predicate on the "hash" field.
func HashHasSuffix ¶
HashHasSuffix applies the HasSuffix predicate on the "hash" field.
func Level ¶
Level applies equality check predicate on the "level" field. It's identical to LevelEQ.
func LevelNotIn ¶
LevelNotIn applies the NotIn predicate on the "level" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.