Skip to content

RSQL emitter to Prisma queries for Node.js and Browsers

License

Notifications You must be signed in to change notification settings

tiwater/rsql-prisma

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

RSQL emitter to Prisma queries for Node.js and Browsers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published