appmenu

package
v0.0.0-...-04b2c92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
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

View Source
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"

Columns holds all SQL columns for appmenu fields.

Functions

func ActionID

func ActionID(v int) predicate.AppMenu

ActionID applies equality check predicate on the "action_id" field. It's identical to ActionIDEQ.

func ActionIDEQ

func ActionIDEQ(v int) predicate.AppMenu

ActionIDEQ applies the EQ predicate on the "action_id" field.

func ActionIDIn

func ActionIDIn(vs ...int) predicate.AppMenu

ActionIDIn applies the In predicate on the "action_id" field.

func ActionIDIsNil

func ActionIDIsNil() predicate.AppMenu

ActionIDIsNil applies the IsNil predicate on the "action_id" field.

func ActionIDNEQ

func ActionIDNEQ(v int) predicate.AppMenu

ActionIDNEQ applies the NEQ predicate on the "action_id" field.

func ActionIDNotIn

func ActionIDNotIn(vs ...int) predicate.AppMenu

ActionIDNotIn applies the NotIn predicate on the "action_id" field.

func ActionIDNotNil

func ActionIDNotNil() predicate.AppMenu

ActionIDNotNil applies the NotNil predicate on the "action_id" field.

func And

func And(predicates ...predicate.AppMenu) predicate.AppMenu

And groups predicates with the AND operator between them.

func AppID

func AppID(v int) predicate.AppMenu

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDEQ

func AppIDEQ(v int) predicate.AppMenu

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...int) predicate.AppMenu

AppIDIn applies the In predicate on the "app_id" field.

func AppIDIsNil

func AppIDIsNil() predicate.AppMenu

AppIDIsNil applies the IsNil predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v int) predicate.AppMenu

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...int) predicate.AppMenu

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func AppIDNotNil

func AppIDNotNil() predicate.AppMenu

AppIDNotNil applies the NotNil predicate on the "app_id" field.

func Comments

func Comments(v string) predicate.AppMenu

Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.

func CommentsContains

func CommentsContains(v string) predicate.AppMenu

CommentsContains applies the Contains predicate on the "comments" field.

func CommentsContainsFold

func CommentsContainsFold(v string) predicate.AppMenu

CommentsContainsFold applies the ContainsFold predicate on the "comments" field.

func CommentsEQ

func CommentsEQ(v string) predicate.AppMenu

CommentsEQ applies the EQ predicate on the "comments" field.

func CommentsEqualFold

func CommentsEqualFold(v string) predicate.AppMenu

CommentsEqualFold applies the EqualFold predicate on the "comments" field.

func CommentsGT

func CommentsGT(v string) predicate.AppMenu

CommentsGT applies the GT predicate on the "comments" field.

func CommentsGTE

func CommentsGTE(v string) predicate.AppMenu

CommentsGTE applies the GTE predicate on the "comments" field.

func CommentsHasPrefix

func CommentsHasPrefix(v string) predicate.AppMenu

CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.

func CommentsHasSuffix

func CommentsHasSuffix(v string) predicate.AppMenu

CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.

func CommentsIn

func CommentsIn(vs ...string) predicate.AppMenu

CommentsIn applies the In predicate on the "comments" field.

func CommentsIsNil

func CommentsIsNil() predicate.AppMenu

CommentsIsNil applies the IsNil predicate on the "comments" field.

func CommentsLT

func CommentsLT(v string) predicate.AppMenu

CommentsLT applies the LT predicate on the "comments" field.

func CommentsLTE

func CommentsLTE(v string) predicate.AppMenu

CommentsLTE applies the LTE predicate on the "comments" field.

func CommentsNEQ

func CommentsNEQ(v string) predicate.AppMenu

CommentsNEQ applies the NEQ predicate on the "comments" field.

func CommentsNotIn

func CommentsNotIn(vs ...string) predicate.AppMenu

CommentsNotIn applies the NotIn predicate on the "comments" field.

func CommentsNotNil

func CommentsNotNil() predicate.AppMenu

CommentsNotNil applies the NotNil predicate on the "comments" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AppMenu

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AppMenu

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AppMenu

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AppMenu

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.AppMenu

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AppMenu

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AppMenu

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AppMenu

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.AppMenu

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v int) predicate.AppMenu

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int) predicate.AppMenu

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int) predicate.AppMenu

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int) predicate.AppMenu

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int) predicate.AppMenu

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int) predicate.AppMenu

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int) predicate.AppMenu

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int) predicate.AppMenu

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int) predicate.AppMenu

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func DisplaySort

func DisplaySort(v int32) predicate.AppMenu

DisplaySort applies equality check predicate on the "display_sort" field. It's identical to DisplaySortEQ.

func DisplaySortEQ

func DisplaySortEQ(v int32) predicate.AppMenu

DisplaySortEQ applies the EQ predicate on the "display_sort" field.

