We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed6928a commit a5efce6Copy full SHA for a5efce6
postgrest/_async/request_builder.py
@@ -127,7 +127,7 @@ async def execute(self) -> Optional[SingleAPIResponse]:
127
try:
128
r = await super().execute()
129
except APIError as e:
130
- if e.details and "Results contain 0 rows" in e.details:
+ if e.details and "The result contains 0 rows" in e.details:
131
return None
132
if not r:
133
raise APIError(
postgrest/_sync/request_builder.py
@@ -127,7 +127,7 @@ def execute(self) -> Optional[SingleAPIResponse]:
r = super().execute()
0 commit comments