Closed jinpy666 closed 3 years ago
The following is a queryString built by the RequestQueryBuilder, which is inconsistent with the results obtained on the Wiki.
Code:
RequestQueryBuilder.create() .setFilter(["deletedAt", CondOperator.NOT_NULL]) .setFilter(["deletedAt2", CondOperator.NOT_NULL]) .setFilter(["deletedAt3", CondOperator.NOT_NULL]) .setIncludeDeleted(1) .query(false);
filter[0]=deletedAt||$notnull&filter[1]=deletedAt2||$notnull&filter[2]=deletedAt3||$notnull&include_deleted=1
The problem was solved because I was using @nestjs/platform-fastify, which doesn't support complex QueryStrings, and I finally solved the problem with fastify-qs.
The following is a queryString built by the RequestQueryBuilder, which is inconsistent with the results obtained on the Wiki.
Code:
filter[0]=deletedAt||$notnull&filter[1]=deletedAt2||$notnull&filter[2]=deletedAt3||$notnull&include_deleted=1