Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BalanceSnapshot) predicate.BalanceSnapshot
- func At(v time.Time) predicate.BalanceSnapshot
- func AtEQ(v time.Time) predicate.BalanceSnapshot
- func AtGT(v time.Time) predicate.BalanceSnapshot
- func AtGTE(v time.Time) predicate.BalanceSnapshot
- func AtIn(vs ...time.Time) predicate.BalanceSnapshot
- func AtLT(v time.Time) predicate.BalanceSnapshot
- func AtLTE(v time.Time) predicate.BalanceSnapshot
- func AtNEQ(v time.Time) predicate.BalanceSnapshot
- func AtNotIn(vs ...time.Time) predicate.BalanceSnapshot
- func Balance(v float64) predicate.BalanceSnapshot
- func BalanceEQ(v float64) predicate.BalanceSnapshot
- func BalanceGT(v float64) predicate.BalanceSnapshot
- func BalanceGTE(v float64) predicate.BalanceSnapshot
- func BalanceIn(vs ...float64) predicate.BalanceSnapshot
- func BalanceLT(v float64) predicate.BalanceSnapshot
- func BalanceLTE(v float64) predicate.BalanceSnapshot
- func BalanceNEQ(v float64) predicate.BalanceSnapshot
- func BalanceNotIn(vs ...float64) predicate.BalanceSnapshot
- func CreatedAt(v time.Time) predicate.BalanceSnapshot
- func CreatedAtEQ(v time.Time) predicate.BalanceSnapshot
- func CreatedAtGT(v time.Time) predicate.BalanceSnapshot
- func CreatedAtGTE(v time.Time) predicate.BalanceSnapshot
- func CreatedAtIn(vs ...time.Time) predicate.BalanceSnapshot
- func CreatedAtLT(v time.Time) predicate.BalanceSnapshot
- func CreatedAtLTE(v time.Time) predicate.BalanceSnapshot
- func CreatedAtNEQ(v time.Time) predicate.BalanceSnapshot
- func CreatedAtNotIn(vs ...time.Time) predicate.BalanceSnapshot
- func DeletedAt(v time.Time) predicate.BalanceSnapshot
- func DeletedAtEQ(v time.Time) predicate.BalanceSnapshot
- func DeletedAtGT(v time.Time) predicate.BalanceSnapshot
- func DeletedAtGTE(v time.Time) predicate.BalanceSnapshot
- func DeletedAtIn(vs ...time.Time) predicate.BalanceSnapshot
- func DeletedAtIsNil() predicate.BalanceSnapshot
- func DeletedAtLT(v time.Time) predicate.BalanceSnapshot
- func DeletedAtLTE(v time.Time) predicate.BalanceSnapshot
- func DeletedAtNEQ(v time.Time) predicate.BalanceSnapshot
- func DeletedAtNotIn(vs ...time.Time) predicate.BalanceSnapshot
- func DeletedAtNotNil() predicate.BalanceSnapshot
- func ID(id int) predicate.BalanceSnapshot
- func IDEQ(id int) predicate.BalanceSnapshot
- func IDGT(id int) predicate.BalanceSnapshot
- func IDGTE(id int) predicate.BalanceSnapshot
- func IDIn(ids ...int) predicate.BalanceSnapshot
- func IDLT(id int) predicate.BalanceSnapshot
- func IDLTE(id int) predicate.BalanceSnapshot
- func IDNEQ(id int) predicate.BalanceSnapshot
- func IDNotIn(ids ...int) predicate.BalanceSnapshot
- func Namespace(v string) predicate.BalanceSnapshot
- func NamespaceContains(v string) predicate.BalanceSnapshot
- func NamespaceContainsFold(v string) predicate.BalanceSnapshot
- func NamespaceEQ(v string) predicate.BalanceSnapshot
- func NamespaceEqualFold(v string) predicate.BalanceSnapshot
- func NamespaceGT(v string) predicate.BalanceSnapshot
- func NamespaceGTE(v string) predicate.BalanceSnapshot
- func NamespaceHasPrefix(v string) predicate.BalanceSnapshot
- func NamespaceHasSuffix(v string) predicate.BalanceSnapshot
- func NamespaceIn(vs ...string) predicate.BalanceSnapshot
- func NamespaceLT(v string) predicate.BalanceSnapshot
- func NamespaceLTE(v string) predicate.BalanceSnapshot
- func NamespaceNEQ(v string) predicate.BalanceSnapshot
- func NamespaceNotIn(vs ...string) predicate.BalanceSnapshot
- func Not(p predicate.BalanceSnapshot) predicate.BalanceSnapshot
- func Or(predicates ...predicate.BalanceSnapshot) predicate.BalanceSnapshot
- func Overage(v float64) predicate.BalanceSnapshot
- func OverageEQ(v float64) predicate.BalanceSnapshot
- func OverageGT(v float64) predicate.BalanceSnapshot
- func OverageGTE(v float64) predicate.BalanceSnapshot
- func OverageIn(vs ...float64) predicate.BalanceSnapshot
- func OverageLT(v float64) predicate.BalanceSnapshot
- func OverageLTE(v float64) predicate.BalanceSnapshot
- func OverageNEQ(v float64) predicate.BalanceSnapshot
- func OverageNotIn(vs ...float64) predicate.BalanceSnapshot
- func OwnerID(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDContains(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDContainsFold(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDEQ(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDEqualFold(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDGT(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDGTE(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDHasPrefix(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDHasSuffix(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDIn(vs ...credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDLT(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDLTE(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDNEQ(v credit.GrantOwner) predicate.BalanceSnapshot
- func OwnerIDNotIn(vs ...credit.GrantOwner) predicate.BalanceSnapshot
- func UpdatedAt(v time.Time) predicate.BalanceSnapshot
- func UpdatedAtEQ(v time.Time) predicate.BalanceSnapshot
- func UpdatedAtGT(v time.Time) predicate.BalanceSnapshot
- func UpdatedAtGTE(v time.Time) predicate.BalanceSnapshot
- func UpdatedAtIn(vs ...time.Time) predicate.BalanceSnapshot
- func UpdatedAtLT(v time.Time) predicate.BalanceSnapshot
- func UpdatedAtLTE(v time.Time) predicate.BalanceSnapshot
- func UpdatedAtNEQ(v time.Time) predicate.BalanceSnapshot
- func UpdatedAtNotIn(vs ...time.Time) predicate.BalanceSnapshot
- func ValidColumn(column string) bool
- type OrderOption
- func ByAt(opts ...sql.OrderTermOption) OrderOption
- func ByBalance(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByOverage(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the balancesnapshot type in the database. Label = "balance_snapshot" // 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" // 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" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldGrantBalances holds the string denoting the grant_balances field in the database. FieldGrantBalances = "grant_balances" // FieldBalance holds the string denoting the balance field in the database. FieldBalance = "balance" // FieldOverage holds the string denoting the overage field in the database. FieldOverage = "overage" // FieldAt holds the string denoting the at field in the database. FieldAt = "at" // Table holds the table name of the balancesnapshot in the database. Table = "balance_snapshots" )
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 )
var Columns = []string{ FieldID, FieldNamespace, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldOwnerID, FieldGrantBalances, FieldBalance, FieldOverage, FieldAt, }
Columns holds all SQL columns for balancesnapshot fields.
Functions ¶
func And ¶
func And(predicates ...predicate.BalanceSnapshot) predicate.BalanceSnapshot
And groups predicates with the AND operator between them.
func At ¶
func At(v time.Time) predicate.BalanceSnapshot
At applies equality check predicate on the "at" field. It's identical to AtEQ.
func AtEQ ¶
func AtEQ(v time.Time) predicate.BalanceSnapshot
AtEQ applies the EQ predicate on the "at" field.
func AtGT ¶
func AtGT(v time.Time) predicate.BalanceSnapshot
AtGT applies the GT predicate on the "at" field.
func AtGTE ¶
func AtGTE(v time.Time) predicate.BalanceSnapshot
AtGTE applies the GTE predicate on the "at" field.
func AtIn ¶
func AtIn(vs ...time.Time) predicate.BalanceSnapshot
AtIn applies the In predicate on the "at" field.
func AtLT ¶
func AtLT(v time.Time) predicate.BalanceSnapshot
AtLT applies the LT predicate on the "at" field.
func AtLTE ¶
func AtLTE(v time.Time) predicate.BalanceSnapshot
AtLTE applies the LTE predicate on the "at" field.
func AtNEQ ¶
func AtNEQ(v time.Time) predicate.BalanceSnapshot
AtNEQ applies the NEQ predicate on the "at" field.
func AtNotIn ¶
func AtNotIn(vs ...time.Time) predicate.BalanceSnapshot
AtNotIn applies the NotIn predicate on the "at" field.
func Balance ¶
func Balance(v float64) predicate.BalanceSnapshot
Balance applies equality check predicate on the "balance" field. It's identical to BalanceEQ.
func BalanceEQ ¶
func BalanceEQ(v float64) predicate.BalanceSnapshot
BalanceEQ applies the EQ predicate on the "balance" field.
func BalanceGT ¶
func BalanceGT(v float64) predicate.BalanceSnapshot
BalanceGT applies the GT predicate on the "balance" field.
func BalanceGTE ¶
func BalanceGTE(v float64) predicate.BalanceSnapshot
BalanceGTE applies the GTE predicate on the "balance" field.
func BalanceIn ¶
func BalanceIn(vs ...float64) predicate.BalanceSnapshot
BalanceIn applies the In predicate on the "balance" field.
func BalanceLT ¶
func BalanceLT(v float64) predicate.BalanceSnapshot
BalanceLT applies the LT predicate on the "balance" field.
func BalanceLTE ¶
func BalanceLTE(v float64) predicate.BalanceSnapshot
BalanceLTE applies the LTE predicate on the "balance" field.
func BalanceNEQ ¶
func BalanceNEQ(v float64) predicate.BalanceSnapshot
BalanceNEQ applies the NEQ predicate on the "balance" field.
func BalanceNotIn ¶
func BalanceNotIn(vs ...float64) predicate.BalanceSnapshot
BalanceNotIn applies the NotIn predicate on the "balance" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.BalanceSnapshot
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.BalanceSnapshot
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.BalanceSnapshot
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.BalanceSnapshot
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.BalanceSnapshot
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.BalanceSnapshot
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.BalanceSnapshot
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.BalanceSnapshot
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.BalanceSnapshot
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.BalanceSnapshot
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.BalanceSnapshot
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.BalanceSnapshot
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.BalanceSnapshot
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.BalanceSnapshot
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.BalanceSnapshot
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.BalanceSnapshot
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.BalanceSnapshot
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.BalanceSnapshot
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.BalanceSnapshot
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.BalanceSnapshot
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func IDEQ ¶
func IDEQ(id int) predicate.BalanceSnapshot
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.BalanceSnapshot
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.BalanceSnapshot
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.BalanceSnapshot
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.BalanceSnapshot
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.BalanceSnapshot
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.BalanceSnapshot
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.BalanceSnapshot
IDNotIn applies the NotIn predicate on the ID field.
func Namespace ¶
func Namespace(v string) predicate.BalanceSnapshot
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.BalanceSnapshot
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.BalanceSnapshot
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.BalanceSnapshot
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.BalanceSnapshot
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.BalanceSnapshot
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.BalanceSnapshot
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.BalanceSnapshot
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.BalanceSnapshot
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.BalanceSnapshot
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.BalanceSnapshot
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.BalanceSnapshot
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.BalanceSnapshot
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.BalanceSnapshot
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.BalanceSnapshot) predicate.BalanceSnapshot
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.BalanceSnapshot) predicate.BalanceSnapshot
Or groups predicates with the OR operator between them.
func Overage ¶
func Overage(v float64) predicate.BalanceSnapshot
Overage applies equality check predicate on the "overage" field. It's identical to OverageEQ.
func OverageEQ ¶
func OverageEQ(v float64) predicate.BalanceSnapshot
OverageEQ applies the EQ predicate on the "overage" field.
func OverageGT ¶
func OverageGT(v float64) predicate.BalanceSnapshot
OverageGT applies the GT predicate on the "overage" field.
func OverageGTE ¶
func OverageGTE(v float64) predicate.BalanceSnapshot
OverageGTE applies the GTE predicate on the "overage" field.
func OverageIn ¶
func OverageIn(vs ...float64) predicate.BalanceSnapshot
OverageIn applies the In predicate on the "overage" field.
func OverageLT ¶
func OverageLT(v float64) predicate.BalanceSnapshot
OverageLT applies the LT predicate on the "overage" field.
func OverageLTE ¶
func OverageLTE(v float64) predicate.BalanceSnapshot
OverageLTE applies the LTE predicate on the "overage" field.
func OverageNEQ ¶
func OverageNEQ(v float64) predicate.BalanceSnapshot
OverageNEQ applies the NEQ predicate on the "overage" field.
func OverageNotIn ¶
func OverageNotIn(vs ...float64) predicate.BalanceSnapshot
OverageNotIn applies the NotIn predicate on the "overage" field.
func OwnerID ¶
func OwnerID(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...credit.GrantOwner) predicate.BalanceSnapshot
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.BalanceSnapshot
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.BalanceSnapshot
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.BalanceSnapshot
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.BalanceSnapshot
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.BalanceSnapshot
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.BalanceSnapshot
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.BalanceSnapshot
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.BalanceSnapshot
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.BalanceSnapshot
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 BalanceSnapshot queries.
func ByAt ¶
func ByAt(opts ...sql.OrderTermOption) OrderOption
ByAt orders the results by the at field.
func ByBalance ¶
func ByBalance(opts ...sql.OrderTermOption) OrderOption
ByBalance orders the results by the balance field.
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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func ByOverage ¶
func ByOverage(opts ...sql.OrderTermOption) OrderOption
ByOverage orders the results by the overage field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.