c - Get column type per row -
i have table few rows. datatypes not set in table structure , rows integers while blobs.
how figure out what's what? i'm using c api.
sqlite3_column_type
gives me same datatype rows, isn't correct.
sqlite3_column_type
function gives actual type of data.- beware when value other
sqlite3_column_*
functions, sqlite converts data has , type changes reflect that. ask types before doing else row. - there logic converts values when inserting them. data expect? check
typeof
sql function (thesqlite3_column_type
c function ,typeof
sql function should return same value).
Comments
Post a Comment