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

Method CreateTable

datasource/mockcsv/mockcsv.go:187–193  ·  view source on GitHub ↗

CreateTable create a csv table in this source.

(tableName, csvRaw string)

Source from the content-addressed store, hash-verified

185
186// CreateTable create a csv table in this source.
187func (m *Source) CreateTable(tableName, csvRaw string) {
188 if _, exists := m.raw[tableName]; !exists {
189 m.tablenamelist = append(m.tablenamelist, tableName)
190 }
191 m.raw[tableName] = csvRaw
192 m.loadTable(tableName)
193}

Callers 1

LoadTableFunction · 0.80

Calls 1

loadTableMethod · 0.95

Tested by

no test coverage detected