modifs.mineures sans commentaires
This commit is contained in:
parent
2e58cbd49f
commit
ec367b8a12
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue