ZF-5662: change listTables in Zend_Db_Adapter_Pdo_Dblib to include views

Issue Type: Improvement Created: 2009-01-30T12:32:18.000+0000 Last Updated: 2009-08-21T11:47:42.000+0000 Status: Resolved Fix version(s): Reporter: Rois Cannon (gimecoffee) Assignee: Ralph Schindler (ralph) Tags: - Zend_Db

Related issues: Attachments:


I'm using this adapter with MSSQL 2005. I use listTables() to make sure all the tables I need are in the database but I also have some views I need to check. There are quite of few things in sysobjects that may be needed by others. Adding a listDbobjects() method with a parameter to restrict by type would keep the code compact or adding a listViews() for just a list of views would be nice.

It seems like listing all the views would be almost as common as listing tables.


Posted by Ralph Schindler (ralph) on 2009-08-21T11:47:42.000+0000

At this point this is not something that could easily be applied to all adapters.

If you'd like add the idea to the ZF 2.0 page on Zend_Db

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.