migrationhelper

package
v0.14.0-alpha8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TransformRowsBetweenTables

func TransformRowsBetweenTables(db dal.Dal, src schema.Tabler, dst schema.Tabler, callback_transform func(src schema.Tabler) schema.Tabler) (errs errors.Error)

TransformRowsBetweenTables method can be used when we need to change the table structure and reprocess all the data in the table. It request the src table and the dst table with different table name.

func TransformRowsInPlace

func TransformRowsInPlace(db dal.Dal, src schema.Tabler, bak schema.Tabler, dst schema.Tabler, callback_transform func(src schema.Tabler) schema.Tabler) (errs errors.Error)

TransformRowsInPlace method can be used when we need to change the table structure and reprocess all the data in the table.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL