appdictitem

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: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the appdictitem type in the database.
	Label = "app_dict_item"
	// 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"
	// FieldOrgID holds the string denoting the org_id field in the database.
	FieldOrgID = "org_id"
	// FieldDictID holds the string denoting the dict_id field in the database.
	FieldDictID = "dict_id"
	// FieldRefCode holds the string denoting the ref_code field in the database.
	FieldRefCode = "ref_code"
	// FieldCode holds the string denoting the code field in the database.
	FieldCode = "code"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeDict holds the string denoting the dict edge name in mutations.
	EdgeDict = "dict"
	// EdgeOrg holds the string denoting the org edge name in mutations.
	EdgeOrg = "org"
	// Table holds the table name of the appdictitem in the database.
	Table = "app_dict_item"
	// DictTable is the table that holds the dict relation/edge.
	DictTable = "app_dict_item"
	// DictInverseTable is the table name for the AppDict entity.
	// It exists in this package in order to avoid circular dependency with the "appdict" package.
	DictInverseTable = "app_dict"
	// DictColumn is the table column denoting the dict relation/edge.
	DictColumn = "dict_id"
	// OrgTable is the table that holds the org relation/edge.
	OrgTable = "app_dict_item"
	// OrgInverseTable is the table name for the Org entity.
	// It exists in this package in order to avoid circular dependency with the "org" package.
	OrgInverseTable = "org"
	// OrgColumn is the table column denoting the org relation/edge.
	OrgColumn = "org_id"
)
View Source
const DefaultStatus typex.SimpleStatus = "inactive"

Variables

View Source
var (
	Hooks [7]ent.Hook
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// CodeValidator is a validator for the "code" field. It is called by the builders before save.
	CodeValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
)

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 appdictitem fields.

Functions

func And

func And(predicates ...predicate.AppDictItem) predicate.AppDictItem

And groups predicates with the AND operator between them.

func Code

Code applies equality check predicate on the "code" field. It's identical to CodeEQ.

func CodeContains

func CodeContains(v string) predicate.AppDictItem

CodeContains applies the Contains predicate on the "code" field.

func CodeContainsFold

func CodeContainsFold(v string) predicate.AppDictItem

CodeContainsFold applies the ContainsFold predicate on the "code" field.

func CodeEQ

func CodeEQ(v string) predicate.AppDictItem

CodeEQ applies the EQ predicate on the "code" field.

func CodeEqualFold

func CodeEqualFold(v string) predicate.AppDictItem

CodeEqualFold applies the EqualFold predicate on the "code" field.

func CodeGT

func CodeGT(v string) predicate.AppDictItem

CodeGT applies the GT predicate on the "code" field.

func CodeGTE

func CodeGTE(v string) predicate.AppDictItem

CodeGTE applies the GTE predicate on the "code" field.

func CodeHasPrefix

func CodeHasPrefix(v string) predicate.AppDictItem

CodeHasPrefix applies the HasPrefix predicate on the "code" field.

func CodeHasSuffix

func CodeHasSuffix(v string) predicate.AppDictItem

CodeHasSuffix applies the HasSuffix predicate on the "code" field.

func CodeIn

func CodeIn(vs ...string) predicate.AppDictItem

CodeIn applies the In predicate on the "code" field.

func CodeLT

func CodeLT(v string) predicate.AppDictItem

CodeLT applies the LT predicate on the "code" field.

func CodeLTE

func CodeLTE(v string) predicate.AppDictItem

CodeLTE applies the LTE predicate on the "code" field.

func CodeNEQ

func CodeNEQ(v string) predicate.AppDictItem

CodeNEQ applies the NEQ predicate on the "code" field.

func CodeNotIn

func CodeNotIn(vs ...string) predicate.AppDictItem

CodeNotIn applies the NotIn predicate on the "code" field.

func Comments

func Comments(v string) predicate.AppDictItem

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

func CommentsContains

func CommentsContains(v string) predicate.AppDictItem

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

func CommentsContainsFold

func CommentsContainsFold(v string) predicate.AppDictItem

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

func CommentsEQ

func CommentsEQ(v string) predicate.AppDictItem

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

func CommentsEqualFold

func CommentsEqualFold(v string) predicate.AppDictItem

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

func CommentsGT

func CommentsGT(v string) predicate.AppDictItem

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

func CommentsGTE

func CommentsGTE(v string) predicate.AppDictItem

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

func CommentsHasPrefix

func CommentsHasPrefix(v string) predicate.AppDictItem

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

func CommentsHasSuffix

func CommentsHasSuffix(v string) predicate.AppDictItem

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

func CommentsIn

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

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

func CommentsIsNil

func CommentsIsNil() predicate.AppDictItem

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

func CommentsLT

func CommentsLT(v string) predicate.AppDictItem

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

func CommentsLTE

func CommentsLTE(v string) predicate.AppDictItem

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

func CommentsNEQ

