Documentation ¶ Index ¶ type Snapshot func From(tx *gorm.DB, ignore ...string) (s *Snapshot, err error) func (s *Snapshot) DDLNodes() []ast.DDLNode func (s *Snapshot) HasAnyTable() bool func (s *Snapshot) RecoverTo(tx *gorm.DB) error func (s *Snapshot) TableNames() []string 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 Source Files ¶ View all Source files snapshot.go Click to show internal directories. Click to hide internal directories.