Documentation ¶
Overview ¶
Package builder provides a low level interface for defining un-versioned migrations based on a record transformation function
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder interface { Reversible(down versioning.MigrationFunc) Builder FilterKeys([]string) Builder Only([]string) Builder Build() (versioning.DatastoreMigration, error) }
Builder is an interface for constructing migrations
func NewMigrationBuilder ¶
func NewMigrationBuilder(up versioning.MigrationFunc) Builder
NewMigrationBuilder returns an interface that can be used to build a data base migration
Click to show internal directories.
Click to hide internal directories.