samuk190 / localbase

A Firebase-Style Database ... Offline!
636 stars 84 forks source link

Support Comparison Operators in Queries #86

Open sma27 opened 2 months ago

sma27 commented 2 months ago

I really like localbase, thank you for the great project!

The support of other operators when making selects (get), inserts (add), updates (set), or deletes (delete) would be huge!

The following operators would be amazing to have:

Greater Than: ">" OR "gt" Greater Than Equal To: ">=" OR "gte" Less Than: "<" OR "lt" Less Than Equal To: "<=" OR "lte" Not Equal To: "!=" OR "<>" OR "ne" In: in an array of values Between: Would be nice to have (inclusive or exclusive)

I feel like this simple addition would remove the barriers for many developers using it.

Thanks

samuk190 commented 2 months ago

I'll look into it.