The SQLite C library has a method sqlite3_column_decltype(). But I can not find the places where the SQLite Android API allows this method to be used. Is there a way to get the declared column type without running SQL (i.e. I can avoid using PRAGMA table_info)?
I could use AbstractWindowedCursor.isBlob(), but it says that it will also return true if the field is NULL. I need something that guarantees me a value equal to the declared column type.
source
share