snapshot

package
v1.0.0-rc Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Snapshot

type Snapshot struct {
	// contains filtered or unexported fields
}

func From

func From(tx *gorm.DB, ignore ...string) (s *Snapshot, err error)

func (*Snapshot) DDLNodes

func (s *Snapshot) DDLNodes() []ast.DDLNode

func (*Snapshot) HasAnyTable

func (s *Snapshot) HasAnyTable() bool

func (*Snapshot) RecoverTo

func (s *Snapshot) RecoverTo(tx *gorm.DB) error

func (*Snapshot) TableNames

func (s *Snapshot) TableNames() []string

Jump to

Keyboard shortcuts

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