tmydump: can i fill in - - where option?

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
vindac
Posts: 20
Joined: Tue 18 Mar 2014 16:44

tmydump: can i fill in - - where option?

Post by vindac » Mon 02 Jun 2014 16:24

Hi,
I want the use the mydump component, but I need to use the --where option which is provided by mysqldump. Where can I set this?

thanks!

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: tmydump: can i fill in - - where option?

Post by PavloP » Tue 03 Jun 2014 11:22

To obtain a dump of a part of table records using the TMyDump component, use the BackupQuery method. For example:

Code: Select all

MyDump1.BackupQuery('select * from emp where empno > 7000 ');
The result will be put into the SQL property of the TMyDump component.
More details at http://www.devart.com/mydac/docs/index. ... tring).htm

vindac
Posts: 20
Joined: Tue 18 Mar 2014 16:44

Re: tmydump: can i fill in - - where option?

Post by vindac » Tue 03 Jun 2014 11:30

Thank you very much! :D

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: tmydump: can i fill in - - where option?

Post by PavloP » Tue 03 Jun 2014 13:36

Feel free to contact us if you have any further questions.

Post Reply