We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a589a3 commit f06862fCopy full SHA for f06862f
README.md
@@ -77,6 +77,13 @@ $parser->statements[0]->from[0] = $table2;
77
$statement = $parser->statements[0];
78
$query2 = $statement->build();
79
var_dump($query2); // outputs string(19) "SELECT * FROM `b` "
80
+
81
+// Change SQL mode
82
+SqlParser\Context::setMode('ANSI_QUOTES');
83
84
+// build the query again using different quotes
85
+$query2 = $statement->build();
86
+var_dump($query2); // outputs string(19) "SELECT * FROM "b" "
87
```
88
89
## More information
0 commit comments