From 7e04a37ea0d3989a4347f41ff0e5ea81ac3981d5 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 21 Apr 2020 16:08:10 +0200 Subject: dbi: improve docs, enable LIMIT => false --- test/it_dbi.t | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/it_dbi.t b/test/it_dbi.t index a5d9f92..750841a 100755 --- a/test/it_dbi.t +++ b/test/it_dbi.t @@ -355,6 +355,7 @@ is($r->ID, 6, "Simple LIMIT: id"); $count = $r->select(['ID >' => 0, 'ORDER BY ID DESC', 'LIMIT' => "1, 2"]); is($count, 2, "LIMIT with offset: count"); is($r->ID, 5, "LIMIT with offset: id"); +is($r->select(['ID >' => 0, 'ORDER BY ID DESC', 'LIMIT' => false]), 5, "no limit"); # Check if iterator clears dynfields left over from previous record $r->delete(["WHERE 1"]); -- cgit v1.2.3