From 499c7506fe866f1617abd01e39ad4cb347886e68 Mon Sep 17 00:00:00 2001 From: karolos lykos Date: Wed, 28 Apr 2021 13:31:00 +0300 Subject: [PATCH] Added missing white space --- clause/on_conflict.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clause/on_conflict.go b/clause/on_conflict.go index a589bd65..127d9bc1 100644 --- a/clause/on_conflict.go +++ b/clause/on_conflict.go @@ -40,8 +40,7 @@ func (onConflict OnConflict) Build(builder Builder) { } if len(onConflict.Where.Exprs) > 0 { - builder.WriteByte(' ') - builder.WriteString("WHERE ") + builder.WriteString(" WHERE ") onConflict.Where.Build(builder) builder.WriteByte(' ') }