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!')
|
data = dict(title='I am a banana!')
|
||||||
table.insert(data)
|
table.insert(data)
|
||||||
|
|
||||||
|
Returns the inserted row's primary key.
|
||||||
"""
|
"""
|
||||||
self._check_dropped()
|
self._check_dropped()
|
||||||
if ensure:
|
if ensure:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user