Documentation
¶
Overview ¶
Package schema owns non-destructive table provisioning through SQLX metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service provisions on the caller's native database. It does not own its lifetime, cache schema results, or begin a transaction (DDL may auto-commit).
func (*Service) EnsureTable ¶
EnsureTable preserves an accessible existing table. Failed probes are followed by CREATE IF NOT EXISTS and another probe, never ALTER or DROP. A concurrent creator may win even when the vendor reports a catalog conflict on CREATE.
Click to show internal directories.
Click to hide internal directories.