From a31d51ae2d0f230f8d0d99154c6d3f781788204a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 22 Oct 2019 15:09:47 +0800 Subject: [PATCH] bugfix --- sqlor/dbpools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sqlor/dbpools.py b/sqlor/dbpools.py index 03fa1cb..8a617d1 100644 --- a/sqlor/dbpools.py +++ b/sqlor/dbpools.py @@ -338,7 +338,7 @@ class DBPools: return ret return await _getTableFields(dbname,{},tblname,**kw) - async def getTablePrimaryKey(self,dbname,tblname): + async def getTablePrimaryKey(self,dbname,tblname,**kw): @self.inSqlor async def _getTablePrimaryKey(dbname,NS,tblname,**kw): sor = kw['sor'] @@ -346,7 +346,7 @@ class DBPools: return ret return await _getTablePrimaryKey(dbname,{},tblname,**kw) - async def getTableIndexes(self,dbname,tblname): + async def getTableIndexes(self,dbname,tblname,**kw): @self.inSqlor async def _getTablePrimaryKey(dbname,NS,tblname,**kw): sor = kw['sor'] @@ -354,7 +354,7 @@ class DBPools: return ret return await _getTablePrimaryKey(dbname,{},tblname,**kw) - async def getTableForignKeys(self,dbname,tblname): + async def getTableForignKeys(self,dbname,tblname,**kw): @self.inSqlor async def _getTableForignKeys(dbname,NS,tblname,**kw): sor = kw['sor']