aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-07-21 00:04:41 +0000
committerstuconnolly <stuart02@gmail.com>2009-07-21 00:04:41 +0000
commit8c47108f6de8d04fa7d1cf7dbfc8a4fd423979f5 (patch)
tree766c97b0f5e82d2e9e39b1f4afa5e4de2f116092 /Source/SPTableData.m
parentc506398bb7f92644c04f542c067a761e8eee77ee (diff)
downloadsequelpro-8c47108f6de8d04fa7d1cf7dbfc8a4fd423979f5.tar.gz
sequelpro-8c47108f6de8d04fa7d1cf7dbfc8a4fd423979f5.tar.bz2
sequelpro-8c47108f6de8d04fa7d1cf7dbfc8a4fd423979f5.zip
Improvements to reporting the correct row count for tables. See issue #141.
Diffstat (limited to 'Source/SPTableData.m')
-rw-r--r--Source/SPTableData.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index 69db2b93..c8dbe7b0 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -196,6 +196,15 @@
return [status objectForKey:aKey];
}
+/*
+ * Set the table status value for the supplied key. This method is useful for when status values are obtained
+ * via other means and are subsequently more accurate than the value currently set.
+ */
+- (void)setStatusValue:(NSString *)value forKey:(NSString *)key
+{
+ [status setValue:value forKey:key];
+}
+
/*
* Retrieve all known status values as a dictionary, using or refreshing the cache as appropriate.