Proper Way To Define Two Way Relations Between Two Tables
I have three tables: Employee (emp_id,name) Projects (pid,proj_status) Project_Allocation (pid,emp_id) To find the people belonging to my project: 1. I have my name, I query my em
Solution 1:
The problem was with require
. The deadlock was being caused there. I was defining each of my table in a separate file and require
-ing them in other table definitions (i.e other files). Writing all my table definitions in a single file and then exporting that object worked fine.
Post a Comment for "Proper Way To Define Two Way Relations Between Two Tables"