MCPcopy Create free account
hub / github.com/piccolo-orm/piccolo / SelectJSON

Class SelectJSON

piccolo/query/methods/select.py:136–147  ·  view source on GitHub ↗

This is for static typing purposes.

Source from the content-addressed store, hash-verified

134
135
136class SelectJSON(Proxy["Select", str]):
137 """
138 This is for static typing purposes.
139 """
140
141 async def run(
142 self,
143 node: Optional[str] = None,
144 in_pool: bool = True,
145 ) -> str:
146 rows = await self.query.run(node=node, in_pool=in_pool)
147 return dump_json(rows)
148
149
150class Select(Query[TableInstance, list[dict[str, Any]]]):

Callers 1

outputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected