Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ODBC MetaColumns method returns MetaType instead of ActualType #184
When the metaColumns method is called, the ODBC driver, and other drivers that use it as a provider (including ACCESS) return the ADOdb metaType in the type field, instead of the actualType, as all other drivers.
Based on your description it sounds like the "normal" behavior is to return actualType so it probably makes sense to go for option 1, but I don't have a strong preference.
If there is a use case for letting the caller chose what type they want, then option 3 makes sense (but not sure how you were thinking to set the option, via a parameter, or a property ?).
Instead of using a boolean flag, maybe an generic