kivik
kivik copied to clipboard
Consider writing a sql/driver wrapper around Kivik
In some situations, querying CouchDB with SQL can be helpful. There are a number of SQL parsers for Go, with github.com/pingcap/parser looking the most promising. It shouldn't be terribly difficult to create a thin wrapper around Kivik to allow doing (basic) queries against CouchDB using the sql interface.
If you would find this useful, please comment or vote with an emoji on this issue.
maybe this sql parser is also interesting: https://astexplorer.net/#/gist/f01ba1593abfe285de7f9ab22036ea8d/b97c4f4ada6d8e3b145acc523e2b50b4758cdc01
maybe this sql parser is also interesting: https://astexplorer.net/#/gist/f01ba1593abfe285de7f9ab22036ea8d/b97c4f4ada6d8e3b145acc523e2b50b4758cdc01
From what I can tell, it looks like that's written in Node.js, which obviously won't help in a Go project. Or did you see something there I missed?
I wanted to suggest an alternative to the Golang parser. Maybe this one is easier to use. Maybe!