MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / go

Method go

test/orm/test_recursive_loaders.py:101–107  ·  view source on GitHub ↗
(sess)

Source from the content-addressed store, hash-verified

99 Node = self.classes.Node
100
101 def go(sess):
102 n1, n2 = sess.scalars(
103 select(Node)
104 .where(Node.data.in_(["n1", "n2"]))
105 .order_by(Node.id)
106 ).all()
107 return n1, n2
108
109 return go
110

Callers

nothing calls this directly

Calls 10

selectFunction · 0.90
loaderFunction · 0.85
allMethod · 0.45
scalarsMethod · 0.45
order_byMethod · 0.45
whereMethod · 0.45
in_Method · 0.45
optionsMethod · 0.45
filterMethod · 0.45
queryMethod · 0.45

Tested by

no test coverage detected