Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.DID) predicate.DID
- func CreatedAt(v time.Time) predicate.DID
- func CreatedAtEQ(v time.Time) predicate.DID
- func CreatedAtGT(v time.Time) predicate.DID
- func CreatedAtGTE(v time.Time) predicate.DID
- func CreatedAtIn(vs ...time.Time) predicate.DID
- func CreatedAtLT(v time.Time) predicate.DID
- func CreatedAtLTE(v time.Time) predicate.DID
- func CreatedAtNEQ(v time.Time) predicate.DID
- func CreatedAtNotIn(vs ...time.Time) predicate.DID
- func HasUser() predicate.DID
- func HasUserWith(preds ...predicate.User) predicate.DID
- func ID(id string) predicate.DID
- func IDEQ(id string) predicate.DID
- func IDGT(id string) predicate.DID
- func IDGTE(id string) predicate.DID
- func IDIn(ids ...string) predicate.DID
- func IDLT(id string) predicate.DID
- func IDLTE(id string) predicate.DID
- func IDNEQ(id string) predicate.DID
- func IDNotIn(ids ...string) predicate.DID
- func Method(v string) predicate.DID
- func MethodContains(v string) predicate.DID
- func MethodContainsFold(v string) predicate.DID
- func MethodEQ(v string) predicate.DID
- func MethodEqualFold(v string) predicate.DID
- func MethodGT(v string) predicate.DID
- func MethodGTE(v string) predicate.DID
- func MethodHasPrefix(v string) predicate.DID
- func MethodHasSuffix(v string) predicate.DID
- func MethodIn(vs ...string) predicate.DID
- func MethodIsNil() predicate.DID
- func MethodLT(v string) predicate.DID
- func MethodLTE(v string) predicate.DID
- func MethodNEQ(v string) predicate.DID
- func MethodNotIn(vs ...string) predicate.DID
- func MethodNotNil() predicate.DID
- func Not(p predicate.DID) predicate.DID
- func Or(predicates ...predicate.DID) predicate.DID
- func UpdatedAt(v time.Time) predicate.DID
- func UpdatedAtEQ(v time.Time) predicate.DID
- func UpdatedAtGT(v time.Time) predicate.DID
- func UpdatedAtGTE(v time.Time) predicate.DID
- func UpdatedAtIn(vs ...time.Time) predicate.DID
- func UpdatedAtLT(v time.Time) predicate.DID
- func UpdatedAtLTE(v time.Time) predicate.DID
- func UpdatedAtNEQ(v time.Time) predicate.DID
- func UpdatedAtNotIn(vs ...time.Time) predicate.DID
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the did type in the database. Label = "did" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldMethod holds the string denoting the method field in the database. FieldMethod = "method" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the did in the database. Table = "di_ds" // UserTable is the table that holds the user relation/edge. UserTable = "di_ds" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_dids" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldMethod, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for did fields.
var ForeignKeys = []string{
"user_dids",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "di_ds" table and are not defined as standalone fields in the schema.
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 HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func Method ¶
Method applies equality check predicate on the "method" field. It's identical to MethodEQ.
func MethodContains ¶
MethodContains applies the Contains predicate on the "method" field.
func MethodContainsFold ¶
MethodContainsFold applies the ContainsFold predicate on the "method" field.
func MethodEqualFold ¶
MethodEqualFold applies the EqualFold predicate on the "method" field.
func MethodHasPrefix ¶
MethodHasPrefix applies the HasPrefix predicate on the "method" field.
func MethodHasSuffix ¶
MethodHasSuffix applies the HasSuffix predicate on the "method" field.
func MethodIsNil ¶
MethodIsNil applies the IsNil predicate on the "method" field.
func MethodNotIn ¶
MethodNotIn applies the NotIn predicate on the "method" field.
func MethodNotNil ¶
MethodNotNil applies the NotNil predicate on the "method" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.