adapter.php 472 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

namespace OC\DB;

class Adapter {
	protected $conn;

	public function __construct($conn) {
		$this->conn = $conn;
	}
17
18
19
20

	public function lastInsertId($table) {
		return $this->conn->realLastInsertId($table);
	}
21
22
23
24

	public function fixupStatement($statement) {
		return $statement;
	}
25
}