public function action($action,$table=null) {
#debug(($this->tables));
- # NB 09.12.22: Test is action is defined (eg: from lib/php/db/dbq/php)
+ # NB 09.12.22: Test is action is defined (eg: from lib/php/db/dbq.php)
$actions = $action ? explode(',',$action) : [];
# NB 02.12.16 $this->pdef('format',($this->php_cli() ? 'csv' : ''));
$rows = [];
}
public function sql($insert=null,$db_type='') {
- if ($insert === null) $insert = self::p('insert');
+ if ($insert === null) $insert = self::p('db-insert');
if (empty($db_type)) $db_type = self::p('db-type');
# Filters