Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL-like Parser #14

Open
metasean opened this issue Jan 4, 2016 · 4 comments
Open

SQL-like Parser #14

metasean opened this issue Jan 4, 2016 · 4 comments

Comments

@metasean
Copy link
Contributor

metasean commented Jan 4, 2016

Moved from core repo to extensions repo. See amark/gun#55 for details.

@ichiriac
Copy link

hi, you could use this lib for parsing SQL and getting back an AST tree :
https://github.com/ichiriac/escuelle

@amark
Copy link
Contributor

amark commented Jan 17, 2016

wow! This is fantastic. Just took a peek haven't played with it yet - do you have a sample output?

@jsgv
Copy link

jsgv commented Jun 13, 2017

Has there been additional discussion of this. SQL-like queries would be awesome. Is there a repo where one could contribute to?

@merarischroeder
Copy link

I suggest the first step is Gun-db replication to relational databases - see #32

This way you get the perfection of postgresql (for example), heaps of tooling, rock-solid security, and standard backup systems.

You might consider something like postgresql as a technology-redundant backup. If the data is in postgresql you can be doubly-sure it's not going anywhere.

Then later, direct SQL querying might be useful. I suspect a Fluent JS API would be better than SQL. That is, LINQ for JS, that translates directly to native gun-db api calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants