cockroach: Index | Files

package keysutils

import ""


Package Files


func MakePrettyScannerForNamedTables Uses

func MakePrettyScannerForNamedTables(
    tableNameToID map[string]int, idxNameToID map[string]int,
) keysutil.PrettyScanner

MakePrettyScannerForNamedTables create a PrettyScanner that, beside what the PrettyScanner is generally able to decode, can also decode keys of the form "/<table name>/<index name>/1/2/3/..." using supplied maps from names to ids.

TODO(nvanbenschoten): support tenant SQL keys.

Package keysutils imports 8 packages (graph). Updated 2020-08-09. Refresh now. Tools for package owners.