#import <ZIMSqlPreparedStatement.h>
List of all members.
Detailed Description
- Discussion:
- This class represents a prepared SQL statement.
- Updated:
- 2011-08-13
Member Function Documentation
- (instancetype) initWithSqlStatement: |
|
(NSString *) |
sql |
|
- Signature:
- initWithSqlStatement:
- Discussion:
- This method initialize the class with the specified SQL statement.
- Parameters:
-
sql | The SQL statement to be prepared. |
- Returns:
- An instance of this class.
- Updated:
- 2011-10-19
+ (NSString *) preparedStatement: |
|
(NSString *) |
sql |
withValues: |
|
(id) |
values |
, |
|
|
... |
|
|
| |
- Signature:
- preparedStatement:withValues:
- Discussion:
- This method will return the SQL statement.
- Parameters:
-
sql | The SQL statement to be prepared. |
values | The values (i.e. objects) to be set. |
- Returns:
- The SQL statement that was prepared.
- Updated:
- 2011-10-19
- (void) setIdentifier: |
|
(id) |
identifier |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
- Signature:
- setIdentifier:atIndex:
- Discussion:
- This method will set an identifier for the parameter with the specified index in the SQL statement.
- Parameters:
-
identifier | The identifier to be set. |
index | The parameter's index. |
- Updated:
- 2012-03-23
- (void) setValue: |
|
(id) |
value |
atIndex: |
|
(NSUInteger) |
index |
|
|
| |
- Signature:
- setValue:atIndex:
- Discussion:
- This method will set an value for the parameter with the specified index in the SQL statement.
- Parameters:
-
value | The value to be set. |
index | The parameter's index. |
- Updated:
- 2012-03-18
- Signature:
- statement
- Discussion:
- This method will return the SQL statement.
- Returns:
- The SQL statement that was prepared.
- Updated:
- 2011-10-19
Reimplemented from <ZIMSqlStatement>.
Member Data Documentation
- (NSMutableArray*) _tokens [protected] |
The documentation for this class was generated from the following files: