arturo-lang / grafito

Portable, Serverless & Lightweight SQLite-based Graph Database in Arturo
MIT License
143 stars 7 forks source link

Fix `in` & `not` filters #36

Closed drkameleon closed 10 months ago

drkameleon commented 10 months ago

Right now, none of the queries below work as expected.

Find all people whose birthday (year) is either 1960 or 1980:

person [
    birthday: -> in: [1960, 1980]
]

Find all people whose birthday (year) is between 1960 and 1965: (how neat does this look!)

person [
    birthday: -> in: 1960..1965
]

Find all people whose birthday (year) is neither 1970 nor 1974:

person [
    birthday: -> not: [1970, 1974]
]
drkameleon commented 10 months ago

Ready to merge! 🚀