database 2 tables
As exercise for the 16th week in a python cours in ADEP.
We learning using database with default type and constaint.
create tables: two tables joined into python code.
we had to be able to connect on the database, to add, display and delete rows in tables.
we had to craay out the project with Object oriented project.
we are learning manage class and use hydratation method and magic method.
carrying out a plan of database
using Pyscopg2 library
create database into postegreSQL
create tables
connect to the database
execute CRUD
manage the project in MVC model
hydrate objects and entities via JOIN
Impove using objects and methods