1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6: */
7:
8: namespace Nette\Database\Drivers;
9:
10: use Nette;
11:
12:
13: /**
14: * Supplemental SQLite2 database driver.
15: */
16: class Sqlite2Driver extends SqliteDriver
17: {
18:
19: /**
20: * Encodes string for use in a LIKE statement.
21: */
22: public function formatLike($value, $pos)
23: {
24: throw new Nette\NotSupportedException;
25: }
26:
27:
28: /**
29: * Returns metadata for all foreign keys in a table.
30: */
31: public function getForeignKeys($table)
32: {
33: throw new Nette\NotSupportedException; // @see http://www.sqlite.org/foreignkeys.html
34: }
35:
36:
37: /**
38: * Not supported.
39: */
40: public function getColumnTypes(\PDOStatement $statement)
41: {
42: }
43:
44: }
45: