Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines
Sorry, but what could be the reason if I get the empty array with pluck()
I check Datastore - I created test Table
with following
Table::create(array(
"dataStore" => $this->dataStore('subquery'),
));
i get the table
but this $this->dataStore('subquery')->pluck('id')
returns array ()
My case looks like this now: Print_r in this code in setup() function return Array()
$this->src('quinos')
->query($subquery)
->pipe($this->dataStore('subquery'));
Print_r($this->dataStore('subquery')->pluck('id'));
But the same line Print_r($this->dataStore('subquery')->pluck('id'));
in the view file works ok
Let KoolReport help you to make great reports. It's free & open-source released under MIT license.
Download KoolReport View demo