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

Method Open

schema/datasource.go:44–44  ·  view source on GitHub ↗

Open create a connection (not thread safe) to this source.

(source string)

Source from the content-addressed store, hash-verified

42 Close() error
43 // Open create a connection (not thread safe) to this source.
44 Open(source string) (Conn, error)
45 // Tables is a list of table names provided by this source.
46 Tables() []string
47 // Table get table schema for given table name.

Callers 15

OpenMethod · 0.65
TestJsonDataSourceFunction · 0.65
TestCsvDataSourceFunction · 0.65
OpenMethod · 0.65
TestFileSelectSimpleFunction · 0.65
BenchmarkFileSqlWhereFunction · 0.65
fetcherMethod · 0.65
TestJsonSelectSimpleFunction · 0.65
BenchmarkJsonSqlWhereFunction · 0.65
OpenMethod · 0.65
LoadTestDataOnceFunction · 0.65
SetupMethod · 0.65

Implementers 9

CsvDataSourcedatasource/csv.go
SchemaDbdatasource/schemadb.go
JsonSourcedatasource/json.go
Sourcedatasource/mockcsv/mockcsv.go
storeSourcedatasource/files/storesource.go
FileSourcedatasource/files/filesource.go
StaticDataSourcedatasource/membtree/btree.go
Sourcedatasource/sqlite/source.go
MemDbdatasource/memdb/db.go

Calls

no outgoing calls

Tested by 15

TestJsonDataSourceFunction · 0.52
TestCsvDataSourceFunction · 0.52
TestFileSelectSimpleFunction · 0.52
BenchmarkFileSqlWhereFunction · 0.52
TestJsonSelectSimpleFunction · 0.52
BenchmarkJsonSqlWhereFunction · 0.52
LoadTestDataOnceFunction · 0.52
TestMemDbFunction · 0.52
TestSqlCsvDriverSimpleFunction · 0.52