public function get($query, $allowMany = false) {
        $result = $this->find($query, $allowMany);
        if (!$result)
            throw new NoSuchRecordException($query);
        return $result;
    }