Drop Table
Siminov Framework edited this page Jan 16, 2016
·
10 revisions
Database class provides following API to drop a table.
public void dropTable() throws DatabaseException;
try {
new Book().dropTable();
} catch(DatabaseException databaseException) {
//Log It.
}
+ (void)dropTable;
@try {
[[[Book alloc] init] dropTable];
} @catch(SICDatabaseException *databaseException) {
//Log It.
}
public void DropTable();
try
{
new Book().DropTable();
}
catch(DatabaseException databaseException)
{
//Log It.
}