Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.MenPai
- func AddressContains(v string) predicate.MenPai
- func AddressContainsFold(v string) predicate.MenPai
- func AddressEQ(v string) predicate.MenPai
- func AddressEqualFold(v string) predicate.MenPai
- func AddressGT(v string) predicate.MenPai
- func AddressGTE(v string) predicate.MenPai
- func AddressHasPrefix(v string) predicate.MenPai
- func AddressHasSuffix(v string) predicate.MenPai
- func AddressIn(vs ...string) predicate.MenPai
- func AddressLT(v string) predicate.MenPai
- func AddressLTE(v string) predicate.MenPai
- func AddressNEQ(v string) predicate.MenPai
- func AddressNotIn(vs ...string) predicate.MenPai
- func And(predicates ...predicate.MenPai) predicate.MenPai
- func CreatedAt(v time.Time) predicate.MenPai
- func CreatedAtEQ(v time.Time) predicate.MenPai
- func CreatedAtGT(v time.Time) predicate.MenPai
- func CreatedAtGTE(v time.Time) predicate.MenPai
- func CreatedAtIn(vs ...time.Time) predicate.MenPai
- func CreatedAtLT(v time.Time) predicate.MenPai
- func CreatedAtLTE(v time.Time) predicate.MenPai
- func CreatedAtNEQ(v time.Time) predicate.MenPai
- func CreatedAtNotIn(vs ...time.Time) predicate.MenPai
- func HasDisciples() predicate.MenPai
- func HasDisciplesWith(preds ...predicate.JiangHuRen) predicate.MenPai
- func ID(id int) predicate.MenPai
- func IDEQ(id int) predicate.MenPai
- func IDGT(id int) predicate.MenPai
- func IDGTE(id int) predicate.MenPai
- func IDIn(ids ...int) predicate.MenPai
- func IDLT(id int) predicate.MenPai
- func IDLTE(id int) predicate.MenPai
- func IDNEQ(id int) predicate.MenPai
- func IDNotIn(ids ...int) predicate.MenPai
- func Name(v string) predicate.MenPai
- func NameContains(v string) predicate.MenPai
- func NameContainsFold(v string) predicate.MenPai
- func NameEQ(v string) predicate.MenPai
- func NameEqualFold(v string) predicate.MenPai
- func NameGT(v string) predicate.MenPai
- func NameGTE(v string) predicate.MenPai
- func NameHasPrefix(v string) predicate.MenPai
- func NameHasSuffix(v string) predicate.MenPai
- func NameIn(vs ...string) predicate.MenPai
- func NameLT(v string) predicate.MenPai
- func NameLTE(v string) predicate.MenPai
- func NameNEQ(v string) predicate.MenPai
- func NameNotIn(vs ...string) predicate.MenPai
- func Not(p predicate.MenPai) predicate.MenPai
- func Or(predicates ...predicate.MenPai) predicate.MenPai
- func UpdatedAt(v time.Time) predicate.MenPai
- func UpdatedAtEQ(v time.Time) predicate.MenPai
- func UpdatedAtGT(v time.Time) predicate.MenPai
- func UpdatedAtGTE(v time.Time) predicate.MenPai
- func UpdatedAtIn(vs ...time.Time) predicate.MenPai
- func UpdatedAtLT(v time.Time) predicate.MenPai
- func UpdatedAtLTE(v time.Time) predicate.MenPai
- func UpdatedAtNEQ(v time.Time) predicate.MenPai
- func UpdatedAtNotIn(vs ...time.Time) predicate.MenPai
Constants ¶
const ( // Label holds the string label denoting the menpai type in the database. Label = "men_pai" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at vertex property in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at vertex property in the database. FieldUpdatedAt = "updated_at" // FieldName holds the string denoting the name vertex property in the database. FieldName = "name" // FieldAddress holds the string denoting the address vertex property in the database. FieldAddress = "address" // EdgeDisciples holds the string denoting the disciples edge name in mutations. EdgeDisciples = "disciples" // Table holds the table name of the menpai in the database. Table = "men_pais" // DisciplesTable is the table the holds the disciples relation/edge. DisciplesTable = "jiang_hu_rens" // DisciplesInverseTable is the table name for the JiangHuRen entity. // It exists in this package in order to avoid circular dependency with the "jianghuren" package. DisciplesInverseTable = "jiang_hu_rens" // DisciplesColumn is the table column denoting the disciples relation/edge. DisciplesColumn = "men_pai_disciples" )
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 // UpdateDefaultUpdatedAt holds the default value on update for the updated_at field. UpdateDefaultUpdatedAt func() time.Time // DefaultAddress holds the default value on creation for the address field. DefaultAddress string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldAddress, }
Columns holds all SQL columns for menpai fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
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 HasDisciples ¶
HasDisciples applies the HasEdge predicate on the "disciples" edge.
func HasDisciplesWith ¶
func HasDisciplesWith(preds ...predicate.JiangHuRen) predicate.MenPai
HasDisciplesWith applies the HasEdge predicate on the "disciples" edge with a given conditions (other predicates).
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 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.
Types ¶
This section is empty.