mysql

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompatibilityAdvisor

type CompatibilityAdvisor struct {
}

CompatibilityAdvisor is the advisor checking for schema backward compatibility.

func (*CompatibilityAdvisor) Check

func (adv *CompatibilityAdvisor) Check(ctx advisor.Context, statement string) ([]advisor.Advice, error)

Check checks schema backward compatibility.

type SyntaxAdvisor

type SyntaxAdvisor struct {
}

SyntaxAdvisor is the advisor for checking syntax.

func (*SyntaxAdvisor) Check

func (adv *SyntaxAdvisor) Check(ctx advisor.Context, statement string) ([]advisor.Advice, error)

Check parses the given statement and checks for warnings and errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL