Passing argument 1 of 'sqlite3_prepare_v2' from incompatible pointer type
NSString *query = [NSString stringWithFormat:@"UPDATE person SET name = 'abc' , address = 'def' where uniqueID =1"];

	sqlite3_stmt *statement;

if(sqlite3_prepare_v2(database, [query UTF8String], -1, &statement, nil) == SQLITE_OK){

	if(sqlite3_step(statement) == SQLITE_DONE){

		NSLog(@"done");
	}

	sqlite3_finalize(statement);
}
Passing argument 1 of 'sqlite3_prepare_v2' from incompatible pointer type
===

NSString *query = [NSString stringWithFormat:@"UPDATE person SET name = 'abc' , address = 'def' where uniqueID =1"];

	sqlite3_stmt *statement;

if(sqlite3_prepare_v2(database, [query UTF8String], -1, &statement, nil) == SQLITE_OK){

	if(sqlite3_step(statement) == SQLITE_DONE){

		NSLog(@"done");
	}

	sqlite3_finalize(statement);
}