crawshaw / sqlite

Go SQLite3 driver
ISC License
571 stars 68 forks source link

implement GetType(string) ColumnType #115

Closed charlesvdv closed 3 years ago

charlesvdv commented 3 years ago

Almost every Column* has its equivalent in Get* except for a few methods. Since the type information are heavily used to check for a NULL value. GetType provides a convenient method to access it without knowing the column index.