NextDom\Helpers\DBHelper::getOne
Get one row data from database
Signature
public function getOne(string
$query,
[array
$params = ] )
Parameters
$query
— string- SQL query
$params
— array- Query params
Returns
- mixed
- Associative array with data