You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEIF NOT EXISTS id3_meta_times (
day TEXTNOT NULL,
timesINTNOT NULL,
CONSTRAINT"pk:id3_meta_times"PRIMARY KEY(day)
);
-- name: UpdateId3MetaTimes :execINSERT INTO id3_meta_times
( day, times)
VALUES(strftime('%Y%d','now'), 1)
ON CONFLICT(day)
DO UPDATESETtimes=times+1;
generate error code
// - ON CONFLICT(day) DO UPDATE SET tim - > MISSING ENDING constupdateId3MetaTimes=`-- name: UpdateId3MetaTimes :execINSERT INTO id3_meta_times ( day, times)VALUES(strftime('%Y%d','now'), 1)ON CONFLICT(day)DO UPDATE SET tim`//// INSERT INTO id3_meta_times// ( day, times)// VALUES(strftime('%Y%d','now'), 1)// ON CONFLICT(day)// DO UPDATE SET tim <- HEREfunc (q*Queries) UpdateId3MetaTimes(ctx context.Context) error {
_, err:=q.db.ExecContext(ctx, updateId3MetaTimes)
returnerr
}
Activity
kyleconroy commentedon Oct 19, 2026
This was fixed in github.com//pull/4535, which will be included in the next release.