summaryrefslogtreecommitdiffstats
path: root/src/Statements/RestoreStatement.php
blob: 72b2ea25de928eef0d448a3e8ec373496f1e9d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
 * `RESTORE` statement.
 */
declare(strict_types=1);

namespace PhpMyAdmin\SqlParser\Statements;

/**
 * `RESTORE` statement.
 *
 * RESTORE TABLE tbl_name [, tbl_name] ... FROM '/path/to/backup/directory'
 */
class RestoreStatement extends MaintenanceStatement
{
    /**
     * Options of this statement.
     *
     * @var array
     */
    public static $OPTIONS = [
        'TABLE' => 1,

        'FROM' => [
            2,
            'var',
        ],
    ];
}