matthewmueller / pogo

Type-safe Database Client for Go. Supports PostgreSQL and SQLite.
MIT License
6 stars 0 forks source link

updateByX has the wrong variable order #13

Open matthewmueller opened 6 years ago

matthewmueller commented 6 years ago
UPDATE "public"."standups_users" SET "cron" = $3, "status" = $4 
WHERE "standup_id" = $1 AND "user_id" = $2 
RETURNING "id", "standup_id", "user_id", "cron", "status", "created_at", "updated_at";
$1=1
$2=1
$3=0 11 * * 1,2,3,4,5
$4=INVITED