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

sqlDialect property is missing #1204

Open
VusalIs opened this issue Feb 12, 2025 · 2 comments
Open

sqlDialect property is missing #1204

VusalIs opened this issue Feb 12, 2025 · 2 comments

Comments

@VusalIs
Copy link

VusalIs commented Feb 12, 2025

Describe the bug
I try to use "sqlDialect" setting for my config, but there is no such a property. I reference to this doc: https://github.com/ukrbublik/react-awesome-query-builder/blob/master/CONFIG.adoc

I want to do it so it adds single quotes to field names when SQL query is created.

Is it a bug or am I missing something?

@VusalIs
Copy link
Author

VusalIs commented Feb 12, 2025

Additionally, the doc says:

sqlFormatConj, sqlOp, sqlOps, sqlFormatOp, sqlFormatValue, sqlFormatReverse, formatSpelField, sqlFunc, sqlFormatFunc, sqlImport for building SQL where query with QbUtils.sqlFormat()

but formatSpelField function isn't the right function to change a field for sqlFormat function.

@VusalIs
Copy link
Author

VusalIs commented Feb 12, 2025

after upgrading to the latest version, I can access to sqlDialect config, but it doesn't add quotes around field name even if I selected Postgres

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

1 participant