MCPcopy
hub / github.com/ent/ent / Builder

Struct Builder

dialect/sql/builder.go:2953–2960  ·  view source on GitHub ↗

Builder is the base query builder for the sql dsl.

Source from the content-addressed store, hash-verified

2951
2952// Builder is the base query builder for the sql dsl.
2953type Builder struct {
2954 sb *strings.Builder // underlying builder.
2955 dialect string // configured dialect.
2956 args []any // query parameters.
2957 total int // total number of parameters in query tree.
2958 errs []error // errors that added during the query construction.
2959 qualifier string // qualifier to prefix identifiers (e.g. table name).
2960}
2961
2962// Quote quotes the given identifier with the characters based
2963// on the configured dialect. It defaults to "`".

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected