+ Add libraries for bi.
This commit is contained in:
11
lib/sqlparser/sqlparser.class.php
Normal file
11
lib/sqlparser/sqlparser.class.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
class sqlparser
|
||||
{
|
||||
public function __construct($query)
|
||||
{
|
||||
$this->parser = new PhpMyAdmin\SqlParser\Parser($query);
|
||||
$this->statements = $this->parser->statements;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user