bug fixes has function

pull/6/head
Steve Nyemba 1 year ago
parent b5794e0a61
commit 0933e4155f

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

Loading…
Cancel
Save