add inser data

This commit is contained in:
cpwu 2022-05-19 15:29:44 +08:00
parent 433de5c9cc
commit d8f05e8ea8
1 changed files with 14 additions and 1 deletions

View File

@ -8,11 +8,24 @@ from util.sql import *
from util.cases import * from util.cases import *
from util.dnodes import * from util.dnodes import *
PRIVILEGES_ALL = "ALL" PRIVILEGES_ALL = "ALL"
PRIVILEGES_READ = "READ" PRIVILEGES_READ = "READ"
PRIVILEGES_WRITE = "WRITE" PRIVILEGES_WRITE = "WRITE"
PRIMARY_COL = "ts"
INT_COL = "c1"
BINT_COL = "c2"
SINT_COL = "c3"
TINT_COL = "c4"
FLOAT_COL = "c5"
DOUBLE_COL = "c6"
BOOL_COL = "c7"
BINARY_COL = "c8"
NCHAR_COL = "c9"
TS_COL = "c10"
class TDconnect: class TDconnect:
def __init__(self, def __init__(self,
host = None, host = None,