Documentation ¶
Index ¶
- type Mongo
- func (mgo *Mongo) Check(verbose bool) error
- func (mgo *Mongo) CheckVersion(version version.Version) error
- func (mgo *Mongo) Migrate(ver version.Version, specific bool) error
- func (mgo *Mongo) Migrations() []migration.Migration
- func (mgo *Mongo) Name() string
- func (mgo *Mongo) Rollback(ver version.Version, specific bool) error
- func (mgo *Mongo) Versions() []version.DataVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mongo ¶
type Mongo struct {
// contains filtered or unexported fields
}
func (*Mongo) Migrations ¶
func (*Mongo) Versions ¶
func (mgo *Mongo) Versions() []version.DataVersion
Click to show internal directories.
Click to hide internal directories.