Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 1001 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 1001 Bytes

RSQL -> Prisma

RSQL emitter to Prisma queries for Node.js and Browsers

RSQL is a query language for parametrized filtering of entries in RESTful APIs. It’s based on FIQL (Feed Item Query Language) – an URI-friendly syntax for expressing filters across the entries in an Atom Feed. FIQL is great for use in URI; there are no unsafe characters, so URL encoding is not required. On the other side, FIQL’s syntax is not very intuitive and URL encoding isn’t always that big deal, so RSQL also provides a friendlier syntax for logical operators and some of the comparison operators.

For example, you can query your resource like this: /movies?query=name=="Kill Bill";year=gt=2003 or /movies?query=director.lastName==Nolan and year>=2000. See examples below.

Source: https://github.com/jirutka/rsql-parser

Features

Licence

This project is licensed under the terms of the MIT license.