dibs-sql 0.1.1

Typed SQL AST and renderer for dibs
Documentation
1
2
3
4
5
6
7
8
---
source: crates/dibs-sql/src/render/tests.rs
expression: result.sql
---
INSERT INTO "products" ("handle", "status", "created_at")
VALUES ($1, $2, NOW())
ON CONFLICT ("handle") DO UPDATE SET "status" = $2, "updated_at" = NOW()
RETURNING "id", "handle", "status"