From ced50875cf894797c5fa598172b872f2a62c9463 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 31 Dec 2013 13:51:55 +0800 Subject: [PATCH] improved docs --- doc.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc.go b/doc.go index 37c00516..765f2dfe 100644 --- a/doc.go +++ b/doc.go @@ -60,7 +60,14 @@ There are 7 major ORM methods and many helpful methods to use to operate databas err := engine.Find(...) // SELECT * FROM user -4. Query multiple records and record by record handle +4. Query multiple records and record by record handle, there two methods, one is Iterate, +another is Raws + + raws, err := engine.Raws(...) + // SELECT * FROM user + for raws.Next() { + raws.Scan(bean) + } err := engine.Iterate(...) // SELECT * FROM user