GetIndexes implements the interface sql.IndexedTable.
(ctx *sql.Context)
| 96 | |
| 97 | // GetIndexes implements the interface sql.IndexedTable. |
| 98 | func (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. |
| 106 | func (tbl *VirtualTable) PreciseMatch() bool { |
no test coverage detected