Make parse_execute_json() complain if no DataRows were received
@@ -296,7 +296,9 @@ cdef class PGProto:
if error is not None:
raise error
-
+ if data is None:
+ raise RuntimeError(
+ f'no data received for a JSON query {sql!r}')
return data
async def parse_execute(self,
