spatie/laravel-personal-data-export

How to export all fields in a table?

uisumo opened this issue · 1 comments

Hi,

Just wanted to know How to export all fields in a table instead of individual fields?

Eg:

public function selectPersonalData(PersonalDataSelection $personalDataSelection) {
    $personalDataSelection
        ->add('user.json', ['*'])
        ->addFile(storage_path("avatars/{$this->id}.jpg")
        ->addFile('other-user-data.xml', 's3'));
}

I tried it but failed.

Thanks,

That currently is not supported.