SL3Connection: Add -[executeStatement:]

FossilOrigin-Name: 02992f86b3c02a7784a12c4b9a7ffa7b70614999a07b799c567755bde3d24cea
This commit is contained in:
Jonathan Schleifer 2020-10-01 23:13:36 +00:00
parent 6c2ddfe254
commit 68eee4790f
5 changed files with 18 additions and 21 deletions

View file

@ -33,14 +33,10 @@ OF_ASSUME_NONNULL_BEGIN
@property (readonly, nonatomic) SL3PreparedStatement *statement;
+ (instancetype)exceptionWithConnection: (nullable SL3Connection *)connection
errorCode: (int)errorCode OF_UNAVAILABLE;
+ (instancetype)exceptionWithStatement: (SL3PreparedStatement *)statement
errorCode: (int)errorCode;
- (instancetype)initWithConnection: (nullable SL3Connection *)connection
errorCode: (int)errorCode OF_UNAVAILABLE;
- (instancetype)initWithStatement: (SL3PreparedStatement *)statement
errorCode: (int)errorCode OF_DESIGNATED_INITIALIZER;
errorCode: (int)errorCode;
@end
OF_ASSUME_NONNULL_END