Hello Guys,
i have an issue in my code. When i create the query for my ActiveDataProvider it will found only 20 rows instead of 41. Someone con help me getting all of these rows from my DB? (i use the limit clause but it isn’t work…) Hera are the code and the display from the var_dump
public function getCodiciAssiemi (){
$query = (new Query())
->select('Codice')
->from('macchina')
->where(['like', 'Descrizione', 'As.']);
$query->limit(100);
$dataProvider = new ActiveDataProvider([
'query' => $query
]);
$array = $dataProvider->getModels();
$codiciAssiemi;