objective-c-sql-query-builder
Public Member Functions | Protected Attributes
ZIMSqlTruncateTableStatement Class Reference

#import <ZIMSqlTruncateTableStatement.h>

Inheritance diagram for ZIMSqlTruncateTableStatement:
<ZIMSqlStatement> <ZIMSqlDataDefinitionCommand>

List of all members.

Public Member Functions

(void) - table:
(NSString *) - statement
(id) - init [implementation]

Protected Attributes

NSString_tableIdentifier
NSString_tableName

Detailed Description

Discussion:
This class represents an SQL truncate table statement. Execute as a transaction.
Updated:
2011-11-01
See also:
http://dev.mysql.com/doc/refman/5.0/en/truncate-table.html
http://stackoverflow.com/questions/3443630/reset-the-row-number-count-in-sqlite3-mysql

Member Function Documentation

- (instancetype) init [implementation]
- (NSString *) statement
Signature:
statement
Discussion:
This method will return the SQL statement.
Returns:
The SQL statement that was constructed.
Updated:
2011-11-01

Reimplemented from <ZIMSqlStatement>.

- (void) table: (NSString *)  table
Signature:
table:
Discussion:
This method will set the table used in the SQL statement.
Parameters:
tableThe table that will be used in the SQL statement.
Updated:
2012-03-20

Member Data Documentation

- (NSString*) _tableIdentifier [protected]
- (NSString*) _tableName [protected]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Properties Defines