# 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
# 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.
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.
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.
NewRobotstxtClient returns a client for the Robotstxt 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.
# 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.
# 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.
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.
Robotstxt is the model entity for the Robotstxt schema.
RobotstxtClient is a client for the Robotstxt schema.
RobotstxtCreate is the builder for creating a Robotstxt entity.
RobotstxtDelete is the builder for deleting a Robotstxt entity.
RobotstxtDeleteOne is the builder for deleting a single Robotstxt entity.
RobotstxtGroupBy is the builder for group-by Robotstxt entities.
RobotstxtMutation represents an operation that mutate the Robotstxts nodes in the graph.
RobotstxtQuery is the builder for querying Robotstxt entities.
RobotstxtSelect is the builder for select fields of Robotstxt entities.
RobotstxtUpdate is the builder for updating Robotstxt entities.
RobotstxtUpdateOne is the builder for updating a single Robotstxt entity.
Tx is a transactional client that is created by calling Client.Tx().
# Type aliases
Aggregate applies an aggregation step on the group-by traversal/selector.
ent aliases to avoid import conflict in user's code.
ent aliases to avoid import conflict in user's code.
ent aliases to avoid import conflict in user's code.
ent aliases to avoid import conflict in user's code.
ent aliases to avoid import conflict in user's code.
Option function to configure the client.
Order applies an ordering on either graph traversal or sql selector.
ent aliases to avoid import conflict in user's code.
Robotstxts is a parsable slice of Robotstxt.
ent aliases to avoid import conflict in user's code.