[GRASS-SVN] r54588 - grass/trunk/lib/python/pygrass/vector

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 11 08:37:37 PST 2013


Author: zarch
Date: 2013-01-11 08:37:36 -0800 (Fri, 11 Jan 2013)
New Revision: 54588

Modified:
   grass/trunk/lib/python/pygrass/vector/sql.py
Log:
Add CREATE_TAB string

Modified: grass/trunk/lib/python/pygrass/vector/sql.py
===================================================================
--- grass/trunk/lib/python/pygrass/vector/sql.py	2013-01-09 16:53:03 UTC (rev 54587)
+++ grass/trunk/lib/python/pygrass/vector/sql.py	2013-01-11 16:37:36 UTC (rev 54588)
@@ -17,6 +17,7 @@
 #
 # SQL
 #
+CREATE_TAB = "CREATE TABLE {tname}({coldef})"
 
 #ALTER TABLE
 ADD_COL = "ALTER TABLE {tname} ADD COLUMN {cname} {ctype};"



More information about the grass-commit mailing list