Explorar el Código

bug fixes has function

Steve Nyemba hace 2 años
padre
commit
0933e4155f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      transport/sql.py

+ 1 - 1
transport/sql.py

@@ -129,7 +129,7 @@ class SQLRW :
         
         return self.schema +'.'+name if self.schema not in [None, ''] and '.' not in name else name 
     def has(self,**_args):
-        return len(self.meta(**_args)) > 0
+        return self.meta(**_args)
         # found = False
         # try: