Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
helpers.Config `yaml:",squash"`
// The database schemas to generate models for
// a map of the schema name to the DSN
Attach map[string]string
// a context value can then be used to set the schema at runtime
// useful for multi-tenant setups
SharedSchema string `yaml:"shared_schema"`
}
func (Config) AttachQueries ¶ added in v0.35.0
type IndexExtra ¶ added in v0.29.0
type IndexExtra = parser.IndexExtra
Click to show internal directories.
Click to hide internal directories.