Reviewed By: lblasa Differential Revision: D48188172 fbshipit-source-id: 10c99250f993c71976c693a691586385d111a4fd
35 lines
702 B
Objective-C
35 lines
702 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 "DatabaseGetTableInfo.h"
|
|
|
|
@implementation DatabaseGetTableInfoResponse
|
|
|
|
- (instancetype)initWithDefinition:(NSString*)definition {
|
|
self = [super init];
|
|
if (self) {
|
|
_definition = definition;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|
|
|
|
@implementation DatabaseGetTableInfoRequest
|
|
|
|
- (instancetype)initWithDatabaseId:(NSInteger)databaseId
|
|
table:(NSString*)table {
|
|
self = [super init];
|
|
if (self) {
|
|
_databaseId = databaseId;
|
|
_table = [table copy];
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|