Query result type in docs does not match Executed type in code #543
Replies: 2 comments 2 replies
-
Hello @danboyle8637, If you are able to provide an example of the response you're receiving that would be helpful to compare against an example I'm looking at pulled from a test via the web console on my end, since our web console also uses the serverless driver. However, based on what you've shared I am wondering if changes like the one linked to below might provide an explanation for the difference in output at least for the The related pull request seems to indicate that the In other words, the documentation in the example for the page you linked to is likely outdated due to changes that have occurred in the serverless driver since that page was first written and we may need to review that page for accuracy if the output of the serverless driver is different now. |
Beta Was this translation helpful? Give feedback.
-
Awesome thanks @orware !! |
Beta Was this translation helpful? Give feedback.
-
According to the serverless docs here: https://planetscale.com/docs/tutorials/planetscale-serverless-driver
The query result should return...
In my code when I look at the
ExecutedQuery
type... at least I think I remember that correctly...The
error
property is not available.Is there a better way to catch query errors if we don't have access to the
error
property... or is that not even what this property is used for?Thanks for any help
Beta Was this translation helpful? Give feedback.
All reactions