public function get(...$args)
    {
        $record = $this->fetchSingle($args);
        if (!$record)
            return null;
        $obj = new $this->model_class;
        $obj->assignRecord($record, $this->db);
        return $obj;
    }
public function get(...$args)
    {
        $record = $this->fetchSingle($args);
        if (!$record)
            return null;
        $obj = new $this->model_class;
        $obj->assignRecord($record, $this->db);
        return $obj;
    }
public function get ( ... $ args ) { $ record = $ this -> fetchSingle ( $ args ) ; if ( ! $ record ) return null ; $ obj = new $ this -> model_class ; $ obj -> assignRecord ( $ record , $ this -> db ) ; return $ obj ; }
Retrieve a single record based on a provided query
@param args The provided arguments for the select query.
@return Model The fetch model
@see Wedeto\DB\DAO::select
Retrieve a single record based on a provided query