Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MenuParam) predicate.MenuParam
- func CreatedAt(v time.Time) predicate.MenuParam
- func CreatedAtEQ(v time.Time) predicate.MenuParam
- func CreatedAtGT(v time.Time) predicate.MenuParam
- func CreatedAtGTE(v time.Time) predicate.MenuParam
- func CreatedAtIn(vs ...time.Time) predicate.MenuParam
- func CreatedAtLT(v time.Time) predicate.MenuParam
- func CreatedAtLTE(v time.Time) predicate.MenuParam
- func CreatedAtNEQ(v time.Time) predicate.MenuParam
- func CreatedAtNotIn(vs ...time.Time) predicate.MenuParam
- func HasMenus() predicate.MenuParam
- func HasMenusWith(preds ...predicate.Menu) predicate.MenuParam
- func ID(id uint64) predicate.MenuParam
- func IDEQ(id uint64) predicate.MenuParam
- func IDGT(id uint64) predicate.MenuParam
- func IDGTE(id uint64) predicate.MenuParam
- func IDIn(ids ...uint64) predicate.MenuParam
- func IDLT(id uint64) predicate.MenuParam
- func IDLTE(id uint64) predicate.MenuParam
- func IDNEQ(id uint64) predicate.MenuParam
- func IDNotIn(ids ...uint64) predicate.MenuParam
- func Key(v string) predicate.MenuParam
- func KeyContains(v string) predicate.MenuParam
- func KeyContainsFold(v string) predicate.MenuParam
- func KeyEQ(v string) predicate.MenuParam
- func KeyEqualFold(v string) predicate.MenuParam
- func KeyGT(v string) predicate.MenuParam
- func KeyGTE(v string) predicate.MenuParam
- func KeyHasPrefix(v string) predicate.MenuParam
- func KeyHasSuffix(v string) predicate.MenuParam
- func KeyIn(vs ...string) predicate.MenuParam
- func KeyLT(v string) predicate.MenuParam
- func KeyLTE(v string) predicate.MenuParam
- func KeyNEQ(v string) predicate.MenuParam
- func KeyNotIn(vs ...string) predicate.MenuParam
- func MenuID(v uint64) predicate.MenuParam
- func MenuIDEQ(v uint64) predicate.MenuParam
- func MenuIDIn(vs ...uint64) predicate.MenuParam
- func MenuIDIsNil() predicate.MenuParam
- func MenuIDNEQ(v uint64) predicate.MenuParam
- func MenuIDNotIn(vs ...uint64) predicate.MenuParam
- func MenuIDNotNil() predicate.MenuParam
- func Not(p predicate.MenuParam) predicate.MenuParam
- func Or(predicates ...predicate.MenuParam) predicate.MenuParam
- func Type(v string) predicate.MenuParam
- func TypeContains(v string) predicate.MenuParam
- func TypeContainsFold(v string) predicate.MenuParam
- func TypeEQ(v string) predicate.MenuParam
- func TypeEqualFold(v string) predicate.MenuParam
- func TypeGT(v string) predicate.MenuParam
- func TypeGTE(v string) predicate.MenuParam
- func TypeHasPrefix(v string) predicate.MenuParam
- func TypeHasSuffix(v string) predicate.MenuParam
- func TypeIn(vs ...string) predicate.MenuParam
- func TypeLT(v string) predicate.MenuParam
- func TypeLTE(v string) predicate.MenuParam
- func TypeNEQ(v string) predicate.MenuParam
- func TypeNotIn(vs ...string) predicate.MenuParam
- func UpdatedAt(v time.Time) predicate.MenuParam
- func UpdatedAtEQ(v time.Time) predicate.MenuParam
- func UpdatedAtGT(v time.Time) predicate.MenuParam
- func UpdatedAtGTE(v time.Time) predicate.MenuParam
- func UpdatedAtIn(vs ...time.Time) predicate.MenuParam
- func UpdatedAtLT(v time.Time) predicate.MenuParam
- func UpdatedAtLTE(v time.Time) predicate.MenuParam
- func UpdatedAtNEQ(v time.Time) predicate.MenuParam
- func UpdatedAtNotIn(vs ...time.Time) predicate.MenuParam
- func ValidColumn(column string) bool
- func Value(v string) predicate.MenuParam
- func ValueContains(v string) predicate.MenuParam
- func ValueContainsFold(v string) predicate.MenuParam
- func ValueEQ(v string) predicate.MenuParam
- func ValueEqualFold(v string) predicate.MenuParam
- func ValueGT(v string) predicate.MenuParam
- func ValueGTE(v string) predicate.MenuParam
- func ValueHasPrefix(v string) predicate.MenuParam
- func ValueHasSuffix(v string) predicate.MenuParam
- func ValueIn(vs ...string) predicate.MenuParam
- func ValueLT(v string) predicate.MenuParam
- func ValueLTE(v string) predicate.MenuParam
- func ValueNEQ(v string) predicate.MenuParam
- func ValueNotIn(vs ...string) predicate.MenuParam
Constants ¶
const ( // Label holds the string label denoting the menuparam type in the database. Label = "menu_param" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldMenuID holds the string denoting the menu_id field in the database. FieldMenuID = "menu_id" // EdgeMenus holds the string denoting the menus edge name in mutations. EdgeMenus = "menus" // Table holds the table name of the menuparam in the database. Table = "sys_menu_params" // MenusTable is the table that holds the menus relation/edge. MenusTable = "sys_menu_params" // MenusInverseTable is the table name for the Menu entity. // It exists in this package in order to avoid circular dependency with the "menu" package. MenusInverseTable = "sys_menus" // MenusColumn is the table column denoting the menus relation/edge. MenusColumn = "menu_id" )
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldType, FieldKey, FieldValue, FieldMenuID, }
Columns holds all SQL columns for menuparam fields.
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 HasMenusWith ¶
HasMenusWith applies the HasEdge predicate on the "menus" edge with a given conditions (other predicates).
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func MenuID ¶ added in v0.2.4
MenuID applies equality check predicate on the "menu_id" field. It's identical to MenuIDEQ.
func MenuIDIsNil ¶ added in v0.2.4
MenuIDIsNil applies the IsNil predicate on the "menu_id" field.
func MenuIDNotIn ¶ added in v0.2.4
MenuIDNotIn applies the NotIn predicate on the "menu_id" field.
func MenuIDNotNil ¶ added in v0.2.4
MenuIDNotNil applies the NotNil predicate on the "menu_id" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" 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).
func Value ¶
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEqualFold ¶
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueHasPrefix ¶
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
This section is empty.