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_typefunction 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
typeofsql function (thesqlite3_column_typec function ,typeofsql function should return same value).
Comments
Post a Comment