added IsJson for SQLType

This commit is contained in:
Lunny Xiao 2015-08-06 15:24:21 +08:00
parent bacc62db6e
commit 4813c0110d
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,10 @@ func (s *SQLType) IsNumeric() bool {
return s.IsType(NUMERIC_TYPE)
}
func (s *SQLType) IsJson() bool {
return s.Name == Json
}
var (
Bit = "BIT"
TinyInt = "TINYINT"