Re: PDO driver question (binding and conversion)
| From: | Wez Furlong | Date: | Fri, 25 Feb 2005 22:04:10 +0000 |
| Subject: | Re: PDO driver question (binding and conversion) | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2061@lists.php.net to get a copy of this message | ||
For now, return the data as the DB passes it back.
Re: lastInsertId, I'm going to be enhancing that this weekend. Stay tuned.
--Wez.
On Fri, 25 Feb 2005 12:00:34 -0500, l0t3k <cshmoove@hotmail.com> wrote:
> 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.....
>
> --
> PECL development discussion Mailing List (http://pecl.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>