remove RawCols, use Select instead

This commit is contained in:
jiangyanfeng 2018-12-08 17:20:18 +08:00
parent 17b48001d3
commit f5e3392860
1 changed files with 0 additions and 6 deletions

View File

@ -149,12 +149,6 @@ func (session *Session) Cols(columns ...string) *Session {
return session
}
// RawCols generate raw "col1, col2" statement
func (session *Session) RawCols(columns ...string) *Session {
session.statement.ColumnStr = strings.Join(columns, ", ")
return session
}
// AllCols ask all columns
func (session *Session) AllCols() *Session {
session.statement.AllCols()