# 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
# 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 the Client stored in a context, or nil if there isn't one.
IsConstraintFailure returns a boolean indicating whether the error is a constraint failure.
IsNotFound returns a boolean indicating whether the error is a not found error.
IsNotSingular returns a boolean indicating whether the error is a not singular error.
Log sets the logging function for debug mode.
MaskNotFound masks nor 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.
NewModuleClient returns a client for the Module from the given config.
NewModuleVersionClient returns a client for the ModuleVersion from the given config.
Open opens a connection to the database specified by the driver name and a driver-specific data source name, and returns a new client attached to it.
Sum applies the "sum" aggregation function on the given field of each group.
# Structs
Aggregate applies an aggregation step on the group-by traversal/selector.
Client is the client that holds all ent builders.
ErrConstraintFailed returns when trying to create/update one or more entities and one or more of their constraints failed.
ErrNotFound returns when trying to fetch a specific entity and it was not found in the database.
ErrNotSingular returns when trying to fetch a singular entity and more then one was found in the database.
Module is the model entity for the Module schema.
ModuleClient is a client for the Module schema.
ModuleCreate is the builder for creating a Module entity.
ModuleDelete is the builder for deleting a Module entity.
ModuleDeleteOne is the builder for deleting a single Module entity.
ModuleGroupBy is the builder for group-by Module entities.
ModuleQuery is the builder for querying Module entities.
ModuleSelect is the builder for select fields of Module entities.
ModuleUpdate is the builder for updating Module entities.
ModuleUpdateOne is the builder for updating a single Module entity.
ModuleVersion is the model entity for the ModuleVersion schema.
ModuleVersionClient is a client for the ModuleVersion schema.
ModuleVersionCreate is the builder for creating a ModuleVersion entity.
ModuleVersionDelete is the builder for deleting a ModuleVersion entity.
ModuleVersionDeleteOne is the builder for deleting a single ModuleVersion entity.
ModuleVersionGroupBy is the builder for group-by ModuleVersion entities.
ModuleVersionQuery is the builder for querying ModuleVersion entities.
ModuleVersionSelect is the builder for select fields of ModuleVersion entities.
ModuleVersionUpdate is the builder for updating ModuleVersion entities.
ModuleVersionUpdateOne is the builder for updating a single ModuleVersion entity.
Tx is a transactional client that is created by calling Client.Tx().
# Type aliases
Modules is a parsable slice of Module.
ModuleVersions is a parsable slice of ModuleVersion.
Option function to configure the client.
Order applies an ordering on either graph traversal or sql selector.