remove RawCols, use Select instead

This commit is contained in:
jiangyanfeng 2018-12-08 17:20:18 +08:00 committed by Lunny Xiao
parent 7b921a0f51
commit f03a36e3ac
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 0 additions and 6 deletions

View File

@ -106,12 +106,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()