Home

14: Database Side Validation And Constraints

Creating and Viewing Tables in PGAdmin

Essentially the code from section (6) was used to create the tables in the database.

You can then validate the call like so:

SELECT * FROM public.products ORDER BY id ASC;

Repository

https://github.com/okeeffed/developer-notes-nextjs/content/postgresql/SQL-And-PostgreSQL-The-Complete-Developers-Guide/14-Database-Side-Validation-And-Constraints

Sections


Related