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

Method GetIndexes

server/tables/virtual_table.go:98–103  ·  view source on GitHub ↗

GetIndexes implements the interface sql.IndexedTable.

(ctx *sql.Context)

Source from the content-addressed store, hash-verified

96
97// GetIndexes implements the interface sql.IndexedTable.
98func (tbl *VirtualTable) GetIndexes(ctx *sql.Context) ([]sql.Index, error) {
99 if itbl, ok := tbl.handler.(IndexedTableHandler); ok {
100 return itbl.Indexes()
101 }
102 return nil, nil
103}
104
105// GetIndexLookup implements the interface sql.IndexAddressableTable.
106func (tbl *VirtualTable) PreciseMatch() bool {

Callers 5

doesRelationExistMethod · 0.80
NextMethod · 0.80
iterateIndexesFunction · 0.80
runIndexFunction · 0.80

Calls 1

IndexesMethod · 0.65

Tested by

no test coverage detected