package
2.6.4+incompatible
Repository: https://github.com/orestonce/chessgame.git
Documentation: pkg.go.dev

# 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.
NewDChatClient returns a client for the DChat from the given config.
NewDChessdbCacheClient returns a client for the DChessdbCache from the given config.
NewDRoomClient returns a client for the DRoom from the given config.
NewDSessionClient returns a client for the DSession from the given config.
NewDUserClient returns a client for the DUser 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
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

# 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.
DChat is the model entity for the DChat schema.
DChatClient is a client for the DChat schema.
DChatCreate is the builder for creating a DChat entity.
DChatCreateBulk is the builder for creating many DChat entities in bulk.
DChatDelete is the builder for deleting a DChat entity.
DChatDeleteOne is the builder for deleting a single DChat entity.
DChatGroupBy is the group-by builder for DChat entities.
DChatMutation represents an operation that mutates the DChat nodes in the graph.
DChatQuery is the builder for querying DChat entities.
DChatSelect is the builder for selecting fields of DChat entities.
DChatUpdate is the builder for updating DChat entities.
DChatUpdateOne is the builder for updating a single DChat entity.
DChessdbCache is the model entity for the DChessdbCache schema.
DChessdbCacheClient is a client for the DChessdbCache schema.
DChessdbCacheCreate is the builder for creating a DChessdbCache entity.
DChessdbCacheCreateBulk is the builder for creating many DChessdbCache entities in bulk.
DChessdbCacheDelete is the builder for deleting a DChessdbCache entity.
DChessdbCacheDeleteOne is the builder for deleting a single DChessdbCache entity.
DChessdbCacheGroupBy is the group-by builder for DChessdbCache entities.
DChessdbCacheMutation represents an operation that mutates the DChessdbCache nodes in the graph.
DChessdbCacheQuery is the builder for querying DChessdbCache entities.
DChessdbCacheSelect is the builder for selecting fields of DChessdbCache entities.
DChessdbCacheUpdate is the builder for updating DChessdbCache entities.
DChessdbCacheUpdateOne is the builder for updating a single DChessdbCache entity.
DRoom is the model entity for the DRoom schema.
DRoomClient is a client for the DRoom schema.
DRoomCreate is the builder for creating a DRoom entity.
DRoomCreateBulk is the builder for creating many DRoom entities in bulk.
DRoomDelete is the builder for deleting a DRoom entity.
DRoomDeleteOne is the builder for deleting a single DRoom entity.
DRoomGroupBy is the group-by builder for DRoom entities.
DRoomMutation represents an operation that mutates the DRoom nodes in the graph.
DRoomQuery is the builder for querying DRoom entities.
DRoomSelect is the builder for selecting fields of DRoom entities.
DRoomUpdate is the builder for updating DRoom entities.
DRoomUpdateOne is the builder for updating a single DRoom entity.
DSession is the model entity for the DSession schema.
DSessionClient is a client for the DSession schema.
DSessionCreate is the builder for creating a DSession entity.
DSessionCreateBulk is the builder for creating many DSession entities in bulk.
DSessionDelete is the builder for deleting a DSession entity.
DSessionDeleteOne is the builder for deleting a single DSession entity.
DSessionGroupBy is the group-by builder for DSession entities.
DSessionMutation represents an operation that mutates the DSession nodes in the graph.
DSessionQuery is the builder for querying DSession entities.
DSessionSelect is the builder for selecting fields of DSession entities.
DSessionUpdate is the builder for updating DSession entities.
DSessionUpdateOne is the builder for updating a single DSession entity.
DUser is the model entity for the DUser schema.
DUserClient is a client for the DUser schema.
DUserCreate is the builder for creating a DUser entity.
DUserCreateBulk is the builder for creating many DUser entities in bulk.
DUserDelete is the builder for deleting a DUser entity.
DUserDeleteOne is the builder for deleting a single DUser entity.
DUserGroupBy is the group-by builder for DUser entities.
DUserMutation represents an operation that mutates the DUser nodes in the graph.
DUserQuery is the builder for querying DUser entities.
DUserSelect is the builder for selecting fields of DUser entities.
DUserUpdate is the builder for updating DUser entities.
DUserUpdateOne is the builder for updating a single DUser 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.
Tx is a transactional client that is created by calling Client.Tx().
ValidationError returns when validating a field 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
DChats is a parsable slice of DChat.
DChessdbCaches is a parsable slice of DChessdbCache.
DRooms is a parsable slice of DRoom.
DSessions is a parsable slice of DSession.
DUsers is a parsable slice of DUser.
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.
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
ent aliases to avoid import conflicts in user's code.