PDO driver question (binding and conversion)

From: Date: Fri, 25 Feb 2005 17:00:34 +0000
Subject: PDO driver question (binding and conversion)
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2058@lists.php.net to get a copy of this message
i'm writing a driver for ole-db, which has native support for Unicode (dbms supported, of course) in addition to char/varchars. The question is about the handling of Unicode fields (actually any non ansi codepage). currently i just return the raw data for any char/unicode column (which i think is correct). the issue is what the desired behaviour should be for binding to a codepage column with PDO_PARAM_STR. should we assume just pass the data uninterpreted to the backend ? is there scope for a driver specific extension to do limited conversion (based on a connection parameter) ? l0t3k BTW Wez, i think the handler for lastInserId should return a string. think int64 and guid identity columns.....

« previous php.pecl.dev (#2058) next »