I should insert a column in a database if it doesn' exists.
I could do this:
But I would like to use a more clean solution testing if the column already exists. But how could I read the PRAGMA table_info results ?
Thank you
I could do this:
B4X:
try
ALTER TABLE myTable ADD COLUMN test BOOL;
catch
'Do nothing
end try
But I would like to use a more clean solution testing if the column already exists. But how could I read the PRAGMA table_info results ?
Thank you