bug fixes has function
This commit is contained in:
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…
Reference in New Issue