Update doc.go

This commit is contained in:
yyoshiki41 2016-10-05 01:12:24 +09:00
parent 6b71006866
commit 8b5de8cf1d
1 changed files with 2 additions and 2 deletions

4
doc.go
View File

@ -127,10 +127,10 @@ Attention: the above 7 methods should be the last chainable method.
// SELECT TOP 5 * FROM user // for mssql
// SELECT * FROM user LIMIT .. OFFSET 0 //for other databases
5. Sql, let you custom SQL
5. SQL, let you custom SQL
var users []User
engine.Sql("select * from user").Find(&users)
engine.SQL("select * from user").Find(&users)
6. Cols, Omit, Distinct