tidy up comments
This commit is contained in:
parent
99c7031b50
commit
a6eb640d81
|
@ -1,6 +1,7 @@
|
||||||
package xorm
|
package xorm
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"reflect"
|
"reflect"
|
||||||
//"strconv"
|
//"strconv"
|
||||||
|
@ -9,7 +10,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
// !nashtsai! treat following var as interal const values
|
// !nashtsai! treat following var as interal const values, these are used for reflect.TypeOf comparision
|
||||||
var (
|
var (
|
||||||
c_EMPTY_STRING = ""
|
c_EMPTY_STRING = ""
|
||||||
c_BOOL_DEFAULT = false
|
c_BOOL_DEFAULT = false
|
||||||
|
@ -707,7 +708,6 @@ func (s *Statement) genDropSQL() string {
|
||||||
return sql
|
return sql
|
||||||
}
|
}
|
||||||
|
|
||||||
// !nashtsai! REVIEW, Statement is a huge struct why is this method not passing *Statement?
|
|
||||||
func (statement *Statement) genGetSql(bean interface{}) (string, []interface{}) {
|
func (statement *Statement) genGetSql(bean interface{}) (string, []interface{}) {
|
||||||
table := statement.Engine.autoMap(bean)
|
table := statement.Engine.autoMap(bean)
|
||||||
statement.RefTable = table
|
statement.RefTable = table
|
||||||
|
|
Loading…
Reference in New Issue