code: func (engine *Engine) DumpAllToFile(fp string, tp ...core.DbType) error {
  	f, err := os.Create(fp)
  	if err != nil {
  		return err
  	}
  	defer f.Close()
  	return engine.DumpAll(f, tp...)
  }
docs: // DumpAllToFile dump database all table structs and data to a file