Comment by WesolyKubeczek
14 hours ago
> For me: Try queries without the hassle of setting up a database.
sqlite3 some-file.db
That's the whole "database setup" in case of SQLite.
14 hours ago
> For me: Try queries without the hassle of setting up a database.
sqlite3 some-file.db
That's the whole "database setup" in case of SQLite.
This method is not available on all devices and does not support sharing or collaboration.
The website, however, works on any platform and allows working together in a single shared database.
how does collaboration works for SQLite, since the db is embedded?
When you upload a database to the site, it is stored in your browser's memory or uses OpFS — a local storage within your browser.
You can share a link to grant access to your database, with the connection handled via P2P through WebRTC.
1 reply →
Uhm, by allowing multiple people to connect to the same database through a webapp like this?
you can just share the file, huh
collaboration sounds nice though, it definitely has a market considering 11k daily users.
If the database is loaded from an external source (as shown in the examples), using the "Share Script" feature automatically attaches a link to the database. The link allows both the database and the script to be accessed and loaded.
> This method is not available on all devices and does not support sharing or collaboration.
The parent cites "hassle of creating the database" and does not mention sharing or collaborating. I showed that it doesn't get more hassle-free than this and doesn't even require connectivity (which might be a problem "on some devices" or "in some locations").
> doesn't even require connectivity (which might be a problem "on some devices" or "in some locations").
You are just trying to prove a point instead of understanding it.
> "hassle of creating the database" and does not mention sharing or collaborating.
He might just have summarized everything as "hassle of creating the database".
Not everything on internet is supposed to be a debate with highly and carefully developped wording.
2 replies →
Implicit assumptions: You know what a CLI is, you have one on your system, and how to install the sqlite3 binary somehow.
When I just started out with linux I was so frustrated with people just listing reams of commands, or files I needed to edit without stating I needed to look in /etc
How do I get this sqlite3 command to work on my Chromebook? When I type this in on my Windows machine it's not working either. Are there other steps I need to take first?
On your Chromebook, load the Linux subsystem, which you can find in settings.
It will give you a shell that will have SQLite.
For Windows, download the interactive command line tool from sqlite.org.
Thanks for your answer! That said, I know how to install SQLite and am well-familiar with it.
My point was that the parent's comment did not tell the full story. A student just trying to do the first baby steps with SQL won't know any of this. Yet with the website shown here, they can immediately focus on the actual SQL, no matter what devise they are on, as long as it has a functioning browser.
As a developer, on your development machine, if you use sqlite even infrequently, then no.
Anyone else, probably, but then why would you use this tool if you have no need for sqlite?
>my Chromebook
LOL
>my Windows
If you're the kind of person who even knows what SQL, SQLite or hell even a database is, you already know SQLite runs on pretty much anything.
Why would you assume that's the kind of person you're responding to? Their question alone leads me to believe it's exactly not that kind of person.
1 reply →
I had the same reaction, why not just use the command line interface?
From there, I guess the value this adds is:
1. There is a UI, i.e. it has some autocomplete of sql syntax and it shows tables in a ... tabular format.
2. As others have mentioned, there are sharing features. Yes you could share a .db file, but with this you can also send a link viewable in a browser, with specific queries, etc.
#1 reminds me of MS Access from back in the day. Those were sql dbs underneath, but they had some interfaces to show you how to build queries. It wasn't a bad way to dip your toes into the basics of sql.
if you don't want it to be persisted
I think someone forgot what made the web the most popular platform in the world.
Where do I type that in on my iPad?
Some people might not have computers but still want to learn?
Pay for one of the many SQLite Apps on the App Store, like Jobs intended?