package
1.5.8
Repository: https://github.com/bloock/bloock-managed-api.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

# 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.
NewCertificationClient returns a client for the Certification from the given config.
NewClient creates a new client configured with the given options.
NewContext returns a new context with the given Client attached.
NewLocalKeyClient returns a client for the LocalKey from the given config.
NewMessageClient returns a client for the Message from the given config.
NewProcessClient returns a client for the Process 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

# Variables

ErrTxStarted is returned when trying to start a new transaction from a transactional client.

# Structs

Certification is the model entity for the Certification schema.
CertificationClient is a client for the Certification schema.
CertificationCreate is the builder for creating a Certification entity.
CertificationCreateBulk is the builder for creating many Certification entities in bulk.
CertificationDelete is the builder for deleting a Certification entity.
CertificationDeleteOne is the builder for deleting a single Certification entity.
CertificationGroupBy is the group-by builder for Certification entities.
CertificationMutation represents an operation that mutates the Certification nodes in the graph.
CertificationQuery is the builder for querying Certification entities.
CertificationSelect is the builder for selecting fields of Certification entities.
CertificationUpdate is the builder for updating Certification entities.
CertificationUpdateOne is the builder for updating a single Certification 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.
LocalKey is the model entity for the LocalKey schema.
LocalKeyClient is a client for the LocalKey schema.
LocalKeyCreate is the builder for creating a LocalKey entity.
LocalKeyCreateBulk is the builder for creating many LocalKey entities in bulk.
LocalKeyDelete is the builder for deleting a LocalKey entity.
LocalKeyDeleteOne is the builder for deleting a single LocalKey entity.
LocalKeyGroupBy is the group-by builder for LocalKey entities.
LocalKeyMutation represents an operation that mutates the LocalKey nodes in the graph.
LocalKeyQuery is the builder for querying LocalKey entities.
LocalKeySelect is the builder for selecting fields of LocalKey entities.
LocalKeyUpdate is the builder for updating LocalKey entities.
LocalKeyUpdateOne is the builder for updating a single LocalKey entity.
Message is the model entity for the Message schema.
MessageClient is a client for the Message schema.
MessageCreate is the builder for creating a Message entity.
MessageCreateBulk is the builder for creating many Message entities in bulk.
MessageDelete is the builder for deleting a Message entity.
MessageDeleteOne is the builder for deleting a single Message entity.
MessageGroupBy is the group-by builder for Message entities.
MessageMutation represents an operation that mutates the Message nodes in the graph.
MessageQuery is the builder for querying Message entities.
MessageSelect is the builder for selecting fields of Message entities.
MessageUpdate is the builder for updating Message entities.
MessageUpdateOne is the builder for updating a single Message 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.
Process is the model entity for the Process schema.
ProcessClient is a client for the Process schema.
ProcessCreate is the builder for creating a Process entity.
ProcessCreateBulk is the builder for creating many Process entities in bulk.
ProcessDelete is the builder for deleting a Process entity.
ProcessDeleteOne is the builder for deleting a single Process entity.
ProcessGroupBy is the group-by builder for Process entities.
ProcessMutation represents an operation that mutates the Process nodes in the graph.
ProcessQuery is the builder for querying Process entities.
ProcessSelect is the builder for selecting fields of Process entities.
ProcessUpdate is the builder for updating Process entities.
ProcessUpdateOne is the builder for updating a single Process entity.
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
No description provided by the author

# Type aliases

AggregateFunc applies an aggregation step on the group-by traversal/selector.
Certifications is a parsable slice of Certification.
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.
LocalKeys is a parsable slice of LocalKey.
Messages is a parsable slice of Message.
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.
Processes is a parsable slice of Process.
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.