summaryrefslogtreecommitdiffstats
path: root/modules/database/classes/driver/mysql/query.php
blob: 48b140ead6e35f9fbe064f938bb1b91f4b126137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

/**
 * Mysqli implementation of the database Query
 * @package Database
 */
class Query_Mysql_Driver extends Query_PDO_Driver {

    /**
     * Creates a new query object, sets mysql specific parameters to get correct queries
     * 
     * @param DB $db   Database connection
     * @param string $type Query type. Available types: select, update, insert, delete, count
     * @return void    
     * @access public  
	 * @see Query_PDO_Driver::__construct()
     */
	public function __construct($db, $type) {
		Query_Database::__construct($db, $type);
		$this->_db_type = 'mysql';
	}
	
}