Replies: 1 comment 1 reply
-
|
Hello @grovesNL , tl;dr I agree, most of the time I'd opt for (1). I don't like stories like "Exposing
odbc-api/odbc-api/src/handles/statement.rs Line 775 in 889466a col_display_size).
My intuition right now is that As you can consider me a fan of your work, I would welcome a PR. Currently my free time is pretty sparse due to a new job and some private obligations, but I can cram in a review once in a while. Cheers, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to expose some different information from
SQLGetInfolikeSQL_INFO_SCHEMA_VIEWSand would be happy to open PRs for this. I was wondering if we have any preference about how to expose an API like this, some ideas:fn supports_info_schema_views_schemata() -> Result<bool, Error>. This might end up having quite a few functions in total (basically a function per info type).SQLGetInfoand havefn info(info_type: InfoType, result: &mut InfoResult) -> Result<(), Error>. So we'd have one function and a couple enums.fn info_bitfield,fn info_bool, etc.I like 1 because it feels idiomatic, but would be great to know if we would prefer 2/3/something else.
Beta Was this translation helpful? Give feedback.
All reactions