MCPcopy Create free account
hub / github.com/pingcap/tidb / writeTblName

Method writeTblName

pkg/ttl/sqlbuilder/sql.go:248–251  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246}
247
248func (b *SQLBuilder) writeTblName() error {
249 tn := ast.TableName{Schema: b.tbl.Schema, Name: b.tbl.Name}
250 return tn.Restore(b.restoreCtx)
251}
252
253func (b *SQLBuilder) writeColName(col *model.ColumnInfo) {
254 b.restoreCtx.WriteName(col.Name.O)

Callers 2

WriteSelectMethod · 0.95
WriteDeleteMethod · 0.95

Calls 1

RestoreMethod · 0.95

Tested by

no test coverage detected