MCPcopy Create free account
hub / github.com/araddon/qlbridge / SetRows

Method SetRows

schema/schema.go:588–590  ·  view source on GitHub ↗

SetRows set rows aka values for this table. Used for schema/testing.

(rows [][]driver.Value)

Source from the content-addressed store, hash-verified

586
587// SetRows set rows aka values for this table. Used for schema/testing.
588func (m *Table) SetRows(rows [][]driver.Value) {
589 m.rows = rows
590}
591
592// FieldNamesPositions List of Field Names and ordinal position in Column list
593func (m *Table) FieldNamesPositions() map[string]int { return m.FieldPositions }

Callers 4

tableForTableMethod · 0.95
tableForTablesMethod · 0.95
tableForDatabasesMethod · 0.95
TestTableFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestTableFunction · 0.76