Document insert()'s return.
This commit is contained in:
parent
77206b8dcf
commit
7bec815714
@ -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