I get absolutely no data when exporting the simplest table:
Table::create(array(
"dataSource"=>$this->dataStore('demographics'),
));
My setup() is like this:
public function setup() {
$query0 = "select * from ".$this->db_prefix."_POSTALS";
$this->src('database')
->query("select * from ".$this->db_prefix."_POSTALS")
->pipe($this->dataStore('demographics'));
}
The db_prefix is set in constructor, like this:
function __construct($init_prefix) {
$this->db_prefix = $init_prefix;
}
Can you please help? Thank you