entitlementhistory

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the entitlementhistory type in the database.
	Label = "entitlement_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// 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"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldPlanID holds the string denoting the plan_id field in the database.
	FieldPlanID = "plan_id"
	// FieldOrganizationID holds the string denoting the organization_id field in the database.
	FieldOrganizationID = "organization_id"
	// FieldExternalCustomerID holds the string denoting the external_customer_id field in the database.
	FieldExternalCustomerID = "external_customer_id"
	// FieldExternalSubscriptionID holds the string denoting the external_subscription_id field in the database.
	FieldExternalSubscriptionID = "external_subscription_id"
	// FieldExpires holds the string denoting the expires field in the database.
	FieldExpires = "expires"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldCancelled holds the string denoting the cancelled field in the database.
	FieldCancelled = "cancelled"
	// Table holds the table name of the entitlementhistory in the database.
	Table = "entitlement_history"
)

Variables

View Source
var (
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultExpires holds the default value on creation for the "expires" field.
	DefaultExpires bool
	// DefaultCancelled holds the default value on creation for the "cancelled" field.
	DefaultCancelled bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for entitlementhistory fields.

Functions

func And

And groups predicates with the AND operator between them.

func Cancelled

func Cancelled(v bool) predicate.EntitlementHistory

Cancelled applies equality check predicate on the "cancelled" field. It's identical to CancelledEQ.

func CancelledEQ

func CancelledEQ(v bool) predicate.EntitlementHistory

CancelledEQ applies the EQ predicate on the "cancelled" field.

func CancelledNEQ

func CancelledNEQ(v bool) predicate.EntitlementHistory

CancelledNEQ applies the NEQ predicate on the "cancelled" field.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.EntitlementHistory

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.EntitlementHistory

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.EntitlementHistory

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.EntitlementHistory

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.EntitlementHistory

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.EntitlementHistory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.EntitlementHistory

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.EntitlementHistory

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.EntitlementHistory

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

func CreatedByContains

func CreatedByContains(v string) predicate.EntitlementHistory

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.EntitlementHistory

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.EntitlementHistory

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.EntitlementHistory

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.EntitlementHistory

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.EntitlementHistory

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.EntitlementHistory

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.EntitlementHistory

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.EntitlementHistory

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

func CreatedByIsNil

func CreatedByIsNil() predicate.EntitlementHistory

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.EntitlementHistory

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.EntitlementHistory

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.EntitlementHistory

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

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.EntitlementHistory

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

func CreatedByNotNil

func CreatedByNotNil() predicate.EntitlementHistory

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.EntitlementHistory

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.EntitlementHistory

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.EntitlementHistory

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.EntitlementHistory

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.EntitlementHistory

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.EntitlementHistory

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.EntitlementHistory

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.EntitlementHistory

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

func DeletedBy

func DeletedBy(v string) predicate.EntitlementHistory

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.EntitlementHistory

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.EntitlementHistory

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.EntitlementHistory

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.EntitlementHistory

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.EntitlementHistory

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.EntitlementHistory

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.EntitlementHistory

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.EntitlementHistory

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.EntitlementHistory

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.EntitlementHistory

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.EntitlementHistory

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.EntitlementHistory

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.EntitlementHistory

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.EntitlementHistory

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.EntitlementHistory

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Expires

Expires applies equality check predicate on the "expires" field. It's identical to ExpiresEQ.

func ExpiresAt

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.EntitlementHistory

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.EntitlementHistory

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.EntitlementHistory

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.EntitlementHistory

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.EntitlementHistory

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.EntitlementHistory

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.EntitlementHistory

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.EntitlementHistory

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.EntitlementHistory

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.EntitlementHistory

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

func ExpiresEQ

func ExpiresEQ(v bool) predicate.EntitlementHistory

ExpiresEQ applies the EQ predicate on the "expires" field.

func ExpiresNEQ

func ExpiresNEQ(v bool) predicate.EntitlementHistory

ExpiresNEQ applies the NEQ predicate on the "expires" field.

func ExternalCustomerID

func ExternalCustomerID(v string) predicate.EntitlementHistory

ExternalCustomerID applies equality check predicate on the "external_customer_id" field. It's identical to ExternalCustomerIDEQ.

func ExternalCustomerIDContains

func ExternalCustomerIDContains(v string) predicate.EntitlementHistory

ExternalCustomerIDContains applies the Contains predicate on the "external_customer_id" field.

func ExternalCustomerIDContainsFold

func ExternalCustomerIDContainsFold(v string) predicate.EntitlementHistory

ExternalCustomerIDContainsFold applies the ContainsFold predicate on the "external_customer_id" field.

func ExternalCustomerIDEQ

func ExternalCustomerIDEQ(v string) predicate.EntitlementHistory

ExternalCustomerIDEQ applies the EQ predicate on the "external_customer_id" field.

func ExternalCustomerIDEqualFold

func ExternalCustomerIDEqualFold(v string) predicate.EntitlementHistory

ExternalCustomerIDEqualFold applies the EqualFold predicate on the "external_customer_id" field.

func ExternalCustomerIDGT

func ExternalCustomerIDGT(v string) predicate.EntitlementHistory

ExternalCustomerIDGT applies the GT predicate on the "external_customer_id" field.

func ExternalCustomerIDGTE

func ExternalCustomerIDGTE(v string) predicate.EntitlementHistory

ExternalCustomerIDGTE applies the GTE predicate on the "external_customer_id" field.

func ExternalCustomerIDHasPrefix

func ExternalCustomerIDHasPrefix(v string) predicate.EntitlementHistory

ExternalCustomerIDHasPrefix applies the HasPrefix predicate on the "external_customer_id" field.

func ExternalCustomerIDHasSuffix

func ExternalCustomerIDHasSuffix(v string) predicate.EntitlementHistory

ExternalCustomerIDHasSuffix applies the HasSuffix predicate on the "external_customer_id" field.

func ExternalCustomerIDIn

func ExternalCustomerIDIn(vs ...string) predicate.EntitlementHistory

ExternalCustomerIDIn applies the In predicate on the "external_customer_id" field.

func ExternalCustomerIDIsNil

func ExternalCustomerIDIsNil() predicate.EntitlementHistory

ExternalCustomerIDIsNil applies the IsNil predicate on the "external_customer_id" field.

func ExternalCustomerIDLT

func ExternalCustomerIDLT(v string) predicate.EntitlementHistory

ExternalCustomerIDLT applies the LT predicate on the "external_customer_id" field.

func ExternalCustomerIDLTE

func ExternalCustomerIDLTE(v string) predicate.EntitlementHistory

ExternalCustomerIDLTE applies the LTE predicate on the "external_customer_id" field.

func ExternalCustomerIDNEQ

func ExternalCustomerIDNEQ(v string) predicate.EntitlementHistory

ExternalCustomerIDNEQ applies the NEQ predicate on the "external_customer_id" field.

func ExternalCustomerIDNotIn

func ExternalCustomerIDNotIn(vs ...string) predicate.EntitlementHistory

ExternalCustomerIDNotIn applies the NotIn predicate on the "external_customer_id" field.

func ExternalCustomerIDNotNil

func ExternalCustomerIDNotNil() predicate.EntitlementHistory

ExternalCustomerIDNotNil applies the NotNil predicate on the "external_customer_id" field.

func ExternalSubscriptionID

func ExternalSubscriptionID(v string) predicate.EntitlementHistory

ExternalSubscriptionID applies equality check predicate on the "external_subscription_id" field. It's identical to ExternalSubscriptionIDEQ.

func ExternalSubscriptionIDContains

func ExternalSubscriptionIDContains(v string) predicate.EntitlementHistory

ExternalSubscriptionIDContains applies the Contains predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDContainsFold

func ExternalSubscriptionIDContainsFold(v string) predicate.EntitlementHistory

ExternalSubscriptionIDContainsFold applies the ContainsFold predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDEQ

func ExternalSubscriptionIDEQ(v string) predicate.EntitlementHistory

ExternalSubscriptionIDEQ applies the EQ predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDEqualFold

func ExternalSubscriptionIDEqualFold(v string) predicate.EntitlementHistory

ExternalSubscriptionIDEqualFold applies the EqualFold predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDGT

func ExternalSubscriptionIDGT(v string) predicate.EntitlementHistory

ExternalSubscriptionIDGT applies the GT predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDGTE

func ExternalSubscriptionIDGTE(v string) predicate.EntitlementHistory

ExternalSubscriptionIDGTE applies the GTE predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDHasPrefix

func ExternalSubscriptionIDHasPrefix(v string) predicate.EntitlementHistory

ExternalSubscriptionIDHasPrefix applies the HasPrefix predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDHasSuffix

func ExternalSubscriptionIDHasSuffix(v string) predicate.EntitlementHistory

ExternalSubscriptionIDHasSuffix applies the HasSuffix predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDIn

func ExternalSubscriptionIDIn(vs ...string) predicate.EntitlementHistory

ExternalSubscriptionIDIn applies the In predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDIsNil

func ExternalSubscriptionIDIsNil() predicate.EntitlementHistory

ExternalSubscriptionIDIsNil applies the IsNil predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDLT

func ExternalSubscriptionIDLT(v string) predicate.EntitlementHistory

ExternalSubscriptionIDLT applies the LT predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDLTE

func ExternalSubscriptionIDLTE(v string) predicate.EntitlementHistory

ExternalSubscriptionIDLTE applies the LTE predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDNEQ

func ExternalSubscriptionIDNEQ(v string) predicate.EntitlementHistory

ExternalSubscriptionIDNEQ applies the NEQ predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDNotIn

func ExternalSubscriptionIDNotIn(vs ...string) predicate.EntitlementHistory

ExternalSubscriptionIDNotIn applies the NotIn predicate on the "external_subscription_id" field.

func ExternalSubscriptionIDNotNil

func ExternalSubscriptionIDNotNil() predicate.EntitlementHistory

ExternalSubscriptionIDNotNil applies the NotNil predicate on the "external_subscription_id" field.

func HistoryTime

func HistoryTime(v time.Time) predicate.EntitlementHistory

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.EntitlementHistory

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.EntitlementHistory

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.EntitlementHistory

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.EntitlementHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.EntitlementHistory

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.EntitlementHistory

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.EntitlementHistory

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.EntitlementHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.EntitlementHistory

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.EntitlementHistory

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MappingID added in v0.5.0

func MappingID(v string) predicate.EntitlementHistory

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains added in v0.5.0

func MappingIDContains(v string) predicate.EntitlementHistory

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold added in v0.5.0

func MappingIDContainsFold(v string) predicate.EntitlementHistory

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ added in v0.5.0

func MappingIDEQ(v string) predicate.EntitlementHistory

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold added in v0.5.0

func MappingIDEqualFold(v string) predicate.EntitlementHistory

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT added in v0.5.0

func MappingIDGT(v string) predicate.EntitlementHistory

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE added in v0.5.0

func MappingIDGTE(v string) predicate.EntitlementHistory

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix added in v0.5.0

func MappingIDHasPrefix(v string) predicate.EntitlementHistory

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix added in v0.5.0

func MappingIDHasSuffix(v string) predicate.EntitlementHistory

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn added in v0.5.0

func MappingIDIn(vs ...string) predicate.EntitlementHistory

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT added in v0.5.0

func MappingIDLT(v string) predicate.EntitlementHistory

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE added in v0.5.0

func MappingIDLTE(v string) predicate.EntitlementHistory

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ added in v0.5.0

func MappingIDNEQ(v string) predicate.EntitlementHistory

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn added in v0.5.0

func MappingIDNotIn(vs ...string) predicate.EntitlementHistory

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

func OperationIn(vs ...enthistory.OpType) predicate.EntitlementHistory

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...enthistory.OpType) predicate.EntitlementHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o enthistory.OpType) error

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

