changeset 34:c237699c4752

wokring on meta types
author casties
date Tue, 31 Aug 2010 17:56:23 +0200
parents 355b1fa2d78f
children 55dbaea75e66
files RestDbInterface.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/RestDbInterface.py	Tue Aug 31 14:20:24 2010 +0200
+++ b/RestDbInterface.py	Tue Aug 31 17:56:23 2010 +0200
@@ -176,6 +176,8 @@
     def setTableMetaTypes(self,schema,table,fields):
         """sets the GIS meta information for table"""
         logging.debug("settablemetatypes schema=%s, table=%s, fields=%s"%(schema,table,fields))
+        res = self.executeSQL("select * from metadata where tablename=%s", table)
+        #if len(res["rows"]) > 0:
         # TODO: what now?
     
     def publishTraverse(self,request,name):