This commit is contained in:
Steve Nyemba 2022-06-10 10:27:44 -05:00
parent b2a224f4a7
commit 6b78a82e99
1 changed files with 2 additions and 1 deletions

View File

@ -258,7 +258,8 @@ class SQLWriter(SQLRW,Writer):
# info = [info] if type(info) == dict else info.values.tolist()
try:
table = self._tablename(self.table)
table = _args['table'] if 'table' in _args else self.table
table = self._tablename(table)
_sql = "INSERT INTO :table (:fields) VALUES (:values)".replace(":table",table) #.replace(":table",self.table).replace(":fields",_fields)
if type(info) == list :