buggins / ddbc

DDBC is DB Connector for D language (similar to JDBC)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fetch size not working for all drivers

SingingBush opened this issue · comments

Tests added yesterday revealed that getFetchSize is not always implemented.

I've looked into this for a bit. Currently getFetchSize is working ok for mysql and postgres but not for odbc or sqlite. The problem is that both sqlite and odbc don't seem to have nice options for being able to do this. I think it worth marking that method as deprecated and refering people to this issue so that the reason for it is clear.
As it was only added to the tests this weekend and nobody seems to have raised it previously I suspect it's safe to mark for removal.