sqlparse
sqlparse copied to clipboard
sqlparser: Problem extracting token parameters
Hi team, when using sqlparser to extract token names and their parameters from queries as indicated in the following image:
and given the following query:
when we try to print the length of parameters as follow:
the expected parameters length in this query is 3. But both results are wrong as shown in the next image:
This is just an exemple of where you might encounter this problem. We did encounter it in multiple other occasions.