Parcourir la source

bug fixes has function

Steve Nyemba il y a 2 ans
Parent
commit
0933e4155f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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: