Beispiel #1
0
 def join(self, table, pattern1=None, pattern2=None, outer=False, name=None):
     tmp_dbptrcln = self.copy()
     tmp_dbptrcln.lookup('', table, '', '')
     return self._update(_ds._dbjoin(self.dbptr,
                                     tmp_dbptrcln.dbptr,
                                     pattern1,
                                     pattern2,
                                     outer,
                                     name))
Beispiel #2
0
 def join_clean(self, table, pattern1=None, pattern2=None, outer=False, name=None):
     #return self._update_cleanly(self.dbptr.join(*args, **kwargs))
     tmp_dbptrcln = self.copy()
     tmp_dbptrcln.lookup('', table, '', '')
     return self._update_cleanly(_ds._dbjoin(self.dbptr,
                                             tmp_dbptrcln.dbptr,
                                             pattern1,
                                             pattern2,
                                             outer,
                                             name))