Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add option into astify etc methods to avoid detect databasename or table name #2007

Open
michael-hll opened this issue Jul 12, 2024 · 1 comment

Comments

@michael-hll
Copy link

I have a case is using node-sql-parser astify method to parse a sql where condition
but I found when the where condition looks like below:
select * from dummy_table where contacts.email.address === '[email protected]',
then the contacts will be reconized as thte database and email as the table name
this is a handy process but not work for my case
I want to keep the column name as 'contacts.email.address'
Hope you can add this feature.

@PrasanthVijayy
Copy link

Hi @michael-hll! , I noticed this issue and would like to contribute by working on it. Is anyone already working on this? If not, I'd be happy to start looking into it. Please let me know if there are any specific guidelines or things I should consider while addressing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants