lib/components/dataInterface/connectors/db/Model.php
public function findOne($params = [])
    {
        return $this->populateRecord($this->find($params)->one($this->interface->db));
    }
public function findOne($params = [])
    {
        return $this->populateRecord($this->find($params)->one($this->interface->db));
    }
Find one foreign database record.

@param array $params find params for the query [optional]

@return Model database record