Documentation ¶
Index ¶
- Constants
- Variables
- func ActionID(v string) predicate.SysRoleMenu
- func ActionIDContains(v string) predicate.SysRoleMenu
- func ActionIDContainsFold(v string) predicate.SysRoleMenu
- func ActionIDEQ(v string) predicate.SysRoleMenu
- func ActionIDEqualFold(v string) predicate.SysRoleMenu
- func ActionIDGT(v string) predicate.SysRoleMenu
- func ActionIDGTE(v string) predicate.SysRoleMenu
- func ActionIDHasPrefix(v string) predicate.SysRoleMenu
- func ActionIDHasSuffix(v string) predicate.SysRoleMenu
- func ActionIDIn(vs ...string) predicate.SysRoleMenu
- func ActionIDIsNil() predicate.SysRoleMenu
- func ActionIDLT(v string) predicate.SysRoleMenu
- func ActionIDLTE(v string) predicate.SysRoleMenu
- func ActionIDNEQ(v string) predicate.SysRoleMenu
- func ActionIDNotIn(vs ...string) predicate.SysRoleMenu
- func ActionIDNotNil() predicate.SysRoleMenu
- func And(predicates ...predicate.SysRoleMenu) predicate.SysRoleMenu
- func CreatedAt(v time.Time) predicate.SysRoleMenu
- func CreatedAtEQ(v time.Time) predicate.SysRoleMenu
- func CreatedAtGT(v time.Time) predicate.SysRoleMenu
- func CreatedAtGTE(v time.Time) predicate.SysRoleMenu
- func CreatedAtIn(vs ...time.Time) predicate.SysRoleMenu
- func CreatedAtLT(v time.Time) predicate.SysRoleMenu
- func CreatedAtLTE(v time.Time) predicate.SysRoleMenu
- func CreatedAtNEQ(v time.Time) predicate.SysRoleMenu
- func CreatedAtNotIn(vs ...time.Time) predicate.SysRoleMenu
- func DeletedAt(v time.Time) predicate.SysRoleMenu
- func DeletedAtEQ(v time.Time) predicate.SysRoleMenu
- func DeletedAtGT(v time.Time) predicate.SysRoleMenu
- func DeletedAtGTE(v time.Time) predicate.SysRoleMenu
- func DeletedAtIn(vs ...time.Time) predicate.SysRoleMenu
- func DeletedAtIsNil() predicate.SysRoleMenu
- func DeletedAtLT(v time.Time) predicate.SysRoleMenu
- func DeletedAtLTE(v time.Time) predicate.SysRoleMenu
- func DeletedAtNEQ(v time.Time) predicate.SysRoleMenu
- func DeletedAtNotIn(vs ...time.Time) predicate.SysRoleMenu
- func DeletedAtNotNil() predicate.SysRoleMenu
- func ID(id string) predicate.SysRoleMenu
- func IDEQ(id string) predicate.SysRoleMenu
- func IDGT(id string) predicate.SysRoleMenu
- func IDGTE(id string) predicate.SysRoleMenu
- func IDIn(ids ...string) predicate.SysRoleMenu
- func IDLT(id string) predicate.SysRoleMenu
- func IDLTE(id string) predicate.SysRoleMenu
- func IDNEQ(id string) predicate.SysRoleMenu
- func IDNotIn(ids ...string) predicate.SysRoleMenu
- func IsDel(v bool) predicate.SysRoleMenu
- func IsDelEQ(v bool) predicate.SysRoleMenu
- func IsDelNEQ(v bool) predicate.SysRoleMenu
- func MenuID(v string) predicate.SysRoleMenu
- func MenuIDContains(v string) predicate.SysRoleMenu
- func MenuIDContainsFold(v string) predicate.SysRoleMenu
- func MenuIDEQ(v string) predicate.SysRoleMenu
- func MenuIDEqualFold(v string) predicate.SysRoleMenu
- func MenuIDGT(v string) predicate.SysRoleMenu
- func MenuIDGTE(v string) predicate.SysRoleMenu
- func MenuIDHasPrefix(v string) predicate.SysRoleMenu
- func MenuIDHasSuffix(v string) predicate.SysRoleMenu
- func MenuIDIn(vs ...string) predicate.SysRoleMenu
- func MenuIDLT(v string) predicate.SysRoleMenu
- func MenuIDLTE(v string) predicate.SysRoleMenu
- func MenuIDNEQ(v string) predicate.SysRoleMenu
- func MenuIDNotIn(vs ...string) predicate.SysRoleMenu
- func Not(p predicate.SysRoleMenu) predicate.SysRoleMenu
- func Or(predicates ...predicate.SysRoleMenu) predicate.SysRoleMenu
- func RoleID(v string) predicate.SysRoleMenu
- func RoleIDContains(v string) predicate.SysRoleMenu
- func RoleIDContainsFold(v string) predicate.SysRoleMenu
- func RoleIDEQ(v string) predicate.SysRoleMenu
- func RoleIDEqualFold(v string) predicate.SysRoleMenu
- func RoleIDGT(v string) predicate.SysRoleMenu
- func RoleIDGTE(v string) predicate.SysRoleMenu
- func RoleIDHasPrefix(v string) predicate.SysRoleMenu
- func RoleIDHasSuffix(v string) predicate.SysRoleMenu
- func RoleIDIn(vs ...string) predicate.SysRoleMenu
- func RoleIDLT(v string) predicate.SysRoleMenu
- func RoleIDLTE(v string) predicate.SysRoleMenu
- func RoleIDNEQ(v string) predicate.SysRoleMenu
- func RoleIDNotIn(vs ...string) predicate.SysRoleMenu
- func UpdatedAt(v time.Time) predicate.SysRoleMenu
- func UpdatedAtEQ(v time.Time) predicate.SysRoleMenu
- func UpdatedAtGT(v time.Time) predicate.SysRoleMenu
- func UpdatedAtGTE(v time.Time) predicate.SysRoleMenu
- func UpdatedAtIn(vs ...time.Time) predicate.SysRoleMenu
- func UpdatedAtLT(v time.Time) predicate.SysRoleMenu
- func UpdatedAtLTE(v time.Time) predicate.SysRoleMenu
- func UpdatedAtNEQ(v time.Time) predicate.SysRoleMenu
- func UpdatedAtNotIn(vs ...time.Time) predicate.SysRoleMenu
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the sysrolemenu type in the database. Label = "sys_role_menu" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldIsDel holds the string denoting the is_del field in the database. FieldIsDel = "is_del" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "crtd_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "uptd_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "dltd_at" // FieldRoleID holds the string denoting the role_id field in the database. FieldRoleID = "role_id" // FieldMenuID holds the string denoting the menu_id field in the database. FieldMenuID = "menu_id" // FieldActionID holds the string denoting the action_id field in the database. FieldActionID = "action_id" // Table holds the table name of the sysrolemenu in the database. Table = "sys_role_menus" )
Variables ¶
var ( // DefaultIsDel holds the default value on creation for the "is_del" field. DefaultIsDel bool // 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 // RoleIDValidator is a validator for the "role_id" field. It is called by the builders before save. RoleIDValidator func(string) error // MenuIDValidator is a validator for the "menu_id" field. It is called by the builders before save. MenuIDValidator func(string) error // ActionIDValidator is a validator for the "action_id" field. It is called by the builders before save. ActionIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldIsDel, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldRoleID, FieldMenuID, FieldActionID, }
Columns holds all SQL columns for sysrolemenu fields.
Functions ¶
func ActionID ¶
func ActionID(v string) predicate.SysRoleMenu
ActionID applies equality check predicate on the "action_id" field. It's identical to ActionIDEQ.
func ActionIDContains ¶
func ActionIDContains(v string) predicate.SysRoleMenu
ActionIDContains applies the Contains predicate on the "action_id" field.
func ActionIDContainsFold ¶
func ActionIDContainsFold(v string) predicate.SysRoleMenu
ActionIDContainsFold applies the ContainsFold predicate on the "action_id" field.
func ActionIDEQ ¶
func ActionIDEQ(v string) predicate.SysRoleMenu
ActionIDEQ applies the EQ predicate on the "action_id" field.
func ActionIDEqualFold ¶
func ActionIDEqualFold(v string) predicate.SysRoleMenu
ActionIDEqualFold applies the EqualFold predicate on the "action_id" field.
func ActionIDGT ¶
func ActionIDGT(v string) predicate.SysRoleMenu
ActionIDGT applies the GT predicate on the "action_id" field.
func ActionIDGTE ¶
func ActionIDGTE(v string) predicate.SysRoleMenu
ActionIDGTE applies the GTE predicate on the "action_id" field.
func ActionIDHasPrefix ¶
func ActionIDHasPrefix(v string) predicate.SysRoleMenu
ActionIDHasPrefix applies the HasPrefix predicate on the "action_id" field.
func ActionIDHasSuffix ¶
func ActionIDHasSuffix(v string) predicate.SysRoleMenu
ActionIDHasSuffix applies the HasSuffix predicate on the "action_id" field.
func ActionIDIn ¶
func ActionIDIn(vs ...string) predicate.SysRoleMenu
ActionIDIn applies the In predicate on the "action_id" field.
func ActionIDIsNil ¶
func ActionIDIsNil() predicate.SysRoleMenu
ActionIDIsNil applies the IsNil predicate on the "action_id" field.
func ActionIDLT ¶
func ActionIDLT(v string) predicate.SysRoleMenu
ActionIDLT applies the LT predicate on the "action_id" field.
func ActionIDLTE ¶
func ActionIDLTE(v string) predicate.SysRoleMenu
ActionIDLTE applies the LTE predicate on the "action_id" field.
func ActionIDNEQ ¶
func ActionIDNEQ(v string) predicate.SysRoleMenu
ActionIDNEQ applies the NEQ predicate on the "action_id" field.
func ActionIDNotIn ¶
func ActionIDNotIn(vs ...string) predicate.SysRoleMenu
ActionIDNotIn applies the NotIn predicate on the "action_id" field.
func ActionIDNotNil ¶
func ActionIDNotNil() predicate.SysRoleMenu
ActionIDNotNil applies the NotNil predicate on the "action_id" field.
func And ¶
func And(predicates ...predicate.SysRoleMenu) predicate.SysRoleMenu
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.SysRoleMenu
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.SysRoleMenu
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.SysRoleMenu
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.SysRoleMenu
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.SysRoleMenu
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.SysRoleMenu
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.SysRoleMenu
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.SysRoleMenu
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.SysRoleMenu
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.SysRoleMenu
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.SysRoleMenu
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.SysRoleMenu
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.SysRoleMenu
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.SysRoleMenu
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.SysRoleMenu
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.SysRoleMenu
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.SysRoleMenu
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.SysRoleMenu
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.SysRoleMenu
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.SysRoleMenu
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func IDEQ ¶
func IDEQ(id string) predicate.SysRoleMenu
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.SysRoleMenu
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.SysRoleMenu
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.SysRoleMenu
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.SysRoleMenu
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.SysRoleMenu
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.SysRoleMenu
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.SysRoleMenu
IDNotIn applies the NotIn predicate on the ID field.
func IsDel ¶
func IsDel(v bool) predicate.SysRoleMenu
IsDel applies equality check predicate on the "is_del" field. It's identical to IsDelEQ.
func IsDelEQ ¶
func IsDelEQ(v bool) predicate.SysRoleMenu
IsDelEQ applies the EQ predicate on the "is_del" field.
func IsDelNEQ ¶
func IsDelNEQ(v bool) predicate.SysRoleMenu
IsDelNEQ applies the NEQ predicate on the "is_del" field.
func MenuID ¶
func MenuID(v string) predicate.SysRoleMenu
MenuID applies equality check predicate on the "menu_id" field. It's identical to MenuIDEQ.
func MenuIDContains ¶
func MenuIDContains(v string) predicate.SysRoleMenu
MenuIDContains applies the Contains predicate on the "menu_id" field.
func MenuIDContainsFold ¶
func MenuIDContainsFold(v string) predicate.SysRoleMenu
MenuIDContainsFold applies the ContainsFold predicate on the "menu_id" field.
func MenuIDEQ ¶
func MenuIDEQ(v string) predicate.SysRoleMenu
MenuIDEQ applies the EQ predicate on the "menu_id" field.
func MenuIDEqualFold ¶
func MenuIDEqualFold(v string) predicate.SysRoleMenu
MenuIDEqualFold applies the EqualFold predicate on the "menu_id" field.
func MenuIDGT ¶
func MenuIDGT(v string) predicate.SysRoleMenu
MenuIDGT applies the GT predicate on the "menu_id" field.
func MenuIDGTE ¶
func MenuIDGTE(v string) predicate.SysRoleMenu
MenuIDGTE applies the GTE predicate on the "menu_id" field.
func MenuIDHasPrefix ¶
func MenuIDHasPrefix(v string) predicate.SysRoleMenu
MenuIDHasPrefix applies the HasPrefix predicate on the "menu_id" field.
func MenuIDHasSuffix ¶
func MenuIDHasSuffix(v string) predicate.SysRoleMenu
MenuIDHasSuffix applies the HasSuffix predicate on the "menu_id" field.
func MenuIDIn ¶
func MenuIDIn(vs ...string) predicate.SysRoleMenu
MenuIDIn applies the In predicate on the "menu_id" field.
func MenuIDLT ¶
func MenuIDLT(v string) predicate.SysRoleMenu
MenuIDLT applies the LT predicate on the "menu_id" field.
func MenuIDLTE ¶
func MenuIDLTE(v string) predicate.SysRoleMenu
MenuIDLTE applies the LTE predicate on the "menu_id" field.
func MenuIDNEQ ¶
func MenuIDNEQ(v string) predicate.SysRoleMenu
MenuIDNEQ applies the NEQ predicate on the "menu_id" field.
func MenuIDNotIn ¶
func MenuIDNotIn(vs ...string) predicate.SysRoleMenu
MenuIDNotIn applies the NotIn predicate on the "menu_id" field.
func Not ¶
func Not(p predicate.SysRoleMenu) predicate.SysRoleMenu
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.SysRoleMenu) predicate.SysRoleMenu
Or groups predicates with the OR operator between them.
func RoleID ¶
func RoleID(v string) predicate.SysRoleMenu
RoleID applies equality check predicate on the "role_id" field. It's identical to RoleIDEQ.
func RoleIDContains ¶
func RoleIDContains(v string) predicate.SysRoleMenu
RoleIDContains applies the Contains predicate on the "role_id" field.
func RoleIDContainsFold ¶
func RoleIDContainsFold(v string) predicate.SysRoleMenu
RoleIDContainsFold applies the ContainsFold predicate on the "role_id" field.
func RoleIDEQ ¶
func RoleIDEQ(v string) predicate.SysRoleMenu
RoleIDEQ applies the EQ predicate on the "role_id" field.
func RoleIDEqualFold ¶
func RoleIDEqualFold(v string) predicate.SysRoleMenu
RoleIDEqualFold applies the EqualFold predicate on the "role_id" field.
func RoleIDGT ¶
func RoleIDGT(v string) predicate.SysRoleMenu
RoleIDGT applies the GT predicate on the "role_id" field.
func RoleIDGTE ¶
func RoleIDGTE(v string) predicate.SysRoleMenu
RoleIDGTE applies the GTE predicate on the "role_id" field.
func RoleIDHasPrefix ¶
func RoleIDHasPrefix(v string) predicate.SysRoleMenu
RoleIDHasPrefix applies the HasPrefix predicate on the "role_id" field.
func RoleIDHasSuffix ¶
func RoleIDHasSuffix(v string) predicate.SysRoleMenu
RoleIDHasSuffix applies the HasSuffix predicate on the "role_id" field.
func RoleIDIn ¶
func RoleIDIn(vs ...string) predicate.SysRoleMenu
RoleIDIn applies the In predicate on the "role_id" field.
func RoleIDLT ¶
func RoleIDLT(v string) predicate.SysRoleMenu
RoleIDLT applies the LT predicate on the "role_id" field.
func RoleIDLTE ¶
func RoleIDLTE(v string) predicate.SysRoleMenu
RoleIDLTE applies the LTE predicate on the "role_id" field.
func RoleIDNEQ ¶
func RoleIDNEQ(v string) predicate.SysRoleMenu
RoleIDNEQ applies the NEQ predicate on the "role_id" field.
func RoleIDNotIn ¶
func RoleIDNotIn(vs ...string) predicate.SysRoleMenu
RoleIDNotIn applies the NotIn predicate on the "role_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.SysRoleMenu
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.SysRoleMenu
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.SysRoleMenu
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.SysRoleMenu
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.SysRoleMenu
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.SysRoleMenu
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.SysRoleMenu
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.SysRoleMenu
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.SysRoleMenu
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.