mysql-backup4j
mysql-backup4j copied to clipboard
Implement Selective Export of Specific Tables from Database : #13 export few tables
Overview
This pull request introduces a new feature that allows users to export specific tables from the database by specifying their names as a comma-separated list.
Changes Made
- Added a property key for specifying specific tables to export.
- Implemented logic to generate SQL statements for the specified tables.
- Updated documentation to include instructions on how to use the new feature.
Example Usage
Users can now set the property for specific tables as follows:
properties.setProperty(MysqlExportService.SPECIFIC_TABLES_FOR_EXPORT, "table_1,table_2,table_3");
@SeunMatt Could you check if this approach is okay with you? If so, I'd also like to contribute to the section on importing specific tables from the dump file.