package
0.0.0-20240816083501-40feff6577a5
Repository: https://github.com/sunkaimr/sql-risk.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
DML2Select update/delete/insert 语法转为 select.
No description provided by the author
ExtractingRelatedTableName 提取和SQL语句所有相关的库和表.
ExtractingTableConstraints 从表的创建语句中提取表各列的约束信息.
ExtractingTableName 从SQL中提取可能改变的库和表.
ExtractingWhereColumn 从SQL中提取where后跟的条件列.
No description provided by the author
Finger returns the canonical form of q.
FingerID returns the right-most 16 characters of the MD5 checksum of fingerprint.
GetSurroundingWords 给定一个字符串的下标返回字符串的前后的单词.
No description provided by the author
No description provided by the author
Intersect 2个切片的交集.
No description provided by the author
No description provided by the author
No description provided by the author
去码.
No description provided by the author
RemoveSQLComments 去除SQL中的注释.
No description provided by the author
Select2SelectCount 改写select语句为select COUNT(*) ...
No description provided by the author
No description provided by the author
No description provided by the author
SplitOneStatement SQL切分 return 1.
SplitStatement 将多个SQL语句进行拆分.
No description provided by the author
TiParse TiDB 语法解析.

# Constants

Fatal 风险等级:致命.
High 风险等级:高.
Info 风险等级:提示建议.
Low 风险等级:低.

# Variables

Debug prints very verbose tracing information to STDOUT.
No description provided by the author
ReplaceNumbersInWords enables replacing numbers in words.

# Structs

No description provided by the author

# Type aliases

No description provided by the author