twitchtv / node-apicalypse

The apicalypse query language client for nodejs
MIT License
81 stars 11 forks source link

When sorting null values are considered infinite #7

Closed TheOddler closed 5 years ago

TheOddler commented 5 years ago

When sorting a column, null values in that column are considered infinite. So when using sort ... desc these null values will be return first.

This is similar to how SQL works I believe, but couldn't find a workaround for this. Is there a way to always have null values last?

krazyjakee commented 5 years ago

This is not really an issue with this wrapper but for IGDB API that feature is not currently available but is in our current sprint so ETA next friday.