func Or

Or groups predicates with the OR operator between them.

func OrganizationID added in v0.7.0

func OrganizationID(v string) predicate.EntitlementHistory

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDContains added in v0.7.0

func OrganizationIDContains(v string) predicate.EntitlementHistory

OrganizationIDContains applies the Contains predicate on the "organization_id" field.

func OrganizationIDContainsFold added in v0.7.0

func OrganizationIDContainsFold(v string) predicate.EntitlementHistory

OrganizationIDContainsFold applies the ContainsFold predicate on the "organization_id" field.

func OrganizationIDEQ added in v0.7.0

func OrganizationIDEQ(v string) predicate.EntitlementHistory

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDEqualFold added in v0.7.0

func OrganizationIDEqualFold(v string) predicate.EntitlementHistory

OrganizationIDEqualFold applies the EqualFold predicate on the "organization_id" field.

func OrganizationIDGT added in v0.7.0

func OrganizationIDGT(v string) predicate.EntitlementHistory

OrganizationIDGT applies the GT predicate on the "organization_id" field.

func OrganizationIDGTE added in v0.7.0

func OrganizationIDGTE(v string) predicate.EntitlementHistory

OrganizationIDGTE applies the GTE predicate on the "organization_id" field.

func OrganizationIDHasPrefix added in v0.7.0

