Documentation
¶
Overview ¶
Package provider defines the database adapter contract consumed by the application assembly layer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface {
store.DB
store.TxBeginner
Dialect() dialect.Dialect
// Profile is what this connection guarantees: its dialect's capabilities
// and the limits that depend on how it was opened.
Profile() dialect.Profile
Explainer() cost.Explainer
Introspector() introspect.Introspector
Close() error
}
Provider aggregates the core interfaces a database adapter must satisfy.
Click to show internal directories.
Click to hide internal directories.