Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ insert_data
Method
insert_data
test/orm/test_deferred.py:2602–2606 ·
view source on GitHub ↗
(cls, connection)
Source
from the content-addressed store, hash-verified
2600
2601
@classmethod
2602
def
insert_data(cls, connection):
2603
A = cls.classes.A
2604
s = Session(connection)
2605
s.add(A(id=1, x=2, y=3, z=4))
2606
s.commit()
2607
2608
def
test_mapper_raise(self):
2609
A = self.classes.A
Callers
nothing calls this directly
Calls
4
add
Method · 0.95
commit
Method · 0.95
Session
Class · 0.90
A
Class · 0.70
Tested by
no test coverage detected