From afb787d49db39d37047b48fbfa139bc7651dd973 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Sat, 27 Apr 2019 16:55:42 +0800 Subject: [PATCH] remove the 1000-row limit for ORM result set --- orm/orm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orm/orm.go b/orm/orm.go index fc3cd400..d322881b 100644 --- a/orm/orm.go +++ b/orm/orm.go @@ -72,7 +72,7 @@ const ( var ( Debug = false DebugLog = NewLog(os.Stdout) - DefaultRowsLimit = 1000 + DefaultRowsLimit = -1 DefaultRelsDepth = 2 DefaultTimeLoc = time.Local ErrTxHasBegan = errors.New(" transaction already begin")