SL3Connection: Add a way to prepare statements
FossilOrigin-Name: c64a1aa6faddaa64012516ff343bdadd114618fb7e3164beafdd9a00e38333ea
This commit is contained in:
parent
b3c508dd48
commit
f8b7c9226f
2 changed files with 12 additions and 0 deletions
|
@ -21,6 +21,7 @@
|
|||
*/
|
||||
|
||||
#import "SL3Connection.h"
|
||||
#import "SL3PreparedStatement.h"
|
||||
|
||||
#import "SL3OpenFailedException.h"
|
||||
|
||||
|
@ -69,4 +70,11 @@
|
|||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (SL3PreparedStatement *)prepareStatement: (OFConstantString *)SQL
|
||||
{
|
||||
return [[[SL3PreparedStatement alloc]
|
||||
sl3_initWithConnection: self
|
||||
SQLStatement: SQL] autorelease];
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue