go-xorm / cmd

Command line tools for database operation written by Go, moved to https://gitea.com/xorm/cmd
BSD 3-Clause "New" or "Revised" License
168 stars 77 forks source link

If mysql table name is a number,there will be a error occured #26

Open yelvxiuge opened 6 years ago

yelvxiuge commented 6 years ago

如果mysql数据库表名是个数字 它将报错. 详情如下: If mysql table name is a number,there will be a error occured. details below:

I run command : xorm reverse mysql sukhoi:123456@(127.0.0.1:3306)/crawling?charset=utf8 ./cmd/xorm/templates/go return : [Error] reverse.go:298 8:6: expected 'IDENT', found 'INT' 000001-package model