We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56677fd commit d221e8cCopy full SHA for d221e8c
piccolo/query/mixins.py
@@ -176,6 +176,14 @@ def output(
176
as_list: t.Optional[bool] = None,
177
as_json: t.Optional[bool] = None,
178
):
179
+ """
180
+ :param as_list:
181
+ If each row only returns a single value, compile all of the results
182
+ into a single list.
183
+ :param as_json:
184
+ The results are serialised into JSON. It's equivalent to running
185
+ `json.dumps` on the result.
186
187
if as_list is not None:
188
self._output.as_list = bool(as_list)
189
0 commit comments