fastapi-graphql icon indicating copy to clipboard operation
fastapi-graphql copied to clipboard

Need more details on how to Error Checking

Open sanggusti opened this issue 2 years ago • 0 comments

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, on database config section, 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, not masonite-orm and psycopg2

Thanks for your tutorials, hope you keep going

sanggusti avatar Mar 08 '23 01:03 sanggusti