On Sun, Mar 28, 2004 at 11:05:22AM -0800, Dean Arnold wrote: > I don't see anything in the PODs, so... > > Is there any std. mechanism for querying a driver regarding > its capabilities ? E.g., similar to get_info(), but related to driver > behavior, rather than supported DBMS behavior. > > My need is primarily for > > a) character set support > b) thread support > c) array binding support > > Item (a) seems to be a bit nebulous at the moment, > but in theory DBI could determine both items (b) and (c). > There are probably other capabilities that could be > queried (maybe this ties into the conformance testing efforts ?)
get_info() should be used wherever possible. Remember that "supported DBMS behavior" is filtered through the lens of the driver and there may be cases where the driver supports features that the DBMS doesn't, like placeholders for example. I'm sure there's a suitable get_info item we could adopt as the canonical way to indicate at least (c). Please take a look. I'd welcome a doc patch to specific such things. Tim.
