planphase

package
v1.0.0-beta.228 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the planphase type in the database.
	Label = "plan_phase"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// 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"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldPlanID holds the string denoting the plan_id field in the database.
	FieldPlanID = "plan_id"
	// FieldIndex holds the string denoting the index field in the database.
	FieldIndex = "index"
	// FieldDuration holds the string denoting the duration field in the database.
	FieldDuration = "duration"
	// EdgePlan holds the string denoting the plan edge name in mutations.
	EdgePlan = "plan"
	// EdgeRatecards holds the string denoting the ratecards edge name in mutations.
	EdgeRatecards = "ratecards"
	// Table holds the table name of the planphase in the database.
	Table = "plan_phases"
	// PlanTable is the table that holds the plan relation/edge.
	PlanTable = "plan_phases"
	// PlanInverseTable is the table name for the Plan entity.
	// It exists in this package in order to avoid circular dependency with the "plan" package.
	PlanInverseTable = "plans"
	// PlanColumn is the table column denoting the plan relation/edge.
	PlanColumn = "plan_id"
	// RatecardsTable is the table that holds the ratecards relation/edge.
	RatecardsTable = "plan_rate_cards"
	// RatecardsInverseTable is the table name for the PlanRateCard entity.
	// It exists in this package in order to avoid circular dependency with the "planratecard" package.
	RatecardsInverseTable = "plan_rate_cards"
	// RatecardsColumn is the table column denoting the ratecards relation/edge.
	RatecardsColumn = "phase_id"
)

Variables

