Explorar o código

Add CREATE_TAB string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54588 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli %!s(int64=12) %!d(string=hai) anos
pai
achega
eca1174424
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/python/pygrass/vector/sql.py

+ 1 - 0
lib/python/pygrass/vector/sql.py

@@ -17,6 +17,7 @@ It is a collection of strings to avoid to repeat the code. ::
 #
 # SQL
 #
+CREATE_TAB = "CREATE TABLE {tname}({coldef})"
 
 #ALTER TABLE
 ADD_COL = "ALTER TABLE {tname} ADD COLUMN {cname} {ctype};"