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: * @author David Grudl
17: */
18: class Sqlite2Driver extends SqliteDriver
19: {
20:
21: /**
22: * Encodes string for use in a LIKE statement.
23: */
24: public function formatLike($value, $pos)
25: {
26: throw new Nette\NotSupportedException;
27: }
28:
29:
30: /**
31: * Returns metadata for all foreign keys in a table.
32: */
33: public function getForeignKeys($table)
34: {
35: throw new Nette\NotSupportedException; // @see http://www.sqlite.org/foreignkeys.html
36: }
37:
38: }
39: