MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / insert

Function insert

lib/sqlalchemy/orm/collections.py:1102–1108  ·  view source on GitHub ↗
(fn)

Source from the content-addressed store, hash-verified

1100 return remove
1101
1102 def insert(fn):
1103 def insert(self, index, value):
1104 value = __set(self, value, None, index)
1105 fn(self, index, value)
1106
1107 _tidy(insert)
1108 return insert
1109
1110 def __setitem__(fn):
1111 def __setitem__(self, index, value):

Calls 2

__setFunction · 0.85
_tidyFunction · 0.85