src/CarteBlanche/Library/StorageEngine/Database.php
public function addCachedQuery($query, $results = null)
    {
        $this->queries[] = $query;
        if (!is_null($results))
            $this->queries_results[$query] = $results;
        return $this;
    }
public function addCachedQuery($query, $results = null)
    {
        $this->queries[] = $query;
        if (!is_null($results))
            $this->queries_results[$query] = $results;
        return $this;
    }
Add a query and its results in the object cache

@param string $query The query string to cache
@param mixed $results The results of the query execution to cache
@return self $this for method chaining