View Source
var (
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// KeyValidator is a validator for the "key" field. It is called by the builders before save.
	KeyValidator func(string) error
	// PlanIDValidator is a validator for the "plan_id" field. It is called by the builders before save.
	PlanIDValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for planphase fields.

Functions

func And

func And(predicates ...predicate.PlanPhase) predicate.PlanPhase

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.PlanPhase

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.PlanPhase

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.PlanPhase

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.PlanPhase

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.PlanPhase

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.PlanPhase

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.PlanPhase

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.PlanPhase

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.PlanPhase

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.PlanPhase

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.PlanPhase

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.PlanPhase

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.PlanPhase

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.PlanPhase

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.PlanPhase

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.PlanPhase

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.PlanPhase

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.PlanPhase

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func Description

func Description(v string) predicate.PlanPhase

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.PlanPhase

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.PlanPhase

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.PlanPhase

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.PlanPhase

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.PlanPhase

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.PlanPhase

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.PlanPhase

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.PlanPhase

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.PlanPhase

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.PlanPhase

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.PlanPhase

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.PlanPhase

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.PlanPhase

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.PlanPhase

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.PlanPhase

DescriptionNotNil applies the NotNil predicate on the "description" field.

func Duration

Duration applies equality check predicate on the "duration" field. It's identical to DurationEQ.

func DurationContains

func DurationContains(v datetime.ISODurationString) predicate.PlanPhase

DurationContains applies the Contains predicate on the "duration" field.

func DurationContainsFold

func DurationContainsFold(v datetime.ISODurationString) predicate.PlanPhase

DurationContainsFold applies the ContainsFold predicate on the "duration" field.

func DurationEQ

DurationEQ applies the EQ predicate on the "duration" field.

func DurationEqualFold

func DurationEqualFold(v datetime.ISODurationString) predicate.PlanPhase

DurationEqualFold applies the EqualFold predicate on the "duration" field.

func DurationGT

DurationGT applies the GT predicate on the "duration" field.

func DurationGTE

DurationGTE applies the GTE predicate on the "duration" field.

func DurationHasPrefix

func DurationHasPrefix(v datetime.ISODurationString) predicate.PlanPhase

DurationHasPrefix applies the HasPrefix predicate on the "duration" field.

func DurationHasSuffix

func DurationHasSuffix(v datetime.ISODurationString) predicate.PlanPhase

DurationHasSuffix applies the HasSuffix predicate on the "duration" field.

func DurationIn

DurationIn applies the In predicate on the "duration" field.

func DurationIsNil

func DurationIsNil() predicate.PlanPhase

DurationIsNil applies the IsNil predicate on the "duration" field.

func DurationLT

DurationLT applies the LT predicate on the "duration" field.

func DurationLTE

DurationLTE applies the LTE predicate on the "duration" field.

func DurationNEQ

DurationNEQ applies the NEQ predicate on the "duration" field.

func DurationNotIn

func DurationNotIn(vs ...datetime.ISODurationString) predicate.PlanPhase

DurationNotIn applies the NotIn predicate on the "duration" field.

func DurationNotNil

func DurationNotNil() predicate.PlanPhase

DurationNotNil applies the NotNil predicate on the "duration" field.

func HasPlan

func HasPlan() predicate.PlanPhase

HasPlan applies the HasEdge predicate on the "plan" edge.

func HasPlanWith

func HasPlanWith(preds ...predicate.Plan) predicate.PlanPhase

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

func HasRatecards

func HasRatecards() predicate.PlanPhase

HasRatecards applies the HasEdge predicate on the "ratecards" edge.

func HasRatecardsWith

func HasRatecardsWith(preds ...predicate.PlanRateCard) predicate.PlanPhase

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

func ID

func ID(id string) predicate.PlanPhase

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.PlanPhase

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.PlanPhase

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.PlanPhase

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.PlanPhase

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.PlanPhase

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.PlanPhase

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.PlanPhase

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.PlanPhase

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.PlanPhase

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.PlanPhase

IDNotIn applies the NotIn predicate on the ID field.

func Index

func Index(v uint8) predicate.PlanPhase

Index applies equality check predicate on the "index" field. It's identical to IndexEQ.

func IndexEQ

func IndexEQ(v uint8) predicate.PlanPhase

IndexEQ applies the EQ predicate on the "index" field.

func IndexGT

func IndexGT(v uint8) predicate.PlanPhase

IndexGT applies the GT predicate on the "index" field.

func IndexGTE

func IndexGTE(v uint8) predicate.PlanPhase

IndexGTE applies the GTE predicate on the "index" field.

func IndexIn

func IndexIn(vs ...uint8) predicate.PlanPhase

IndexIn applies the In predicate on the "index" field.

func IndexLT

func IndexLT(v uint8) predicate.PlanPhase

IndexLT applies the LT predicate on the "index" field.

func IndexLTE

func IndexLTE(v uint8) predicate.PlanPhase

IndexLTE applies the LTE predicate on the "index" field.

func IndexNEQ

func IndexNEQ(v uint8) predicate.PlanPhase

IndexNEQ applies the NEQ predicate on the "index" field.

func IndexNotIn

func IndexNotIn(vs ...uint8) predicate.PlanPhase

IndexNotIn applies the NotIn predicate on the "index" field.

func Key

func Key(v string) predicate.PlanPhase

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.PlanPhase

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.PlanPhase

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.PlanPhase

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.PlanPhase

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.PlanPhase

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.PlanPhase

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.PlanPhase

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.PlanPhase

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.PlanPhase

KeyIn applies the In predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.PlanPhase

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.PlanPhase

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.PlanPhase

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.PlanPhase

KeyNotIn applies the NotIn predicate on the "key" field.

func MetadataIsNil

func MetadataIsNil() predicate.PlanPhase

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.PlanPhase

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

func Name(v string) predicate.PlanPhase

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

func NameContains

func NameContains(v string) predicate.PlanPhase

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

func NameContainsFold

func NameContainsFold(v string) predicate.PlanPhase

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

func NameEQ

func NameEQ(v string) predicate.PlanPhase

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

func NameEqualFold

func NameEqualFold(v string) predicate.PlanPhase

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

func NameGT

func NameGT(v string) predicate.PlanPhase

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

func NameGTE

func NameGTE(v string) predicate.PlanPhase

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.PlanPhase

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.PlanPhase

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.PlanPhase

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

func NameLTE

func NameLTE(v string) predicate.PlanPhase

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

func NameNEQ

func NameNEQ(v string) predicate.PlanPhase

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

func NameNotIn

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

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

func Namespace

func Namespace(v string) predicate.PlanPhase

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.PlanPhase

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.PlanPhase

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.PlanPhase

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.PlanPhase

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.PlanPhase

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.PlanPhase

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.PlanPhase

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.PlanPhase

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.PlanPhase

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.PlanPhase

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.PlanPhase

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.PlanPhase

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.PlanPhase

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.PlanPhase) predicate.PlanPhase

