1 | <?php |
||
14 | class SQLiteIndex extends AbstractIndex |
||
15 | { |
||
16 | /** |
||
17 | * @param string $table |
||
18 | * @param array $schema |
||
19 | * @param array $columns |
||
20 | * |
||
21 | * @return SQLiteIndex |
||
22 | */ |
||
23 | public static function createInstance(string $table, array $schema, array $columns): self |
||
34 | |||
35 | /** |
||
36 | * Index sql creation syntax. |
||
37 | * |
||
38 | * @param Driver $driver |
||
39 | * @param bool $includeTable Include table ON statement (not required for inline index |
||
40 | * creation). |
||
41 | * |
||
42 | * @return string |
||
43 | */ |
||
44 | public function sqlStatement(Driver $driver, bool $includeTable = true): string |
||
63 | } |
||
64 |