Implement similar structure we have in Java plugin.
Reviewed By: lblasa Differential Revision: D48172579 fbshipit-source-id: b2127507b04cdb85f426313e71405a81103e42bd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3003330067
commit
fea326be79
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@protocol DatabaseDescriptor;
|
||||
|
||||
@protocol DatabaseDriver<NSObject>
|
||||
@property(nonatomic, strong, readonly) id<DatabaseDescriptor>
|
||||
databaseDescriptor;
|
||||
|
||||
- (NSArray<id<DatabaseDescriptor>>*)getDatabases;
|
||||
- (NSArray<NSString*>*)getTableNames:(id<DatabaseDescriptor>)databaseDescriptor;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user