samuk190/localbase

Support Comparison Operators in Queries

Opened this issue · 1 comments

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

I'll look into it.