You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getTables :: Connection -> IO [String] provides results for ODBC table type TABLE. I found myself wanting the equivalent results for other ODBC table types, such as VIEW or SYSTEM TABLE.
so that getTableTypes conn provides a list of the valid table types for conn and getTablesOfType conn "TABLE,VIEW,SYSTEM TABLE" (for example) gets the relevant table names of those types.
I have done that in a fork, by extending the constructor of data type Connection. Would it be of interest? If yes, I'll make a pull request.
The text was updated successfully, but these errors were encountered:
getTables :: Connection -> IO [String]
provides results for ODBC table typeTABLE
. I found myself wanting the equivalent results for other ODBC table types, such asVIEW
orSYSTEM TABLE
.Perhaps the library could be extended to include:
so that
getTableTypes conn
provides a list of the valid table types forconn
andgetTablesOfType conn "TABLE,VIEW,SYSTEM TABLE"
(for example) gets the relevant table names of those types.I have done that in a fork, by extending the constructor of data type
Connection
. Would it be of interest? If yes, I'll make a pull request.The text was updated successfully, but these errors were encountered: