Struggling with making a dataQueryBuilder in Flutter

Hello, @Ilayda_B.

You need to call code like this:

    var query = DataQueryBuilder()
      ..related = ['linkedVenue'];

    var dbdata = await Backendless.data.withClass<Exhibit>().find(query);
    
    // working with result

IMPORTANT: You should to use callback(then) or await keyword but not both at the same time(your example uses then and await at the same time for one method).

Best Regards, Nikita.

1 Like