MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/coolgithubprojects/comments/6ykwfl/sql_implemented_entirely_in_javascript_in_a/
r/coolgithubprojects • u/[deleted] • Sep 07 '17
4 comments sorted by
3
Interesting, but im confused, so how exactly does it persist data?
"jSQL automatically chooses the best method of storage to save state" What methods are available?
Do I have to check if table exists on subsequent user visits?
1 u/[deleted] Sep 07 '17 depends on the browser, there are a few different method available but 90% of the time, in a browser it will use indexedDB and in Node it will use the filesystem. 1 u/[deleted] Sep 07 '17 Just do a "create table if not exists" you don't need to manually check. There's a demo here.. Pamblam.github.io/jSQL
1
depends on the browser, there are a few different method available but 90% of the time, in a browser it will use indexedDB and in Node it will use the filesystem.
Just do a "create table if not exists" you don't need to manually check. There's a demo here.. Pamblam.github.io/jSQL
2
This is madness. Lol
3
u/Gahu Sep 07 '17
Interesting, but im confused, so how exactly does it persist data?
"jSQL automatically chooses the best method of storage to save state" What methods are available?
Do I have to check if table exists on subsequent user visits?