getById() accepts a non-list array and uses just values
Author: hrachCreated Apr 4, 2022Updated Dec 24, 2024
Describe the bug
$users->getById(['facebookId' => $fbId]);produces valid SQL selecting by primary key; this should throw an error, when the array is not a list.
Versions::
- Orm: 4.0
Source: nextras/orm