summaryrefslogtreecommitdiff
path: root/test/it_dbi.t
diff options
context:
space:
mode:
authorUrban Müller2020-04-21 16:08:10 +0200
committerUrban Müller2020-04-21 16:08:10 +0200
commit7e04a37ea0d3989a4347f41ff0e5ea81ac3981d5 (patch)
tree6c371d0980d62b3d21f1690650bebd44f1b1ea1b /test/it_dbi.t
parent9162e288d0b407ebf4823560c42968b4ab23ee91 (diff)
downloaditools-7e04a37ea0d3989a4347f41ff0e5ea81ac3981d5.tar.gz
itools-7e04a37ea0d3989a4347f41ff0e5ea81ac3981d5.tar.bz2
itools-7e04a37ea0d3989a4347f41ff0e5ea81ac3981d5.zip
dbi: improve docs, enable LIMIT => false
Diffstat (limited to 'test/it_dbi.t')
-rwxr-xr-xtest/it_dbi.t1
1 files changed, 1 insertions, 0 deletions
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"]);