package
0.0.3
Repository: https://github.com/iasthc/atlas.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CommitFunc takes a transaction and ensures to toggle foreign keys back on after tx.Commit is called.
FormatType converts types to one format.
MarshalSpec marshals v into an Atlas DDL document using a schemahcl.Marshaler.
Open opens a new SQLite driver.
OpenTx opens a transaction.
ParseType returns the schema.Type value represented by the given raw type.
RollbackFunc takes a transaction and ensures to toggle foreign keys back on after tx.Rollback is called.

# Constants

DriverName holds the name used for registration.
SQLITE_TYPE_BLOB.
SQLITE_TYPE_INTEGER.
SQLITE_TYPE_REAL.
SQLITE_TYPE_TEXT.

# Variables

DefaultDiff provides basic diffing capabilities for MySQL dialects.
DefaultPlan provides basic planning capabilities for SQLite dialects.
EvalHCL implements the schemahcl.Evaluator interface.
EvalHCLBytes is a helper that evaluates an HCL document from a byte slice instead of from an hclparse.Parser instance.
MarshalHCL marshals v into an Atlas HCL DDL document.
TypeRegistry contains the supported TypeSpecs for the sqlite driver.

# Structs

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

# Interfaces

Tx wraps schema.ExecQuerier with the transaction methods.