func DisplaySortGT

func DisplaySortGT(v int32) predicate.AppMenu

DisplaySortGT applies the GT predicate on the "display_sort" field.

func DisplaySortGTE

func DisplaySortGTE(v int32) predicate.AppMenu

DisplaySortGTE applies the GTE predicate on the "display_sort" field.

func DisplaySortIn

func DisplaySortIn(vs ...int32) predicate.AppMenu

DisplaySortIn applies the In predicate on the "display_sort" field.

func DisplaySortIsNil

func DisplaySortIsNil() predicate.AppMenu

DisplaySortIsNil applies the IsNil predicate on the "display_sort" field.

func DisplaySortLT

func DisplaySortLT(v int32) predicate.AppMenu

DisplaySortLT applies the LT predicate on the "display_sort" field.

func DisplaySortLTE

func DisplaySortLTE(v int32) predicate.AppMenu

DisplaySortLTE applies the LTE predicate on the "display_sort" field.

func DisplaySortNEQ

func DisplaySortNEQ(v int32) predicate.AppMenu

DisplaySortNEQ applies the NEQ predicate on the "display_sort" field.

func DisplaySortNotIn

func DisplaySortNotIn(vs ...int32) predicate.AppMenu

DisplaySortNotIn applies the NotIn predicate on the "display_sort" field.

func DisplaySortNotNil

func DisplaySortNotNil() predicate.AppMenu

DisplaySortNotNil applies the NotNil predicate on the "display_sort" field.

func HasAction

func HasAction() predicate.AppMenu

HasAction applies the HasEdge predicate on the "action" edge.

func HasActionWith

func HasActionWith(preds ...predicate.AppAction) predicate.AppMenu

HasActionWith applies the HasEdge predicate on the "action" edge with a given conditions (other predicates).

func HasApp

func HasApp() predicate.AppMenu

HasApp applies the HasEdge predicate on the "app" edge.

func HasAppWith

func HasAppWith(preds ...predicate.App) predicate.AppMenu

HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.AppMenu

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AppMenu

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AppMenu

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AppMenu

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.AppMenu

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AppMenu

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AppMenu

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AppMenu

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.AppMenu

IDNotIn applies the NotIn predicate on the ID field.

func Icon

func Icon(v string) predicate.AppMenu

Icon applies equality check predicate on the "icon" field. It's identical to IconEQ.

func IconContains

func IconContains(v string) predicate.AppMenu

IconContains applies the Contains predicate on the "icon" field.

func IconContainsFold

func IconContainsFold(v string) predicate.AppMenu

IconContainsFold applies the ContainsFold predicate on the "icon" field.

func IconEQ

func IconEQ(v string) predicate.AppMenu

IconEQ applies the EQ predicate on the "icon" field.

func IconEqualFold

func IconEqualFold(v string) predicate.AppMenu

IconEqualFold applies the EqualFold predicate on the "icon" field.

func IconGT

func IconGT(v string) predicate.AppMenu

IconGT applies the GT predicate on the "icon" field.

func IconGTE

func IconGTE(v string) predicate.AppMenu

IconGTE applies the GTE predicate on the "icon" field.

func IconHasPrefix

func IconHasPrefix(v string) predicate.AppMenu

IconHasPrefix applies the HasPrefix predicate on the "icon" field.

func IconHasSuffix

func IconHasSuffix(v string) predicate.AppMenu

IconHasSuffix applies the HasSuffix predicate on the "icon" field.

func IconIn

func IconIn(vs ...string) predicate.AppMenu

IconIn applies the In predicate on the "icon" field.

func IconIsNil

func IconIsNil() predicate.AppMenu

IconIsNil applies the IsNil predicate on the "icon" field.

func IconLT

func IconLT(v string) predicate.AppMenu

IconLT applies the LT predicate on the "icon" field.

func IconLTE

func IconLTE(v string) predicate.AppMenu

IconLTE applies the LTE predicate on the "icon" field.

func IconNEQ

func IconNEQ(v string) predicate.AppMenu

IconNEQ applies the NEQ predicate on the "icon" field.

func IconNotIn

func IconNotIn(vs ...string) predicate.AppMenu

IconNotIn applies the NotIn predicate on the "icon" field.

func IconNotNil

func IconNotNil() predicate.AppMenu

IconNotNil applies the NotNil predicate on the "icon" field.

func KindEQ

func KindEQ(v Kind) predicate.AppMenu

KindEQ applies the EQ predicate on the "kind" field.

func KindIn

func KindIn(vs ...Kind) predicate.AppMenu

KindIn applies the In predicate on the "kind" field.

func KindNEQ

func KindNEQ(v Kind) predicate.AppMenu

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...Kind) predicate.AppMenu

KindNotIn applies the NotIn predicate on the "kind" field.

func KindValidator

