4 ms·
Nice! And how do you parse SQL? Do you use Postgres's parser or did you have to implement one yourself?
by marton78 6y ago
Nice! And how do you parse SQL? Do you use Postgres's parser or did you have to implement one yourself?
- mildbyte 6y agoWe use pglast [0]: it's basically a Python wrapper around Postgres's query parsing code. [0] https://github.com/lelit/pglast https://github.com/lelit/pglast