diff --git a/Query.php b/Query.php index 4d5c18d..ba9f9a3 100644 --- a/Query.php +++ b/Query.php @@ -81,6 +81,17 @@ class Query extends Component implements QueryInterface return $this->getStatement($options, $db); } + public function execute($aql, $bindValues = [], $params = []) + { + $options = [ + 'query' => $aql, + 'bindValues' => $bindValues, + ]; + $options = ArrayHelper::merge($params, $options); + $statement = $this->getStatement($options); + $statement->execute(); + } + /** * @param $fields * @return $this