diff options
author | stuconnolly <stuart02@gmail.com> | 2010-06-13 14:22:16 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-06-13 14:22:16 +0000 |
commit | ebd964e9a6d4b5975a806a4354f4df5ab28146d0 (patch) | |
tree | 7d7ec1977ee7059f041bf74b7e699550707e49e4 /Source/SPSQLExporter.h | |
parent | f286f3f05162e663fb6bc6abaf2a08b1e02d1d86 (diff) | |
download | sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.tar.gz sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.tar.bz2 sequelpro-ebd964e9a6d4b5975a806a4354f4df5ab28146d0.zip |
Exporter ehancements:
- Make sure the export button is disabled when the global structure, content and drop options are enabled, but the desellect all button is checked.
- Replace the export dialog toolbar with a tabview, reducing the dialogs overall size.
- Add the option to SQL dumps to specify when a new INSERT statement should be created, either after a certain amount of data or after a specific number of rows (defaults to every 250KiB). Known issue: incorrect VALUES clause generation of last row when creating a new INSERT after a specific number of rows.
Diffstat (limited to 'Source/SPSQLExporter.h')
-rw-r--r-- | Source/SPSQLExporter.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Source/SPSQLExporter.h b/Source/SPSQLExporter.h index 12ed686e..1dcacf4b 100644 --- a/Source/SPSQLExporter.h +++ b/Source/SPSQLExporter.h @@ -26,6 +26,7 @@ #import <Cocoa/Cocoa.h> #import "SPExporter.h" +#import "SPConstants.h" #import "SPSQLExporterProtocol.h" @class SPTableData; @@ -90,12 +91,22 @@ * Compress output */ BOOL sqlOutputCompressFile; + + /** + * New INSERT statement divider + */ + SPSQLExportInsertDivider sqlInsertDivider; /** * Number of tables processed by exporter */ NSUInteger sqlCurrentTableExportIndex; - + + /** + * The value after which a new INSERT statement should be created. + */ + NSUInteger sqlInsertAfterNValue; + /** * Table information fetcher and parser */ @@ -119,6 +130,9 @@ @property(readwrite, assign) BOOL sqlOutputCompressFile; @property(readwrite, assign) NSUInteger sqlCurrentTableExportIndex; +@property(readwrite, assign) NSUInteger sqlInsertAfterNValue; + +@property(readwrite, assign) SPSQLExportInsertDivider sqlInsertDivider; /** * Initialise an instance of SPSQLExporter using the supplied delegate. |