func OrganizationIDHasPrefix(v string) predicate.EntitlementHistory

OrganizationIDHasPrefix applies the HasPrefix predicate on the "organization_id" field.

func OrganizationIDHasSuffix added in v0.7.0

func OrganizationIDHasSuffix(v string) predicate.EntitlementHistory

OrganizationIDHasSuffix applies the HasSuffix predicate on the "organization_id" field.

func OrganizationIDIn added in v0.7.0

func OrganizationIDIn(vs ...string) predicate.EntitlementHistory

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDLT added in v0.7.0

func OrganizationIDLT(v string) predicate.EntitlementHistory

OrganizationIDLT applies the LT predicate on the "organization_id" field.

func OrganizationIDLTE added in v0.7.0

func OrganizationIDLTE(v string) predicate.EntitlementHistory

OrganizationIDLTE applies the LTE predicate on the "organization_id" field.

func OrganizationIDNEQ added in v0.7.0

func OrganizationIDNEQ(v string) predicate.EntitlementHistory

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn added in v0.7.0

func OrganizationIDNotIn(vs ...string) predicate.EntitlementHistory

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func OwnerID

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.EntitlementHistory

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.EntitlementHistory

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.EntitlementHistory

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.EntitlementHistory

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.EntitlementHistory

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.EntitlementHistory

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.EntitlementHistory

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.EntitlementHistory

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.EntitlementHistory

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil added in v0.5.2

