๐Ÿงจ

One to One

Two table are connected to each other in which one property in a table is a primary key in another table
  1. Make a controller
  1. make a model
Inside model you have to define this table has a one to one relation with table_name
notion image
To get the data inside controller
notion image
ย 
ย 
ย