Documentation
¶
Index ¶
- Constants
- Variables
- func ActionID(v int) predicate.AppMenu
- func ActionIDEQ(v int) predicate.AppMenu
- func ActionIDIn(vs ...int) predicate.AppMenu
- func ActionIDIsNil() predicate.AppMenu
- func ActionIDNEQ(v int) predicate.AppMenu
- func ActionIDNotIn(vs ...int) predicate.AppMenu
- func ActionIDNotNil() predicate.AppMenu
- func And(predicates ...predicate.AppMenu) predicate.AppMenu
- func AppID(v int) predicate.AppMenu
- func AppIDEQ(v int) predicate.AppMenu
- func AppIDIn(vs ...int) predicate.AppMenu
- func AppIDIsNil() predicate.AppMenu
- func AppIDNEQ(v int) predicate.AppMenu
- func AppIDNotIn(vs ...int) predicate.AppMenu
- func AppIDNotNil() predicate.AppMenu
- func Comments(v string) predicate.AppMenu
- func CommentsContains(v string) predicate.AppMenu
- func CommentsContainsFold(v string) predicate.AppMenu
- func CommentsEQ(v string) predicate.AppMenu
- func CommentsEqualFold(v string) predicate.AppMenu
- func CommentsGT(v string) predicate.AppMenu
- func CommentsGTE(v string) predicate.AppMenu
- func CommentsHasPrefix(v string) predicate.AppMenu
- func CommentsHasSuffix(v string) predicate.AppMenu
- func CommentsIn(vs ...string) predicate.AppMenu
- func CommentsIsNil() predicate.AppMenu
- func CommentsLT(v string) predicate.AppMenu
- func CommentsLTE(v string) predicate.AppMenu
- func CommentsNEQ(v string) predicate.AppMenu
- func CommentsNotIn(vs ...string) predicate.AppMenu
- func CommentsNotNil() predicate.AppMenu
- func CreatedAt(v time.Time) predicate.AppMenu
- func CreatedAtEQ(v time.Time) predicate.AppMenu
- func CreatedAtGT(v time.Time) predicate.AppMenu
- func CreatedAtGTE(v time.Time) predicate.AppMenu
- func CreatedAtIn(vs ...time.Time) predicate.AppMenu
- func CreatedAtLT(v time.Time) predicate.AppMenu
- func CreatedAtLTE(v time.Time) predicate.AppMenu
- func CreatedAtNEQ(v time.Time) predicate.AppMenu
- func CreatedAtNotIn(vs ...time.Time) predicate.AppMenu
- func CreatedBy(v int) predicate.AppMenu
- func CreatedByEQ(v int) predicate.AppMenu
- func CreatedByGT(v int) predicate.AppMenu
- func CreatedByGTE(v int) predicate.AppMenu
- func CreatedByIn(vs ...int) predicate.AppMenu
- func CreatedByLT(v int) predicate.AppMenu
- func CreatedByLTE(v int) predicate.AppMenu
- func CreatedByNEQ(v int) predicate.AppMenu
- func CreatedByNotIn(vs ...int) predicate.AppMenu
- func DisplaySort(v int32) predicate.AppMenu
- func DisplaySortEQ(v int32) predicate.AppMenu
- func DisplaySortGT(v int32) predicate.AppMenu
- func DisplaySortGTE(v int32) predicate.AppMenu
- func DisplaySortIn(vs ...int32) predicate.AppMenu
- func DisplaySortIsNil() predicate.AppMenu
- func DisplaySortLT(v int32) predicate.AppMenu
- func DisplaySortLTE(v int32) predicate.AppMenu
- func DisplaySortNEQ(v int32) predicate.AppMenu
- func DisplaySortNotIn(vs ...int32) predicate.AppMenu
- func DisplaySortNotNil() predicate.AppMenu
- func HasAction() predicate.AppMenu
- func HasActionWith(preds ...predicate.AppAction) predicate.AppMenu
- func HasApp() predicate.AppMenu
- func HasAppWith(preds ...predicate.App) predicate.AppMenu
- func ID(id int) predicate.AppMenu
- func IDEQ(id int) predicate.AppMenu
- func IDGT(id int) predicate.AppMenu
- func IDGTE(id int) predicate.AppMenu
- func IDIn(ids ...int) predicate.AppMenu
- func IDLT(id int) predicate.AppMenu
- func IDLTE(id int) predicate.AppMenu
- func IDNEQ(id int) predicate.AppMenu
- func IDNotIn(ids ...int) predicate.AppMenu
- func Icon(v string) predicate.AppMenu
- func IconContains(v string) predicate.AppMenu
- func IconContainsFold(v string) predicate.AppMenu
- func IconEQ(v string) predicate.AppMenu
- func IconEqualFold(v string) predicate.AppMenu
- func IconGT(v string) predicate.AppMenu
- func IconGTE(v string) predicate.AppMenu
- func IconHasPrefix(v string) predicate.AppMenu
- func IconHasSuffix(v string) predicate.AppMenu
- func IconIn(vs ...string) predicate.AppMenu
- func IconIsNil() predicate.AppMenu
- func IconLT(v string) predicate.AppMenu
- func IconLTE(v string) predicate.AppMenu
- func IconNEQ(v string) predicate.AppMenu
- func IconNotIn(vs ...string) predicate.AppMenu
- func IconNotNil() predicate.AppMenu
- func KindEQ(v Kind) predicate.AppMenu
- func KindIn(vs ...Kind) predicate.AppMenu
- func KindNEQ(v Kind) predicate.AppMenu
- func KindNotIn(vs ...Kind) predicate.AppMenu
- func KindValidator(k Kind) error
- func Name(v string) predicate.AppMenu
- func NameContains(v string) predicate.AppMenu
- func NameContainsFold(v string) predicate.AppMenu
- func NameEQ(v string) predicate.AppMenu
- func NameEqualFold(v string) predicate.AppMenu
- func NameGT(v string) predicate.AppMenu
- func NameGTE(v string) predicate.AppMenu
- func NameHasPrefix(v string) predicate.AppMenu
- func NameHasSuffix(v string) predicate.AppMenu
- func NameIn(vs ...string) predicate.AppMenu
- func NameLT(v string) predicate.AppMenu
- func NameLTE(v string) predicate.AppMenu
- func NameNEQ(v string) predicate.AppMenu
- func NameNotIn(vs ...string) predicate.AppMenu
- func Not(p predicate.AppMenu) predicate.AppMenu
- func Or(predicates ...predicate.AppMenu) predicate.AppMenu
- func ParentID(v int) predicate.AppMenu
- func ParentIDEQ(v int) predicate.AppMenu
- func ParentIDGT(v int) predicate.AppMenu
- func ParentIDGTE(v int) predicate.AppMenu
- func ParentIDIn(vs ...int) predicate.AppMenu
- func ParentIDLT(v int) predicate.AppMenu
- func ParentIDLTE(v int) predicate.AppMenu
- func ParentIDNEQ(v int) predicate.AppMenu
- func ParentIDNotIn(vs ...int) predicate.AppMenu
- func Route(v string) predicate.AppMenu
- func RouteContains(v string) predicate.AppMenu
- func RouteContainsFold(v string) predicate.AppMenu
- func RouteEQ(v string) predicate.AppMenu
- func RouteEqualFold(v string) predicate.AppMenu
- func RouteGT(v string) predicate.AppMenu
- func RouteGTE(v string) predicate.AppMenu
- func RouteHasPrefix(v string) predicate.AppMenu
- func RouteHasSuffix(v string) predicate.AppMenu
- func RouteIn(vs ...string) predicate.AppMenu
- func RouteIsNil() predicate.AppMenu
- func RouteLT(v string) predicate.AppMenu
- func RouteLTE(v string) predicate.AppMenu
- func RouteNEQ(v string) predicate.AppMenu
- func RouteNotIn(vs ...string) predicate.AppMenu
- func RouteNotNil() predicate.AppMenu
- func UpdatedAt(v time.Time) predicate.AppMenu
- func UpdatedAtEQ(v time.Time) predicate.AppMenu
- func UpdatedAtGT(v time.Time) predicate.AppMenu
- func UpdatedAtGTE(v time.Time) predicate.AppMenu
- func UpdatedAtIn(vs ...time.Time) predicate.AppMenu
- func UpdatedAtIsNil() predicate.AppMenu
- func UpdatedAtLT(v time.Time) predicate.AppMenu
- func UpdatedAtLTE(v time.Time) predicate.AppMenu
- func UpdatedAtNEQ(v time.Time) predicate.AppMenu
- func UpdatedAtNotIn(vs ...time.Time) predicate.AppMenu
- func UpdatedAtNotNil() predicate.AppMenu
- func UpdatedBy(v int) predicate.AppMenu
- func UpdatedByEQ(v int) predicate.AppMenu
- func UpdatedByGT(v int) predicate.AppMenu
- func UpdatedByGTE(v int) predicate.AppMenu
- func UpdatedByIn(vs ...int) predicate.AppMenu
- func UpdatedByIsNil() predicate.AppMenu
- func UpdatedByLT(v int) predicate.AppMenu
- func UpdatedByLTE(v int) predicate.AppMenu
- func UpdatedByNEQ(v int) predicate.AppMenu
- func UpdatedByNotIn(vs ...int) predicate.AppMenu
- func UpdatedByNotNil() predicate.AppMenu
- func ValidColumn(column string) bool
- type Kind
- type OrderOption
- func ByActionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByActionID(opts ...sql.OrderTermOption) OrderOption
- func ByAppField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAppID(opts ...sql.OrderTermOption) OrderOption
- func ByComments(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDisplaySort(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIcon(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByParentID(opts ...sql.OrderTermOption) OrderOption
- func ByRoute(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the appmenu type in the database. Label = "app_menu" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldAppID holds the string denoting the app_id field in the database. FieldAppID = "app_id" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldIcon holds the string denoting the icon field in the database. FieldIcon = "icon" // FieldRoute holds the string denoting the route field in the database. FieldRoute = "route" // FieldActionID holds the string denoting the action_id field in the database. FieldActionID = "action_id" // FieldComments holds the string denoting the comments field in the database. FieldComments = "comments" // FieldDisplaySort holds the string denoting the display_sort field in the database. FieldDisplaySort = "display_sort" // EdgeApp holds the string denoting the app edge name in mutations. EdgeApp = "app" // EdgeAction holds the string denoting the action edge name in mutations. EdgeAction = "action" // Table holds the table name of the appmenu in the database. Table = "app_menu" // AppTable is the table that holds the app relation/edge. AppTable = "app_menu" // AppInverseTable is the table name for the App entity. // It exists in this package in order to avoid circular dependency with the "app" package. AppInverseTable = "app" // AppColumn is the table column denoting the app relation/edge. AppColumn = "app_id" // ActionTable is the table that holds the action relation/edge. ActionTable = "app_menu" // ActionInverseTable is the table name for the AppAction entity. // It exists in this package in order to avoid circular dependency with the "appaction" package. ActionInverseTable = "app_action" // ActionColumn is the table column denoting the action relation/edge. ActionColumn = "action_id" )
Variables ¶
var ( Hooks [3]ent.Hook // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() int )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/woocoos/knockout/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldAppID, FieldParentID, FieldKind, FieldName, FieldIcon, FieldRoute, FieldActionID, FieldComments, FieldDisplaySort, }
Columns holds all SQL columns for appmenu fields.
Functions ¶
func ActionID ¶
ActionID applies equality check predicate on the "action_id" field. It's identical to ActionIDEQ.
func ActionIDEQ ¶
ActionIDEQ applies the EQ predicate on the "action_id" field.
func ActionIDIn ¶
ActionIDIn applies the In predicate on the "action_id" field.
func ActionIDIsNil ¶
ActionIDIsNil applies the IsNil predicate on the "action_id" field.
func ActionIDNEQ ¶
ActionIDNEQ applies the NEQ predicate on the "action_id" field.
func ActionIDNotIn ¶
ActionIDNotIn applies the NotIn predicate on the "action_id" field.
func ActionIDNotNil ¶
ActionIDNotNil applies the NotNil predicate on the "action_id" field.
func AppID ¶
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDIsNil ¶
AppIDIsNil applies the IsNil predicate on the "app_id" field.
func AppIDNotIn ¶
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func AppIDNotNil ¶
AppIDNotNil applies the NotNil predicate on the "app_id" field.
func Comments ¶
Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.
func CommentsContains ¶
CommentsContains applies the Contains predicate on the "comments" field.
func CommentsContainsFold ¶
CommentsContainsFold applies the ContainsFold predicate on the "comments" field.
func CommentsEQ ¶
CommentsEQ applies the EQ predicate on the "comments" field.
func CommentsEqualFold ¶
CommentsEqualFold applies the EqualFold predicate on the "comments" field.
func CommentsGT ¶
CommentsGT applies the GT predicate on the "comments" field.
func CommentsGTE ¶
CommentsGTE applies the GTE predicate on the "comments" field.
func CommentsHasPrefix ¶
CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.
func CommentsHasSuffix ¶
CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.
func CommentsIn ¶
CommentsIn applies the In predicate on the "comments" field.
func CommentsIsNil ¶
CommentsIsNil applies the IsNil predicate on the "comments" field.
func CommentsLT ¶
CommentsLT applies the LT predicate on the "comments" field.
func CommentsLTE ¶
CommentsLTE applies the LTE predicate on the "comments" field.
func CommentsNEQ ¶
CommentsNEQ applies the NEQ predicate on the "comments" field.
func CommentsNotIn ¶
CommentsNotIn applies the NotIn predicate on the "comments" field.
func CommentsNotNil ¶
CommentsNotNil applies the NotNil predicate on the "comments" 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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func DisplaySort ¶
DisplaySort applies equality check predicate on the "display_sort" field. It's identical to DisplaySortEQ.
func DisplaySortEQ ¶
DisplaySortEQ applies the EQ predicate on the "display_sort" field.
func DisplaySortGT ¶
DisplaySortGT applies the GT predicate on the "display_sort" field.
func DisplaySortGTE ¶
DisplaySortGTE applies the GTE predicate on the "display_sort" field.
func DisplaySortIn ¶
DisplaySortIn applies the In predicate on the "display_sort" field.
func DisplaySortIsNil ¶
DisplaySortIsNil applies the IsNil predicate on the "display_sort" field.
func DisplaySortLT ¶
DisplaySortLT applies the LT predicate on the "display_sort" field.
func DisplaySortLTE ¶
DisplaySortLTE applies the LTE predicate on the "display_sort" field.
func DisplaySortNEQ ¶
DisplaySortNEQ applies the NEQ predicate on the "display_sort" field.
func DisplaySortNotIn ¶
DisplaySortNotIn applies the NotIn predicate on the "display_sort" field.
func DisplaySortNotNil ¶
DisplaySortNotNil applies the NotNil predicate on the "display_sort" field.
func HasActionWith ¶
HasActionWith applies the HasEdge predicate on the "action" edge with a given conditions (other predicates).
func HasAppWith ¶
HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).
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 IconNotNil ¶
IconNotNil applies the NotNil predicate on the "icon" field.
func KindValidator ¶
KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.
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 ParentIDGT ¶
ParentIDGT applies the GT predicate on the "parent_id" field.
func ParentIDGTE ¶
ParentIDGTE applies the GTE predicate on the "parent_id" field.
func ParentIDIn ¶
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDLT ¶
ParentIDLT applies the LT predicate on the "parent_id" field.
func ParentIDLTE ¶
ParentIDLTE applies the LTE 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 Route ¶
Route applies equality check predicate on the "route" field. It's identical to RouteEQ.
func RouteContains ¶
RouteContains applies the Contains predicate on the "route" field.
func RouteContainsFold ¶
RouteContainsFold applies the ContainsFold predicate on the "route" field.
func RouteEqualFold ¶
RouteEqualFold applies the EqualFold predicate on the "route" field.
func RouteHasPrefix ¶
RouteHasPrefix applies the HasPrefix predicate on the "route" field.
func RouteHasSuffix ¶
RouteHasSuffix applies the HasSuffix predicate on the "route" field.
func RouteIsNil ¶
RouteIsNil applies the IsNil predicate on the "route" field.
func RouteNotIn ¶
RouteNotIn applies the NotIn predicate on the "route" field.
func RouteNotNil ¶
RouteNotNil applies the NotNil predicate on the "route" 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Kind ¶
type Kind string
Kind defines the type for the "kind" enum field.
func (Kind) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Kind) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type OrderOption ¶
OrderOption defines the ordering options for the AppMenu queries.
func ByActionField ¶
func ByActionField(field string, opts ...sql.OrderTermOption) OrderOption
ByActionField orders the results by action field.
func ByActionID ¶
func ByActionID(opts ...sql.OrderTermOption) OrderOption
ByActionID orders the results by the action_id field.
func ByAppField ¶
func ByAppField(field string, opts ...sql.OrderTermOption) OrderOption
ByAppField orders the results by app field.
func ByAppID ¶
func ByAppID(opts ...sql.OrderTermOption) OrderOption
ByAppID orders the results by the app_id field.
func ByComments ¶
func ByComments(opts ...sql.OrderTermOption) OrderOption
ByComments orders the results by the comments field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDisplaySort ¶
func ByDisplaySort(opts ...sql.OrderTermOption) OrderOption
ByDisplaySort orders the results by the display_sort 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 ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByParentID ¶
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id field.
func ByRoute ¶
func ByRoute(opts ...sql.OrderTermOption) OrderOption
ByRoute orders the results by the route field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.