$context->getDatabaseConnection() will return the default database connection object or resource (PDO object, Creole connection, mysql resource etc) which you can then use. You can also get the Agavi database wrapper object by calling the Database Manager's getDatabase () function, but you normally shouldn't need that.
David Am 28.02.2007 um 11:43 schrieb surej ns: > how can i get connected to the database.and query the value..i have > configured the 'database.xml ' file with the details such as > database type,name ,username..etc...then how can i query it in my > page..plz tell in detail.. > > thx > surej > _______________________________________________ > users mailing list > [email protected] > http://lists.agavi.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
