fastapi-graphql
fastapi-graphql copied to clipboard
Need more details on how to Error Checking
Hi, first of all thanks for the blog and tutorials you posted on testdriven.io, really appreciate your tutorial. It's really comprehensive.
But, I would like to address the difficulty that I found when I walk through your tutorials. I would like to know how to troubleshoot the error that could often raised in this orm related project since it isn't mentioned in the tutorials, like:
- what if the table did not exists
- what if the relations already exists and you want to update it
- how to init the postgres user and database in
database.py(the tutorial did not mention user should set psql in your machine first and build the table and user, like if you just blindly follow the tutorials, ondatabase configsection, user would encounter database test is not exist) - a lot of QueryException error that a lot of solution on internet is mainly based on
psql, notmasonite-ormandpsycopg2
Thanks for your tutorials, hope you keep going