aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-07-26 21:03:17 +0000
committerBibiko <bibiko@eva.mpg.de>2009-07-26 21:03:17 +0000
commit9b827edbb16a50f3e0c42e0f1c21a9bca3e7a77b (patch)
treeb39ed9f4acd771278e293f712a0a1b093d41615c /Source/CustomQuery.h
parent1e12ff35d75508ab8e098bc2af38b2aacbeba017 (diff)
downloadsequelpro-9b827edbb16a50f3e0c42e0f1c21a9bca3e7a77b.tar.gz
sequelpro-9b827edbb16a50f3e0c42e0f1c21a9bca3e7a77b.tar.bz2
sequelpro-9b827edbb16a50f3e0c42e0f1c21a9bca3e7a77b.zip
• Editing in Custom Query:
- now fields are also identified via the database which the field belongs to in order to allow to select/join/etc. fields coming from different databases and to improve the unambiguity of the field origin - sped up editing check for fields with no table or database origin (then no "select count(*)" is needed)
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index 618bd0d0..c88cc879 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -99,7 +99,9 @@
BOOL queryIsTableSorter;
BOOL isDesc;
NSNumber *sortField;
-
+
+ NSString *fieldIDQueryString;
+
}
// IBAction methods
@@ -153,7 +155,7 @@
- (void)commentOut;
- (void)commentOutCurrentQueryTakingSelection:(BOOL)takeSelection;
- (NSString *)usedQuery;
-- (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn;
+- (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn andDatabase:(NSString *)database;
@end