Documentation
¶
Overview ¶
Package dialect defines the interface for database-specific introspection, DDL rendering, and transactional locking behaviors.
Dependency rule: dialect is the only layer that knows SQL syntax and engine catalog details. It depends on internal/schema, internal/scope, internal/diff, and internal/plan.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBTX ¶
type DBTX interface {
ExecContext(ctx context.Context, query string, args ...any) (sql.Result, error)
QueryContext(ctx context.Context, query string, args ...any) (*sql.Rows, error)
QueryRowContext(ctx context.Context, query string, args ...any) *sql.Row
}
DBTX specifies the common SQL executor interface satisfied by *sql.DB, *sql.Tx, and *sql.Conn.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package postgres implements PostgreSQL-specific introspection, DDL rendering, advisory locking, and shadow schema compilation.
|
Package postgres implements PostgreSQL-specific introspection, DDL rendering, advisory locking, and shadow schema compilation. |
|
Package sqlite implements SQLite-specific schema introspection, in-memory shadow validation, and the 12-step table rebuild engine.
|
Package sqlite implements SQLite-specific schema introspection, in-memory shadow validation, and the 12-step table rebuild engine. |
Click to show internal directories.
Click to hide internal directories.