Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { // Build the database. Build() error // Config gets the database configuration. Config() DatabaseConfig // DEPRECATED use Stop instead. Clear() error // Image gets the database image. Image(Image) // Seed runs the database seeds. Seed(seeds ...seeder.Seeder) // Stop stops the database. Stop() error }
type DatabaseConfig ¶ added in v1.14.0
type DatabaseDriver ¶
type DatabaseDriver interface { // Build the database. Build() error // Config get database configuration. Config() DatabaseConfig // Fresh the database. Fresh() error // Image gets the database image. Image(image Image) // Name gets the database driver name. Name() orm.Driver // Stop the database. Stop() error }
Click to show internal directories.
Click to hide internal directories.