Skip to Main Content

Java and JavaScript in the Database

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

QBE to SQL parser

Håkan ArpforsDec 17 2020

Hi,
Anyone who knows if there exists any Query By Example (QBE) to SQL translator/parser for javascript/typescript?
Example:
Let's say that we have a GraphQL server that implements its resolvers using Node-Oracledb
Then we could send a filter with QBE in the query from GraphQL server.
When we get to the Node-OracleDB we want to translate the QBE to SQL.
{ "$query" : { "salary" : { "gt" : 10000 } } }
Should be transformed to:
salary > 10000
Does anything like this exist in the SODA implementation?
Regards
Håkan

Comments
Post Details
Added on Dec 17 2020
2 comments
179 views