dbutiltest

package
v1.1.0-beta.0...-e87affb Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package dbutiltest is a package for some common used methods for db related testing. we put it in a separate package to avoid cyclic import.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTableInfo

func GetTableInfo(ctx context.Context, db dbutil.QueryExecutor, schemaName string, tableName string) (*model.TableInfo, error)

GetTableInfo returns table information.

func GetTableInfoBySQL

func GetTableInfoBySQL(createTableSQL string, parser2 *parser.Parser) (table *model.TableInfo, err error)

GetTableInfoBySQL returns table information by given create table sql.

Types

This section is empty.

Jump to

Keyboard shortcuts

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