Postgrex error with sql library: message: "syntax error at or near \"$0\""

:waving_hand:

Double where might also be a problem.