コードを舐める日々

わからないことがわからないことをしる日々

SQLite

SQLite3のバックアップ

hogehoge.dbからhogehoge.sqlにバックアップする時のメモ $ sqlite3 hogehoge.db >.output hogehoge.sql >.dump でおけ。

SQLiteのおさらい

SQLite3 の型は5つしかない。 Datatypes In SQLite Version 3 型名 概要 NULL. The value is a NULL value. INTEGER. The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value. REAL. The value is a …