Files
flipper/iOS/Plugins/FlipperKitDatabasesPlugin/FlipperKitDatabasesPlugin/Commands/DatabaseGetTableInfo.h
Fúlvio Abrahão de Paula a0510ad1bf Implement getTableInfo command.
Reviewed By: lblasa

Differential Revision: D48266744

fbshipit-source-id: 79f2fd3c4718d6bf7be4a0538ec0d1eb92503eb7
2023-08-14 11:07:07 -07:00

28 lines
747 B
Objective-C

/*
* 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>
@interface DatabaseGetTableInfoResponse : NSObject
@property(nonatomic, strong) NSString* definition;
- (instancetype)initWithDefinition:(NSString*)definition;
@end
@interface DatabaseGetTableInfoRequest : NSObject
@property(nonatomic, assign, readonly) NSInteger databaseId;
@property(nonatomic, copy, readonly) NSString* table;
- (instancetype)initWithDatabaseId:(NSInteger)databaseId table:(NSString*)table;
+ (DatabaseGetTableInfoRequest*)getTableInfoRequestFromDictionary:
(NSDictionary*)dictionary;
@end