func CommentsNEQ(v string) predicate.AppDictItem

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

func CommentsNotIn

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

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

func CommentsNotNil

func CommentsNotNil() predicate.AppDictItem

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

func CreatedAt

func CreatedAt(v time.Time) predicate.AppDictItem

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AppDictItem

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AppDictItem

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AppDictItem

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AppDictItem

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AppDictItem

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AppDictItem

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int) predicate.AppDictItem

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

func CreatedByEQ

func CreatedByEQ(v int) predicate.AppDictItem

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

func CreatedByGT

func CreatedByGT(v int) predicate.AppDictItem

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

func CreatedByGTE

func CreatedByGTE(v int) predicate.AppDictItem

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

func CreatedByIn

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

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

func CreatedByLT

func CreatedByLT(v int) predicate.AppDictItem

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

func CreatedByLTE

func CreatedByLTE(v int) predicate.AppDictItem

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

func CreatedByNEQ

func CreatedByNEQ(v int) predicate.AppDictItem

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

func CreatedByNotIn

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

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

func DictID

func DictID(v int) predicate.AppDictItem

DictID applies equality check predicate on the "dict_id" field. It's identical to DictIDEQ.

func DictIDEQ

func DictIDEQ(v int) predicate.AppDictItem

DictIDEQ applies the EQ predicate on the "dict_id" field.

func DictIDIn

func DictIDIn(vs ...int) predicate.AppDictItem

DictIDIn applies the In predicate on the "dict_id" field.

func DictIDIsNil

func DictIDIsNil() predicate.AppDictItem

DictIDIsNil applies the IsNil predicate on the "dict_id" field.

func DictIDNEQ

func DictIDNEQ(v int) predicate.AppDictItem

DictIDNEQ applies the NEQ predicate on the "dict_id" field.

func DictIDNotIn

func DictIDNotIn(vs ...int) predicate.AppDictItem

DictIDNotIn applies the NotIn predicate on the "dict_id" field.

func DictIDNotNil

func DictIDNotNil() predicate.AppDictItem

DictIDNotNil applies the NotNil predicate on the "dict_id" field.

func DisplaySort

func DisplaySort(v int32) predicate.AppDictItem

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

func DisplaySortEQ

func DisplaySortEQ(v int32) predicate.AppDictItem

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

func DisplaySortGT

func DisplaySortGT(v int32) predicate.AppDictItem

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

func DisplaySortGTE

func DisplaySortGTE(v int32) predicate.AppDictItem

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

func DisplaySortIn

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

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

func DisplaySortIsNil

func DisplaySortIsNil() predicate.AppDictItem

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

func DisplaySortLT

func DisplaySortLT(v int32) predicate.AppDictItem

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

func DisplaySortLTE

func DisplaySortLTE(v int32) predicate.AppDictItem

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

func DisplaySortNEQ

func DisplaySortNEQ(v int32) predicate.AppDictItem

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

func DisplaySortNotIn

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

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

func DisplaySortNotNil

func DisplaySortNotNil() predicate.AppDictItem

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

func HasDict

func HasDict() predicate.AppDictItem

HasDict applies the HasEdge predicate on the "dict" edge.

func HasDictWith

func HasDictWith(preds ...predicate.AppDict) predicate.AppDictItem

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

func HasOrg

func HasOrg() predicate.AppDictItem

HasOrg applies the HasEdge predicate on the "org" edge.

func HasOrgWith

func HasOrgWith(preds ...predicate.Org) predicate.AppDictItem

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

func ID

func ID(id int) predicate.AppDictItem

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AppDictItem

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AppDictItem

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AppDictItem

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AppDictItem

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AppDictItem

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AppDictItem

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

func NameContains(v string) predicate.AppDictItem

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

func NameContainsFold

func NameContainsFold(v string) predicate.AppDictItem

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

func NameEQ

func NameEQ(v string) predicate.AppDictItem

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

func NameEqualFold

func NameEqualFold(v string) predicate.AppDictItem

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

func NameGT

func NameGT(v string) predicate.AppDictItem

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

func NameGTE

func NameGTE(v string) predicate.AppDictItem

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.AppDictItem

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.AppDictItem

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.AppDictItem

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

func NameLTE

func NameLTE(v string) predicate.AppDictItem

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

func NameNEQ

func NameNEQ(v string) predicate.AppDictItem

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

func NameNotIn

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

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.AppDictItem) predicate.AppDictItem

Or groups predicates with the OR operator between them.

func OrgID

func OrgID(v int) predicate.AppDictItem

OrgID applies equality check predicate on the "org_id" field. It's identical to OrgIDEQ.

func OrgIDEQ

func OrgIDEQ(v int) predicate.AppDictItem

OrgIDEQ applies the EQ predicate on the "org_id" field.

func OrgIDIn

func OrgIDIn(vs ...int) predicate.AppDictItem

OrgIDIn applies the In predicate on the "org_id" field.

func OrgIDIsNil

