Hi all! I am trying to get rangeAdjacent to work...
# javascript
m
Hi all! I am trying to get rangeAdjacent to work but it bites me. I have a table "scores" which contains a scorevalue column as int8 and an reference to the user, now I am trying to figure out a way to display the users own score +/- 100 adjacent players with their scores, basically a ranking of players. However trying to use rangeAdjacent I get an error:
Copy code
js
hint    "No operator matches the given name and argument types. You might need to add explicit type casts."
message    "operator does not exist: bigint -|- unknown"
code    "42883"
details    null
Anyone has an idea how I could work that out so the user can see his own standing? Edit: or is there any way to get "my own score" + 100 players ahead?