I get the error when doing a relation (Single step) retrieval.
Backendless.Data.of("TABLENAME_PRODUCT").findById(queryBuilder)
The where clause looks like this:
{ objectId: 'F4E74832-C42D-5BC4-FF2E-E9B45D10F100',
loadRelations: 'TranslationID' }
The query looks like this:
{ _query:
{ properties: [],
condition:
{ objectId: 'F4E74832-C42D-5BC4-FF2E-E9B45D10F100',
loadRelations: 'TranslationID' },
options: null,
url: null },
_paging: { offset: 0, pageSize: 10 } }
How can I remove the limitation or increase it?
Hi,
please provide snippet how you build the query.
I just saw the error, thanks! I will paste it here for future reference:
I was doing this:
var whereClause = { objectId: 'F4E74832-C42D-5BC4-FF2E-E9B45D10F100', loadRelations: 'TranslationID' }
var queryBuilder = Backendless.DataQueryBuilder.create().setWhereClause(whereClause);
Backendless.Data.of("TABLENAME_PRODUCT").findById(queryBuilder)
But findById takes the where clause directly, not the query, so the code that works is:
var whereClause = { objectId: 'F4E74832-C42D-5BC4-FF2E-E9B45D10F100', loadRelations: 'TranslationID' }
Backendless.Data.of("TABLENAME_PRODUCT").findById(whereClause
Thank you for the quick response!