WIP: Add option to toggle graphs (havent yet added axis filter)
This commit is contained in:
3
db.py
3
db.py
@@ -158,7 +158,8 @@ class DataBase():
|
||||
E.exercise_id AS "ExerciseId",
|
||||
E.name AS "ExerciseName",
|
||||
T.repetitions AS "Repetitions",
|
||||
T.weight AS "Weight"
|
||||
T.weight AS "Weight",
|
||||
round((100 * T.Weight::numeric::integer)/(101.3-2.67123 * T.Repetitions),0)::numeric::integer AS "Estimated1RM"
|
||||
FROM Person P
|
||||
LEFT JOIN Workout W ON P.person_id=W.person_id
|
||||
LEFT JOIN TopSet T ON W.workout_id=T.workout_id
|
||||
|
||||
Reference in New Issue
Block a user