package
0.0.0-20200527211917-13a65c9069a6
Repository: https://github.com/errorboi/feedparserbot.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 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.
NewGlobalsettingsClient returns a client for the Globalsettings from the given config.
NewPostClient returns a client for the Post from the given config.
NewSourceClient returns a client for the Source from the given config.
NewTxContext returns a new context with the given Client attached.
NewUserClient returns a client for the User from the given config.
NewUserSettingsClient returns a client for the UserSettings 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.
TxFromContext returns the Tx stored in 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.
Globalsettings is the model entity for the Globalsettings schema.
GlobalsettingsClient is a client for the Globalsettings schema.
GlobalsettingsCreate is the builder for creating a Globalsettings entity.
GlobalsettingsDelete is the builder for deleting a Globalsettings entity.
GlobalsettingsDeleteOne is the builder for deleting a single Globalsettings entity.
GlobalsettingsGroupBy is the builder for group-by Globalsettings entities.
GlobalsettingsMutation represents an operation that mutate the GlobalsettingsSlice nodes in the graph.
GlobalsettingsQuery is the builder for querying Globalsettings entities.
GlobalsettingsSelect is the builder for select fields of Globalsettings entities.
GlobalsettingsUpdate is the builder for updating Globalsettings entities.
GlobalsettingsUpdateOne is the builder for updating a single Globalsettings 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.
Post is the model entity for the Post schema.
PostClient is a client for the Post schema.
PostCreate is the builder for creating a Post entity.
PostDelete is the builder for deleting a Post entity.
PostDeleteOne is the builder for deleting a single Post entity.
PostEdges holds the relations/edges for other nodes in the graph.
PostGroupBy is the builder for group-by Post entities.
PostMutation represents an operation that mutate the Posts nodes in the graph.
PostQuery is the builder for querying Post entities.
PostSelect is the builder for select fields of Post entities.
PostUpdate is the builder for updating Post entities.
PostUpdateOne is the builder for updating a single Post entity.
Source is the model entity for the Source schema.
SourceClient is a client for the Source schema.
SourceCreate is the builder for creating a Source entity.
SourceDelete is the builder for deleting a Source entity.
SourceDeleteOne is the builder for deleting a single Source entity.
SourceEdges holds the relations/edges for other nodes in the graph.
SourceGroupBy is the builder for group-by Source entities.
SourceMutation represents an operation that mutate the Sources nodes in the graph.
SourceQuery is the builder for querying Source entities.
SourceSelect is the builder for select fields of Source entities.
SourceUpdate is the builder for updating Source entities.
SourceUpdateOne is the builder for updating a single Source 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.
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 builder for group-by User entities.
UserMutation represents an operation that mutate the Users nodes in the graph.
UserQuery is the builder for querying User entities.
UserSelect is the builder for select fields of User entities.
UserSettings is the model entity for the UserSettings schema.
UserSettingsClient is a client for the UserSettings schema.
UserSettingsCreate is the builder for creating a UserSettings entity.
UserSettingsDelete is the builder for deleting a UserSettings entity.
UserSettingsDeleteOne is the builder for deleting a single UserSettings entity.
UserSettingsEdges holds the relations/edges for other nodes in the graph.
UserSettingsGroupBy is the builder for group-by UserSettings entities.
UserSettingsMutation represents an operation that mutate the UserSettingsSlice nodes in the graph.
UserSettingsQuery is the builder for querying UserSettings entities.
UserSettingsSelect is the builder for select fields of UserSettings entities.
UserSettingsUpdate is the builder for updating UserSettings entities.
UserSettingsUpdateOne is the builder for updating a single UserSettings entity.
UserUpdate is the builder for updating User entities.
UserUpdateOne is the builder for updating a single User entity.
# Type aliases
Aggregate applies an aggregation step on the group-by traversal/selector.
GlobalsettingsSlice is a parsable slice of Globalsettings.
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.
Posts is a parsable slice of Post.
ent aliases to avoid import conflict in user's code.
Sources is a parsable slice of Source.
Users is a parsable slice of User.
UserSettingsSlice is a parsable slice of UserSettings.
ent aliases to avoid import conflict in user's code.