func KindValidator(k Kind) error

KindValidator is a validator for the "kind" field enum values. It is called by the builders before save.

func Name

func Name(v string) predicate.AppMenu

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.AppMenu

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.AppMenu

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.AppMenu

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.AppMenu

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.AppMenu

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.AppMenu

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.AppMenu

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.AppMenu

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.AppMenu

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.AppMenu

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.AppMenu

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.AppMenu

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.AppMenu

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AppMenu) predicate.AppMenu

Or groups predicates with the OR operator between them.

func ParentID

func ParentID(v int) predicate.AppMenu

ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.

func ParentIDEQ

func ParentIDEQ(v int) predicate.AppMenu

ParentIDEQ applies the EQ predicate on the "parent_id" field.

func ParentIDGT

func ParentIDGT(v int) predicate.AppMenu

ParentIDGT applies the GT predicate on the "parent_id" field.

func ParentIDGTE

func ParentIDGTE(v int) predicate.AppMenu

ParentIDGTE applies the GTE predicate on the "parent_id" field.

func ParentIDIn

func ParentIDIn(vs ...int) predicate.AppMenu

ParentIDIn applies the In predicate on the "parent_id" field.

func ParentIDLT

func ParentIDLT(v int) predicate.AppMenu

ParentIDLT applies the LT predicate on the "parent_id" field.

func ParentIDLTE

func ParentIDLTE(v int) predicate.AppMenu

ParentIDLTE applies the LTE predicate on the "parent_id" field.

func ParentIDNEQ

func ParentIDNEQ(v int) predicate.AppMenu

ParentIDNEQ applies the NEQ predicate on the "parent_id" field.

func ParentIDNotIn

func ParentIDNotIn(vs ...int) predicate.AppMenu

ParentIDNotIn applies the NotIn predicate on the "parent_id" field.

func Route

func Route(v string) predicate.AppMenu

Route applies equality check predicate on the "route" field. It's identical to RouteEQ.

func RouteContains

func RouteContains(v string) predicate.AppMenu

RouteContains applies the Contains predicate on the "route" field.

func RouteContainsFold

func RouteContainsFold(v string) predicate.AppMenu

RouteContainsFold applies the ContainsFold predicate on the "route" field.

func RouteEQ

func RouteEQ(v string) predicate.AppMenu

RouteEQ applies the EQ predicate on the "route" field.

func RouteEqualFold

func RouteEqualFold(v string) predicate.AppMenu

RouteEqualFold applies the EqualFold predicate on the "route" field.

func RouteGT

func RouteGT(v string) predicate.AppMenu

RouteGT applies the GT predicate on the "route" field.

func RouteGTE

func RouteGTE(v string) predicate.AppMenu

RouteGTE applies the GTE predicate on the "route" field.

func RouteHasPrefix

func RouteHasPrefix(v string) predicate.AppMenu

RouteHasPrefix applies the HasPrefix predicate on the "route" field.

func RouteHasSuffix

func RouteHasSuffix(v string) predicate.AppMenu

RouteHasSuffix applies the HasSuffix predicate on the "route" field.

func RouteIn

func RouteIn(vs ...string) predicate.AppMenu

RouteIn applies the In predicate on the "route" field.

func RouteIsNil

func RouteIsNil() predicate.AppMenu

RouteIsNil applies the IsNil predicate on the "route" field.

func RouteLT

func RouteLT(v string) predicate.AppMenu

RouteLT applies the LT predicate on the "route" field.

func RouteLTE

func RouteLTE(v string) predicate.AppMenu

RouteLTE applies the LTE predicate on the "route" field.

func RouteNEQ

func RouteNEQ(v string) predicate.AppMenu

RouteNEQ applies the NEQ predicate on the "route" field.

func RouteNotIn

func RouteNotIn(vs ...string) predicate.AppMenu

RouteNotIn applies the NotIn predicate on the "route" field.

func RouteNotNil

func RouteNotNil() predicate.AppMenu

RouteNotNil applies the NotNil predicate on the "route" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AppMenu

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AppMenu

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AppMenu

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AppMenu

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AppMenu

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.AppMenu

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AppMenu

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AppMenu

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AppMenu

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AppMenu

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.AppMenu

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int) predicate.AppMenu

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int) predicate.AppMenu

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int) predicate.AppMenu

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int) predicate.AppMenu

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int) predicate.AppMenu

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.AppMenu

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int) predicate.AppMenu

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int) predicate.AppMenu

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int) predicate.AppMenu

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int) predicate.AppMenu

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.AppMenu

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

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.

const (
	KindDir  Kind = "dir"
	KindMenu Kind = "menu"
)

Kind values.

func (Kind) MarshalGQL

func (e Kind) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (Kind) String

func (k Kind) String() string

func (*Kind) UnmarshalGQL

func (e *Kind) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL