Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Access) predicate.Access
- func CreatedAt(v int64) predicate.Access
- func CreatedAtEQ(v int64) predicate.Access
- func CreatedAtGT(v int64) predicate.Access
- func CreatedAtGTE(v int64) predicate.Access
- func CreatedAtIn(vs ...int64) predicate.Access
- func CreatedAtLT(v int64) predicate.Access
- func CreatedAtLTE(v int64) predicate.Access
- func CreatedAtNEQ(v int64) predicate.Access
- func CreatedAtNotIn(vs ...int64) predicate.Access
- func Creator(v string) predicate.Access
- func CreatorContains(v string) predicate.Access
- func CreatorContainsFold(v string) predicate.Access
- func CreatorEQ(v string) predicate.Access
- func CreatorEqualFold(v string) predicate.Access
- func CreatorGT(v string) predicate.Access
- func CreatorGTE(v string) predicate.Access
- func CreatorHasPrefix(v string) predicate.Access
- func CreatorHasSuffix(v string) predicate.Access
- func CreatorIn(vs ...string) predicate.Access
- func CreatorLT(v string) predicate.Access
- func CreatorLTE(v string) predicate.Access
- func CreatorNEQ(v string) predicate.Access
- func CreatorNotIn(vs ...string) predicate.Access
- func HasOwner() predicate.Access
- func HasOwnerWith(preds ...predicate.User) predicate.Access
- func ID(id string) predicate.Access
- func IDEQ(id string) predicate.Access
- func IDGT(id string) predicate.Access
- func IDGTE(id string) predicate.Access
- func IDIn(ids ...string) predicate.Access
- func IDLT(id string) predicate.Access
- func IDLTE(id string) predicate.Access
- func IDNEQ(id string) predicate.Access
- func IDNotIn(ids ...string) predicate.Access
- func Not(p predicate.Access) predicate.Access
- func Or(predicates ...predicate.Access) predicate.Access
Constants ¶
const ( // Label holds the string label denoting the access type in the database. Label = "access" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreator holds the string denoting the creator field in the database. FieldCreator = "creator" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the access in the database. Table = "accesses" // OwnerTable is the table the holds the owner relation/edge. OwnerTable = "accesses" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "user_accesses" )
Variables ¶
var ( // CreatorValidator is a validator for the "creator" field. It is called by the builders before save. CreatorValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldCreator, FieldCreatedAt, }
Columns holds all SQL columns for access fields.
var ForeignKeys = []string{
"user_accesses",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Access type.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Creator ¶
Creator applies equality check predicate on the "creator" field. It's identical to CreatorEQ.
func CreatorContains ¶
CreatorContains applies the Contains predicate on the "creator" field.
func CreatorContainsFold ¶
CreatorContainsFold applies the ContainsFold predicate on the "creator" field.
func CreatorEqualFold ¶
CreatorEqualFold applies the EqualFold predicate on the "creator" field.
func CreatorGTE ¶
CreatorGTE applies the GTE predicate on the "creator" field.
func CreatorHasPrefix ¶
CreatorHasPrefix applies the HasPrefix predicate on the "creator" field.
func CreatorHasSuffix ¶
CreatorHasSuffix applies the HasSuffix predicate on the "creator" field.
func CreatorLTE ¶
CreatorLTE applies the LTE predicate on the "creator" field.
func CreatorNEQ ¶
CreatorNEQ applies the NEQ predicate on the "creator" field.
func CreatorNotIn ¶
CreatorNotIn applies the NotIn predicate on the "creator" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
Types ¶
This section is empty.