query
This commit is contained in:
1 parent
d6445332be
commit
46ef47186e
1 file changed
+9
@@ -25,6 +25,15 @@ public class LapController : ControllerBase {
|
||||
});
|
||||
}
|
||||
|
||||
// with ranked as (
|
||||
// select *, rank() over (order by "Time" asc) as "Position", count("Id") over ()
|
||||
// from "Laps"
|
||||
// where "Map" = 'surf_kitsune2_go'
|
||||
// )
|
||||
|
||||
// select * from ranked
|
||||
// where "UserId" = '116bf9a6-b618-48ef-ac78-d294abb500b2';
|
||||
|
||||
// [HttpGet()]
|
||||
// public LapStorageDTO UserLaps(Guid userId, string mapName) {
|
||||
// List<Lap> laps = _db.Laps
|
||||
|
||||
Reference in new issue
Block a user