From ec367b8a121dd4833bb95fe3bb49efd61fa3751c Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Tue, 1 Oct 2024 16:30:58 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- nur_bin/sqlite-storage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nur_bin/sqlite-storage.php b/nur_bin/sqlite-storage.php index 3add3a4..316dca6 100755 --- a/nur_bin/sqlite-storage.php +++ b/nur_bin/sqlite-storage.php @@ -104,18 +104,17 @@ Application::run(new class extends Application { } } if (!$found) self::die("Vous devez spécifier le canal de données"); + else self::exit(); } $capacitor = new Capacitor($storage, $channel); switch ($this->action) { case self::ACTION_QUERY: $args = $this->args; - var_export($args); #XXX if (!$args) { # lister les id $out = new Stream(STDOUT); $primaryKeys = $storage->getPrimaryKeys($channel); - var_export($primaryKeys); #XXX $rows = $db->all([ "select", "cols" => $primaryKeys,