Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AccessKey) predicate.AccessKey
- func Did(v string) predicate.AccessKey
- func DidContains(v string) predicate.AccessKey
- func DidContainsFold(v string) predicate.AccessKey
- func DidEQ(v string) predicate.AccessKey
- func DidEqualFold(v string) predicate.AccessKey
- func DidGT(v string) predicate.AccessKey
- func DidGTE(v string) predicate.AccessKey
- func DidHasPrefix(v string) predicate.AccessKey
- func DidHasSuffix(v string) predicate.AccessKey
- func DidIn(vs ...string) predicate.AccessKey
- func DidLT(v string) predicate.AccessKey
- func DidLTE(v string) predicate.AccessKey
- func DidNEQ(v string) predicate.AccessKey
- func DidNotIn(vs ...string) predicate.AccessKey
- func HasAccount() predicate.AccessKey
- func HasAccountWith(preds ...predicate.Account) predicate.AccessKey
- func ID(id int) predicate.AccessKey
- func IDEQ(id int) predicate.AccessKey
- func IDGT(id int) predicate.AccessKey
- func IDGTE(id int) predicate.AccessKey
- func IDIn(ids ...int) predicate.AccessKey
- func IDLT(id int) predicate.AccessKey
- func IDLTE(id int) predicate.AccessKey
- func IDNEQ(id int) predicate.AccessKey
- func IDNotIn(ids ...int) predicate.AccessKey
- func Not(p predicate.AccessKey) predicate.AccessKey
- func Or(predicates ...predicate.AccessKey) predicate.AccessKey
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the accesskey type in the database. Label = "access_key" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDid holds the string denoting the did field in the database. FieldDid = "did" // FieldBody holds the string denoting the body field in the database. FieldBody = "body" // EdgeAccount holds the string denoting the account edge name in mutations. EdgeAccount = "account" // Table holds the table name of the accesskey in the database. Table = "access_keys" // AccountTable is the table that holds the account relation/edge. AccountTable = "access_keys" // 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, FieldDid, FieldBody, }
Columns holds all SQL columns for accesskey fields.
var ForeignKeys = []string{
"account",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "access_keys" table and are not defined as standalone fields in the schema.
Functions ¶
func DidContains ¶
DidContains applies the Contains predicate on the "did" field.
func DidContainsFold ¶
DidContainsFold applies the ContainsFold predicate on the "did" field.
func DidEqualFold ¶
DidEqualFold applies the EqualFold predicate on the "did" field.
func DidHasPrefix ¶
DidHasPrefix applies the HasPrefix predicate on the "did" field.
func DidHasSuffix ¶
DidHasSuffix applies the HasSuffix predicate on the "did" 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.