package
3.36.0+incompatible
Repository: https://github.com/ritsec/ops-bot-iii.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
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.
NewBirthdayClient returns a client for the Birthday from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewShitpostClient returns a client for the Shitpost from the given config.
NewSigninClient returns a client for the Signin 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.
NewVoteClient returns a client for the Vote from the given config.
NewVoteResultClient returns a client for the VoteResult 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

# Structs

Birthday is the model entity for the Birthday schema.
BirthdayClient is a client for the Birthday schema.
BirthdayCreate is the builder for creating a Birthday entity.
BirthdayCreateBulk is the builder for creating many Birthday entities in bulk.
BirthdayDelete is the builder for deleting a Birthday entity.
BirthdayDeleteOne is the builder for deleting a single Birthday entity.
BirthdayEdges holds the relations/edges for other nodes in the graph.
BirthdayGroupBy is the group-by builder for Birthday entities.
BirthdayMutation represents an operation that mutates the Birthday nodes in the graph.
BirthdayQuery is the builder for querying Birthday entities.
BirthdaySelect is the builder for selecting fields of Birthday entities.
BirthdayUpdate is the builder for updating Birthday entities.
BirthdayUpdateOne is the builder for updating a single Birthday entity.
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.
Shitpost is the model entity for the Shitpost schema.
ShitpostClient is a client for the Shitpost schema.
ShitpostCreate is the builder for creating a Shitpost entity.
ShitpostCreateBulk is the builder for creating many Shitpost entities in bulk.
ShitpostDelete is the builder for deleting a Shitpost entity.
ShitpostDeleteOne is the builder for deleting a single Shitpost entity.
ShitpostEdges holds the relations/edges for other nodes in the graph.
ShitpostGroupBy is the group-by builder for Shitpost entities.
ShitpostMutation represents an operation that mutates the Shitpost nodes in the graph.
ShitpostQuery is the builder for querying Shitpost entities.
ShitpostSelect is the builder for selecting fields of Shitpost entities.
ShitpostUpdate is the builder for updating Shitpost entities.
ShitpostUpdateOne is the builder for updating a single Shitpost entity.
Signin is the model entity for the Signin schema.
SigninClient is a client for the Signin schema.
SigninCreate is the builder for creating a Signin entity.
SigninCreateBulk is the builder for creating many Signin entities in bulk.
SigninDelete is the builder for deleting a Signin entity.
SigninDeleteOne is the builder for deleting a single Signin entity.
SigninEdges holds the relations/edges for other nodes in the graph.
SigninGroupBy is the group-by builder for Signin entities.
SigninMutation represents an operation that mutates the Signin nodes in the graph.
SigninQuery is the builder for querying Signin entities.
SigninSelect is the builder for selecting fields of Signin entities.
SigninUpdate is the builder for updating Signin entities.
SigninUpdateOne is the builder for updating a single Signin entity.
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.
UserEdges holds the relations/edges for other nodes in the graph.
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.
ValidationError returns when validating a field or edge fails.
Vote is the model entity for the Vote schema.
VoteClient is a client for the Vote schema.
VoteCreate is the builder for creating a Vote entity.
VoteCreateBulk is the builder for creating many Vote entities in bulk.
VoteDelete is the builder for deleting a Vote entity.
VoteDeleteOne is the builder for deleting a single Vote entity.
VoteEdges holds the relations/edges for other nodes in the graph.
VoteGroupBy is the group-by builder for Vote entities.
VoteMutation represents an operation that mutates the Vote nodes in the graph.
VoteQuery is the builder for querying Vote entities.
VoteResult is the model entity for the VoteResult schema.
VoteResultClient is a client for the VoteResult schema.
VoteResultCreate is the builder for creating a VoteResult entity.
VoteResultCreateBulk is the builder for creating many VoteResult entities in bulk.
VoteResultDelete is the builder for deleting a VoteResult entity.
VoteResultDeleteOne is the builder for deleting a single VoteResult entity.
VoteResultGroupBy is the group-by builder for VoteResult entities.
VoteResultMutation represents an operation that mutates the VoteResult nodes in the graph.
VoteResultQuery is the builder for querying VoteResult entities.
VoteResultSelect is the builder for selecting fields of VoteResult entities.
VoteResultUpdate is the builder for updating VoteResult entities.
VoteResultUpdateOne is the builder for updating a single VoteResult entity.
VoteSelect is the builder for selecting fields of Vote entities.
VoteUpdate is the builder for updating Vote entities.
VoteUpdateOne is the builder for updating a single Vote entity.

# 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.
Birthdays is a parsable slice of Birthday.
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.
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
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.
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
No description provided by the author
Shitposts is a parsable slice of Shitpost.
Signins is a parsable slice of Signin.
ent aliases to avoid import conflicts in user's code.
ent aliases to avoid import conflicts in user's code.
Users is a parsable slice of User.
ent aliases to avoid import conflicts in user's code.
VoteResults is a parsable slice of VoteResult.
Votes is a parsable slice of Vote.