Hi,
In my Bussines table, I have relations between businesses and other tables (BussinessCategory and BussinesSubCategory). how I can get category and subcategory when calling Businesses List
Hi, @saeed_noshadi!
Here is my example:
DataQueryBuilder queryBuilder = DataQueryBuilder.create();
queryBuilder.addRelated( “BussinessCategory” );
queryBuilder.addRelated( “BussinesSubCategory” );
List bussinesses = Backendless.Data.of( “Bussines” ).find( queryBuilder );
Feel free to ask any questions
Documentation:
https://backendless.com/docs/android/data_relations_retrieve_overview.html
Have a nice day,
Igor