public function get(array $where) {
        $options = [
            Db::OPTION_FETCH_MODE => $this->getFetchArgs(),
            'rowCallback' => [$this, 'unserialize']
        ];

        $qry = new TableQuery($this->name, $where, $this->db, $options);
        $qry->setLimit($this->getDefaultLimit())
            ->setOrder(...$this->getDefaultOrder());

        return $qry;
    }
public function get(array $where) {
        $options = [
            Db::OPTION_FETCH_MODE => $this->getFetchArgs(),
            'rowCallback' => [$this, 'unserialize']
        ];

        $qry = new TableQuery($this->name, $where, $this->db, $options);
        $qry->setLimit($this->getDefaultLimit())
            ->setOrder(...$this->getDefaultOrder());

        return $qry;
    }
public function get ( array $ where ) { $ options = [ Db :: OPTION_FETCH_MODE => $ this -> getFetchArgs ( ) , 'rowCallback' => [ $ this , 'unserialize' ] ] ; $ qry = new TableQuery ( $ this -> name , $ where , $ this -> db , $ options ) ; $ qry -> setLimit ( $ this -> getDefaultLimit ( ) ) -> setOrder ( ... $ this -> getDefaultOrder ( ) ) ; return $ qry ; }
Query the model.

@param array $where A where clause to filter the data.
@return DatasetInterface
Query the model .