# 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

# 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.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewDemoOrderClient returns a client for the DemoOrder from the given config.
NewOrderClient returns a client for the Order from the given config.
NewOrderExtensionClient returns a client for the OrderExtension from the given config.
NewRefundClient returns a client for the Refund from the given config.
NewTxContext returns a new context with the given Tx attached.
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
OrderDirectionAsc specifies an ascending order.
OrderDirectionDesc specifies a descending order.
Node types.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultDemoOrderOrder is the default ordering of DemoOrder.
DefaultOrderExtensionOrder is the default ordering of OrderExtension.
DefaultOrderOrder is the default ordering of Order.
DefaultRefundOrder is the default ordering of Refund.
ErrTxStarted is returned when trying to start a new transaction from a transactional client.

# Structs

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.
DemoOrder is the model entity for the DemoOrder schema.
DemoOrderClient is a client for the DemoOrder schema.
DemoOrderCreate is the builder for creating a DemoOrder entity.
DemoOrderCreateBulk is the builder for creating many DemoOrder entities in bulk.
DemoOrderDelete is the builder for deleting a DemoOrder entity.
DemoOrderDeleteOne is the builder for deleting a single DemoOrder entity.
DemoOrderGroupBy is the group-by builder for DemoOrder entities.
DemoOrderMutation represents an operation that mutates the DemoOrder nodes in the graph.
DemoOrderPageList is DemoOrder PageList result.
No description provided by the author
DemoOrderQuery is the builder for querying DemoOrder entities.
DemoOrderSelect is the builder for selecting fields of DemoOrder entities.
DemoOrderUpdate is the builder for updating DemoOrder entities.
DemoOrderUpdateOne is the builder for updating a single DemoOrder entity.
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.
Order is the model entity for the Order schema.
OrderClient is a client for the Order schema.
OrderCreate is the builder for creating a Order entity.
OrderCreateBulk is the builder for creating many Order entities in bulk.
OrderDelete is the builder for deleting a Order entity.
OrderDeleteOne is the builder for deleting a single Order entity.
OrderExtension is the model entity for the OrderExtension schema.
OrderExtensionClient is a client for the OrderExtension schema.
OrderExtensionCreate is the builder for creating a OrderExtension entity.
OrderExtensionCreateBulk is the builder for creating many OrderExtension entities in bulk.
OrderExtensionDelete is the builder for deleting a OrderExtension entity.
OrderExtensionDeleteOne is the builder for deleting a single OrderExtension entity.
OrderExtensionGroupBy is the group-by builder for OrderExtension entities.
OrderExtensionMutation represents an operation that mutates the OrderExtension nodes in the graph.
OrderExtensionPageList is OrderExtension PageList result.
No description provided by the author
OrderExtensionQuery is the builder for querying OrderExtension entities.
OrderExtensionSelect is the builder for selecting fields of OrderExtension entities.
OrderExtensionUpdate is the builder for updating OrderExtension entities.
OrderExtensionUpdateOne is the builder for updating a single OrderExtension entity.
OrderGroupBy is the group-by builder for Order entities.
OrderMutation represents an operation that mutates the Order nodes in the graph.
OrderPageList is Order PageList result.
No description provided by the author
OrderQuery is the builder for querying Order entities.
OrderSelect is the builder for selecting fields of Order entities.
OrderUpdate is the builder for updating Order entities.
OrderUpdateOne is the builder for updating a single Order entity.
No description provided by the author
Refund is the model entity for the Refund schema.
RefundClient is a client for the Refund schema.
RefundCreate is the builder for creating a Refund entity.
RefundCreateBulk is the builder for creating many Refund entities in bulk.
RefundDelete is the builder for deleting a Refund entity.
RefundDeleteOne is the builder for deleting a single Refund entity.
RefundGroupBy is the group-by builder for Refund entities.
RefundMutation represents an operation that mutates the Refund nodes in the graph.
RefundPageList is Refund PageList result.
No description provided by the author
RefundQuery is the builder for querying Refund entities.
RefundSelect is the builder for selecting fields of Refund entities.
RefundUpdate is the builder for updating Refund entities.
RefundUpdateOne is the builder for updating a single Refund entity.
Tx is a transactional client that is created by calling Client.Tx().
ValidationError returns when validating a field or edge fails.

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

AggregateFunc applies an aggregation step on the group-by traversal/selector.
No description provided by the author
No description provided by the author
DemoOrderPaginateOption enables pagination customization.
DemoOrders is a parsable slice of DemoOrder.
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.
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
OrderDirection defines the directions in which to order a list of items.
OrderExtensionPaginateOption enables pagination customization.
OrderExtensions is a parsable slice of OrderExtension.
OrderFunc applies an ordering on the sql selector.
OrderPaginateOption enables pagination customization.
Orders is a parsable slice of Order.
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.
RefundPaginateOption enables pagination customization.
Refunds is a parsable slice of Refund.
No description provided by the author
No description provided by the author
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.