Mercurial > sqlpython
changeset 392:b49e917fa689
pull to gerald
author | catherine@cordelia |
---|---|
date | Tue, 06 Oct 2009 22:32:24 -0400 |
parents | 5fd44394d789 |
children | 9bbca36ec371 |
files | sqlpython/sqlpyPlus.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sqlpython/sqlpyPlus.py Tue Oct 06 22:13:52 2009 -0400 +++ b/sqlpython/sqlpyPlus.py Tue Oct 06 22:32:24 2009 -0400 @@ -851,7 +851,12 @@ def _pull(self, arg, opts, vc=None): (username, schemas) = self.metadata() - + for (name, obj, dbtype, descrip) in self._matching_database_objects(arg, opts): + self.poutput(descrip) + self.poutput(obj.get_ddl()) + + + def _show_shortcut(self, shortcut, argpieces): try: @@ -1452,6 +1457,7 @@ def _matching_database_objects(self, arg, opts): # jrrt.p* should work even if not --all + # doesn't get java$options seek = r'^[/\\]?%s[/\\]?$' % ( arg.replace('*', '.*').replace('?','.').replace('%', '.*')) # TODO: can't find ``table/``