List Info

Thread: how to use Zend_Db for postgres database




how to use Zend_Db for postgres database
user name
2007-03-30 04:29:37
Hi folks,

can any one suggest me some tutorials to know about postgres connectivity using
Zend_Db. What is the parameter needs to pass, and what is the PDO needs to use and so on.

I am a newbie to this Zend Framework.
Please help me in this regards.

--
with regds,
Nahalingam N. Kanakavel.
(http://www.nahalingam.bravehost.com/PlanetN/)
Re: how to use Zend_Db for postgres database
user name
2007-03-30 06:09:04
Hi all,

ya, I found out that, first parameter to the method

       ; Zend_Db::factory ("Pdo_Pgsql";, $params);

was specifying the path of the Adapter to that particular PDO.
so it was splited using '_'; (underscore). so then I found out the file named as
pgsql.php under library/Zend/Db/Adapter/Pdo/Pgsql.php. Then I specified the
parameter as such it will pointed to this file.

Then it was worked.

On 30/03/07, Nahalingam N. Kanakavel < nahalingamgmail.com">nahalingamgmail.com> wrote:
Hi folks,

can any one suggest me some tutorials to know about postgres connectivity using
Zend_Db. What is the parameter needs to pass, and what is the PDO needs to use and so on.

I am a newbie to this Zend Framework.
Please help me in this regards.

--
with regds,
Nahalingam N. Kanakavel.
( http://www.nahalingam.bravehost.com/PlanetN/)

--
with regds,
Nahalingam N. Kanakavel.
(http://www.nahalingam.bravehost.com/PlanetN/)
RE: Re: how to use Zend_Db for postgres database
user name
2007-03-30 18:47:50

Hi Nahalingam,

 

I’m glad you got it working, but is there any section of the documentation that could have made this clearer?

 

Regards,

Bill Karwin

 

 


From: Nahalingam N. Kanakavel [mailto:nahalingamgmail.com]
Sent: Friday, March 30, 2007 4:09 AM
To: fw-generallists.zend.com
Subject: [fw-general] Re: how to use Zend_Db for postgres database

 

Hi all,

ya, I found out that, first parameter to the method

&nbsp; &nbsp; &nbsp; &nbsp; Zend_Db::factory (&quot;Pdo_Pgsql", $params);

was specifying the path of the Adapter to that particular PDO.
so it was splited using '_' (underscore). so then I found out the file named as
pgsql.php under library/Zend/Db/Adapter/Pdo/Pgsql.php. Then I specified the
parameter as such it will pointed to this file.

Then it was worked.

On 30/03/07, Nahalingam N. Kanakavel < nahalingamgmail.com">nahalingamgmail.com> wrote:

Hi folks,

can any one suggest me some tutorials to know about postgres connectivity using
Zend_Db. What is the parameter needs to pass, and what is the PDO needs to use and so on.

I am a newbie to this Zend Framework.
Please help me in this regards.

--
with regds,
Nahalingam N. Kanakavel.
( http://www.nahalingam.bravehost.com/PlanetN/)


--
with regds,
Nahalingam N. Kanakavel.
(http://www.nahalingam.bravehost.com/PlanetN/)

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )