react-awesome-query-builder
react-awesome-query-builder copied to clipboard
Support Sequelize where
Thank you for creating this project!!
I'm trying to export the query to Sequelize findOne/findAll where format.
Sequelize's where is very similar to QbUtils.mongodbFormat. I'm wondering that I should modify mongo setting like mongoConj, mongoFormatOp, or I should use QbUtils.queryBuilderFormat
I would create a separate method in QbUtils for this.
mongodbFormat has some mongo-specific stuff.
I have one concern: Sequelize uses symbols for operators (src), so not sure how to serialize this correctly and transfer to backend. Probably with EJSON