MCPcopy
hub / github.com/ent/ent / Table

Method Table

dialect/sql/builder.go:383–385  ·  view source on GitHub ↗

Table returns the table the `UPSERT` statement is executed on.

()

Source from the content-addressed store, hash-verified

381
382// Table returns the table the `UPSERT` statement is executed on.
383func (u *UpdateSet) Table() *SelectTable {
384 return Dialect(u.UpdateBuilder.dialect).Table(u.UpdateBuilder.table)
385}
386
387// Columns returns all columns in the `INSERT` statement.
388func (u *UpdateSet) Columns() []string {

Callers 1

SetIgnoreMethod · 0.95

Calls 2

DialectFunction · 0.85
TableMethod · 0.45

Tested by

no test coverage detected