| @@ 420-426 (lines=7) @@ | ||
| 417 | /** |
|
| 418 | * {@inheritDoc} |
|
| 419 | */ |
|
| 420 | public function getListTableColumnsSQL($table, $currentDatabase = null) |
|
| 421 | { |
|
| 422 | $table = str_replace('.', '__', $table); |
|
| 423 | $table = $this->quoteStringLiteral($table); |
|
| 424 | ||
| 425 | return "PRAGMA table_info($table)"; |
|
| 426 | } |
|
| 427 | ||
| 428 | /** |
|
| 429 | * {@inheritDoc} |
|
| @@ 431-437 (lines=7) @@ | ||
| 428 | /** |
|
| 429 | * {@inheritDoc} |
|
| 430 | */ |
|
| 431 | public function getListTableIndexesSQL($table, $currentDatabase = null) |
|
| 432 | { |
|
| 433 | $table = str_replace('.', '__', $table); |
|
| 434 | $table = $this->quoteStringLiteral($table); |
|
| 435 | ||
| 436 | return "PRAGMA index_list($table)"; |
|
| 437 | } |
|
| 438 | ||
| 439 | /** |
|
| 440 | * {@inheritDoc} |
|
| @@ 781-787 (lines=7) @@ | ||
| 778 | /** |
|
| 779 | * {@inheritDoc} |
|
| 780 | */ |
|
| 781 | public function getListTableForeignKeysSQL($table, $database = null) |
|
| 782 | { |
|
| 783 | $table = str_replace('.', '__', $table); |
|
| 784 | $table = $this->quoteStringLiteral($table); |
|
| 785 | ||
| 786 | return "PRAGMA foreign_key_list($table)"; |
|
| 787 | } |
|
| 788 | ||
| 789 | /** |
|
| 790 | * {@inheritDoc} |
|