Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to print exact sql query in zend framework ?



How to print exact sql query in zend framework ?..

Answer / Girish Kumar Arya

To print the exact SQL query executed by Zend Framework, you can use the `getLastQuery()` method of the database adapter and the `quoteEscapeString()` method for escaping special characters. For example: `echo $db->getDriver()->getConnection()->getLastQuery();`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

Please write down a program to show the execution of the application?

1 Answers  


What are the steps kept in mind while designing the zend_form?

1 Answers  


I am a minor (under 18 years of age). Who should sign my cla?

1 Answers  


How we can set routing in zend framework2?

1 Answers  


Can we call a model in view?

1 Answers  


What are plugins in zend framework?

1 Answers  


What is being presented by the decorators?

1 Answers  


Do you know what is the function lucene?

1 Answers  


How to create object of model?

1 Answers  


Why can’t zend_form render my file element without errors?

1 Answers  


What is the major difference between zend_auth and zend_acl?

1 Answers  


What is models in zend framework?

1 Answers  


Categories