This question already has an answer here:
$aa = India::find();
$players = $aa
->where('player LIKE :query', [':query'=>'S%'])
->orderBy('position, player')->all();
$countnumber = $aa->count();
This code returns results without case sensitivity. Gives results where Player name starts with 'S' or 's'.
But I want to make, just to select Player names only with 'S'. How to restrict it to select with case sensitivity in PHP Yii2 Framworok ?
</div>