Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PlanPhase) predicate.PlanPhase
- func CreatedAt(v time.Time) predicate.PlanPhase
- func CreatedAtEQ(v time.Time) predicate.PlanPhase
- func CreatedAtGT(v time.Time) predicate.PlanPhase
- func CreatedAtGTE(v time.Time) predicate.PlanPhase
- func CreatedAtIn(vs ...time.Time) predicate.PlanPhase
- func CreatedAtLT(v time.Time) predicate.PlanPhase
- func CreatedAtLTE(v time.Time) predicate.PlanPhase
- func CreatedAtNEQ(v time.Time) predicate.PlanPhase
- func CreatedAtNotIn(vs ...time.Time) predicate.PlanPhase
- func DeletedAt(v time.Time) predicate.PlanPhase
- func DeletedAtEQ(v time.Time) predicate.PlanPhase
- func DeletedAtGT(v time.Time) predicate.PlanPhase
- func DeletedAtGTE(v time.Time) predicate.PlanPhase
- func DeletedAtIn(vs ...time.Time) predicate.PlanPhase
- func DeletedAtIsNil() predicate.PlanPhase
- func DeletedAtLT(v time.Time) predicate.PlanPhase
- func DeletedAtLTE(v time.Time) predicate.PlanPhase
- func DeletedAtNEQ(v time.Time) predicate.PlanPhase
- func DeletedAtNotIn(vs ...time.Time) predicate.PlanPhase
- func DeletedAtNotNil() predicate.PlanPhase
- func Description(v string) predicate.PlanPhase
- func DescriptionContains(v string) predicate.PlanPhase
- func DescriptionContainsFold(v string) predicate.PlanPhase
- func DescriptionEQ(v string) predicate.PlanPhase
- func DescriptionEqualFold(v string) predicate.PlanPhase
- func DescriptionGT(v string) predicate.PlanPhase
- func DescriptionGTE(v string) predicate.PlanPhase
- func DescriptionHasPrefix(v string) predicate.PlanPhase
- func DescriptionHasSuffix(v string) predicate.PlanPhase
- func DescriptionIn(vs ...string) predicate.PlanPhase
- func DescriptionIsNil() predicate.PlanPhase
- func DescriptionLT(v string) predicate.PlanPhase
- func DescriptionLTE(v string) predicate.PlanPhase
- func DescriptionNEQ(v string) predicate.PlanPhase
- func DescriptionNotIn(vs ...string) predicate.PlanPhase
- func DescriptionNotNil() predicate.PlanPhase
- func Duration(v datetime.ISODurationString) predicate.PlanPhase
- func DurationContains(v datetime.ISODurationString) predicate.PlanPhase
- func DurationContainsFold(v datetime.ISODurationString) predicate.PlanPhase
- func DurationEQ(v datetime.ISODurationString) predicate.PlanPhase
- func DurationEqualFold(v datetime.ISODurationString) predicate.PlanPhase
- func DurationGT(v datetime.ISODurationString) predicate.PlanPhase
- func DurationGTE(v datetime.ISODurationString) predicate.PlanPhase
- func DurationHasPrefix(v datetime.ISODurationString) predicate.PlanPhase
- func DurationHasSuffix(v datetime.ISODurationString) predicate.PlanPhase
- func DurationIn(vs ...datetime.ISODurationString) predicate.PlanPhase
- func DurationIsNil() predicate.PlanPhase
- func DurationLT(v datetime.ISODurationString) predicate.PlanPhase
- func DurationLTE(v datetime.ISODurationString) predicate.PlanPhase
- func DurationNEQ(v datetime.ISODurationString) predicate.PlanPhase
- func DurationNotIn(vs ...datetime.ISODurationString) predicate.PlanPhase
- func DurationNotNil() predicate.PlanPhase
- func HasPlan() predicate.PlanPhase
- func HasPlanWith(preds ...predicate.Plan) predicate.PlanPhase
- func HasRatecards() predicate.PlanPhase
- func HasRatecardsWith(preds ...predicate.PlanRateCard) predicate.PlanPhase
- func ID(id string) predicate.PlanPhase
- func IDContainsFold(id string) predicate.PlanPhase
- func IDEQ(id string) predicate.PlanPhase
- func IDEqualFold(id string) predicate.PlanPhase
- func IDGT(id string) predicate.PlanPhase
- func IDGTE(id string) predicate.PlanPhase
- func IDIn(ids ...string) predicate.PlanPhase
- func IDLT(id string) predicate.PlanPhase
- func IDLTE(id string) predicate.PlanPhase
- func IDNEQ(id string) predicate.PlanPhase
- func IDNotIn(ids ...string) predicate.PlanPhase
- func Index(v uint8) predicate.PlanPhase
- func IndexEQ(v uint8) predicate.PlanPhase
- func IndexGT(v uint8) predicate.PlanPhase
- func IndexGTE(v uint8) predicate.PlanPhase
- func IndexIn(vs ...uint8) predicate.PlanPhase
- func IndexLT(v uint8) predicate.PlanPhase
- func IndexLTE(v uint8) predicate.PlanPhase
- func IndexNEQ(v uint8) predicate.PlanPhase
- func IndexNotIn(vs ...uint8) predicate.PlanPhase
- func Key(v string) predicate.PlanPhase
- func KeyContains(v string) predicate.PlanPhase
- func KeyContainsFold(v string) predicate.PlanPhase
- func KeyEQ(v string) predicate.PlanPhase
- func KeyEqualFold(v string) predicate.PlanPhase
- func KeyGT(v string) predicate.PlanPhase
- func KeyGTE(v string) predicate.PlanPhase
- func KeyHasPrefix(v string) predicate.PlanPhase
- func KeyHasSuffix(v string) predicate.PlanPhase
- func KeyIn(vs ...string) predicate.PlanPhase
- func KeyLT(v string) predicate.PlanPhase
- func KeyLTE(v string) predicate.PlanPhase
- func KeyNEQ(v string) predicate.PlanPhase
- func KeyNotIn(vs ...string) predicate.PlanPhase
- func MetadataIsNil() predicate.PlanPhase
- func MetadataNotNil() predicate.PlanPhase
- func Name(v string) predicate.PlanPhase
- func NameContains(v string) predicate.PlanPhase
- func NameContainsFold(v string) predicate.PlanPhase
- func NameEQ(v string) predicate.PlanPhase
- func NameEqualFold(v string) predicate.PlanPhase
- func NameGT(v string) predicate.PlanPhase
- func NameGTE(v string) predicate.PlanPhase
- func NameHasPrefix(v string) predicate.PlanPhase
- func NameHasSuffix(v string) predicate.PlanPhase
- func NameIn(vs ...string) predicate.PlanPhase
- func NameLT(v string) predicate.PlanPhase
- func NameLTE(v string) predicate.PlanPhase
- func NameNEQ(v string) predicate.PlanPhase
- func NameNotIn(vs ...string) predicate.PlanPhase
- func Namespace(v string) predicate.PlanPhase
- func NamespaceContains(v string) predicate.PlanPhase
- func NamespaceContainsFold(v string) predicate.PlanPhase
- func NamespaceEQ(v string) predicate.PlanPhase
- func NamespaceEqualFold(v string) predicate.PlanPhase
- func NamespaceGT(v string) predicate.PlanPhase
- func NamespaceGTE(v string) predicate.PlanPhase
- func NamespaceHasPrefix(v string) predicate.PlanPhase
- func NamespaceHasSuffix(v string) predicate.PlanPhase
- func NamespaceIn(vs ...string) predicate.PlanPhase
- func NamespaceLT(v string) predicate.PlanPhase
- func NamespaceLTE(v string) predicate.PlanPhase
- func NamespaceNEQ(v string) predicate.PlanPhase
- func NamespaceNotIn(vs ...string) predicate.PlanPhase
- func Not(p predicate.PlanPhase) predicate.PlanPhase
- func Or(predicates ...predicate.PlanPhase) predicate.PlanPhase
- func PlanID(v string) predicate.PlanPhase
- func PlanIDContains(v string) predicate.PlanPhase
- func PlanIDContainsFold(v string) predicate.PlanPhase
- func PlanIDEQ(v string) predicate.PlanPhase
- func PlanIDEqualFold(v string) predicate.PlanPhase
- func PlanIDGT(v string) predicate.PlanPhase
- func PlanIDGTE(v string) predicate.PlanPhase
- func PlanIDHasPrefix(v string) predicate.PlanPhase
- func PlanIDHasSuffix(v string) predicate.PlanPhase
- func PlanIDIn(vs ...string) predicate.PlanPhase
- func PlanIDLT(v string) predicate.PlanPhase
- func PlanIDLTE(v string) predicate.PlanPhase
- func PlanIDNEQ(v string) predicate.PlanPhase
- func PlanIDNotIn(vs ...string) predicate.PlanPhase
- func UpdatedAt(v time.Time) predicate.PlanPhase
- func UpdatedAtEQ(v time.Time) predicate.PlanPhase
- func UpdatedAtGT(v time.Time) predicate.PlanPhase
- func UpdatedAtGTE(v time.Time) predicate.PlanPhase
- func UpdatedAtIn(vs ...time.Time) predicate.PlanPhase
- func UpdatedAtLT(v time.Time) predicate.PlanPhase
- func UpdatedAtLTE(v time.Time) predicate.PlanPhase
- func UpdatedAtNEQ(v time.Time) predicate.PlanPhase
- func UpdatedAtNotIn(vs ...time.Time) predicate.PlanPhase
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDuration(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIndex(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByPlanField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPlanID(opts ...sql.OrderTermOption) OrderOption
- func ByRatecards(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRatecardsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldNamespace, FieldMetadata, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldDescription, FieldKey, FieldPlanID, FieldIndex, FieldDuration, }
Columns holds all SQL columns for planphase fields.
Functions ¶
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 DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Duration ¶
func Duration(v datetime.ISODurationString) predicate.PlanPhase
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 ¶
func DurationEQ(v datetime.ISODurationString) predicate.PlanPhase
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 ¶
func DurationGT(v datetime.ISODurationString) predicate.PlanPhase
DurationGT applies the GT predicate on the "duration" field.
func DurationGTE ¶
func DurationGTE(v datetime.ISODurationString) predicate.PlanPhase
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 ¶
func DurationIn(vs ...datetime.ISODurationString) predicate.PlanPhase
DurationIn applies the In predicate on the "duration" field.
func DurationIsNil ¶
DurationIsNil applies the IsNil predicate on the "duration" field.
func DurationLT ¶
func DurationLT(v datetime.ISODurationString) predicate.PlanPhase
DurationLT applies the LT predicate on the "duration" field.
func DurationLTE ¶
func DurationLTE(v datetime.ISODurationString) predicate.PlanPhase
DurationLTE applies the LTE predicate on the "duration" field.
func DurationNEQ ¶
func DurationNEQ(v datetime.ISODurationString) predicate.PlanPhase
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 ¶
DurationNotNil applies the NotNil predicate on the "duration" field.
func HasPlanWith ¶
HasPlanWith applies the HasEdge predicate on the "plan" edge with a given conditions (other predicates).
func HasRatecards ¶
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 IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func Index ¶
Index applies equality check predicate on the "index" field. It's identical to IndexEQ.
func IndexNotIn ¶
IndexNotIn applies the NotIn predicate on the "index" field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func PlanID ¶
PlanID applies equality check predicate on the "plan_id" field. It's identical to PlanIDEQ.
func PlanIDContains ¶
PlanIDContains applies the Contains predicate on the "plan_id" field.
func PlanIDContainsFold ¶
PlanIDContainsFold applies the ContainsFold predicate on the "plan_id" field.
func PlanIDEqualFold ¶
PlanIDEqualFold applies the EqualFold predicate on the "plan_id" field.
func PlanIDHasPrefix ¶
PlanIDHasPrefix applies the HasPrefix predicate on the "plan_id" field.
func PlanIDHasSuffix ¶
PlanIDHasSuffix applies the HasSuffix predicate on the "plan_id" field.
func PlanIDNotIn ¶
PlanIDNotIn applies the NotIn predicate on the "plan_id" 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 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 ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.