Implement getTableInfo command.

Reviewed By: lblasa

Differential Revision: D48266744

fbshipit-source-id: 79f2fd3c4718d6bf7be4a0538ec0d1eb92503eb7
This commit is contained in:
Fúlvio Abrahão de Paula
2023-08-14 11:07:07 -07:00
committed by Facebook GitHub Bot
parent 453b8f7b96
commit a0510ad1bf
6 changed files with 69 additions and 4 deletions

View File

@@ -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