Documentation ¶
Index ¶
- Constants
- Variables
- func Affix(v bool) predicate.Menu
- func AffixEQ(v bool) predicate.Menu
- func AffixIsNil() predicate.Menu
- func AffixNEQ(v bool) predicate.Menu
- func AffixNotNil() predicate.Menu
- func And(predicates ...predicate.Menu) predicate.Menu
- func CarryParam(v bool) predicate.Menu
- func CarryParamEQ(v bool) predicate.Menu
- func CarryParamIsNil() predicate.Menu
- func CarryParamNEQ(v bool) predicate.Menu
- func CarryParamNotNil() predicate.Menu
- func Component(v string) predicate.Menu
- func ComponentContains(v string) predicate.Menu
- func ComponentContainsFold(v string) predicate.Menu
- func ComponentEQ(v string) predicate.Menu
- func ComponentEqualFold(v string) predicate.Menu
- func ComponentGT(v string) predicate.Menu
- func ComponentGTE(v string) predicate.Menu
- func ComponentHasPrefix(v string) predicate.Menu
- func ComponentHasSuffix(v string) predicate.Menu
- func ComponentIn(vs ...string) predicate.Menu
- func ComponentIsNil() predicate.Menu
- func ComponentLT(v string) predicate.Menu
- func ComponentLTE(v string) predicate.Menu
- func ComponentNEQ(v string) predicate.Menu
- func ComponentNotIn(vs ...string) predicate.Menu
- func ComponentNotNil() predicate.Menu
- func CreatedAt(v time.Time) predicate.Menu
- func CreatedAtEQ(v time.Time) predicate.Menu
- func CreatedAtGT(v time.Time) predicate.Menu
- func CreatedAtGTE(v time.Time) predicate.Menu
- func CreatedAtIn(vs ...time.Time) predicate.Menu
- func CreatedAtLT(v time.Time) predicate.Menu
- func CreatedAtLTE(v time.Time) predicate.Menu
- func CreatedAtNEQ(v time.Time) predicate.Menu
- func CreatedAtNotIn(vs ...time.Time) predicate.Menu
- func Disabled(v bool) predicate.Menu
- func DisabledEQ(v bool) predicate.Menu
- func DisabledIsNil() predicate.Menu
- func DisabledNEQ(v bool) predicate.Menu
- func DisabledNotNil() predicate.Menu
- func DynamicLevel(v uint32) predicate.Menu
- func DynamicLevelEQ(v uint32) predicate.Menu
- func DynamicLevelGT(v uint32) predicate.Menu
- func DynamicLevelGTE(v uint32) predicate.Menu
- func DynamicLevelIn(vs ...uint32) predicate.Menu
- func DynamicLevelIsNil() predicate.Menu
- func DynamicLevelLT(v uint32) predicate.Menu
- func DynamicLevelLTE(v uint32) predicate.Menu
- func DynamicLevelNEQ(v uint32) predicate.Menu
- func DynamicLevelNotIn(vs ...uint32) predicate.Menu
- func DynamicLevelNotNil() predicate.Menu
- func FrameSrc(v string) predicate.Menu
- func FrameSrcContains(v string) predicate.Menu
- func FrameSrcContainsFold(v string) predicate.Menu
- func FrameSrcEQ(v string) predicate.Menu
- func FrameSrcEqualFold(v string) predicate.Menu
- func FrameSrcGT(v string) predicate.Menu
- func FrameSrcGTE(v string) predicate.Menu
- func FrameSrcHasPrefix(v string) predicate.Menu
- func FrameSrcHasSuffix(v string) predicate.Menu
- func FrameSrcIn(vs ...string) predicate.Menu
- func FrameSrcIsNil() predicate.Menu
- func FrameSrcLT(v string) predicate.Menu
- func FrameSrcLTE(v string) predicate.Menu
- func FrameSrcNEQ(v string) predicate.Menu
- func FrameSrcNotIn(vs ...string) predicate.Menu
- func FrameSrcNotNil() predicate.Menu
- func HasChildren() predicate.Menu
- func HasChildrenWith(preds ...predicate.Menu) predicate.Menu
- func HasParent() predicate.Menu
- func HasParentWith(preds ...predicate.Menu) predicate.Menu
- func HasRoles() predicate.Menu
- func HasRolesWith(preds ...predicate.Role) predicate.Menu
- func HideBreadcrumb(v bool) predicate.Menu
- func HideBreadcrumbEQ(v bool) predicate.Menu
- func HideBreadcrumbIsNil() predicate.Menu
- func HideBreadcrumbNEQ(v bool) predicate.Menu
- func HideBreadcrumbNotNil() predicate.Menu
- func HideChildrenInMenu(v bool) predicate.Menu
- func HideChildrenInMenuEQ(v bool) predicate.Menu
- func HideChildrenInMenuIsNil() predicate.Menu
- func HideChildrenInMenuNEQ(v bool) predicate.Menu
- func HideChildrenInMenuNotNil() predicate.Menu
- func HideMenu(v bool) predicate.Menu
- func HideMenuEQ(v bool) predicate.Menu
- func HideMenuIsNil() predicate.Menu
- func HideMenuNEQ(v bool) predicate.Menu
- func HideMenuNotNil() predicate.Menu
- func HideTab(v bool) predicate.Menu
- func HideTabEQ(v bool) predicate.Menu
- func HideTabIsNil() predicate.Menu
- func HideTabNEQ(v bool) predicate.Menu
- func HideTabNotNil() predicate.Menu
- func ID(id uint64) predicate.Menu
- func IDEQ(id uint64) predicate.Menu
- func IDGT(id uint64) predicate.Menu
- func IDGTE(id uint64) predicate.Menu
- func IDIn(ids ...uint64) predicate.Menu
- func IDLT(id uint64) predicate.Menu
- func IDLTE(id uint64) predicate.Menu
- func IDNEQ(id uint64) predicate.Menu
- func IDNotIn(ids ...uint64) predicate.Menu
- func Icon(v string) predicate.Menu
- func IconContains(v string) predicate.Menu
- func IconContainsFold(v string) predicate.Menu
- func IconEQ(v string) predicate.Menu
- func IconEqualFold(v string) predicate.Menu
- func IconGT(v string) predicate.Menu
- func IconGTE(v string) predicate.Menu
- func IconHasPrefix(v string) predicate.Menu
- func IconHasSuffix(v string) predicate.Menu
- func IconIn(vs ...string) predicate.Menu
- func IconLT(v string) predicate.Menu
- func IconLTE(v string) predicate.Menu
- func IconNEQ(v string) predicate.Menu
- func IconNotIn(vs ...string) predicate.Menu
- func IgnoreKeepAlive(v bool) predicate.Menu
- func IgnoreKeepAliveEQ(v bool) predicate.Menu
- func IgnoreKeepAliveIsNil() predicate.Menu
- func IgnoreKeepAliveNEQ(v bool) predicate.Menu
- func IgnoreKeepAliveNotNil() predicate.Menu
- func MenuLevel(v uint32) predicate.Menu
- func MenuLevelEQ(v uint32) predicate.Menu
- func MenuLevelGT(v uint32) predicate.Menu
- func MenuLevelGTE(v uint32) predicate.Menu
- func MenuLevelIn(vs ...uint32) predicate.Menu
- func MenuLevelLT(v uint32) predicate.Menu
- func MenuLevelLTE(v uint32) predicate.Menu
- func MenuLevelNEQ(v uint32) predicate.Menu
- func MenuLevelNotIn(vs ...uint32) predicate.Menu
- func MenuType(v uint32) predicate.Menu
- func MenuTypeEQ(v uint32) predicate.Menu
- func MenuTypeGT(v uint32) predicate.Menu
- func MenuTypeGTE(v uint32) predicate.Menu
- func MenuTypeIn(vs ...uint32) predicate.Menu
- func MenuTypeLT(v uint32) predicate.Menu
- func MenuTypeLTE(v uint32) predicate.Menu
- func MenuTypeNEQ(v uint32) predicate.Menu
- func MenuTypeNotIn(vs ...uint32) predicate.Menu
- func Name(v string) predicate.Menu
- func NameContains(v string) predicate.Menu
- func NameContainsFold(v string) predicate.Menu
- func NameEQ(v string) predicate.Menu
- func NameEqualFold(v string) predicate.Menu
- func NameGT(v string) predicate.Menu
- func NameGTE(v string) predicate.Menu
- func NameHasPrefix(v string) predicate.Menu
- func NameHasSuffix(v string) predicate.Menu
- func NameIn(vs ...string) predicate.Menu
- func NameLT(v string) predicate.Menu
- func NameLTE(v string) predicate.Menu
- func NameNEQ(v string) predicate.Menu
- func NameNotIn(vs ...string) predicate.Menu
- func Not(p predicate.Menu) predicate.Menu
- func Or(predicates ...predicate.Menu) predicate.Menu
- func ParentID(v uint64) predicate.Menu
- func ParentIDEQ(v uint64) predicate.Menu
- func ParentIDIn(vs ...uint64) predicate.Menu
- func ParentIDIsNil() predicate.Menu
- func ParentIDNEQ(v uint64) predicate.Menu
- func ParentIDNotIn(vs ...uint64) predicate.Menu
- func ParentIDNotNil() predicate.Menu
- func Path(v string) predicate.Menu
- func PathContains(v string) predicate.Menu
- func PathContainsFold(v string) predicate.Menu
- func PathEQ(v string) predicate.Menu
- func PathEqualFold(v string) predicate.Menu
- func PathGT(v string) predicate.Menu
- func PathGTE(v string) predicate.Menu
- func PathHasPrefix(v string) predicate.Menu
- func PathHasSuffix(v string) predicate.Menu
- func PathIn(vs ...string) predicate.Menu
- func PathIsNil() predicate.Menu
- func PathLT(v string) predicate.Menu
- func PathLTE(v string) predicate.Menu
- func PathNEQ(v string) predicate.Menu
- func PathNotIn(vs ...string) predicate.Menu
- func PathNotNil() predicate.Menu
- func Permission(v string) predicate.Menu
- func PermissionContains(v string) predicate.Menu
- func PermissionContainsFold(v string) predicate.Menu
- func PermissionEQ(v string) predicate.Menu
- func PermissionEqualFold(v string) predicate.Menu
- func PermissionGT(v string) predicate.Menu
- func PermissionGTE(v string) predicate.Menu
- func PermissionHasPrefix(v string) predicate.Menu
- func PermissionHasSuffix(v string) predicate.Menu
- func PermissionIn(vs ...string) predicate.Menu
- func PermissionIsNil() predicate.Menu
- func PermissionLT(v string) predicate.Menu
- func PermissionLTE(v string) predicate.Menu
- func PermissionNEQ(v string) predicate.Menu
- func PermissionNotIn(vs ...string) predicate.Menu
- func PermissionNotNil() predicate.Menu
- func RealPath(v string) predicate.Menu
- func RealPathContains(v string) predicate.Menu
- func RealPathContainsFold(v string) predicate.Menu
- func RealPathEQ(v string) predicate.Menu
- func RealPathEqualFold(v string) predicate.Menu
- func RealPathGT(v string) predicate.Menu
- func RealPathGTE(v string) predicate.Menu
- func RealPathHasPrefix(v string) predicate.Menu
- func RealPathHasSuffix(v string) predicate.Menu
- func RealPathIn(vs ...string) predicate.Menu
- func RealPathIsNil() predicate.Menu
- func RealPathLT(v string) predicate.Menu
- func RealPathLTE(v string) predicate.Menu
- func RealPathNEQ(v string) predicate.Menu
- func RealPathNotIn(vs ...string) predicate.Menu
- func RealPathNotNil() predicate.Menu
- func Redirect(v string) predicate.Menu
- func RedirectContains(v string) predicate.Menu
- func RedirectContainsFold(v string) predicate.Menu
- func RedirectEQ(v string) predicate.Menu
- func RedirectEqualFold(v string) predicate.Menu
- func RedirectGT(v string) predicate.Menu
- func RedirectGTE(v string) predicate.Menu
- func RedirectHasPrefix(v string) predicate.Menu
- func RedirectHasSuffix(v string) predicate.Menu
- func RedirectIn(vs ...string) predicate.Menu
- func RedirectIsNil() predicate.Menu
- func RedirectLT(v string) predicate.Menu
- func RedirectLTE(v string) predicate.Menu
- func RedirectNEQ(v string) predicate.Menu
- func RedirectNotIn(vs ...string) predicate.Menu
- func RedirectNotNil() predicate.Menu
- func ServiceName(v string) predicate.Menu
- func ServiceNameContains(v string) predicate.Menu
- func ServiceNameContainsFold(v string) predicate.Menu
- func ServiceNameEQ(v string) predicate.Menu
- func ServiceNameEqualFold(v string) predicate.Menu
- func ServiceNameGT(v string) predicate.Menu
- func ServiceNameGTE(v string) predicate.Menu
- func ServiceNameHasPrefix(v string) predicate.Menu
- func ServiceNameHasSuffix(v string) predicate.Menu
- func ServiceNameIn(vs ...string) predicate.Menu
- func ServiceNameIsNil() predicate.Menu
- func ServiceNameLT(v string) predicate.Menu
- func ServiceNameLTE(v string) predicate.Menu
- func ServiceNameNEQ(v string) predicate.Menu
- func ServiceNameNotIn(vs ...string) predicate.Menu
- func ServiceNameNotNil() predicate.Menu
- func Sort(v uint32) predicate.Menu
- func SortEQ(v uint32) predicate.Menu
- func SortGT(v uint32) predicate.Menu
- func SortGTE(v uint32) predicate.Menu
- func SortIn(vs ...uint32) predicate.Menu
- func SortLT(v uint32) predicate.Menu
- func SortLTE(v uint32) predicate.Menu
- func SortNEQ(v uint32) predicate.Menu
- func SortNotIn(vs ...uint32) predicate.Menu
- func Title(v string) predicate.Menu
- func TitleContains(v string) predicate.Menu
- func TitleContainsFold(v string) predicate.Menu
- func TitleEQ(v string) predicate.Menu
- func TitleEqualFold(v string) predicate.Menu
- func TitleGT(v string) predicate.Menu
- func TitleGTE(v string) predicate.Menu
- func TitleHasPrefix(v string) predicate.Menu
- func TitleHasSuffix(v string) predicate.Menu
- func TitleIn(vs ...string) predicate.Menu
- func TitleLT(v string) predicate.Menu
- func TitleLTE(v string) predicate.Menu
- func TitleNEQ(v string) predicate.Menu
- func TitleNotIn(vs ...string) predicate.Menu
- func UpdatedAt(v time.Time) predicate.Menu
- func UpdatedAtEQ(v time.Time) predicate.Menu
- func UpdatedAtGT(v time.Time) predicate.Menu
- func UpdatedAtGTE(v time.Time) predicate.Menu
- func UpdatedAtIn(vs ...time.Time) predicate.Menu
- func UpdatedAtLT(v time.Time) predicate.Menu
- func UpdatedAtLTE(v time.Time) predicate.Menu
- func UpdatedAtNEQ(v time.Time) predicate.Menu
- func UpdatedAtNotIn(vs ...time.Time) predicate.Menu
- func ValidColumn(column string) bool
- type OrderOption
- func ByAffix(opts ...sql.OrderTermOption) OrderOption
- func ByCarryParam(opts ...sql.OrderTermOption) OrderOption
- func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
- func ByComponent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDisabled(opts ...sql.OrderTermOption) OrderOption
- func ByDynamicLevel(opts ...sql.OrderTermOption) OrderOption
- func ByFrameSrc(opts ...sql.OrderTermOption) OrderOption
- func ByHideBreadcrumb(opts ...sql.OrderTermOption) OrderOption
- func ByHideChildrenInMenu(opts ...sql.OrderTermOption) OrderOption
- func ByHideMenu(opts ...sql.OrderTermOption) OrderOption
- func ByHideTab(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIcon(opts ...sql.OrderTermOption) OrderOption
- func ByIgnoreKeepAlive(opts ...sql.OrderTermOption) OrderOption
- func ByMenuLevel(opts ...sql.OrderTermOption) OrderOption
- func ByMenuType(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByParentID(opts ...sql.OrderTermOption) OrderOption
- func ByPath(opts ...sql.OrderTermOption) OrderOption
- func ByPermission(opts ...sql.OrderTermOption) OrderOption
- func ByRealPath(opts ...sql.OrderTermOption) OrderOption
- func ByRedirect(opts ...sql.OrderTermOption) OrderOption
- func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
- func ByServiceName(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the menu type in the database. Label = "menu" // 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" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // FieldMenuLevel holds the string denoting the menu_level field in the database. FieldMenuLevel = "menu_level" // FieldMenuType holds the string denoting the menu_type field in the database. FieldMenuType = "menu_type" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldRedirect holds the string denoting the redirect field in the database. FieldRedirect = "redirect" // FieldComponent holds the string denoting the component field in the database. FieldComponent = "component" // FieldDisabled holds the string denoting the disabled field in the database. FieldDisabled = "disabled" // FieldServiceName holds the string denoting the service_name field in the database. FieldServiceName = "service_name" // FieldPermission holds the string denoting the permission field in the database. FieldPermission = "permission" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // FieldHideMenu holds the string denoting the hide_menu field in the database. FieldHideMenu = "hide_menu" // FieldHideBreadcrumb holds the string denoting the hide_breadcrumb field in the database. FieldHideBreadcrumb = "hide_breadcrumb" // FieldIgnoreKeepAlive holds the string denoting the ignore_keep_alive field in the database. FieldIgnoreKeepAlive = "ignore_keep_alive" // FieldHideTab holds the string denoting the hide_tab field in the database. FieldHideTab = "hide_tab" // FieldFrameSrc holds the string denoting the frame_src field in the database. FieldFrameSrc = "frame_src" // FieldCarryParam holds the string denoting the carry_param field in the database. FieldCarryParam = "carry_param" // FieldHideChildrenInMenu holds the string denoting the hide_children_in_menu field in the database. FieldHideChildrenInMenu = "hide_children_in_menu" // FieldAffix holds the string denoting the affix field in the database. FieldAffix = "affix" // FieldDynamicLevel holds the string denoting the dynamic_level field in the database. FieldDynamicLevel = "dynamic_level" // FieldRealPath holds the string denoting the real_path field in the database. FieldRealPath = "real_path" // EdgeRoles holds the string denoting the roles edge name in mutations. EdgeRoles = "roles" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // Table holds the table name of the menu in the database. Table = "sys_menus" // RolesTable is the table that holds the roles relation/edge. The primary key declared below. RolesTable = "role_menus" // RolesInverseTable is the table name for the Role entity. // It exists in this package in order to avoid circular dependency with the "role" package. RolesInverseTable = "sys_roles" // ParentTable is the table that holds the parent relation/edge. ParentTable = "sys_menus" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "parent_id" // ChildrenTable is the table that holds the children relation/edge. ChildrenTable = "sys_menus" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "parent_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 // DefaultSort holds the default value on creation for the "sort" field. DefaultSort uint32 // DefaultParentID holds the default value on creation for the "parent_id" field. DefaultParentID uint64 // DefaultPath holds the default value on creation for the "path" field. DefaultPath string // DefaultRedirect holds the default value on creation for the "redirect" field. DefaultRedirect string // DefaultComponent holds the default value on creation for the "component" field. DefaultComponent string // DefaultDisabled holds the default value on creation for the "disabled" field. DefaultDisabled bool // DefaultServiceName holds the default value on creation for the "service_name" field. DefaultServiceName string // DefaultHideMenu holds the default value on creation for the "hide_menu" field. DefaultHideMenu bool // DefaultHideBreadcrumb holds the default value on creation for the "hide_breadcrumb" field. DefaultHideBreadcrumb bool // DefaultIgnoreKeepAlive holds the default value on creation for the "ignore_keep_alive" field. DefaultIgnoreKeepAlive bool // DefaultHideTab holds the default value on creation for the "hide_tab" field. DefaultHideTab bool // DefaultFrameSrc holds the default value on creation for the "frame_src" field. DefaultFrameSrc string // DefaultCarryParam holds the default value on creation for the "carry_param" field. DefaultCarryParam bool // DefaultHideChildrenInMenu holds the default value on creation for the "hide_children_in_menu" field. DefaultHideChildrenInMenu bool // DefaultAffix holds the default value on creation for the "affix" field. DefaultAffix bool // DefaultDynamicLevel holds the default value on creation for the "dynamic_level" field. DefaultDynamicLevel uint32 // DefaultRealPath holds the default value on creation for the "real_path" field. DefaultRealPath string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldSort, FieldParentID, FieldMenuLevel, FieldMenuType, FieldPath, FieldName, FieldRedirect, FieldComponent, FieldDisabled, FieldServiceName, FieldPermission, FieldTitle, FieldIcon, FieldHideMenu, FieldHideBreadcrumb, FieldIgnoreKeepAlive, FieldHideTab, FieldFrameSrc, FieldCarryParam, FieldHideChildrenInMenu, FieldAffix, FieldDynamicLevel, FieldRealPath, }
Columns holds all SQL columns for menu fields.
var ( // RolesPrimaryKey and RolesColumn2 are the table columns denoting the // primary key for the roles relation (M2M). RolesPrimaryKey = []string{"role_id", "menu_id"} )
Functions ¶
func Affix ¶
Affix applies equality check predicate on the "affix" field. It's identical to AffixEQ.
func AffixIsNil ¶
AffixIsNil applies the IsNil predicate on the "affix" field.
func AffixNotNil ¶
AffixNotNil applies the NotNil predicate on the "affix" field.
func CarryParam ¶
CarryParam applies equality check predicate on the "carry_param" field. It's identical to CarryParamEQ.
func CarryParamEQ ¶
CarryParamEQ applies the EQ predicate on the "carry_param" field.
func CarryParamIsNil ¶
CarryParamIsNil applies the IsNil predicate on the "carry_param" field.
func CarryParamNEQ ¶
CarryParamNEQ applies the NEQ predicate on the "carry_param" field.
func CarryParamNotNil ¶
CarryParamNotNil applies the NotNil predicate on the "carry_param" field.
func Component ¶
Component applies equality check predicate on the "component" field. It's identical to ComponentEQ.
func ComponentContains ¶
ComponentContains applies the Contains predicate on the "component" field.
func ComponentContainsFold ¶
ComponentContainsFold applies the ContainsFold predicate on the "component" field.
func ComponentEQ ¶
ComponentEQ applies the EQ predicate on the "component" field.
func ComponentEqualFold ¶
ComponentEqualFold applies the EqualFold predicate on the "component" field.
func ComponentGT ¶
ComponentGT applies the GT predicate on the "component" field.
func ComponentGTE ¶
ComponentGTE applies the GTE predicate on the "component" field.
func ComponentHasPrefix ¶
ComponentHasPrefix applies the HasPrefix predicate on the "component" field.
func ComponentHasSuffix ¶
ComponentHasSuffix applies the HasSuffix predicate on the "component" field.
func ComponentIn ¶
ComponentIn applies the In predicate on the "component" field.
func ComponentIsNil ¶
ComponentIsNil applies the IsNil predicate on the "component" field.
func ComponentLT ¶
ComponentLT applies the LT predicate on the "component" field.
func ComponentLTE ¶
ComponentLTE applies the LTE predicate on the "component" field.
func ComponentNEQ ¶
ComponentNEQ applies the NEQ predicate on the "component" field.
func ComponentNotIn ¶
ComponentNotIn applies the NotIn predicate on the "component" field.
func ComponentNotNil ¶
ComponentNotNil applies the NotNil predicate on the "component" 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 Disabled ¶
Disabled applies equality check predicate on the "disabled" field. It's identical to DisabledEQ.
func DisabledEQ ¶
DisabledEQ applies the EQ predicate on the "disabled" field.
func DisabledIsNil ¶
DisabledIsNil applies the IsNil predicate on the "disabled" field.
func DisabledNEQ ¶
DisabledNEQ applies the NEQ predicate on the "disabled" field.
func DisabledNotNil ¶
DisabledNotNil applies the NotNil predicate on the "disabled" field.
func DynamicLevel ¶
DynamicLevel applies equality check predicate on the "dynamic_level" field. It's identical to DynamicLevelEQ.
func DynamicLevelEQ ¶
DynamicLevelEQ applies the EQ predicate on the "dynamic_level" field.
func DynamicLevelGT ¶
DynamicLevelGT applies the GT predicate on the "dynamic_level" field.
func DynamicLevelGTE ¶
DynamicLevelGTE applies the GTE predicate on the "dynamic_level" field.
func DynamicLevelIn ¶
DynamicLevelIn applies the In predicate on the "dynamic_level" field.
func DynamicLevelIsNil ¶
DynamicLevelIsNil applies the IsNil predicate on the "dynamic_level" field.
func DynamicLevelLT ¶
DynamicLevelLT applies the LT predicate on the "dynamic_level" field.
func DynamicLevelLTE ¶
DynamicLevelLTE applies the LTE predicate on the "dynamic_level" field.
func DynamicLevelNEQ ¶
DynamicLevelNEQ applies the NEQ predicate on the "dynamic_level" field.
func DynamicLevelNotIn ¶
DynamicLevelNotIn applies the NotIn predicate on the "dynamic_level" field.
func DynamicLevelNotNil ¶
DynamicLevelNotNil applies the NotNil predicate on the "dynamic_level" field.
func FrameSrc ¶
FrameSrc applies equality check predicate on the "frame_src" field. It's identical to FrameSrcEQ.
func FrameSrcContains ¶
FrameSrcContains applies the Contains predicate on the "frame_src" field.
func FrameSrcContainsFold ¶
FrameSrcContainsFold applies the ContainsFold predicate on the "frame_src" field.
func FrameSrcEQ ¶
FrameSrcEQ applies the EQ predicate on the "frame_src" field.
func FrameSrcEqualFold ¶
FrameSrcEqualFold applies the EqualFold predicate on the "frame_src" field.
func FrameSrcGT ¶
FrameSrcGT applies the GT predicate on the "frame_src" field.
func FrameSrcGTE ¶
FrameSrcGTE applies the GTE predicate on the "frame_src" field.
func FrameSrcHasPrefix ¶
FrameSrcHasPrefix applies the HasPrefix predicate on the "frame_src" field.
func FrameSrcHasSuffix ¶
FrameSrcHasSuffix applies the HasSuffix predicate on the "frame_src" field.
func FrameSrcIn ¶
FrameSrcIn applies the In predicate on the "frame_src" field.
func FrameSrcIsNil ¶
FrameSrcIsNil applies the IsNil predicate on the "frame_src" field.
func FrameSrcLT ¶
FrameSrcLT applies the LT predicate on the "frame_src" field.
func FrameSrcLTE ¶
FrameSrcLTE applies the LTE predicate on the "frame_src" field.
func FrameSrcNEQ ¶
FrameSrcNEQ applies the NEQ predicate on the "frame_src" field.
func FrameSrcNotIn ¶
FrameSrcNotIn applies the NotIn predicate on the "frame_src" field.
func FrameSrcNotNil ¶
FrameSrcNotNil applies the NotNil predicate on the "frame_src" field.
func HasChildren ¶
HasChildren applies the HasEdge predicate on the "children" edge.
func HasChildrenWith ¶
HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
func HasParentWith ¶
HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
func HasRolesWith ¶
HasRolesWith applies the HasEdge predicate on the "roles" edge with a given conditions (other predicates).
func HideBreadcrumb ¶
HideBreadcrumb applies equality check predicate on the "hide_breadcrumb" field. It's identical to HideBreadcrumbEQ.
func HideBreadcrumbEQ ¶
HideBreadcrumbEQ applies the EQ predicate on the "hide_breadcrumb" field.
func HideBreadcrumbIsNil ¶
HideBreadcrumbIsNil applies the IsNil predicate on the "hide_breadcrumb" field.
func HideBreadcrumbNEQ ¶
HideBreadcrumbNEQ applies the NEQ predicate on the "hide_breadcrumb" field.
func HideBreadcrumbNotNil ¶
HideBreadcrumbNotNil applies the NotNil predicate on the "hide_breadcrumb" field.
func HideChildrenInMenu ¶
HideChildrenInMenu applies equality check predicate on the "hide_children_in_menu" field. It's identical to HideChildrenInMenuEQ.
func HideChildrenInMenuEQ ¶
HideChildrenInMenuEQ applies the EQ predicate on the "hide_children_in_menu" field.
func HideChildrenInMenuIsNil ¶
HideChildrenInMenuIsNil applies the IsNil predicate on the "hide_children_in_menu" field.
func HideChildrenInMenuNEQ ¶
HideChildrenInMenuNEQ applies the NEQ predicate on the "hide_children_in_menu" field.
func HideChildrenInMenuNotNil ¶
HideChildrenInMenuNotNil applies the NotNil predicate on the "hide_children_in_menu" field.
func HideMenu ¶
HideMenu applies equality check predicate on the "hide_menu" field. It's identical to HideMenuEQ.
func HideMenuEQ ¶
HideMenuEQ applies the EQ predicate on the "hide_menu" field.
func HideMenuIsNil ¶
HideMenuIsNil applies the IsNil predicate on the "hide_menu" field.
func HideMenuNEQ ¶
HideMenuNEQ applies the NEQ predicate on the "hide_menu" field.
func HideMenuNotNil ¶
HideMenuNotNil applies the NotNil predicate on the "hide_menu" field.
func HideTab ¶
HideTab applies equality check predicate on the "hide_tab" field. It's identical to HideTabEQ.
func HideTabIsNil ¶
HideTabIsNil applies the IsNil predicate on the "hide_tab" field.
func HideTabNEQ ¶
HideTabNEQ applies the NEQ predicate on the "hide_tab" field.
func HideTabNotNil ¶
HideTabNotNil applies the NotNil predicate on the "hide_tab" field.
func IconContains ¶
IconContains applies the Contains predicate on the "icon" field.
func IconContainsFold ¶
IconContainsFold applies the ContainsFold predicate on the "icon" field.
func IconEqualFold ¶
IconEqualFold applies the EqualFold predicate on the "icon" field.
func IconHasPrefix ¶
IconHasPrefix applies the HasPrefix predicate on the "icon" field.
func IconHasSuffix ¶
IconHasSuffix applies the HasSuffix predicate on the "icon" field.
func IgnoreKeepAlive ¶
IgnoreKeepAlive applies equality check predicate on the "ignore_keep_alive" field. It's identical to IgnoreKeepAliveEQ.
func IgnoreKeepAliveEQ ¶
IgnoreKeepAliveEQ applies the EQ predicate on the "ignore_keep_alive" field.
func IgnoreKeepAliveIsNil ¶
IgnoreKeepAliveIsNil applies the IsNil predicate on the "ignore_keep_alive" field.
func IgnoreKeepAliveNEQ ¶
IgnoreKeepAliveNEQ applies the NEQ predicate on the "ignore_keep_alive" field.
func IgnoreKeepAliveNotNil ¶
IgnoreKeepAliveNotNil applies the NotNil predicate on the "ignore_keep_alive" field.
func MenuLevel ¶
MenuLevel applies equality check predicate on the "menu_level" field. It's identical to MenuLevelEQ.
func MenuLevelEQ ¶
MenuLevelEQ applies the EQ predicate on the "menu_level" field.
func MenuLevelGT ¶
MenuLevelGT applies the GT predicate on the "menu_level" field.
func MenuLevelGTE ¶
MenuLevelGTE applies the GTE predicate on the "menu_level" field.
func MenuLevelIn ¶
MenuLevelIn applies the In predicate on the "menu_level" field.
func MenuLevelLT ¶
MenuLevelLT applies the LT predicate on the "menu_level" field.
func MenuLevelLTE ¶
MenuLevelLTE applies the LTE predicate on the "menu_level" field.
func MenuLevelNEQ ¶
MenuLevelNEQ applies the NEQ predicate on the "menu_level" field.
func MenuLevelNotIn ¶
MenuLevelNotIn applies the NotIn predicate on the "menu_level" field.
func MenuType ¶
MenuType applies equality check predicate on the "menu_type" field. It's identical to MenuTypeEQ.
func MenuTypeEQ ¶
MenuTypeEQ applies the EQ predicate on the "menu_type" field.
func MenuTypeGT ¶
MenuTypeGT applies the GT predicate on the "menu_type" field.
func MenuTypeGTE ¶
MenuTypeGTE applies the GTE predicate on the "menu_type" field.
func MenuTypeIn ¶
MenuTypeIn applies the In predicate on the "menu_type" field.
func MenuTypeLT ¶
MenuTypeLT applies the LT predicate on the "menu_type" field.
func MenuTypeLTE ¶
MenuTypeLTE applies the LTE predicate on the "menu_type" field.
func MenuTypeNEQ ¶
MenuTypeNEQ applies the NEQ predicate on the "menu_type" field.
func MenuTypeNotIn ¶
MenuTypeNotIn applies the NotIn predicate on the "menu_type" field.
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 ParentID ¶
ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.
func ParentIDEQ ¶
ParentIDEQ applies the EQ predicate on the "parent_id" field.
func ParentIDIn ¶
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDIsNil ¶
ParentIDIsNil applies the IsNil predicate on the "parent_id" field.
func ParentIDNEQ ¶
ParentIDNEQ applies the NEQ predicate on the "parent_id" field.
func ParentIDNotIn ¶
ParentIDNotIn applies the NotIn predicate on the "parent_id" field.
func ParentIDNotNil ¶
ParentIDNotNil applies the NotNil predicate on the "parent_id" field.
func PathContains ¶
PathContains applies the Contains predicate on the "path" field.
func PathContainsFold ¶
PathContainsFold applies the ContainsFold predicate on the "path" field.
func PathEqualFold ¶
PathEqualFold applies the EqualFold predicate on the "path" field.
func PathHasPrefix ¶
PathHasPrefix applies the HasPrefix predicate on the "path" field.
func PathHasSuffix ¶
PathHasSuffix applies the HasSuffix predicate on the "path" field.
func PathNotNil ¶
PathNotNil applies the NotNil predicate on the "path" field.
func Permission ¶ added in v1.5.0
Permission applies equality check predicate on the "permission" field. It's identical to PermissionEQ.
func PermissionContains ¶ added in v1.5.0
PermissionContains applies the Contains predicate on the "permission" field.
func PermissionContainsFold ¶ added in v1.5.0
PermissionContainsFold applies the ContainsFold predicate on the "permission" field.
func PermissionEQ ¶ added in v1.5.0
PermissionEQ applies the EQ predicate on the "permission" field.
func PermissionEqualFold ¶ added in v1.5.0
PermissionEqualFold applies the EqualFold predicate on the "permission" field.
func PermissionGT ¶ added in v1.5.0
PermissionGT applies the GT predicate on the "permission" field.
func PermissionGTE ¶ added in v1.5.0
PermissionGTE applies the GTE predicate on the "permission" field.
func PermissionHasPrefix ¶ added in v1.5.0
PermissionHasPrefix applies the HasPrefix predicate on the "permission" field.
func PermissionHasSuffix ¶ added in v1.5.0
PermissionHasSuffix applies the HasSuffix predicate on the "permission" field.
func PermissionIn ¶ added in v1.5.0
PermissionIn applies the In predicate on the "permission" field.
func PermissionIsNil ¶ added in v1.5.0
PermissionIsNil applies the IsNil predicate on the "permission" field.
func PermissionLT ¶ added in v1.5.0
PermissionLT applies the LT predicate on the "permission" field.
func PermissionLTE ¶ added in v1.5.0
PermissionLTE applies the LTE predicate on the "permission" field.
func PermissionNEQ ¶ added in v1.5.0
PermissionNEQ applies the NEQ predicate on the "permission" field.
func PermissionNotIn ¶ added in v1.5.0
PermissionNotIn applies the NotIn predicate on the "permission" field.
func PermissionNotNil ¶ added in v1.5.0
PermissionNotNil applies the NotNil predicate on the "permission" field.
func RealPath ¶
RealPath applies equality check predicate on the "real_path" field. It's identical to RealPathEQ.
func RealPathContains ¶
RealPathContains applies the Contains predicate on the "real_path" field.
func RealPathContainsFold ¶
RealPathContainsFold applies the ContainsFold predicate on the "real_path" field.
func RealPathEQ ¶
RealPathEQ applies the EQ predicate on the "real_path" field.
func RealPathEqualFold ¶
RealPathEqualFold applies the EqualFold predicate on the "real_path" field.
func RealPathGT ¶
RealPathGT applies the GT predicate on the "real_path" field.
func RealPathGTE ¶
RealPathGTE applies the GTE predicate on the "real_path" field.
func RealPathHasPrefix ¶
RealPathHasPrefix applies the HasPrefix predicate on the "real_path" field.
func RealPathHasSuffix ¶
RealPathHasSuffix applies the HasSuffix predicate on the "real_path" field.
func RealPathIn ¶
RealPathIn applies the In predicate on the "real_path" field.
func RealPathIsNil ¶
RealPathIsNil applies the IsNil predicate on the "real_path" field.
func RealPathLT ¶
RealPathLT applies the LT predicate on the "real_path" field.
func RealPathLTE ¶
RealPathLTE applies the LTE predicate on the "real_path" field.
func RealPathNEQ ¶
RealPathNEQ applies the NEQ predicate on the "real_path" field.
func RealPathNotIn ¶
RealPathNotIn applies the NotIn predicate on the "real_path" field.
func RealPathNotNil ¶
RealPathNotNil applies the NotNil predicate on the "real_path" field.
func Redirect ¶
Redirect applies equality check predicate on the "redirect" field. It's identical to RedirectEQ.
func RedirectContains ¶
RedirectContains applies the Contains predicate on the "redirect" field.
func RedirectContainsFold ¶
RedirectContainsFold applies the ContainsFold predicate on the "redirect" field.
func RedirectEQ ¶
RedirectEQ applies the EQ predicate on the "redirect" field.
func RedirectEqualFold ¶
RedirectEqualFold applies the EqualFold predicate on the "redirect" field.
func RedirectGT ¶
RedirectGT applies the GT predicate on the "redirect" field.
func RedirectGTE ¶
RedirectGTE applies the GTE predicate on the "redirect" field.
func RedirectHasPrefix ¶
RedirectHasPrefix applies the HasPrefix predicate on the "redirect" field.
func RedirectHasSuffix ¶
RedirectHasSuffix applies the HasSuffix predicate on the "redirect" field.
func RedirectIn ¶
RedirectIn applies the In predicate on the "redirect" field.
func RedirectIsNil ¶
RedirectIsNil applies the IsNil predicate on the "redirect" field.
func RedirectLT ¶
RedirectLT applies the LT predicate on the "redirect" field.
func RedirectLTE ¶
RedirectLTE applies the LTE predicate on the "redirect" field.
func RedirectNEQ ¶
RedirectNEQ applies the NEQ predicate on the "redirect" field.
func RedirectNotIn ¶
RedirectNotIn applies the NotIn predicate on the "redirect" field.
func RedirectNotNil ¶
RedirectNotNil applies the NotNil predicate on the "redirect" field.
func ServiceName ¶ added in v1.3.3
ServiceName applies equality check predicate on the "service_name" field. It's identical to ServiceNameEQ.
func ServiceNameContains ¶ added in v1.3.3
ServiceNameContains applies the Contains predicate on the "service_name" field.
func ServiceNameContainsFold ¶ added in v1.3.3
ServiceNameContainsFold applies the ContainsFold predicate on the "service_name" field.
func ServiceNameEQ ¶ added in v1.3.3
ServiceNameEQ applies the EQ predicate on the "service_name" field.
func ServiceNameEqualFold ¶ added in v1.3.3
ServiceNameEqualFold applies the EqualFold predicate on the "service_name" field.
func ServiceNameGT ¶ added in v1.3.3
ServiceNameGT applies the GT predicate on the "service_name" field.
func ServiceNameGTE ¶ added in v1.3.3
ServiceNameGTE applies the GTE predicate on the "service_name" field.
func ServiceNameHasPrefix ¶ added in v1.3.3
ServiceNameHasPrefix applies the HasPrefix predicate on the "service_name" field.
func ServiceNameHasSuffix ¶ added in v1.3.3
ServiceNameHasSuffix applies the HasSuffix predicate on the "service_name" field.
func ServiceNameIn ¶ added in v1.3.3
ServiceNameIn applies the In predicate on the "service_name" field.
func ServiceNameIsNil ¶ added in v1.3.3
ServiceNameIsNil applies the IsNil predicate on the "service_name" field.
func ServiceNameLT ¶ added in v1.3.3
ServiceNameLT applies the LT predicate on the "service_name" field.
func ServiceNameLTE ¶ added in v1.3.3
ServiceNameLTE applies the LTE predicate on the "service_name" field.
func ServiceNameNEQ ¶ added in v1.3.3
ServiceNameNEQ applies the NEQ predicate on the "service_name" field.
func ServiceNameNotIn ¶ added in v1.3.3
ServiceNameNotIn applies the NotIn predicate on the "service_name" field.
func ServiceNameNotNil ¶ added in v1.3.3
ServiceNameNotNil applies the NotNil predicate on the "service_name" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" 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 ¶
type OrderOption ¶ added in v1.0.0
OrderOption defines the ordering options for the Menu queries.
func ByAffix ¶ added in v1.0.0
func ByAffix(opts ...sql.OrderTermOption) OrderOption
ByAffix orders the results by the affix field.
func ByCarryParam ¶ added in v1.0.0
func ByCarryParam(opts ...sql.OrderTermOption) OrderOption
ByCarryParam orders the results by the carry_param field.
func ByChildren ¶ added in v1.0.0
func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChildren orders the results by children terms.
func ByChildrenCount ¶ added in v1.0.0
func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
ByChildrenCount orders the results by children count.
func ByComponent ¶ added in v1.0.0
func ByComponent(opts ...sql.OrderTermOption) OrderOption
ByComponent orders the results by the component field.
func ByCreatedAt ¶ added in v1.0.0
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDisabled ¶ added in v1.0.0
func ByDisabled(opts ...sql.OrderTermOption) OrderOption
ByDisabled orders the results by the disabled field.
func ByDynamicLevel ¶ added in v1.0.0
func ByDynamicLevel(opts ...sql.OrderTermOption) OrderOption
ByDynamicLevel orders the results by the dynamic_level field.
func ByFrameSrc ¶ added in v1.0.0
func ByFrameSrc(opts ...sql.OrderTermOption) OrderOption
ByFrameSrc orders the results by the frame_src field.
func ByHideBreadcrumb ¶ added in v1.0.0
func ByHideBreadcrumb(opts ...sql.OrderTermOption) OrderOption
ByHideBreadcrumb orders the results by the hide_breadcrumb field.
func ByHideChildrenInMenu ¶ added in v1.0.0
func ByHideChildrenInMenu(opts ...sql.OrderTermOption) OrderOption
ByHideChildrenInMenu orders the results by the hide_children_in_menu field.
func ByHideMenu ¶ added in v1.0.0
func ByHideMenu(opts ...sql.OrderTermOption) OrderOption
ByHideMenu orders the results by the hide_menu field.
func ByHideTab ¶ added in v1.0.0
func ByHideTab(opts ...sql.OrderTermOption) OrderOption
ByHideTab orders the results by the hide_tab field.
func ByID ¶ added in v1.0.0
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIcon ¶ added in v1.0.0
func ByIcon(opts ...sql.OrderTermOption) OrderOption
ByIcon orders the results by the icon field.
func ByIgnoreKeepAlive ¶ added in v1.0.0
func ByIgnoreKeepAlive(opts ...sql.OrderTermOption) OrderOption
ByIgnoreKeepAlive orders the results by the ignore_keep_alive field.
func ByMenuLevel ¶ added in v1.0.0
func ByMenuLevel(opts ...sql.OrderTermOption) OrderOption
ByMenuLevel orders the results by the menu_level field.
func ByMenuType ¶ added in v1.0.0
func ByMenuType(opts ...sql.OrderTermOption) OrderOption
ByMenuType orders the results by the menu_type field.
func ByName ¶ added in v1.0.0
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByParentField ¶ added in v1.0.0
func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
ByParentField orders the results by parent field.
func ByParentID ¶ added in v1.0.0
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id field.
func ByPath ¶ added in v1.0.0
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func ByPermission ¶ added in v1.5.0
func ByPermission(opts ...sql.OrderTermOption) OrderOption
ByPermission orders the results by the permission field.
func ByRealPath ¶ added in v1.0.0
func ByRealPath(opts ...sql.OrderTermOption) OrderOption
ByRealPath orders the results by the real_path field.
func ByRedirect ¶ added in v1.0.0
func ByRedirect(opts ...sql.OrderTermOption) OrderOption
ByRedirect orders the results by the redirect field.
func ByRoles ¶ added in v1.0.0
func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRoles orders the results by roles terms.
func ByRolesCount ¶ added in v1.0.0
func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
ByRolesCount orders the results by roles count.
func ByServiceName ¶ added in v1.3.3
func ByServiceName(opts ...sql.OrderTermOption) OrderOption
ByServiceName orders the results by the service_name field.
func BySort ¶ added in v1.0.0
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByTitle ¶ added in v1.0.0
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByUpdatedAt ¶ added in v1.0.0
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.