浏览代码

Add CREATE_TAB string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54588 15284696-431f-4ddb-bdfa-cd5b030d7da7
Pietro Zambelli 12 年之前
父节点
当前提交
eca1174424
共有 1 个文件被更改,包括 1 次插入0 次删除
  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};"