package
3.0.0-rc.3+incompatible
Repository: https://github.com/vitessio/vitess.git
Documentation: pkg.go.dev

# Functions

AddKeyspaceIDs returns a copy of 'sql' annotated with the given keyspace id.
AnnotateIfDML annotates 'sql' based on 'keyspaceIDs' If 'sql' is not a DML statement no annotation is added.
ExtractKeyspaceIDS parses the annotation of the given statement and tries to extract the keyspace id.

# Constants

Possible values for ExtractKeySpaceIDError.Kind.
Possible values for ExtractKeySpaceIDError.Kind.

# Structs

ExtractKeySpaceIDError is the error type returned from ExtractKeySpaceID Kind is a numeric code for the error (see constants below) and Message is an error message string.