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,