aboutsummaryrefslogtreecommitdiff
path: root/dialect.go
diff options
context:
space:
mode:
authorStefan Majewsky <majewsky@gmx.net>2026-04-10 20:59:46 +0200
committerStefan Majewsky <majewsky@gmx.net>2026-04-10 20:59:46 +0200
commit5f27af0eef5eb46a43e714aaed8bc7807f6d5ca7 (patch)
tree82f4c5b81a2e17230b4642d1560157c15c5587a4 /dialect.go
parent293e2a52e0b45065db12ff27f89f1adebe4bf4d2 (diff)
downloadgo-oblast-5f27af0eef5eb46a43e714aaed8bc7807f6d5ca7.tar.gz
generate INSERT/UPDATE/DELETE queries during BuildPlan
Diffstat (limited to 'dialect.go')
-rw-r--r--dialect.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dialect.go b/dialect.go
index 7a3acff..acbb160 100644
--- a/dialect.go
+++ b/dialect.go
@@ -16,6 +16,7 @@ import "go.xyrillian.de/oblast/internal"
type Dialect interface {
// Placeholder returns the placeholder for the i-th query argument.
// Most dialects use "?", but e.g. PostgreSQL uses "$1", "$2" and so on.
+ // The argument numbers from 0 like a slice index.
Placeholder(i int) string
// QuoteIdentifier wraps the name of a column or table in quotes,