Merge pull request #114 from ghostwords/document-insert's-return
Document insert()'s return. Thanks @ghostwords
This commit is contained in:
commit
0c53587d34
@ -60,6 +60,8 @@ class Table(object):
|
||||
|
||||
data = dict(title='I am a banana!')
|
||||
table.insert(data)
|
||||
|
||||
Returns the inserted row's primary key.
|
||||
"""
|
||||
self._check_dropped()
|
||||
if ensure:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user