---
source: crates/dibs-sql/src/render/tests.rs
expression: result.sql
---
INSERT INTO "products" ("handle", "status", "created_at")
SELECT "handle", "status", NOW()
FROM UNNEST($1::text[], $2::text[]) AS "t"(handle, status)
ON CONFLICT ("handle") DO UPDATE SET "status" = EXCLUDED."status", "updated_at" = NOW()
RETURNING "id", "handle", "status"
