MCPcopy
hub / github.com/ent/ent / SetDialect

Method SetDialect

dialect/sql/builder.go:3287–3289  ·  view source on GitHub ↗

SetDialect sets the builder dialect. It's used for garnering dialect specific queries.

(dialect string)

Source from the content-addressed store, hash-verified

3285
3286// SetDialect sets the builder dialect. It's used for garnering dialect specific queries.
3287func (b *Builder) SetDialect(dialect string) {
3288 b.dialect = dialect
3289}
3290
3291// Dialect returns the dialect of the builder.
3292func (b Builder) Dialect() string {

Callers 2

fromIdentMethod · 0.95
StringMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected