$query = str_replace(array('?'), array(''%s''), $results->toSql()); $query = vsprintf($query, $results->getBindings()); dump($query); $result = $results->get();