Merge branch 'master' of github.com:go-xorm/xorm

This commit is contained in:
Lunny Xiao 2016-10-19 17:00:05 +08:00
commit 5293f702b9
2 changed files with 4 additions and 1 deletions

View File

@ -247,6 +247,9 @@ func (db *mssql) SqlType(c *core.Column) string {
res = core.Text
case core.Double:
res = core.Real
case core.Uuid:
res = core.Varchar
c.Length = 40
default:
res = t
}

View File

@ -204,7 +204,7 @@ func (statement *Statement) In(column string, args ...interface{}) *Statement {
return statement
}
// NotIn generate "Where column IN (?) " statment
// NotIn generate "Where column NOT IN (?) " statment
func (statement *Statement) NotIn(column string, args ...interface{}) *Statement {
if len(args) == 0 {
return statement