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");
|
if (!$found) self::die("Vous devez spécifier le canal de données");
|
||||||
|
else self::exit();
|
||||||
}
|
}
|
||||||
$capacitor = new Capacitor($storage, $channel);
|
$capacitor = new Capacitor($storage, $channel);
|
||||||
|
|
||||||
switch ($this->action) {
|
switch ($this->action) {
|
||||||
case self::ACTION_QUERY:
|
case self::ACTION_QUERY:
|
||||||
$args = $this->args;
|
$args = $this->args;
|
||||||
var_export($args); #XXX
|
|
||||||
if (!$args) {
|
if (!$args) {
|
||||||
# lister les id
|
# lister les id
|
||||||
$out = new Stream(STDOUT);
|
$out = new Stream(STDOUT);
|
||||||
$primaryKeys = $storage->getPrimaryKeys($channel);
|
$primaryKeys = $storage->getPrimaryKeys($channel);
|
||||||
var_export($primaryKeys); #XXX
|
|
||||||
$rows = $db->all([
|
$rows = $db->all([
|
||||||
"select",
|
"select",
|
||||||
"cols" => $primaryKeys,
|
"cols" => $primaryKeys,
|
||||||
|
|
Loading…
Reference in New Issue