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