https://bugs.documentfoundation.org/show_bug.cgi?id=130564

--- Comment #11 from Julien Nabet <[email protected]> ---
(In reply to Lionel Elie Mamane from comment #10)
> Call
>   SQLGetInfo(handle, SQL_CREATE_VIEW, &result, ...)
> Assuming a "good" ODBC driver, the database supports views if and only if
>   (result & SQL_CV_CREATE_VIEW)
> ...

Thank you Lionel for your feedback!
I began to implement this in https://gerrit.libreoffice.org/c/core/+/130052 but
don't understand at all ODatabaseMetaDataResultSet, especially m_aColMapping
mechanism.
It would be so easier getTableTypes() just returns an std::vector with known
types for a database instead of all these complicated (at least I hope useful)
mechanisms.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to