Doesnt pg-promise already do this?