Grails

Create game Leaderboard using sqlProjection

Recently I was working on a Facebook game application using Grails 2.0 and Postgres database. The use case was to show the game leaderboard with ranks of the players. Players with same score should be given same rank and next player rank should be incremented rank of last player. Here is the sample data for players and expected result: ...

by Bhagwat Kumar
Tag: postgres
08-Nov-2012