Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 594 Bytes

Sqlite3.md

File metadata and controls

25 lines (19 loc) · 594 Bytes

Sqlite3

Command Description
.show Displays current settings for various parameters
.databases Provides database names and files
.quit Quit sqlite3 program
.tables Show current tables
.schema Display schema of table
.header Display or hide the output table header
.mode Select mode for the output table
.dump Dump database in SQL text format

Tips

From a rails app:

    $ sqlite3 db/development.sqlite3

References

https://www.sitepoint.com/getting-started-sqlite3-basic-commands/