Closed murithigeo closed 2 months ago
Where exactly is the method findAndCountAll
defined you are describing in your first paragraph? In the test suite there is no such method.
Second paragraph: Can you please document the exact error message of TEAM Engine?
Where exactly is the method findAndCountAll defined you are describing in your first paragraph? In the test suite there is no such method.
I'm using sequelize as an ORM to connect to my postgis database, which admittedly make its hard to reproduce the issue. count
is the number of features matching parameters and rows
is the features array.
Second paragraph: Can you please document the exact error message of TEAM Engine?
The value of numberMatched in your responses is 10 but the actual number of returned features is higher. This seems to be a bug in your implementation.
However, the text of the error message might be improved.
Turns out it was related to paging links (next|prev)
Part 1: /req/core/fc-numberMatched
I'm using sequelize with the method
findAndCountAll
which returns thecount
, which is the number of features that matched the parameters androws
which is the features array. According to the requirement above, then numberMatched would be equal to thecount
.Part 1: /req/core/fc-numberReturned
Shouldn't this be the length of the features array? I had solved this issue in my project but the error has returned and I really didn't understand the solution that @tomkralidis used in #188