MCPcopy
hub / github.com/go-gorm/gorm / QuoteTo

Method QuoteTo

tests/chainable_api_test.go:24–24  ·  view source on GitHub ↗
(writer clause.Writer, s string)

Source from the content-addressed store, hash-verified

22 writer.WriteByte('?')
23}
24func (d testDialector) QuoteTo(writer clause.Writer, s string) { writer.WriteString(s) }
25func (d testDialector) Explain(sql string, vars ...interface{}) string { return sql }
26
27// newTestDB returns a minimal *DB with an initialized Statement suitable for unit tests

Callers

nothing calls this directly

Calls 1

WriteStringMethod · 0.65

Tested by

no test coverage detected