Or groups predicates with the OR operator between them.

func PlanID

func PlanID(v string) predicate.PlanPhase

PlanID applies equality check predicate on the "plan_id" field. It's identical to PlanIDEQ.

func PlanIDContains

func PlanIDContains(v string) predicate.PlanPhase

PlanIDContains applies the Contains predicate on the "plan_id" field.

func PlanIDContainsFold

func PlanIDContainsFold(v string) predicate.PlanPhase

PlanIDContainsFold applies the ContainsFold predicate on the "plan_id" field.

func PlanIDEQ

func PlanIDEQ(v string) predicate.PlanPhase

PlanIDEQ applies the EQ predicate on the "plan_id" field.

func PlanIDEqualFold

func PlanIDEqualFold(v string) predicate.PlanPhase

PlanIDEqualFold applies the EqualFold predicate on the "plan_id" field.

func PlanIDGT

func PlanIDGT(v string) predicate.PlanPhase

PlanIDGT applies the GT predicate on the "plan_id" field.

func PlanIDGTE

func PlanIDGTE(v string) predicate.PlanPhase

PlanIDGTE applies the GTE predicate on the "plan_id" field.

func PlanIDHasPrefix

func PlanIDHasPrefix(v string) predicate.PlanPhase

PlanIDHasPrefix applies the HasPrefix predicate on the "plan_id" field.

func PlanIDHasSuffix

func PlanIDHasSuffix(v string) predicate.PlanPhase

PlanIDHasSuffix applies the HasSuffix predicate on the "plan_id" field.

func PlanIDIn

func PlanIDIn(vs ...string) predicate.PlanPhase

PlanIDIn applies the In predicate on the "plan_id" field.

func PlanIDLT

func PlanIDLT(v string) predicate.PlanPhase

PlanIDLT applies the LT predicate on the "plan_id" field.

func PlanIDLTE

func PlanIDLTE(v string) predicate.PlanPhase

PlanIDLTE applies the LTE predicate on the "plan_id" field.

func PlanIDNEQ

func PlanIDNEQ(v string) predicate.PlanPhase

PlanIDNEQ applies the NEQ predicate on the "plan_id" field.

func PlanIDNotIn

func PlanIDNotIn(vs ...string) predicate.PlanPhase

PlanIDNotIn applies the NotIn predicate on the "plan_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.PlanPhase

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.PlanPhase

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.PlanPhase

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.PlanPhase

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.PlanPhase

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.PlanPhase

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.PlanPhase

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 PlanPhase queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByDuration

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

ByDuration orders the results by the duration field.

func ByID

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

ByID orders the results by the id field.

func ByIndex

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

ByIndex orders the results by the index field.

func ByKey

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

ByKey orders the results by the key field.

func ByName

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

ByName orders the results by the name field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByPlanField

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

ByPlanField orders the results by plan field.

func ByPlanID

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

ByPlanID orders the results by the plan_id field.

func ByRatecards

func ByRatecards(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRatecards orders the results by ratecards terms.

func ByRatecardsCount

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

ByRatecardsCount orders the results by ratecards count.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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