package
0.0.0-20230111045308-694567495a48
Repository: https://github.com/phogolabs/orm.git
Documentation: pkg.go.dev

# Packages

Package sql provides wrappers around the standard database/sql package to allow the generated code to interact with a statically-typed API.

# Functions

Log gets a driver and an optional logging function, and returns a new debugged-driver that prints all outgoing operations.
NopTx returns a Tx with a no-op Commit / Rollback methods wrapping the provided Driver d.

# Constants

Dialect names for external usage.
Dialect names for external usage.
Dialect names for external usage.

# Structs

LoggerDriver is a driver that logs all driver operations.
LoggerTx is a transaction implementation that logs all transaction operations.

# Interfaces

Driver is the interface that wraps all necessary operations for ent clients.
Execer wraps the exec database operations.
ExecQuerier wraps the standard Exec and Query methods.
Querier wraps the query database operations.
Tx wraps the Exec and Query operations in transaction.

# Type aliases

FileSystem represents a file sytem storage.
Logger represents a logger.