diff options
author | Damian Dlugosz <bigfootdd@gmail.com> | 2017-01-23 21:56:23 +0100 |
---|---|---|
committer | Damian Dlugosz <bigfootdd@gmail.com> | 2017-01-23 21:56:23 +0100 |
commit | 678ce6851112289e4e7eaadf473f2899d5671aab (patch) | |
tree | d8dd964af452c7dd0cbb61cec42c451cf5c83a12 | |
parent | de4e0eeae781271158cda557543e528be32d663a (diff) | |
download | sql-parser-678ce6851112289e4e7eaadf473f2899d5671aab.zip sql-parser-678ce6851112289e4e7eaadf473f2899d5671aab.tar.gz sql-parser-678ce6851112289e4e7eaadf473f2899d5671aab.tar.bz2 |
Fix README.md
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ Command line utility to lint SQL query: ### Formatting SQL query ```php -echo SqlParser\Utils\Formatter::format($query, array('type' => 'html')); +echo PhpMyAdmin\SqlParser\Utils\Formatter::format($query, array('type' => 'html')); ``` ### Discoverying query type @@ -79,7 +79,7 @@ $query2 = $statement->build(); var_dump($query2); // outputs string(19) "SELECT * FROM `b` " // Change SQL mode -SqlParser\Context::setMode('ANSI_QUOTES'); +PhpMyAdmin\SqlParser\Context::setMode('ANSI_QUOTES'); // build the query again using different quotes $query2 = $statement->build(); |