samedi 16 février 2019

Not able to export mysqldump file with multiple where condition for multiple tables?

I am not able to export my database table, i am using multiple where condition with multiple tables but its applying last where condition to all the others tables.

This is the code which i am writing to export the data from my database tables.

$command = "mysqldump --user={$user} -p{$password} {$database} posts --where=\" id in (1,2) \", emails --where=\" id in (1,2,3) \", values --where=\" id in (1,2,3,4,5) \" > mysqfile.sql";

Last where condition is used by others tables also but i want each table to used there own where condition. For example its using 1,2,3,4,5 for all the others tables also.



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2X5LQ3c
via IFTTT

Aucun commentaire:

Enregistrer un commentaire