MCPcopy Index your code
hub / github.com/g3n/engine / AddRow

Method AddRow

gui/table.go:500–503  ·  view source on GitHub ↗

AddRow adds a new row at the end of the table with the specified values

(values map[string]interface{})

Source from the content-addressed store, hash-verified

498
499// AddRow adds a new row at the end of the table with the specified values
500func (t *Table) AddRow(values map[string]interface{}) {
501
502 t.InsertRow(len(t.rows), values)
503}
504
505// InsertRow inserts the specified values in a new row at the specified index
506func (t *Table) InsertRow(row int, values map[string]interface{}) {

Callers 1

addRowMethod · 0.80

Calls 1

InsertRowMethod · 0.95

Tested by

no test coverage detected