# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
As is a pseudo aggregation function for renaming another other functions with custom names.
Asc applies the given fields in ASC order.
Count applies the "count" aggregation function on each group.
Debug enables debug logging on the ent.Driver.
Desc applies the given fields in DESC order.
Driver configures the client driver.
FromContext returns a Client stored inside a context, or nil if there isn't one.
IsConstraintError returns a boolean indicating whether the error is a constraint failure.
IsNotFound returns a boolean indicating whether the error is a not found error.
IsNotLoaded returns a boolean indicating whether the error is a not loaded error.
IsNotSingular returns a boolean indicating whether the error is a not singular error.
IsValidationError returns a boolean indicating whether the error is a validation error.
Log sets the logging function for debug mode.
MaskNotFound masks not found error.
Max applies the "max" aggregation function on the given field of each group.
Mean applies the "mean" aggregation function on the given field of each group.
Min applies the "min" aggregation function on the given field of each group.
NewAccountClient returns a client for the Account from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewDepositClient returns a client for the Deposit from the given config.
NewGoodBenefitClient returns a client for the GoodBenefit from the given config.
NewPaymentClient returns a client for the Payment from the given config.
NewPlatformClient returns a client for the Platform from the given config.
NewTransferClient returns a client for the Transfer from the given config.
NewTxContext returns a new context with the given Tx attached.
NewUserClient returns a client for the User from the given config.
Open opens a database/sql.DB specified by the driver name and the data source name, and returns a new client attached to it.
Sum applies the "sum" aggregation function on the given field of each group.
TxFromContext returns a Tx stored inside a context, or nil if there isn't one.
# Constants
Operation types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Node types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Account is the model entity for the Account schema.
AccountClient is a client for the Account schema.
AccountCreate is the builder for creating a Account entity.
AccountCreateBulk is the builder for creating many Account entities in bulk.
AccountDelete is the builder for deleting a Account entity.
AccountDeleteOne is the builder for deleting a single Account entity.
AccountFilter provides a generic filtering capability at runtime for AccountQuery.
AccountGroupBy is the group-by builder for Account entities.
AccountMutation represents an operation that mutates the Account nodes in the graph.
AccountQuery is the builder for querying Account entities.
AccountSelect is the builder for selecting fields of Account entities.
AccountUpdate is the builder for updating Account entities.
AccountUpdateOne is the builder for updating a single Account entity.
No description provided by the author
AccountUpsertBulk is the builder for "upsert"-ing a bulk of Account nodes.
No description provided by the author
Client is the client that holds all ent builders.
ConstraintError returns when trying to create/update one or more entities and one or more of their constraints failed.
Deposit is the model entity for the Deposit schema.
DepositClient is a client for the Deposit schema.
DepositCreate is the builder for creating a Deposit entity.
DepositCreateBulk is the builder for creating many Deposit entities in bulk.
DepositDelete is the builder for deleting a Deposit entity.
DepositDeleteOne is the builder for deleting a single Deposit entity.
DepositFilter provides a generic filtering capability at runtime for DepositQuery.
DepositGroupBy is the group-by builder for Deposit entities.
DepositMutation represents an operation that mutates the Deposit nodes in the graph.
DepositQuery is the builder for querying Deposit entities.
DepositSelect is the builder for selecting fields of Deposit entities.
DepositUpdate is the builder for updating Deposit entities.
DepositUpdateOne is the builder for updating a single Deposit entity.
No description provided by the author
DepositUpsertBulk is the builder for "upsert"-ing a bulk of Deposit nodes.
No description provided by the author
GoodBenefit is the model entity for the GoodBenefit schema.
GoodBenefitClient is a client for the GoodBenefit schema.
GoodBenefitCreate is the builder for creating a GoodBenefit entity.
GoodBenefitCreateBulk is the builder for creating many GoodBenefit entities in bulk.
GoodBenefitDelete is the builder for deleting a GoodBenefit entity.
GoodBenefitDeleteOne is the builder for deleting a single GoodBenefit entity.
GoodBenefitFilter provides a generic filtering capability at runtime for GoodBenefitQuery.
GoodBenefitGroupBy is the group-by builder for GoodBenefit entities.
GoodBenefitMutation represents an operation that mutates the GoodBenefit nodes in the graph.
GoodBenefitQuery is the builder for querying GoodBenefit entities.
GoodBenefitSelect is the builder for selecting fields of GoodBenefit entities.
GoodBenefitUpdate is the builder for updating GoodBenefit entities.
GoodBenefitUpdateOne is the builder for updating a single GoodBenefit entity.
No description provided by the author
GoodBenefitUpsertBulk is the builder for "upsert"-ing a bulk of GoodBenefit nodes.
No description provided by the author
NotFoundError returns when trying to fetch a specific entity and it was not found in the database.
NotLoadedError returns when trying to get a node that was not loaded by the query.
NotSingularError returns when trying to fetch a singular entity and more then one was found in the database.
Payment is the model entity for the Payment schema.
PaymentClient is a client for the Payment schema.
PaymentCreate is the builder for creating a Payment entity.
PaymentCreateBulk is the builder for creating many Payment entities in bulk.
PaymentDelete is the builder for deleting a Payment entity.
PaymentDeleteOne is the builder for deleting a single Payment entity.
PaymentFilter provides a generic filtering capability at runtime for PaymentQuery.
PaymentGroupBy is the group-by builder for Payment entities.
PaymentMutation represents an operation that mutates the Payment nodes in the graph.
PaymentQuery is the builder for querying Payment entities.
PaymentSelect is the builder for selecting fields of Payment entities.
PaymentUpdate is the builder for updating Payment entities.
PaymentUpdateOne is the builder for updating a single Payment entity.
No description provided by the author
PaymentUpsertBulk is the builder for "upsert"-ing a bulk of Payment nodes.
No description provided by the author
Platform is the model entity for the Platform schema.
PlatformClient is a client for the Platform schema.
PlatformCreate is the builder for creating a Platform entity.
PlatformCreateBulk is the builder for creating many Platform entities in bulk.
PlatformDelete is the builder for deleting a Platform entity.
PlatformDeleteOne is the builder for deleting a single Platform entity.
PlatformFilter provides a generic filtering capability at runtime for PlatformQuery.
PlatformGroupBy is the group-by builder for Platform entities.
PlatformMutation represents an operation that mutates the Platform nodes in the graph.
PlatformQuery is the builder for querying Platform entities.
PlatformSelect is the builder for selecting fields of Platform entities.
PlatformUpdate is the builder for updating Platform entities.
PlatformUpdateOne is the builder for updating a single Platform entity.
No description provided by the author
PlatformUpsertBulk is the builder for "upsert"-ing a bulk of Platform nodes.
No description provided by the author
Transfer is the model entity for the Transfer schema.
TransferClient is a client for the Transfer schema.
TransferCreate is the builder for creating a Transfer entity.
TransferCreateBulk is the builder for creating many Transfer entities in bulk.
TransferDelete is the builder for deleting a Transfer entity.
TransferDeleteOne is the builder for deleting a single Transfer entity.
TransferFilter provides a generic filtering capability at runtime for TransferQuery.
TransferGroupBy is the group-by builder for Transfer entities.
TransferMutation represents an operation that mutates the Transfer nodes in the graph.
TransferQuery is the builder for querying Transfer entities.
TransferSelect is the builder for selecting fields of Transfer entities.
TransferUpdate is the builder for updating Transfer entities.
TransferUpdateOne is the builder for updating a single Transfer entity.
No description provided by the author
TransferUpsertBulk is the builder for "upsert"-ing a bulk of Transfer nodes.
No description provided by the author
Tx is a transactional client that is created by calling Client.Tx().
User is the model entity for the User schema.
UserClient is a client for the User schema.
UserCreate is the builder for creating a User entity.
UserCreateBulk is the builder for creating many User entities in bulk.
UserDelete is the builder for deleting a User entity.
UserDeleteOne is the builder for deleting a single User entity.
UserFilter provides a generic filtering capability at runtime for UserQuery.
UserGroupBy is the group-by builder for User entities.
UserMutation represents an operation that mutates the User nodes in the graph.
UserQuery is the builder for querying User entities.
UserSelect is the builder for selecting fields of User entities.
UserUpdate is the builder for updating User entities.
UserUpdateOne is the builder for updating a single User entity.
No description provided by the author
UserUpsertBulk is the builder for "upsert"-ing a bulk of User nodes.
No description provided by the author
ValidationError returns when validating a field or edge fails.
# Type aliases
Accounts is a parsable slice of Account.
AggregateFunc applies an aggregation step on the group-by traversal/selector.
No description provided by the author
No description provided by the author
Deposits is a parsable slice of Deposit.
GoodBenefits is a parsable slice of GoodBenefit.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
Option function to configure the client.
OrderFunc applies an ordering on the sql selector.
Payments is a parsable slice of Payment.
Platforms is a parsable slice of Platform.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
No description provided by the author
No description provided by the author
Transfers is a parsable slice of Transfer.
Users is a parsable slice of User.
ent aliases to avoid import conflicts in user's code.