This commit is contained in:
2026-08-26 11:01:46 +03:00
parent 34a798d345
commit 4bd1512994
712 changed files with 538122 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package dbr
import "time"
// Dialect abstracts database driver differences in encoding
// types, and placeholders.
type Dialect interface {
QuoteIdent(id string) string
EncodeString(s string) string
EncodeBool(b bool) string
EncodeTime(t time.Time) string
EncodeBytes(b []byte) string
Placeholder(n int) string
}