Angular 2 database table relationships

Hi I’m trying to build an Angular 2 app (ionic 2 actually) with Backendless. I’ve read the quick start guide and looked at the example. What I’m missing is an example of two tables that have a relationship. How should this be done in code? The example entity Comment only has two string fields. Ideally this would be generated from my existing database schema, but code first would be fine for now.

Thanks,
Maarten

Hi Maarten,

Have you seen this chapter in the documentation? It talks about creating a relationship between two objects from different tables:
https://backendless.com/documentation/data/js/data_relations_save_update.htm

Regards,
Mark