Skip to content

Conversation

@aayushpagare21-compcoder

Hi Team,
I've created a new feature SQL Formatter. If you find this feature useful, please approve the PR. Your feedback is appreciated!

Description:

  • Paste sql query.
  • Select configurations like tabs, indent-style, dialect and case.
  • Click on format and copy the formatted query.
  • If there is any error, error is displayed in place of formatted query.

Changes:

  • Changes in ComboboxComponent to make it generic.
  • Changes done in readme

Tested:

  • Errors handled ✅ .
  • Dialect feature working ✅ .
  • Responsive design ✅ .
  • Changes in ComboboxComponent does not break number-base-changer 's design ✅ .

Additional Notes:
To test the dialect feature, first paste this query it should work as the dialect is postgresql. Change the dialect to mysql and it will display error suggesting to change the dialect.
SELECT * FROM employees WHERE department_id = ANY(ARRAY[1, 3, 5]);

JAM 🙂
https://jam.dev/c/f50e8838-721f-4923-a027-3dbac31b128f

@aayushpagare21-compcoder aayushpagare21-compcoder closed this by deleting the head repository Dec 14, 2024
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

Successfully merging this pull request may close these issues.

1 participant