package
2.35.1+incompatible
Repository: https://github.com/keboola/keboola-as-code.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.
NewBranchClient returns a client for the Branch from the given config.
NewClient creates a new client configured with the given options.
NewConfigurationClient returns a client for the Configuration from the given config.
NewConfigurationRowClient returns a client for the ConfigurationRow from the given config.
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.
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

# Variables

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

# Structs

Branch is the model entity for the Branch schema.
BranchClient is a client for the Branch schema.
BranchCreate is the builder for creating a Branch entity.
BranchCreateBulk is the builder for creating many Branch entities in bulk.
BranchDelete is the builder for deleting a Branch entity.
BranchDeleteOne is the builder for deleting a single Branch entity.
BranchEdges holds the relations/edges for other nodes in the graph.
BranchGroupBy is the group-by builder for Branch entities.
BranchMutation represents an operation that mutates the Branch nodes in the graph.
BranchQuery is the builder for querying Branch entities.
BranchSelect is the builder for selecting fields of Branch entities.
BranchUpdate is the builder for updating Branch entities.
BranchUpdateOne is the builder for updating a single Branch entity.
Client is the client that holds all ent builders.
Configuration is the model entity for the Configuration schema.
ConfigurationClient is a client for the Configuration schema.
ConfigurationCreate is the builder for creating a Configuration entity.
ConfigurationCreateBulk is the builder for creating many Configuration entities in bulk.
ConfigurationDelete is the builder for deleting a Configuration entity.
ConfigurationDeleteOne is the builder for deleting a single Configuration entity.
ConfigurationEdges holds the relations/edges for other nodes in the graph.
ConfigurationGroupBy is the group-by builder for Configuration entities.
ConfigurationMutation represents an operation that mutates the Configuration nodes in the graph.
ConfigurationQuery is the builder for querying Configuration entities.
ConfigurationRow is the model entity for the ConfigurationRow schema.
ConfigurationRowClient is a client for the ConfigurationRow schema.
ConfigurationRowCreate is the builder for creating a ConfigurationRow entity.
ConfigurationRowCreateBulk is the builder for creating many ConfigurationRow entities in bulk.
ConfigurationRowDelete is the builder for deleting a ConfigurationRow entity.
ConfigurationRowDeleteOne is the builder for deleting a single ConfigurationRow entity.
ConfigurationRowEdges holds the relations/edges for other nodes in the graph.
ConfigurationRowGroupBy is the group-by builder for ConfigurationRow entities.
ConfigurationRowMutation represents an operation that mutates the ConfigurationRow nodes in the graph.
ConfigurationRowQuery is the builder for querying ConfigurationRow entities.
ConfigurationRowSelect is the builder for selecting fields of ConfigurationRow entities.
ConfigurationRowUpdate is the builder for updating ConfigurationRow entities.
ConfigurationRowUpdateOne is the builder for updating a single ConfigurationRow entity.
ConfigurationSelect is the builder for selecting fields of Configuration entities.
ConfigurationUpdate is the builder for updating Configuration entities.
ConfigurationUpdateOne is the builder for updating a single Configuration entity.
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.
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.
Branches is a parsable slice of Branch.
No description provided by the author
No description provided by the author
ConfigurationRows is a parsable slice of ConfigurationRow.
Configurations is a parsable slice of Configuration.
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
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.