How do I exit dbshell (SQLite 3) on the command line when using Django?
It's my first time to use the command. I watch a book and am practicing Django at the same time. After I run this command, I have no idea how to leave the environment since I have never learned SQL before.
The exit key is determined by what SQL back end you're running.
If it's SQLite 3, like this question, it should be quit.
If it's PostgreSQL, like my case, it's \q.
You may use '.quit' to exit the SQLite shell. Please mind the dot in front.
More reference from here: SQLite CLI
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With