LoginSignup
24
15

More than 3 years have passed since last update.

SqliteでDBの中身を確認

Posted at

参考

Macで使うSQLite3入門編
sqlite コマンドラインでのテーブル内容の確認コマンド

起動

sqlite3 DBのpath

終了

sqlite> .quit 

テーブル一覧

sqlite> .table

データベース情報

sqlite> .table

テーブルの中身を表示

sqlite> select * from table名;

テーブルの要素一覧

sqlite> .schema
24
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
24
15