fexpr
Simple filter query language parser so that you can build SQL, Elasticsearch, etc. queries safely from user input. (by ganigeorgiev)
elseql-go
You know, for Query (by raff)
fexpr | elseql-go | |
---|---|---|
1 | 1 | |
83 | 0 | |
- | - | |
4.4 | 10.0 | |
5 months ago | about 3 years ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fexpr
Posts with mentions or reviews of fexpr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-18.
-
Looking for: library to turn SQL (or abstracted) to code & execute against custom backend (slice of structs)
If you are looking for a generic filter/query parser, I've recently come across this one - https://github.com/ganigeorgiev/fexpr (its not sql, but its syntax looks similar).
elseql-go
Posts with mentions or reviews of elseql-go.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-18.
-
Looking for: library to turn SQL (or abstracted) to code & execute against custom backend (slice of structs)
A long time ago I wrote this https://github.com/raff/elseql-go/blob/master/parser.go, that implements what you are describing, to convert SQL to ElasticSearch queries (JSON). It's not a full SQL parser but maybe it's enough for you.
What are some alternatives?
When comparing fexpr and elseql-go you can also consider the following projects:
CQEngine - Ultra-fast SQL-like queries on Java collections
csvq - SQL-like query language for csv