Core/Database/MSSqlDatabase.php
public function query($query, array $params = [])
    {
        // Execute query
        $stmt = $this->connection->prepare($query);
        $stmt->execute($params);
        // Return result resource variable
        return $stmt;
    }
public function query($query, array $params = [])
    {
        // Execute query
        $stmt = $this->connection->prepare($query);
        $stmt->execute($params);
        // Return result resource variable
        return $stmt;
    }
public function query ( $ query , array $ params = [ ] ) { // Execute query $ stmt = $ this -> connection -> prepare ( $ query ) ; $ stmt -> execute ( $ params ) ; // Return result resource variable return $ stmt ; }
Classic query method using prepared statements.

@param string $query
@param array $params
@return \PDOStatement|resource
Classic query method using prepared statements .