Are there plans for a DB::quoteIdentifier() function?

From: Date: Thu, 02 Oct 2003 05:34:05 +0000
Subject: Are there plans for a DB::quoteIdentifier() function?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8218@lists.php.net to get a copy of this message
I was wondering if there was any room for extension of the Pear::DB API to have a function that quotes an identifier for the backend server. EG: If the driver was mssql, then: $dbh->quoteIdentifier("Some Column") --> '[Some Column]' If pgsql, then: $dbh->quoteIdentifier("Some Column") --> '"some column"' (Note the case folding for postgresql). Maybe this has already been done and I missed it, or have an older version, but something like this would be quite useful to have standardized. -- David Stanaway <david@dialmex.net>

« previous php.pear.general (#8218) next »