jlyonsmith / Rql

REST Query Language
MIT License
8 stars 3 forks source link

Translate RQL Expression to SQL #3

Open benoitverstraete opened 9 years ago

benoitverstraete commented 9 years ago

Hello,

I'm using your library in a C# REST Api, using a SQL database (SQL SERVER).

I can't find in your documentation how to translate an RQL Expression from your library into a WHERE clause in SQL ?

With your example:

RQL : and(eq(name,'John'),gt(age,18)) SQL (expected) : WHERE name = 'John' AND age > 18

Thanks a lot your for support.

jlyonsmith commented 9 years ago

Hi, sorry I missed your post. There is no SQL driver at the moment. I'll put it on my backlog to get one posted, but can't promise when. If you end up writing one go ahead and send me a pull request and I'll get it merged in.