Use MySQL :) haha, just kidding. I don't know about CASE_FOLDING as I do use
MySQLi but I do know all Zend_Framework classes are easily extended for
extra functionality needs.

On Thu, Apr 24, 2008 at 1:12 PM, Greg Donald <[EMAIL PROTECTED]> wrote:

> Anyone know why CASE_FOLDING seems to only work in one direction?
>
> I have
>
> $options = array(
>    Zend_Db::CASE_FOLDING => Zend_Db::CASE_LOWER
> );
>
> And I'm using the PDO driver the docs say is required for case folding:
>
> $db = new Zend_Db_Adapter_Pdo_Oci( array(
>  'username' => $config->db->username,
>  'password' => $config->db->password,
>  'dbname'   => $config->db->dbname,
>  'host'     => $config->db->host,
>  'port'     => $config->db->port,
>  'options'  => $options
> ));
>
> So then
>
> $select->from( $stats, array( 'count' ) )
>
> doesn't work, but
>
> $select->from( $stats, array( 'COUNT' ) )
>
> does work.  Why the inconsistent behaviour?
>
>
> --
> Greg Donald
> http://destiney.com/
>

Reply via email to