Implement getTableInfo command.
Reviewed By: lblasa Differential Revision: D48266744 fbshipit-source-id: 79f2fd3c4718d6bf7be4a0538ec0d1eb92503eb7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
453b8f7b96
commit
a0510ad1bf
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#import "MockDatabaseDriver.h"
|
||||
#import "DatabaseGetTableInfo.h"
|
||||
#import "DatabaseGetTableStructure.h"
|
||||
#import "MockDatabaseDescriptor.h"
|
||||
|
||||
@@ -46,4 +47,12 @@
|
||||
indexesValues:[indexesValues copy]];
|
||||
}
|
||||
|
||||
- (DatabaseGetTableInfoResponse*)
|
||||
getTableInfoWithDatabaseDescriptor:
|
||||
(id<DatabaseDescriptor>)databaseDescriptor
|
||||
forTable:(NSString*)tableName {
|
||||
return [[DatabaseGetTableInfoResponse alloc]
|
||||
initWithDefinition:@"This is mocked table definition"];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user