upsert with all keys
This commit is contained in:
parent
e10dc36219
commit
6533fd16e9
@ -118,7 +118,7 @@ class Table(object):
|
||||
``types``, matching the behavior of :py:meth:`insert() <dataset.Table.insert>`.
|
||||
"""
|
||||
self._check_dropped()
|
||||
if not len(keys):
|
||||
if not len(keys) or len(keys)==len(row):
|
||||
return False
|
||||
clause = [(u, row.get(u)) for u in keys]
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user