Implement getTableStructure command.
Reviewed By: lblasa Differential Revision: D48191484 fbshipit-source-id: 6838590f4e10b4613074e9e9d112a62d4688f739
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ce85f44a33
commit
453b8f7b96
@@ -8,12 +8,14 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@protocol DatabaseDescriptor;
|
||||
@class DatabaseGetTableStructureRequest;
|
||||
@class DatabaseGetTableStructureResponse;
|
||||
|
||||
@protocol DatabaseDriver<NSObject>
|
||||
@property(nonatomic, strong, readonly) id<DatabaseDescriptor>
|
||||
databaseDescriptor;
|
||||
|
||||
- (NSArray<id<DatabaseDescriptor>>*)getDatabases;
|
||||
- (NSArray<NSString*>*)getTableNames:(id<DatabaseDescriptor>)databaseDescriptor;
|
||||
|
||||
- (DatabaseGetTableStructureResponse*)
|
||||
getTableStructureWithDatabaseDescriptor:
|
||||
(id<DatabaseDescriptor>)databaseDescriptor
|
||||
forTable:(NSString*)tableName;
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user