package
0.0.0-20230319041709-56b00f861fef
Repository: https://github.com/nibbleshift/gorb.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
# 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.
NewBenchClient returns a client for the Bench from the given config.
NewBenchResultClient returns a client for the BenchResult from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
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.
OpenTxFromContext open transactions from client stored in context.
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.
WithBenchFilter configures pagination filter.
WithBenchOrder configures pagination ordering.
WithBenchResultFilter configures pagination filter.
WithBenchResultOrder configures pagination ordering.
WithFixedNodeType sets the Type of the node to a fixed value.
WithNodeType sets the node Type resolver function (i.e.
# 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
# Variables
DefaultBenchOrder is the default ordering of Bench.
DefaultBenchResultOrder is the default ordering of BenchResult.
ErrEmptyBenchResultWhereInput is returned in case the BenchResultWhereInput is empty.
ErrEmptyBenchWhereInput is returned in case the BenchWhereInput is empty.
# Structs
Bench is the model entity for the Bench schema.
BenchClient is a client for the Bench schema.
BenchConnection is the connection containing edges to Bench.
BenchCreate is the builder for creating a Bench entity.
BenchCreateBulk is the builder for creating many Bench entities in bulk.
BenchDelete is the builder for deleting a Bench entity.
BenchDeleteOne is the builder for deleting a single Bench entity.
BenchEdge is the edge representation of Bench.
BenchEdges holds the relations/edges for other nodes in the graph.
BenchGroupBy is the group-by builder for Bench entities.
BenchMutation represents an operation that mutates the Bench nodes in the graph.
BenchOrder defines the ordering of Bench.
BenchOrderField defines the ordering field of Bench.
BenchQuery is the builder for querying Bench entities.
BenchResult is the model entity for the BenchResult schema.
BenchResultClient is a client for the BenchResult schema.
BenchResultConnection is the connection containing edges to BenchResult.
BenchResultCreate is the builder for creating a BenchResult entity.
BenchResultCreateBulk is the builder for creating many BenchResult entities in bulk.
BenchResultDelete is the builder for deleting a BenchResult entity.
BenchResultDeleteOne is the builder for deleting a single BenchResult entity.
BenchResultEdge is the edge representation of BenchResult.
BenchResultGroupBy is the group-by builder for BenchResult entities.
BenchResultMutation represents an operation that mutates the BenchResult nodes in the graph.
BenchResultOrder defines the ordering of BenchResult.
BenchResultOrderField defines the ordering field of BenchResult.
BenchResultQuery is the builder for querying BenchResult entities.
BenchResultSelect is the builder for selecting fields of BenchResult entities.
BenchResultUpdate is the builder for updating BenchResult entities.
BenchResultUpdateOne is the builder for updating a single BenchResult entity.
BenchResultWhereInput represents a where input for filtering BenchResult queries.
BenchSelect is the builder for selecting fields of Bench entities.
BenchUpdate is the builder for updating Bench entities.
BenchUpdateOne is the builder for updating a single Bench entity.
BenchWhereInput represents a where input for filtering Bench queries.
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.
CreateBenchInput represents a mutation input for creating benches.
CreateBenchResultInput represents a mutation input for creating benchresults.
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 or edge fails.
# Interfaces
No description provided by the author
Noder wraps the basic Node method.
No description provided by the author
# Type aliases
AggregateFunc applies an aggregation step on the group-by traversal/selector.
Benches is a parsable slice of Bench.
BenchPaginateOption enables pagination customization.
BenchResultPaginateOption enables pagination customization.
BenchResults is a parsable slice of BenchResult.
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.
NodeOption allows configuring the Noder execution using functional options.
ent aliases to avoid import conflicts in user's code.
No description provided by the author
Common entgql types.
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
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.