func OrgIDIsNil() predicate.AppDictItem

OrgIDIsNil applies the IsNil predicate on the "org_id" field.

func OrgIDNEQ

func OrgIDNEQ(v int) predicate.AppDictItem

OrgIDNEQ applies the NEQ predicate on the "org_id" field.

func OrgIDNotIn

func OrgIDNotIn(vs ...int) predicate.AppDictItem

OrgIDNotIn applies the NotIn predicate on the "org_id" field.

func OrgIDNotNil

func OrgIDNotNil() predicate.AppDictItem

OrgIDNotNil applies the NotNil predicate on the "org_id" field.

func RefCode

func RefCode(v string) predicate.AppDictItem

RefCode applies equality check predicate on the "ref_code" field. It's identical to RefCodeEQ.

func RefCodeContains

func RefCodeContains(v string) predicate.AppDictItem

RefCodeContains applies the Contains predicate on the "ref_code" field.

func RefCodeContainsFold

func RefCodeContainsFold(v string) predicate.AppDictItem

RefCodeContainsFold applies the ContainsFold predicate on the "ref_code" field.

func RefCodeEQ

func RefCodeEQ(v string) predicate.AppDictItem

RefCodeEQ applies the EQ predicate on the "ref_code" field.

func RefCodeEqualFold

func RefCodeEqualFold(v string) predicate.AppDictItem

RefCodeEqualFold applies the EqualFold predicate on the "ref_code" field.

func RefCodeGT

func RefCodeGT(v string) predicate.AppDictItem

RefCodeGT applies the GT predicate on the "ref_code" field.

func RefCodeGTE

func RefCodeGTE(v string) predicate.AppDictItem

RefCodeGTE applies the GTE predicate on the "ref_code" field.

func RefCodeHasPrefix

func RefCodeHasPrefix(v string) predicate.AppDictItem

RefCodeHasPrefix applies the HasPrefix predicate on the "ref_code" field.

func RefCodeHasSuffix

func RefCodeHasSuffix(v string) predicate.AppDictItem

RefCodeHasSuffix applies the HasSuffix predicate on the "ref_code" field.

func RefCodeIn

func RefCodeIn(vs ...string) predicate.AppDictItem

RefCodeIn applies the In predicate on the "ref_code" field.

func RefCodeLT

func RefCodeLT(v string) predicate.AppDictItem

RefCodeLT applies the LT predicate on the "ref_code" field.

func RefCodeLTE

func RefCodeLTE(v string) predicate.AppDictItem

RefCodeLTE applies the LTE predicate on the "ref_code" field.

func RefCodeNEQ

func RefCodeNEQ(v string) predicate.AppDictItem

RefCodeNEQ applies the NEQ predicate on the "ref_code" field.

func RefCodeNotIn

func RefCodeNotIn(vs ...string) predicate.AppDictItem

RefCodeNotIn applies the NotIn predicate on the "ref_code" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...typex.SimpleStatus) predicate.AppDictItem

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.AppDictItem

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusNEQ

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...typex.SimpleStatus) predicate.AppDictItem

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.AppDictItem

StatusNotNil applies the NotNil predicate on the "status" field.

func StatusValidator

func StatusValidator(s typex.SimpleStatus) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AppDictItem

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AppDictItem

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AppDictItem

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AppDictItem

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.AppDictItem

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AppDictItem

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AppDictItem

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AppDictItem

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.AppDictItem

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

func UpdatedBy

func UpdatedBy(v int) predicate.AppDictItem

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

func UpdatedByEQ

func UpdatedByEQ(v int) predicate.AppDictItem

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

func UpdatedByGT

func UpdatedByGT(v int) predicate.AppDictItem

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

func UpdatedByGTE

func UpdatedByGTE(v int) predicate.AppDictItem

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.AppDictItem

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

func UpdatedByLT

func UpdatedByLT(v int) predicate.AppDictItem

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

func UpdatedByLTE

func UpdatedByLTE(v int) predicate.AppDictItem

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

func UpdatedByNEQ

func UpdatedByNEQ(v int) predicate.AppDictItem

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.AppDictItem

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 OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AppDictItem queries.

func ByCode

func ByCode(opts ...sql.OrderTermOption) OrderOption

ByCode orders the results by the code 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 ByDictField

func ByDictField(field string, opts ...sql.OrderTermOption) OrderOption

ByDictField orders the results by dict field.

func ByDictID

func ByDictID(opts ...sql.OrderTermOption) OrderOption

ByDictID orders the results by the dict_id 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 ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByOrgField

func ByOrgField(field string, opts ...sql.OrderTermOption) OrderOption

ByOrgField orders the results by org field.

func ByOrgID

func ByOrgID(opts ...sql.OrderTermOption) OrderOption

ByOrgID orders the results by the org_id field.

func ByRefCode

func ByRefCode(opts ...sql.OrderTermOption) OrderOption

ByRefCode orders the results by the ref_code field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status 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