I am making an sqlite3 test3.sql database,
making table as
CREATE TABLE rest (name VARCHAR(100), price VARCHAR(100));
table is successfully created but now when I am using a method for inserting and retrieving data, then getting error,,,
The error is on line
NSString *str = [NSString stringWithUTF8String:
(char *)sqlite3_column_text(compiledStatement, 1)];
the error is +[NSString stringWithUTF8String:]: NULL cString'
What is this error, how can I remove it?