Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Menu) 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 ComponentLT(v string) predicate.Menu
- func ComponentLTE(v string) predicate.Menu
- func ComponentNEQ(v string) predicate.Menu
- func ComponentNotIn(vs ...string) 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 CreatedAtIsNil() 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 CreatedAtNotNil() predicate.Menu
- func CurrentActiveMenu(v string) predicate.Menu
- func CurrentActiveMenuContains(v string) predicate.Menu
- func CurrentActiveMenuContainsFold(v string) predicate.Menu
- func CurrentActiveMenuEQ(v string) predicate.Menu
- func CurrentActiveMenuEqualFold(v string) predicate.Menu
- func CurrentActiveMenuGT(v string) predicate.Menu
- func CurrentActiveMenuGTE(v string) predicate.Menu
- func CurrentActiveMenuHasPrefix(v string) predicate.Menu
- func CurrentActiveMenuHasSuffix(v string) predicate.Menu
- func CurrentActiveMenuIn(vs ...string) predicate.Menu
- func CurrentActiveMenuLT(v string) predicate.Menu
- func CurrentActiveMenuLTE(v string) predicate.Menu
- func CurrentActiveMenuNEQ(v string) predicate.Menu
- func CurrentActiveMenuNotIn(vs ...string) predicate.Menu
- func DeletedAt(v time.Time) predicate.Menu
- func DeletedAtEQ(v time.Time) predicate.Menu
- func DeletedAtGT(v time.Time) predicate.Menu
- func DeletedAtGTE(v time.Time) predicate.Menu
- func DeletedAtIn(vs ...time.Time) predicate.Menu
- func DeletedAtIsNil() predicate.Menu
- func DeletedAtLT(v time.Time) predicate.Menu
- func DeletedAtLTE(v time.Time) predicate.Menu
- func DeletedAtNEQ(v time.Time) predicate.Menu
- func DeletedAtNotIn(vs ...time.Time) predicate.Menu
- func DeletedAtNotNil() predicate.Menu
- func ExtURL(v string) predicate.Menu
- func ExtURLContains(v string) predicate.Menu
- func ExtURLContainsFold(v string) predicate.Menu
- func ExtURLEQ(v string) predicate.Menu
- func ExtURLEqualFold(v string) predicate.Menu
- func ExtURLGT(v string) predicate.Menu
- func ExtURLGTE(v string) predicate.Menu
- func ExtURLHasPrefix(v string) predicate.Menu
- func ExtURLHasSuffix(v string) predicate.Menu
- func ExtURLIn(vs ...string) predicate.Menu
- func ExtURLLT(v string) predicate.Menu
- func ExtURLLTE(v string) predicate.Menu
- func ExtURLNEQ(v string) predicate.Menu
- func ExtURLNotIn(vs ...string) 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 HideBreadcrumb(v bool) predicate.Menu
- func HideBreadcrumbEQ(v bool) predicate.Menu
- func HideBreadcrumbNEQ(v bool) predicate.Menu
- func HideMenu(v bool) predicate.Menu
- func HideMenuEQ(v bool) predicate.Menu
- func HideMenuNEQ(v bool) predicate.Menu
- func HideTab(v bool) predicate.Menu
- func HideTabEQ(v bool) predicate.Menu
- func HideTabNEQ(v bool) predicate.Menu
- func ID(id uint32) predicate.Menu
- func IDEQ(id uint32) predicate.Menu
- func IDGT(id uint32) predicate.Menu
- func IDGTE(id uint32) predicate.Menu
- func IDIn(ids ...uint32) predicate.Menu
- func IDLT(id uint32) predicate.Menu
- func IDLTE(id uint32) predicate.Menu
- func IDNEQ(id uint32) predicate.Menu
- func IDNotIn(ids ...uint32) 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 IsExt(v bool) predicate.Menu
- func IsExtEQ(v bool) predicate.Menu
- func IsExtNEQ(v bool) predicate.Menu
- func KeepAlive(v bool) predicate.Menu
- func KeepAliveEQ(v bool) predicate.Menu
- func KeepAliveNEQ(v bool) 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 uint32) predicate.Menu
- func ParentIDEQ(v uint32) predicate.Menu
- func ParentIDIn(vs ...uint32) predicate.Menu
- func ParentIDIsNil() predicate.Menu
- func ParentIDNEQ(v uint32) predicate.Menu
- func ParentIDNotIn(vs ...uint32) 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 PathLT(v string) predicate.Menu
- func PathLTE(v string) predicate.Menu
- func PathNEQ(v string) predicate.Menu
- func PathNotIn(vs ...string) predicate.Menu
- func PermissionsIsNil() predicate.Menu
- func PermissionsNotNil() 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 RedirectLT(v string) predicate.Menu
- func RedirectLTE(v string) predicate.Menu
- func RedirectNEQ(v string) predicate.Menu
- func RedirectNotIn(vs ...string) predicate.Menu
- func Remark(v string) predicate.Menu
- func RemarkContains(v string) predicate.Menu
- func RemarkContainsFold(v string) predicate.Menu
- func RemarkEQ(v string) predicate.Menu
- func RemarkEqualFold(v string) predicate.Menu
- func RemarkGT(v string) predicate.Menu
- func RemarkGTE(v string) predicate.Menu
- func RemarkHasPrefix(v string) predicate.Menu
- func RemarkHasSuffix(v string) predicate.Menu
- func RemarkIn(vs ...string) predicate.Menu
- func RemarkIsNil() predicate.Menu
- func RemarkLT(v string) predicate.Menu
- func RemarkLTE(v string) predicate.Menu
- func RemarkNEQ(v string) predicate.Menu
- func RemarkNotIn(vs ...string) predicate.Menu
- func RemarkNotNil() predicate.Menu
- func Sort(v int32) predicate.Menu
- func SortEQ(v int32) predicate.Menu
- func SortGT(v int32) predicate.Menu
- func SortGTE(v int32) predicate.Menu
- func SortIn(vs ...int32) predicate.Menu
- func SortLT(v int32) predicate.Menu
- func SortLTE(v int32) predicate.Menu
- func SortNEQ(v int32) predicate.Menu
- func SortNotIn(vs ...int32) predicate.Menu
- func State(v int32) predicate.Menu
- func StateEQ(v int32) predicate.Menu
- func StateGT(v int32) predicate.Menu
- func StateGTE(v int32) predicate.Menu
- func StateIn(vs ...int32) predicate.Menu
- func StateLT(v int32) predicate.Menu
- func StateLTE(v int32) predicate.Menu
- func StateNEQ(v int32) predicate.Menu
- func StateNotIn(vs ...int32) 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 Type(v int32) predicate.Menu
- func TypeEQ(v int32) predicate.Menu
- func TypeGT(v int32) predicate.Menu
- func TypeGTE(v int32) predicate.Menu
- func TypeIn(vs ...int32) predicate.Menu
- func TypeLT(v int32) predicate.Menu
- func TypeLTE(v int32) predicate.Menu
- func TypeNEQ(v int32) predicate.Menu
- func TypeNotIn(vs ...int32) 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 UpdatedAtIsNil() 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 UpdatedAtNotNil() predicate.Menu
- func ValidColumn(column string) bool
- func Visible(v bool) predicate.Menu
- func VisibleEQ(v bool) predicate.Menu
- func VisibleNEQ(v bool) predicate.Menu
- type 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 ByCurrentActiveMenu(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExtURL(opts ...sql.OrderTermOption) OrderOption
- func ByHideBreadcrumb(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 ByIsExt(opts ...sql.OrderTermOption) OrderOption
- func ByKeepAlive(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 ByRedirect(opts ...sql.OrderTermOption) OrderOption
- func ByRemark(opts ...sql.OrderTermOption) OrderOption
- func BySort(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVisible(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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldRemark holds the string denoting the remark field in the database. FieldRemark = "remark" // FieldSort holds the string denoting the sort field in the database. FieldSort = "sort" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldPath holds the string denoting the path field in the database. FieldPath = "path" // FieldComponent holds the string denoting the component field in the database. FieldComponent = "component" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // FieldIsExt holds the string denoting the is_ext field in the database. FieldIsExt = "is_ext" // FieldExtURL holds the string denoting the ext_url field in the database. FieldExtURL = "ext_url" // FieldPermissions holds the string denoting the permissions field in the database. FieldPermissions = "permissions" // FieldRedirect holds the string denoting the redirect field in the database. FieldRedirect = "redirect" // FieldCurrentActiveMenu holds the string denoting the current_active_menu field in the database. FieldCurrentActiveMenu = "current_active_menu" // FieldKeepAlive holds the string denoting the keep_alive field in the database. FieldKeepAlive = "keep_alive" // FieldVisible holds the string denoting the visible field in the database. FieldVisible = "visible" // FieldHideTab holds the string denoting the hide_tab field in the database. FieldHideTab = "hide_tab" // 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" // 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 = "menus" // ParentTable is the table that holds the parent relation/edge. ParentTable = "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 = "menus" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "parent_id" )
Variables ¶
var ( // DefaultRemark holds the default value on creation for the "remark" field. DefaultRemark string // DefaultSort holds the default value on creation for the "sort" field. DefaultSort int32 // SortValidator is a validator for the "sort" field. It is called by the builders before save. SortValidator func(int32) error // DefaultState holds the default value on creation for the "state" field. DefaultState int32 // StateValidator is a validator for the "state" field. It is called by the builders before save. StateValidator func(int32) error // DefaultName holds the default value on creation for the "name" field. DefaultName string // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultTitle holds the default value on creation for the "title" field. DefaultTitle string // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DefaultParentID holds the default value on creation for the "parent_id" field. DefaultParentID uint32 // DefaultType holds the default value on creation for the "type" field. DefaultType int32 // DefaultPath holds the default value on creation for the "path" field. DefaultPath string // DefaultComponent holds the default value on creation for the "component" field. DefaultComponent string // DefaultIcon holds the default value on creation for the "icon" field. DefaultIcon string // IconValidator is a validator for the "icon" field. It is called by the builders before save. IconValidator func(string) error // DefaultIsExt holds the default value on creation for the "is_ext" field. DefaultIsExt bool // DefaultExtURL holds the default value on creation for the "ext_url" field. DefaultExtURL string // ExtURLValidator is a validator for the "ext_url" field. It is called by the builders before save. ExtURLValidator func(string) error // DefaultPermissions holds the default value on creation for the "permissions" field. DefaultPermissions []string // DefaultRedirect holds the default value on creation for the "redirect" field. DefaultRedirect string // DefaultCurrentActiveMenu holds the default value on creation for the "current_active_menu" field. DefaultCurrentActiveMenu string // DefaultKeepAlive holds the default value on creation for the "keep_alive" field. DefaultKeepAlive bool // DefaultVisible holds the default value on creation for the "visible" field. DefaultVisible bool // DefaultHideTab holds the default value on creation for the "hide_tab" field. DefaultHideTab bool // 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 // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(uint32) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldRemark, FieldSort, FieldState, FieldName, FieldTitle, FieldParentID, FieldType, FieldPath, FieldComponent, FieldIcon, FieldIsExt, FieldExtURL, FieldPermissions, FieldRedirect, FieldCurrentActiveMenu, FieldKeepAlive, FieldVisible, FieldHideTab, FieldHideMenu, FieldHideBreadcrumb, }
Columns holds all SQL columns for menu fields.
Functions ¶
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 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 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CurrentActiveMenu ¶
CurrentActiveMenu applies equality check predicate on the "current_active_menu" field. It's identical to CurrentActiveMenuEQ.
func CurrentActiveMenuContains ¶
CurrentActiveMenuContains applies the Contains predicate on the "current_active_menu" field.
func CurrentActiveMenuContainsFold ¶
CurrentActiveMenuContainsFold applies the ContainsFold predicate on the "current_active_menu" field.
func CurrentActiveMenuEQ ¶
CurrentActiveMenuEQ applies the EQ predicate on the "current_active_menu" field.
func CurrentActiveMenuEqualFold ¶
CurrentActiveMenuEqualFold applies the EqualFold predicate on the "current_active_menu" field.
func CurrentActiveMenuGT ¶
CurrentActiveMenuGT applies the GT predicate on the "current_active_menu" field.
func CurrentActiveMenuGTE ¶
CurrentActiveMenuGTE applies the GTE predicate on the "current_active_menu" field.
func CurrentActiveMenuHasPrefix ¶
CurrentActiveMenuHasPrefix applies the HasPrefix predicate on the "current_active_menu" field.
func CurrentActiveMenuHasSuffix ¶
CurrentActiveMenuHasSuffix applies the HasSuffix predicate on the "current_active_menu" field.
func CurrentActiveMenuIn ¶
CurrentActiveMenuIn applies the In predicate on the "current_active_menu" field.
func CurrentActiveMenuLT ¶
CurrentActiveMenuLT applies the LT predicate on the "current_active_menu" field.
func CurrentActiveMenuLTE ¶
CurrentActiveMenuLTE applies the LTE predicate on the "current_active_menu" field.
func CurrentActiveMenuNEQ ¶
CurrentActiveMenuNEQ applies the NEQ predicate on the "current_active_menu" field.
func CurrentActiveMenuNotIn ¶
CurrentActiveMenuNotIn applies the NotIn predicate on the "current_active_menu" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func ExtURL ¶
ExtURL applies equality check predicate on the "ext_url" field. It's identical to ExtURLEQ.
func ExtURLContains ¶
ExtURLContains applies the Contains predicate on the "ext_url" field.
func ExtURLContainsFold ¶
ExtURLContainsFold applies the ContainsFold predicate on the "ext_url" field.
func ExtURLEqualFold ¶
ExtURLEqualFold applies the EqualFold predicate on the "ext_url" field.
func ExtURLHasPrefix ¶
ExtURLHasPrefix applies the HasPrefix predicate on the "ext_url" field.
func ExtURLHasSuffix ¶
ExtURLHasSuffix applies the HasSuffix predicate on the "ext_url" field.
func ExtURLNotIn ¶
ExtURLNotIn applies the NotIn predicate on the "ext_url" 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 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 HideBreadcrumbNEQ ¶
HideBreadcrumbNEQ applies the NEQ predicate on the "hide_breadcrumb" 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 HideMenuNEQ ¶
HideMenuNEQ applies the NEQ predicate on the "hide_menu" field.
func HideTab ¶
HideTab applies equality check predicate on the "hide_tab" field. It's identical to HideTabEQ.
func HideTabNEQ ¶
HideTabNEQ applies the NEQ 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 IsExt ¶
IsExt applies equality check predicate on the "is_ext" field. It's identical to IsExtEQ.
func KeepAlive ¶
KeepAlive applies equality check predicate on the "keep_alive" field. It's identical to KeepAliveEQ.
func KeepAliveEQ ¶
KeepAliveEQ applies the EQ predicate on the "keep_alive" field.
func KeepAliveNEQ ¶
KeepAliveNEQ applies the NEQ predicate on the "keep_alive" 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 PermissionsIsNil ¶
PermissionsIsNil applies the IsNil predicate on the "permissions" field.
func PermissionsNotNil ¶
PermissionsNotNil applies the NotNil predicate on the "permissions" 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 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 Remark ¶
Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func RemarkContains ¶
RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContainsFold ¶
RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkEqualFold ¶
RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkHasPrefix ¶
RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasSuffix ¶
RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkIsNil ¶
RemarkIsNil applies the IsNil predicate on the "remark" field.
func RemarkNotIn ¶
RemarkNotIn applies the NotIn predicate on the "remark" field.
func RemarkNotNil ¶
RemarkNotNil applies the NotNil predicate on the "remark" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Visible ¶
Visible applies equality check predicate on the "visible" field. It's identical to VisibleEQ.
func VisibleNEQ ¶
VisibleNEQ applies the NEQ predicate on the "visible" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Menu queries.
func ByChildren ¶
func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChildren orders the results by children terms.
func ByChildrenCount ¶
func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
ByChildrenCount orders the results by children count.
func ByComponent ¶
func ByComponent(opts ...sql.OrderTermOption) OrderOption
ByComponent orders the results by the component field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCurrentActiveMenu ¶
func ByCurrentActiveMenu(opts ...sql.OrderTermOption) OrderOption
ByCurrentActiveMenu orders the results by the current_active_menu field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByExtURL ¶
func ByExtURL(opts ...sql.OrderTermOption) OrderOption
ByExtURL orders the results by the ext_url field.
func ByHideBreadcrumb ¶
func ByHideBreadcrumb(opts ...sql.OrderTermOption) OrderOption
ByHideBreadcrumb orders the results by the hide_breadcrumb field.
func ByHideMenu ¶
func ByHideMenu(opts ...sql.OrderTermOption) OrderOption
ByHideMenu orders the results by the hide_menu field.
func ByHideTab ¶
func ByHideTab(opts ...sql.OrderTermOption) OrderOption
ByHideTab orders the results by the hide_tab field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIcon ¶
func ByIcon(opts ...sql.OrderTermOption) OrderOption
ByIcon orders the results by the icon field.
func ByIsExt ¶
func ByIsExt(opts ...sql.OrderTermOption) OrderOption
ByIsExt orders the results by the is_ext field.
func ByKeepAlive ¶
func ByKeepAlive(opts ...sql.OrderTermOption) OrderOption
ByKeepAlive orders the results by the keep_alive field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByParentField ¶
func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
ByParentField orders the results by parent field.
func ByParentID ¶
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id field.
func ByPath ¶
func ByPath(opts ...sql.OrderTermOption) OrderOption
ByPath orders the results by the path field.
func ByRedirect ¶
func ByRedirect(opts ...sql.OrderTermOption) OrderOption
ByRedirect orders the results by the redirect field.
func ByRemark ¶
func ByRemark(opts ...sql.OrderTermOption) OrderOption
ByRemark orders the results by the remark field.
func BySort ¶
func BySort(opts ...sql.OrderTermOption) OrderOption
BySort orders the results by the sort field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVisible ¶
func ByVisible(opts ...sql.OrderTermOption) OrderOption
ByVisible orders the results by the visible field.