diff options
author | stuconnolly <stuart02@gmail.com> | 2013-05-11 20:00:55 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-05-11 20:00:55 +0000 |
commit | 6d5741b74f72dab22eeb39ac4e601961baa005f8 (patch) | |
tree | b692b96716725f974beda0fc9383700f4d1ff2e2 /Source/SPCustomQuery.m | |
parent | 3c2d200a38d80ad6fe86c34766c868abdf41bea9 (diff) | |
download | sequelpro-6d5741b74f72dab22eeb39ac4e601961baa005f8.tar.gz sequelpro-6d5741b74f72dab22eeb39ac4e601961baa005f8.tar.bz2 sequelpro-6d5741b74f72dab22eeb39ac4e601961baa005f8.zip |
Issue #1717: Custom query export validation only needs to know the number of rows of the current result, so don't return the actual result.
Diffstat (limited to 'Source/SPCustomQuery.m')
-rw-r--r-- | Source/SPCustomQuery.m | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m index f89b095c..d2788cd9 100644 --- a/Source/SPCustomQuery.m +++ b/Source/SPCustomQuery.m @@ -1532,6 +1532,16 @@ } /** + * Returns the number of rows in the current data result. + * + * @return The number of rows. + */ +- (NSUInteger)currentResultRowCount +{ + return resultDataCount; +} + +/** * Returns the current result (as shown in custom result view) as an array, the first object containing * the field names as an array and the following objects containing the rows as arrays. * |