I have a table called Email Table and I have a table called ParentEmail Table which contains a column called ParentID
.
I want to include ParentEmail in Parent table when I make a list. May I know how to do it ?
This didn't work:
var parent = db.parent.include("email").tolist();
Does anyone know how to include this kind of table structure?
Parent
parentID
Username
Password
Firstname
....
EmailID
Email
ParentID