Skip to content

Commit

Permalink
Merge pull request #550 from MauricioFauth/stmt-info
Browse files Browse the repository at this point in the history
Create the StatementInfo class
  • Loading branch information
MauricioFauth authored Feb 5, 2024
2 parents 0e24506 + 2de0fdc commit c4efadf
Show file tree
Hide file tree
Showing 6 changed files with 447 additions and 518 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $query = 'OPTIMIZE TABLE tbl';
$parser = new Parser($query);
$flags = Query::getFlags($parser->statements[0]);

echo $flags['querytype'];
echo $flags->queryType?->value;
```

### Parsing and building SQL query
Expand Down
Loading

0 comments on commit c4efadf

Please sign in to comment.