func OwnerIDIsNil() predicate.EntitlementHistory

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.EntitlementHistory

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.EntitlementHistory

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.EntitlementHistory

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.EntitlementHistory

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil added in v0.5.2

func OwnerIDNotNil() predicate.EntitlementHistory

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func PlanID added in v0.7.0

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

func PlanIDContains added in v0.7.0

func PlanIDContains(v string) predicate.EntitlementHistory

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

func PlanIDContainsFold added in v0.7.0

func PlanIDContainsFold(v string) predicate.EntitlementHistory

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

func PlanIDEQ added in v0.7.0

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

func PlanIDEqualFold added in v0.7.0

func PlanIDEqualFold(v string) predicate.EntitlementHistory

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

func PlanIDGT added in v0.7.0

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

func PlanIDGTE added in v0.7.0

func PlanIDGTE(v string) predicate.EntitlementHistory

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

func PlanIDHasPrefix added in v0.7.0

func PlanIDHasPrefix(v string) predicate.EntitlementHistory

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

func PlanIDHasSuffix added in v0.7.0

func PlanIDHasSuffix(v string) predicate.EntitlementHistory

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

func PlanIDIn added in v0.7.0

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

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

func PlanIDLT added in v0.7.0

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

func PlanIDLTE added in v0.7.0

func PlanIDLTE(v string) predicate.EntitlementHistory

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

func PlanIDNEQ added in v0.7.0

func PlanIDNEQ(v string) predicate.EntitlementHistory

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

func PlanIDNotIn added in v0.7.0

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

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

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

func RefContains(v string) predicate.EntitlementHistory

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.EntitlementHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

func RefEqualFold(v string) predicate.EntitlementHistory

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

func RefHasPrefix(v string) predicate.EntitlementHistory

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

func RefHasSuffix(v string) predicate.EntitlementHistory

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

func RefIn(vs ...string) predicate.EntitlementHistory

RefIn applies the In predicate on the "ref" field.

func RefIsNil

func RefIsNil() predicate.EntitlementHistory

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...string) predicate.EntitlementHistory

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

func RefNotNil() predicate.EntitlementHistory

RefNotNil applies the NotNil predicate on the "ref" field.

func TagsIsNil added in v0.5.2

func TagsIsNil() predicate.EntitlementHistory

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil added in v0.5.2

func TagsNotNil() predicate.EntitlementHistory

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.EntitlementHistory

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.EntitlementHistory

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.EntitlementHistory

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.EntitlementHistory

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.EntitlementHistory

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.EntitlementHistory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.EntitlementHistory

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.EntitlementHistory

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

func UpdatedBy

func UpdatedBy(v string) predicate.EntitlementHistory

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.EntitlementHistory

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.EntitlementHistory

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.EntitlementHistory

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.EntitlementHistory

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.EntitlementHistory

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.EntitlementHistory

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.EntitlementHistory

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.EntitlementHistory

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.EntitlementHistory

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.EntitlementHistory

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.EntitlementHistory

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.EntitlementHistory

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.EntitlementHistory

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

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.EntitlementHistory

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.EntitlementHistory

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 EntitlementHistory queries.

func ByCancelled

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

ByCancelled orders the results by the cancelled 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 ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByExpires

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

ByExpires orders the results by the expires field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at field.

func ByExternalCustomerID

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

ByExternalCustomerID orders the results by the external_customer_id field.

func ByExternalSubscriptionID

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

ByExternalSubscriptionID orders the results by the external_subscription_id field.

func ByHistoryTime

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

ByHistoryTime orders the results by the history_time field.

func ByID

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

ByID orders the results by the id field.

func ByMappingID added in v0.5.0

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

ByMappingID orders the results by the mapping_id field.

func ByOperation

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

ByOperation orders the results by the operation field.

func ByOrganizationID added in v0.7.0

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

ByOrganizationID orders the results by the organization_id field.

func ByOwnerID

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

ByOwnerID orders the results by the owner_id field.

func ByPlanID added in v0.7.0

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

ByPlanID orders the results by the plan_id field.

func ByRef

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

ByRef orders the results by the ref 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