Hi, I am creating a datasource and then trying to access its data within the setup() function but the data comes out to be NULL even though there is data when I try to dump out the data items in the view.
This is my code:
$this->src("test")
->query($query)
->pipe($this->dataStore("testStore"));
$data_items = $this->dataStore("testStore")->data();
print_r($data_items); // this comes out to be an empty Array