Skip to content

kblw/qsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QSL - query string language

Grammar

<lang> = sepBy ";" <rule>
<rule> = <variable>: <expression> | -<variable>: <expression> # first symbol "-" for exclude the expression from search
<variable> = [a-Z][a-Z0-9_-+]
<expression> = <atom> | <list> | <interval>
<atom> = <float> | <number> | <datetime> | <string>
<list> = sepBy "," <expression>
<interval> = <expression> .. <expression>

Examples

a: 1        - search by a=1
a: 1..100   - search by a in (1, .., 100)
a: .. =100   - serach by a <= 100
a: 1 ..     - serach by a >= 1
a: 1, 2, 3  - search by a in [1,2,3]
-a: 1       - exclude a=-1 

About

Query search language in query string

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages