Documentation
¶
Index ¶
- Constants
- Variables
- func Amount(v float64) predicate.CreditEntry
- func AmountEQ(v float64) predicate.CreditEntry
- func AmountGT(v float64) predicate.CreditEntry
- func AmountGTE(v float64) predicate.CreditEntry
- func AmountIn(vs ...float64) predicate.CreditEntry
- func AmountIsNil() predicate.CreditEntry
- func AmountLT(v float64) predicate.CreditEntry
- func AmountLTE(v float64) predicate.CreditEntry
- func AmountNEQ(v float64) predicate.CreditEntry
- func AmountNotIn(vs ...float64) predicate.CreditEntry
- func AmountNotNil() predicate.CreditEntry
- func And(predicates ...predicate.CreditEntry) predicate.CreditEntry
- func CreatedAt(v time.Time) predicate.CreditEntry
- func CreatedAtEQ(v time.Time) predicate.CreditEntry
- func CreatedAtGT(v time.Time) predicate.CreditEntry
- func CreatedAtGTE(v time.Time) predicate.CreditEntry
- func CreatedAtIn(vs ...time.Time) predicate.CreditEntry
- func CreatedAtLT(v time.Time) predicate.CreditEntry
- func CreatedAtLTE(v time.Time) predicate.CreditEntry
- func CreatedAtNEQ(v time.Time) predicate.CreditEntry
- func CreatedAtNotIn(vs ...time.Time) predicate.CreditEntry
- func EffectiveAt(v time.Time) predicate.CreditEntry
- func EffectiveAtEQ(v time.Time) predicate.CreditEntry
- func EffectiveAtGT(v time.Time) predicate.CreditEntry
- func EffectiveAtGTE(v time.Time) predicate.CreditEntry
- func EffectiveAtIn(vs ...time.Time) predicate.CreditEntry
- func EffectiveAtLT(v time.Time) predicate.CreditEntry
- func EffectiveAtLTE(v time.Time) predicate.CreditEntry
- func EffectiveAtNEQ(v time.Time) predicate.CreditEntry
- func EffectiveAtNotIn(vs ...time.Time) predicate.CreditEntry
- func EntryTypeEQ(v credit.EntryType) predicate.CreditEntry
- func EntryTypeIn(vs ...credit.EntryType) predicate.CreditEntry
- func EntryTypeNEQ(v credit.EntryType) predicate.CreditEntry
- func EntryTypeNotIn(vs ...credit.EntryType) predicate.CreditEntry
- func EntryTypeValidator(et credit.EntryType) error
- func ExpirationAt(v time.Time) predicate.CreditEntry
- func ExpirationAtEQ(v time.Time) predicate.CreditEntry
- func ExpirationAtGT(v time.Time) predicate.CreditEntry
- func ExpirationAtGTE(v time.Time) predicate.CreditEntry
- func ExpirationAtIn(vs ...time.Time) predicate.CreditEntry
- func ExpirationAtIsNil() predicate.CreditEntry
- func ExpirationAtLT(v time.Time) predicate.CreditEntry
- func ExpirationAtLTE(v time.Time) predicate.CreditEntry
- func ExpirationAtNEQ(v time.Time) predicate.CreditEntry
- func ExpirationAtNotIn(vs ...time.Time) predicate.CreditEntry
- func ExpirationAtNotNil() predicate.CreditEntry
- func ExpirationPeriodCount(v uint8) predicate.CreditEntry
- func ExpirationPeriodCountEQ(v uint8) predicate.CreditEntry
- func ExpirationPeriodCountGT(v uint8) predicate.CreditEntry
- func ExpirationPeriodCountGTE(v uint8) predicate.CreditEntry
- func ExpirationPeriodCountIn(vs ...uint8) predicate.CreditEntry
- func ExpirationPeriodCountIsNil() predicate.CreditEntry
- func ExpirationPeriodCountLT(v uint8) predicate.CreditEntry
- func ExpirationPeriodCountLTE(v uint8) predicate.CreditEntry
- func ExpirationPeriodCountNEQ(v uint8) predicate.CreditEntry
- func ExpirationPeriodCountNotIn(vs ...uint8) predicate.CreditEntry
- func ExpirationPeriodCountNotNil() predicate.CreditEntry
- func ExpirationPeriodDurationEQ(v credit.ExpirationPeriodDuration) predicate.CreditEntry
- func ExpirationPeriodDurationIn(vs ...credit.ExpirationPeriodDuration) predicate.CreditEntry
- func ExpirationPeriodDurationIsNil() predicate.CreditEntry
- func ExpirationPeriodDurationNEQ(v credit.ExpirationPeriodDuration) predicate.CreditEntry
- func ExpirationPeriodDurationNotIn(vs ...credit.ExpirationPeriodDuration) predicate.CreditEntry
- func ExpirationPeriodDurationNotNil() predicate.CreditEntry
- func ExpirationPeriodDurationValidator(epd credit.ExpirationPeriodDuration) error
- func FeatureID(v string) predicate.CreditEntry
- func FeatureIDContains(v string) predicate.CreditEntry
- func FeatureIDContainsFold(v string) predicate.CreditEntry
- func FeatureIDEQ(v string) predicate.CreditEntry
- func FeatureIDEqualFold(v string) predicate.CreditEntry
- func FeatureIDGT(v string) predicate.CreditEntry
- func FeatureIDGTE(v string) predicate.CreditEntry
- func FeatureIDHasPrefix(v string) predicate.CreditEntry
- func FeatureIDHasSuffix(v string) predicate.CreditEntry
- func FeatureIDIn(vs ...string) predicate.CreditEntry
- func FeatureIDIsNil() predicate.CreditEntry
- func FeatureIDLT(v string) predicate.CreditEntry
- func FeatureIDLTE(v string) predicate.CreditEntry
- func FeatureIDNEQ(v string) predicate.CreditEntry
- func FeatureIDNotIn(vs ...string) predicate.CreditEntry
- func FeatureIDNotNil() predicate.CreditEntry
- func HasChildren() predicate.CreditEntry
- func HasChildrenWith(preds ...predicate.CreditEntry) predicate.CreditEntry
- func HasFeature() predicate.CreditEntry
- func HasFeatureWith(preds ...predicate.Feature) predicate.CreditEntry
- func HasParent() predicate.CreditEntry
- func HasParentWith(preds ...predicate.CreditEntry) predicate.CreditEntry
- func ID(id string) predicate.CreditEntry
- func IDContainsFold(id string) predicate.CreditEntry
- func IDEQ(id string) predicate.CreditEntry
- func IDEqualFold(id string) predicate.CreditEntry
- func IDGT(id string) predicate.CreditEntry
- func IDGTE(id string) predicate.CreditEntry
- func IDIn(ids ...string) predicate.CreditEntry
- func IDLT(id string) predicate.CreditEntry
- func IDLTE(id string) predicate.CreditEntry
- func IDNEQ(id string) predicate.CreditEntry
- func IDNotIn(ids ...string) predicate.CreditEntry
- func LedgerID(v string) predicate.CreditEntry
- func LedgerIDContains(v string) predicate.CreditEntry
- func LedgerIDContainsFold(v string) predicate.CreditEntry
- func LedgerIDEQ(v string) predicate.CreditEntry
- func LedgerIDEqualFold(v string) predicate.CreditEntry
- func LedgerIDGT(v string) predicate.CreditEntry
- func LedgerIDGTE(v string) predicate.CreditEntry
- func LedgerIDHasPrefix(v string) predicate.CreditEntry
- func LedgerIDHasSuffix(v string) predicate.CreditEntry
- func LedgerIDIn(vs ...string) predicate.CreditEntry
- func LedgerIDLT(v string) predicate.CreditEntry
- func LedgerIDLTE(v string) predicate.CreditEntry
- func LedgerIDNEQ(v string) predicate.CreditEntry
- func LedgerIDNotIn(vs ...string) predicate.CreditEntry
- func MetadataIsNil() predicate.CreditEntry
- func MetadataNotNil() predicate.CreditEntry
- func Namespace(v string) predicate.CreditEntry
- func NamespaceContains(v string) predicate.CreditEntry
- func NamespaceContainsFold(v string) predicate.CreditEntry
- func NamespaceEQ(v string) predicate.CreditEntry
- func NamespaceEqualFold(v string) predicate.CreditEntry
- func NamespaceGT(v string) predicate.CreditEntry
- func NamespaceGTE(v string) predicate.CreditEntry
- func NamespaceHasPrefix(v string) predicate.CreditEntry
- func NamespaceHasSuffix(v string) predicate.CreditEntry
- func NamespaceIn(vs ...string) predicate.CreditEntry
- func NamespaceLT(v string) predicate.CreditEntry
- func NamespaceLTE(v string) predicate.CreditEntry
- func NamespaceNEQ(v string) predicate.CreditEntry
- func NamespaceNotIn(vs ...string) predicate.CreditEntry
- func Not(p predicate.CreditEntry) predicate.CreditEntry
- func Or(predicates ...predicate.CreditEntry) predicate.CreditEntry
- func ParentID(v string) predicate.CreditEntry
- func ParentIDContains(v string) predicate.CreditEntry
- func ParentIDContainsFold(v string) predicate.CreditEntry
- func ParentIDEQ(v string) predicate.CreditEntry
- func ParentIDEqualFold(v string) predicate.CreditEntry
- func ParentIDGT(v string) predicate.CreditEntry
- func ParentIDGTE(v string) predicate.CreditEntry
- func ParentIDHasPrefix(v string) predicate.CreditEntry
- func ParentIDHasSuffix(v string) predicate.CreditEntry
- func ParentIDIn(vs ...string) predicate.CreditEntry
- func ParentIDIsNil() predicate.CreditEntry
- func ParentIDLT(v string) predicate.CreditEntry
- func ParentIDLTE(v string) predicate.CreditEntry
- func ParentIDNEQ(v string) predicate.CreditEntry
- func ParentIDNotIn(vs ...string) predicate.CreditEntry
- func ParentIDNotNil() predicate.CreditEntry
- func Priority(v uint8) predicate.CreditEntry
- func PriorityEQ(v uint8) predicate.CreditEntry
- func PriorityGT(v uint8) predicate.CreditEntry
- func PriorityGTE(v uint8) predicate.CreditEntry
- func PriorityIn(vs ...uint8) predicate.CreditEntry
- func PriorityLT(v uint8) predicate.CreditEntry
- func PriorityLTE(v uint8) predicate.CreditEntry
- func PriorityNEQ(v uint8) predicate.CreditEntry
- func PriorityNotIn(vs ...uint8) predicate.CreditEntry
- func RolloverMaxAmount(v float64) predicate.CreditEntry
- func RolloverMaxAmountEQ(v float64) predicate.CreditEntry
- func RolloverMaxAmountGT(v float64) predicate.CreditEntry
- func RolloverMaxAmountGTE(v float64) predicate.CreditEntry
- func RolloverMaxAmountIn(vs ...float64) predicate.CreditEntry
- func RolloverMaxAmountIsNil() predicate.CreditEntry
- func RolloverMaxAmountLT(v float64) predicate.CreditEntry
- func RolloverMaxAmountLTE(v float64) predicate.CreditEntry
- func RolloverMaxAmountNEQ(v float64) predicate.CreditEntry
- func RolloverMaxAmountNotIn(vs ...float64) predicate.CreditEntry
- func RolloverMaxAmountNotNil() predicate.CreditEntry
- func RolloverTypeEQ(v credit.GrantRolloverType) predicate.CreditEntry
- func RolloverTypeIn(vs ...credit.GrantRolloverType) predicate.CreditEntry
- func RolloverTypeIsNil() predicate.CreditEntry
- func RolloverTypeNEQ(v credit.GrantRolloverType) predicate.CreditEntry
- func RolloverTypeNotIn(vs ...credit.GrantRolloverType) predicate.CreditEntry
- func RolloverTypeNotNil() predicate.CreditEntry
- func RolloverTypeValidator(rt credit.GrantRolloverType) error
- func TypeEQ(v credit.GrantType) predicate.CreditEntry
- func TypeIn(vs ...credit.GrantType) predicate.CreditEntry
- func TypeIsNil() predicate.CreditEntry
- func TypeNEQ(v credit.GrantType) predicate.CreditEntry
- func TypeNotIn(vs ...credit.GrantType) predicate.CreditEntry
- func TypeNotNil() predicate.CreditEntry
- func TypeValidator(_type credit.GrantType) error
- func UpdatedAt(v time.Time) predicate.CreditEntry
- func UpdatedAtEQ(v time.Time) predicate.CreditEntry
- func UpdatedAtGT(v time.Time) predicate.CreditEntry
- func UpdatedAtGTE(v time.Time) predicate.CreditEntry
- func UpdatedAtIn(vs ...time.Time) predicate.CreditEntry
- func UpdatedAtLT(v time.Time) predicate.CreditEntry
- func UpdatedAtLTE(v time.Time) predicate.CreditEntry
- func UpdatedAtNEQ(v time.Time) predicate.CreditEntry
- func UpdatedAtNotIn(vs ...time.Time) predicate.CreditEntry
- func ValidColumn(column string) bool
- type OrderOption
- func ByAmount(opts ...sql.OrderTermOption) OrderOption
- func ByChildrenField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEffectiveAt(opts ...sql.OrderTermOption) OrderOption
- func ByEntryType(opts ...sql.OrderTermOption) OrderOption
- func ByExpirationAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpirationPeriodCount(opts ...sql.OrderTermOption) OrderOption
- func ByExpirationPeriodDuration(opts ...sql.OrderTermOption) OrderOption
- func ByFeatureField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByFeatureID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLedgerID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByParentID(opts ...sql.OrderTermOption) OrderOption
- func ByPriority(opts ...sql.OrderTermOption) OrderOption
- func ByRolloverMaxAmount(opts ...sql.OrderTermOption) OrderOption
- func ByRolloverType(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the creditentry type in the database. Label = "credit_entry" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldLedgerID holds the string denoting the ledger_id field in the database. FieldLedgerID = "ledger_id" // FieldEntryType holds the string denoting the entry_type field in the database. FieldEntryType = "entry_type" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldFeatureID holds the string denoting the feature_id field in the database. FieldFeatureID = "feature_id" // FieldAmount holds the string denoting the amount field in the database. FieldAmount = "amount" // FieldPriority holds the string denoting the priority field in the database. FieldPriority = "priority" // FieldEffectiveAt holds the string denoting the effective_at field in the database. FieldEffectiveAt = "effective_at" // FieldExpirationPeriodDuration holds the string denoting the expiration_period_duration field in the database. FieldExpirationPeriodDuration = "expiration_period_duration" // FieldExpirationPeriodCount holds the string denoting the expiration_period_count field in the database. FieldExpirationPeriodCount = "expiration_period_count" // FieldExpirationAt holds the string denoting the expiration_at field in the database. FieldExpirationAt = "expiration_at" // FieldRolloverType holds the string denoting the rollover_type field in the database. FieldRolloverType = "rollover_type" // FieldRolloverMaxAmount holds the string denoting the rollover_max_amount field in the database. FieldRolloverMaxAmount = "rollover_max_amount" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldParentID holds the string denoting the parent_id field in the database. FieldParentID = "parent_id" // EdgeParent holds the string denoting the parent edge name in mutations. EdgeParent = "parent" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // EdgeFeature holds the string denoting the feature edge name in mutations. EdgeFeature = "feature" // Table holds the table name of the creditentry in the database. Table = "credit_entries" // ParentTable is the table that holds the parent relation/edge. ParentTable = "credit_entries" // ParentColumn is the table column denoting the parent relation/edge. ParentColumn = "parent_id" // ChildrenTable is the table that holds the children relation/edge. ChildrenTable = "credit_entries" // ChildrenColumn is the table column denoting the children relation/edge. ChildrenColumn = "parent_id" // FeatureTable is the table that holds the feature relation/edge. FeatureTable = "credit_entries" // FeatureInverseTable is the table name for the Feature entity. // It exists in this package in order to avoid circular dependency with the "feature" package. FeatureInverseTable = "features" // FeatureColumn is the table column denoting the feature relation/edge. FeatureColumn = "feature_id" )
Variables ¶
var ( // 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 // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // DefaultPriority holds the default value on creation for the "priority" field. DefaultPriority uint8 // DefaultEffectiveAt holds the default value on creation for the "effective_at" field. DefaultEffectiveAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldNamespace, FieldLedgerID, FieldEntryType, FieldType, FieldFeatureID, FieldAmount, FieldPriority, FieldEffectiveAt, FieldExpirationPeriodDuration, FieldExpirationPeriodCount, FieldExpirationAt, FieldRolloverType, FieldRolloverMaxAmount, FieldMetadata, FieldParentID, }
Columns holds all SQL columns for creditentry fields.
Functions ¶
func Amount ¶
func Amount(v float64) predicate.CreditEntry
Amount applies equality check predicate on the "amount" field. It's identical to AmountEQ.
func AmountEQ ¶
func AmountEQ(v float64) predicate.CreditEntry
AmountEQ applies the EQ predicate on the "amount" field.
func AmountGT ¶
func AmountGT(v float64) predicate.CreditEntry
AmountGT applies the GT predicate on the "amount" field.
func AmountGTE ¶
func AmountGTE(v float64) predicate.CreditEntry
AmountGTE applies the GTE predicate on the "amount" field.
func AmountIn ¶
func AmountIn(vs ...float64) predicate.CreditEntry
AmountIn applies the In predicate on the "amount" field.
func AmountIsNil ¶
func AmountIsNil() predicate.CreditEntry
AmountIsNil applies the IsNil predicate on the "amount" field.
func AmountLT ¶
func AmountLT(v float64) predicate.CreditEntry
AmountLT applies the LT predicate on the "amount" field.
func AmountLTE ¶
func AmountLTE(v float64) predicate.CreditEntry
AmountLTE applies the LTE predicate on the "amount" field.
func AmountNEQ ¶
func AmountNEQ(v float64) predicate.CreditEntry
AmountNEQ applies the NEQ predicate on the "amount" field.
func AmountNotIn ¶
func AmountNotIn(vs ...float64) predicate.CreditEntry
AmountNotIn applies the NotIn predicate on the "amount" field.
func AmountNotNil ¶
func AmountNotNil() predicate.CreditEntry
AmountNotNil applies the NotNil predicate on the "amount" field.
func And ¶
func And(predicates ...predicate.CreditEntry) predicate.CreditEntry
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.CreditEntry
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.CreditEntry
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.CreditEntry
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.CreditEntry
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.CreditEntry
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.CreditEntry
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.CreditEntry
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.CreditEntry
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.CreditEntry
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EffectiveAt ¶
func EffectiveAt(v time.Time) predicate.CreditEntry
EffectiveAt applies equality check predicate on the "effective_at" field. It's identical to EffectiveAtEQ.
func EffectiveAtEQ ¶
func EffectiveAtEQ(v time.Time) predicate.CreditEntry
EffectiveAtEQ applies the EQ predicate on the "effective_at" field.
func EffectiveAtGT ¶
func EffectiveAtGT(v time.Time) predicate.CreditEntry
EffectiveAtGT applies the GT predicate on the "effective_at" field.
func EffectiveAtGTE ¶
func EffectiveAtGTE(v time.Time) predicate.CreditEntry
EffectiveAtGTE applies the GTE predicate on the "effective_at" field.
func EffectiveAtIn ¶
func EffectiveAtIn(vs ...time.Time) predicate.CreditEntry
EffectiveAtIn applies the In predicate on the "effective_at" field.
func EffectiveAtLT ¶
func EffectiveAtLT(v time.Time) predicate.CreditEntry
EffectiveAtLT applies the LT predicate on the "effective_at" field.
func EffectiveAtLTE ¶
func EffectiveAtLTE(v time.Time) predicate.CreditEntry
EffectiveAtLTE applies the LTE predicate on the "effective_at" field.
func EffectiveAtNEQ ¶
func EffectiveAtNEQ(v time.Time) predicate.CreditEntry
EffectiveAtNEQ applies the NEQ predicate on the "effective_at" field.
func EffectiveAtNotIn ¶
func EffectiveAtNotIn(vs ...time.Time) predicate.CreditEntry
EffectiveAtNotIn applies the NotIn predicate on the "effective_at" field.
func EntryTypeEQ ¶
func EntryTypeEQ(v credit.EntryType) predicate.CreditEntry
EntryTypeEQ applies the EQ predicate on the "entry_type" field.
func EntryTypeIn ¶
func EntryTypeIn(vs ...credit.EntryType) predicate.CreditEntry
EntryTypeIn applies the In predicate on the "entry_type" field.
func EntryTypeNEQ ¶
func EntryTypeNEQ(v credit.EntryType) predicate.CreditEntry
EntryTypeNEQ applies the NEQ predicate on the "entry_type" field.
func EntryTypeNotIn ¶
func EntryTypeNotIn(vs ...credit.EntryType) predicate.CreditEntry
EntryTypeNotIn applies the NotIn predicate on the "entry_type" field.
func EntryTypeValidator ¶
EntryTypeValidator is a validator for the "entry_type" field enum values. It is called by the builders before save.
func ExpirationAt ¶
func ExpirationAt(v time.Time) predicate.CreditEntry
ExpirationAt applies equality check predicate on the "expiration_at" field. It's identical to ExpirationAtEQ.
func ExpirationAtEQ ¶
func ExpirationAtEQ(v time.Time) predicate.CreditEntry
ExpirationAtEQ applies the EQ predicate on the "expiration_at" field.
func ExpirationAtGT ¶
func ExpirationAtGT(v time.Time) predicate.CreditEntry
ExpirationAtGT applies the GT predicate on the "expiration_at" field.
func ExpirationAtGTE ¶
func ExpirationAtGTE(v time.Time) predicate.CreditEntry
ExpirationAtGTE applies the GTE predicate on the "expiration_at" field.
func ExpirationAtIn ¶
func ExpirationAtIn(vs ...time.Time) predicate.CreditEntry
ExpirationAtIn applies the In predicate on the "expiration_at" field.
func ExpirationAtIsNil ¶
func ExpirationAtIsNil() predicate.CreditEntry
ExpirationAtIsNil applies the IsNil predicate on the "expiration_at" field.
func ExpirationAtLT ¶
func ExpirationAtLT(v time.Time) predicate.CreditEntry
ExpirationAtLT applies the LT predicate on the "expiration_at" field.
func ExpirationAtLTE ¶
func ExpirationAtLTE(v time.Time) predicate.CreditEntry
ExpirationAtLTE applies the LTE predicate on the "expiration_at" field.
func ExpirationAtNEQ ¶
func ExpirationAtNEQ(v time.Time) predicate.CreditEntry
ExpirationAtNEQ applies the NEQ predicate on the "expiration_at" field.
func ExpirationAtNotIn ¶
func ExpirationAtNotIn(vs ...time.Time) predicate.CreditEntry
ExpirationAtNotIn applies the NotIn predicate on the "expiration_at" field.
func ExpirationAtNotNil ¶
func ExpirationAtNotNil() predicate.CreditEntry
ExpirationAtNotNil applies the NotNil predicate on the "expiration_at" field.
func ExpirationPeriodCount ¶
func ExpirationPeriodCount(v uint8) predicate.CreditEntry
ExpirationPeriodCount applies equality check predicate on the "expiration_period_count" field. It's identical to ExpirationPeriodCountEQ.
func ExpirationPeriodCountEQ ¶
func ExpirationPeriodCountEQ(v uint8) predicate.CreditEntry
ExpirationPeriodCountEQ applies the EQ predicate on the "expiration_period_count" field.
func ExpirationPeriodCountGT ¶
func ExpirationPeriodCountGT(v uint8) predicate.CreditEntry
ExpirationPeriodCountGT applies the GT predicate on the "expiration_period_count" field.
func ExpirationPeriodCountGTE ¶
func ExpirationPeriodCountGTE(v uint8) predicate.CreditEntry
ExpirationPeriodCountGTE applies the GTE predicate on the "expiration_period_count" field.
func ExpirationPeriodCountIn ¶
func ExpirationPeriodCountIn(vs ...uint8) predicate.CreditEntry
ExpirationPeriodCountIn applies the In predicate on the "expiration_period_count" field.
func ExpirationPeriodCountIsNil ¶
func ExpirationPeriodCountIsNil() predicate.CreditEntry
ExpirationPeriodCountIsNil applies the IsNil predicate on the "expiration_period_count" field.
func ExpirationPeriodCountLT ¶
func ExpirationPeriodCountLT(v uint8) predicate.CreditEntry
ExpirationPeriodCountLT applies the LT predicate on the "expiration_period_count" field.
func ExpirationPeriodCountLTE ¶
func ExpirationPeriodCountLTE(v uint8) predicate.CreditEntry
ExpirationPeriodCountLTE applies the LTE predicate on the "expiration_period_count" field.
func ExpirationPeriodCountNEQ ¶
func ExpirationPeriodCountNEQ(v uint8) predicate.CreditEntry
ExpirationPeriodCountNEQ applies the NEQ predicate on the "expiration_period_count" field.
func ExpirationPeriodCountNotIn ¶
func ExpirationPeriodCountNotIn(vs ...uint8) predicate.CreditEntry
ExpirationPeriodCountNotIn applies the NotIn predicate on the "expiration_period_count" field.
func ExpirationPeriodCountNotNil ¶
func ExpirationPeriodCountNotNil() predicate.CreditEntry
ExpirationPeriodCountNotNil applies the NotNil predicate on the "expiration_period_count" field.
func ExpirationPeriodDurationEQ ¶
func ExpirationPeriodDurationEQ(v credit.ExpirationPeriodDuration) predicate.CreditEntry
ExpirationPeriodDurationEQ applies the EQ predicate on the "expiration_period_duration" field.
func ExpirationPeriodDurationIn ¶
func ExpirationPeriodDurationIn(vs ...credit.ExpirationPeriodDuration) predicate.CreditEntry
ExpirationPeriodDurationIn applies the In predicate on the "expiration_period_duration" field.
func ExpirationPeriodDurationIsNil ¶
func ExpirationPeriodDurationIsNil() predicate.CreditEntry
ExpirationPeriodDurationIsNil applies the IsNil predicate on the "expiration_period_duration" field.
func ExpirationPeriodDurationNEQ ¶
func ExpirationPeriodDurationNEQ(v credit.ExpirationPeriodDuration) predicate.CreditEntry
ExpirationPeriodDurationNEQ applies the NEQ predicate on the "expiration_period_duration" field.
func ExpirationPeriodDurationNotIn ¶
func ExpirationPeriodDurationNotIn(vs ...credit.ExpirationPeriodDuration) predicate.CreditEntry
ExpirationPeriodDurationNotIn applies the NotIn predicate on the "expiration_period_duration" field.
func ExpirationPeriodDurationNotNil ¶
func ExpirationPeriodDurationNotNil() predicate.CreditEntry
ExpirationPeriodDurationNotNil applies the NotNil predicate on the "expiration_period_duration" field.
func ExpirationPeriodDurationValidator ¶
func ExpirationPeriodDurationValidator(epd credit.ExpirationPeriodDuration) error
ExpirationPeriodDurationValidator is a validator for the "expiration_period_duration" field enum values. It is called by the builders before save.
func FeatureID ¶
func FeatureID(v string) predicate.CreditEntry
FeatureID applies equality check predicate on the "feature_id" field. It's identical to FeatureIDEQ.
func FeatureIDContains ¶
func FeatureIDContains(v string) predicate.CreditEntry
FeatureIDContains applies the Contains predicate on the "feature_id" field.
func FeatureIDContainsFold ¶
func FeatureIDContainsFold(v string) predicate.CreditEntry
FeatureIDContainsFold applies the ContainsFold predicate on the "feature_id" field.
func FeatureIDEQ ¶
func FeatureIDEQ(v string) predicate.CreditEntry
FeatureIDEQ applies the EQ predicate on the "feature_id" field.
func FeatureIDEqualFold ¶
func FeatureIDEqualFold(v string) predicate.CreditEntry
FeatureIDEqualFold applies the EqualFold predicate on the "feature_id" field.
func FeatureIDGT ¶
func FeatureIDGT(v string) predicate.CreditEntry
FeatureIDGT applies the GT predicate on the "feature_id" field.
func FeatureIDGTE ¶
func FeatureIDGTE(v string) predicate.CreditEntry
FeatureIDGTE applies the GTE predicate on the "feature_id" field.
func FeatureIDHasPrefix ¶
func FeatureIDHasPrefix(v string) predicate.CreditEntry
FeatureIDHasPrefix applies the HasPrefix predicate on the "feature_id" field.
func FeatureIDHasSuffix ¶
func FeatureIDHasSuffix(v string) predicate.CreditEntry
FeatureIDHasSuffix applies the HasSuffix predicate on the "feature_id" field.
func FeatureIDIn ¶
func FeatureIDIn(vs ...string) predicate.CreditEntry
FeatureIDIn applies the In predicate on the "feature_id" field.
func FeatureIDIsNil ¶
func FeatureIDIsNil() predicate.CreditEntry
FeatureIDIsNil applies the IsNil predicate on the "feature_id" field.
func FeatureIDLT ¶
func FeatureIDLT(v string) predicate.CreditEntry
FeatureIDLT applies the LT predicate on the "feature_id" field.
func FeatureIDLTE ¶
func FeatureIDLTE(v string) predicate.CreditEntry
FeatureIDLTE applies the LTE predicate on the "feature_id" field.
func FeatureIDNEQ ¶
func FeatureIDNEQ(v string) predicate.CreditEntry
FeatureIDNEQ applies the NEQ predicate on the "feature_id" field.
func FeatureIDNotIn ¶
func FeatureIDNotIn(vs ...string) predicate.CreditEntry
FeatureIDNotIn applies the NotIn predicate on the "feature_id" field.
func FeatureIDNotNil ¶
func FeatureIDNotNil() predicate.CreditEntry
FeatureIDNotNil applies the NotNil predicate on the "feature_id" field.
func HasChildren ¶
func HasChildren() predicate.CreditEntry
HasChildren applies the HasEdge predicate on the "children" edge.
func HasChildrenWith ¶
func HasChildrenWith(preds ...predicate.CreditEntry) predicate.CreditEntry
HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
func HasFeature ¶
func HasFeature() predicate.CreditEntry
HasFeature applies the HasEdge predicate on the "feature" edge.
func HasFeatureWith ¶
func HasFeatureWith(preds ...predicate.Feature) predicate.CreditEntry
HasFeatureWith applies the HasEdge predicate on the "feature" edge with a given conditions (other predicates).
func HasParent ¶
func HasParent() predicate.CreditEntry
HasParent applies the HasEdge predicate on the "parent" edge.
func HasParentWith ¶
func HasParentWith(preds ...predicate.CreditEntry) predicate.CreditEntry
HasParentWith applies the HasEdge predicate on the "parent" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.CreditEntry
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.CreditEntry
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.CreditEntry
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.CreditEntry
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.CreditEntry
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.CreditEntry
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.CreditEntry
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.CreditEntry
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.CreditEntry
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.CreditEntry
IDNotIn applies the NotIn predicate on the ID field.
func LedgerID ¶
func LedgerID(v string) predicate.CreditEntry
LedgerID applies equality check predicate on the "ledger_id" field. It's identical to LedgerIDEQ.
func LedgerIDContains ¶
func LedgerIDContains(v string) predicate.CreditEntry
LedgerIDContains applies the Contains predicate on the "ledger_id" field.
func LedgerIDContainsFold ¶
func LedgerIDContainsFold(v string) predicate.CreditEntry
LedgerIDContainsFold applies the ContainsFold predicate on the "ledger_id" field.
func LedgerIDEQ ¶
func LedgerIDEQ(v string) predicate.CreditEntry
LedgerIDEQ applies the EQ predicate on the "ledger_id" field.
func LedgerIDEqualFold ¶
func LedgerIDEqualFold(v string) predicate.CreditEntry
LedgerIDEqualFold applies the EqualFold predicate on the "ledger_id" field.
func LedgerIDGT ¶
func LedgerIDGT(v string) predicate.CreditEntry
LedgerIDGT applies the GT predicate on the "ledger_id" field.
func LedgerIDGTE ¶
func LedgerIDGTE(v string) predicate.CreditEntry
LedgerIDGTE applies the GTE predicate on the "ledger_id" field.
func LedgerIDHasPrefix ¶
func LedgerIDHasPrefix(v string) predicate.CreditEntry
LedgerIDHasPrefix applies the HasPrefix predicate on the "ledger_id" field.
func LedgerIDHasSuffix ¶
func LedgerIDHasSuffix(v string) predicate.CreditEntry
LedgerIDHasSuffix applies the HasSuffix predicate on the "ledger_id" field.
func LedgerIDIn ¶
func LedgerIDIn(vs ...string) predicate.CreditEntry
LedgerIDIn applies the In predicate on the "ledger_id" field.
func LedgerIDLT ¶
func LedgerIDLT(v string) predicate.CreditEntry
LedgerIDLT applies the LT predicate on the "ledger_id" field.
func LedgerIDLTE ¶
func LedgerIDLTE(v string) predicate.CreditEntry
LedgerIDLTE applies the LTE predicate on the "ledger_id" field.
func LedgerIDNEQ ¶
func LedgerIDNEQ(v string) predicate.CreditEntry
LedgerIDNEQ applies the NEQ predicate on the "ledger_id" field.
func LedgerIDNotIn ¶
func LedgerIDNotIn(vs ...string) predicate.CreditEntry
LedgerIDNotIn applies the NotIn predicate on the "ledger_id" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.CreditEntry
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.CreditEntry
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Namespace ¶
func Namespace(v string) predicate.CreditEntry
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.CreditEntry
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.CreditEntry
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.CreditEntry
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.CreditEntry
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.CreditEntry
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.CreditEntry
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.CreditEntry
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.CreditEntry
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.CreditEntry
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.CreditEntry
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.CreditEntry
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.CreditEntry
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.CreditEntry
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.CreditEntry) predicate.CreditEntry
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.CreditEntry) predicate.CreditEntry
Or groups predicates with the OR operator between them.
func ParentID ¶
func ParentID(v string) predicate.CreditEntry
ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.
func ParentIDContains ¶
func ParentIDContains(v string) predicate.CreditEntry
ParentIDContains applies the Contains predicate on the "parent_id" field.
func ParentIDContainsFold ¶
func ParentIDContainsFold(v string) predicate.CreditEntry
ParentIDContainsFold applies the ContainsFold predicate on the "parent_id" field.
func ParentIDEQ ¶
func ParentIDEQ(v string) predicate.CreditEntry
ParentIDEQ applies the EQ predicate on the "parent_id" field.
func ParentIDEqualFold ¶
func ParentIDEqualFold(v string) predicate.CreditEntry
ParentIDEqualFold applies the EqualFold predicate on the "parent_id" field.
func ParentIDGT ¶
func ParentIDGT(v string) predicate.CreditEntry
ParentIDGT applies the GT predicate on the "parent_id" field.
func ParentIDGTE ¶
func ParentIDGTE(v string) predicate.CreditEntry
ParentIDGTE applies the GTE predicate on the "parent_id" field.
func ParentIDHasPrefix ¶
func ParentIDHasPrefix(v string) predicate.CreditEntry
ParentIDHasPrefix applies the HasPrefix predicate on the "parent_id" field.
func ParentIDHasSuffix ¶
func ParentIDHasSuffix(v string) predicate.CreditEntry
ParentIDHasSuffix applies the HasSuffix predicate on the "parent_id" field.
func ParentIDIn ¶
func ParentIDIn(vs ...string) predicate.CreditEntry
ParentIDIn applies the In predicate on the "parent_id" field.
func ParentIDIsNil ¶
func ParentIDIsNil() predicate.CreditEntry
ParentIDIsNil applies the IsNil predicate on the "parent_id" field.
func ParentIDLT ¶
func ParentIDLT(v string) predicate.CreditEntry
ParentIDLT applies the LT predicate on the "parent_id" field.
func ParentIDLTE ¶
func ParentIDLTE(v string) predicate.CreditEntry
ParentIDLTE applies the LTE predicate on the "parent_id" field.
func ParentIDNEQ ¶
func ParentIDNEQ(v string) predicate.CreditEntry
ParentIDNEQ applies the NEQ predicate on the "parent_id" field.
func ParentIDNotIn ¶
func ParentIDNotIn(vs ...string) predicate.CreditEntry
ParentIDNotIn applies the NotIn predicate on the "parent_id" field.
func ParentIDNotNil ¶
func ParentIDNotNil() predicate.CreditEntry
ParentIDNotNil applies the NotNil predicate on the "parent_id" field.
func Priority ¶
func Priority(v uint8) predicate.CreditEntry
Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
func PriorityEQ ¶
func PriorityEQ(v uint8) predicate.CreditEntry
PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityGT ¶
func PriorityGT(v uint8) predicate.CreditEntry
PriorityGT applies the GT predicate on the "priority" field.
func PriorityGTE ¶
func PriorityGTE(v uint8) predicate.CreditEntry
PriorityGTE applies the GTE predicate on the "priority" field.
func PriorityIn ¶
func PriorityIn(vs ...uint8) predicate.CreditEntry
PriorityIn applies the In predicate on the "priority" field.
func PriorityLT ¶
func PriorityLT(v uint8) predicate.CreditEntry
PriorityLT applies the LT predicate on the "priority" field.
func PriorityLTE ¶
func PriorityLTE(v uint8) predicate.CreditEntry
PriorityLTE applies the LTE predicate on the "priority" field.
func PriorityNEQ ¶
func PriorityNEQ(v uint8) predicate.CreditEntry
PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNotIn ¶
func PriorityNotIn(vs ...uint8) predicate.CreditEntry
PriorityNotIn applies the NotIn predicate on the "priority" field.
func RolloverMaxAmount ¶
func RolloverMaxAmount(v float64) predicate.CreditEntry
RolloverMaxAmount applies equality check predicate on the "rollover_max_amount" field. It's identical to RolloverMaxAmountEQ.
func RolloverMaxAmountEQ ¶
func RolloverMaxAmountEQ(v float64) predicate.CreditEntry
RolloverMaxAmountEQ applies the EQ predicate on the "rollover_max_amount" field.
func RolloverMaxAmountGT ¶
func RolloverMaxAmountGT(v float64) predicate.CreditEntry
RolloverMaxAmountGT applies the GT predicate on the "rollover_max_amount" field.
func RolloverMaxAmountGTE ¶
func RolloverMaxAmountGTE(v float64) predicate.CreditEntry
RolloverMaxAmountGTE applies the GTE predicate on the "rollover_max_amount" field.
func RolloverMaxAmountIn ¶
func RolloverMaxAmountIn(vs ...float64) predicate.CreditEntry
RolloverMaxAmountIn applies the In predicate on the "rollover_max_amount" field.
func RolloverMaxAmountIsNil ¶
func RolloverMaxAmountIsNil() predicate.CreditEntry
RolloverMaxAmountIsNil applies the IsNil predicate on the "rollover_max_amount" field.
func RolloverMaxAmountLT ¶
func RolloverMaxAmountLT(v float64) predicate.CreditEntry
RolloverMaxAmountLT applies the LT predicate on the "rollover_max_amount" field.
func RolloverMaxAmountLTE ¶
func RolloverMaxAmountLTE(v float64) predicate.CreditEntry
RolloverMaxAmountLTE applies the LTE predicate on the "rollover_max_amount" field.
func RolloverMaxAmountNEQ ¶
func RolloverMaxAmountNEQ(v float64) predicate.CreditEntry
RolloverMaxAmountNEQ applies the NEQ predicate on the "rollover_max_amount" field.
func RolloverMaxAmountNotIn ¶
func RolloverMaxAmountNotIn(vs ...float64) predicate.CreditEntry
RolloverMaxAmountNotIn applies the NotIn predicate on the "rollover_max_amount" field.
func RolloverMaxAmountNotNil ¶
func RolloverMaxAmountNotNil() predicate.CreditEntry
RolloverMaxAmountNotNil applies the NotNil predicate on the "rollover_max_amount" field.
func RolloverTypeEQ ¶
func RolloverTypeEQ(v credit.GrantRolloverType) predicate.CreditEntry
RolloverTypeEQ applies the EQ predicate on the "rollover_type" field.
func RolloverTypeIn ¶
func RolloverTypeIn(vs ...credit.GrantRolloverType) predicate.CreditEntry
RolloverTypeIn applies the In predicate on the "rollover_type" field.
func RolloverTypeIsNil ¶
func RolloverTypeIsNil() predicate.CreditEntry
RolloverTypeIsNil applies the IsNil predicate on the "rollover_type" field.
func RolloverTypeNEQ ¶
func RolloverTypeNEQ(v credit.GrantRolloverType) predicate.CreditEntry
RolloverTypeNEQ applies the NEQ predicate on the "rollover_type" field.
func RolloverTypeNotIn ¶
func RolloverTypeNotIn(vs ...credit.GrantRolloverType) predicate.CreditEntry
RolloverTypeNotIn applies the NotIn predicate on the "rollover_type" field.
func RolloverTypeNotNil ¶
func RolloverTypeNotNil() predicate.CreditEntry
RolloverTypeNotNil applies the NotNil predicate on the "rollover_type" field.
func RolloverTypeValidator ¶
func RolloverTypeValidator(rt credit.GrantRolloverType) error
RolloverTypeValidator is a validator for the "rollover_type" field enum values. It is called by the builders before save.
func TypeEQ ¶
func TypeEQ(v credit.GrantType) predicate.CreditEntry
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...credit.GrantType) predicate.CreditEntry
TypeIn applies the In predicate on the "type" field.
func TypeIsNil ¶
func TypeIsNil() predicate.CreditEntry
TypeIsNil applies the IsNil predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v credit.GrantType) predicate.CreditEntry
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...credit.GrantType) predicate.CreditEntry
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeNotNil ¶
func TypeNotNil() predicate.CreditEntry
TypeNotNil applies the NotNil predicate on the "type" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.CreditEntry
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.CreditEntry
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.CreditEntry
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.CreditEntry
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.CreditEntry
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.CreditEntry
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.CreditEntry
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.CreditEntry
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.CreditEntry
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 CreditEntry queries.
func ByAmount ¶
func ByAmount(opts ...sql.OrderTermOption) OrderOption
ByAmount orders the results by the amount field.
func ByChildrenField ¶
func ByChildrenField(field string, opts ...sql.OrderTermOption) OrderOption
ByChildrenField orders the results by children field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEffectiveAt ¶
func ByEffectiveAt(opts ...sql.OrderTermOption) OrderOption
ByEffectiveAt orders the results by the effective_at field.
func ByEntryType ¶
func ByEntryType(opts ...sql.OrderTermOption) OrderOption
ByEntryType orders the results by the entry_type field.
func ByExpirationAt ¶
func ByExpirationAt(opts ...sql.OrderTermOption) OrderOption
ByExpirationAt orders the results by the expiration_at field.
func ByExpirationPeriodCount ¶
func ByExpirationPeriodCount(opts ...sql.OrderTermOption) OrderOption
ByExpirationPeriodCount orders the results by the expiration_period_count field.
func ByExpirationPeriodDuration ¶
func ByExpirationPeriodDuration(opts ...sql.OrderTermOption) OrderOption
ByExpirationPeriodDuration orders the results by the expiration_period_duration field.
func ByFeatureField ¶
func ByFeatureField(field string, opts ...sql.OrderTermOption) OrderOption
ByFeatureField orders the results by feature field.
func ByFeatureID ¶
func ByFeatureID(opts ...sql.OrderTermOption) OrderOption
ByFeatureID orders the results by the feature_id field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLedgerID ¶
func ByLedgerID(opts ...sql.OrderTermOption) OrderOption
ByLedgerID orders the results by the ledger_id field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func ByParentField ¶
func ByParentField(field string, opts ...sql.OrderTermOption) OrderOption
ByParentField orders the results by parent field.
func ByParentID ¶
func ByParentID(opts ...sql.OrderTermOption) OrderOption
ByParentID orders the results by the parent_id field.
func ByPriority ¶
func ByPriority(opts ...sql.OrderTermOption) OrderOption
ByPriority orders the results by the priority field.
func ByRolloverMaxAmount ¶
func ByRolloverMaxAmount(opts ...sql.OrderTermOption) OrderOption
ByRolloverMaxAmount orders the results by the rollover_max_amount field.
func ByRolloverType ¶
func ByRolloverType(opts ...sql.OrderTermOption) OrderOption
ByRolloverType orders the results by the rollover_type field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.