MCPcopy Create free account
hub / github.com/dolthub/doltgresql / NewVirtualTable

Function NewVirtualTable

server/tables/virtual_table.go:37–42  ·  view source on GitHub ↗

NewVirtualTable creates a new *VirtualTable from the given Handler.

(handler Handler, schema sql.DatabaseSchema)

Source from the content-addressed store, hash-verified

35
36// NewVirtualTable creates a new *VirtualTable from the given Handler.
37func NewVirtualTable(handler Handler, schema sql.DatabaseSchema) *VirtualTable {
38 return &VirtualTable{
39 handler: handler,
40 schema: schema,
41 }
42}
43
44// Collation implements the interface sql.Table.
45func (tbl *VirtualTable) Collation() sql.CollationID {

Callers 1

GetTableInsensitiveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected