react-awesome-query-builder icon indicating copy to clipboard operation
react-awesome-query-builder copied to clipboard

sqlDialect property is missing

Open VusalIs opened this issue 1 year ago • 2 comments

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 avatar Feb 12 '25 11:02 VusalIs

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 avatar Feb 12 '25 11:02 VusalIs

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

VusalIs avatar Feb 12 '25 12:02 VusalIs