I hope to add a row to the table in sqlite database.
[NSString stringWithFormat:@"INSERT INTO myTable (rowid,myName ) VALUES (NULL, '%@');" , [aInfo myString]];
rowid is an automatic increment.
After inserting the row, I hope to get an array that sqlite generates automatically.
Is it possible?
welcome any comment
thank
source
share