過去記事 SQLite3のJSON機能が便利だった SQLite3のJSON機能が便利だった2 今回の内容 今回はテーブルの内容を抽出する時に、一部分だけをJSONとして取得する 実はこれが恐ろしいほどに便利なのだ 1 テーブルとデータの作成 内容は太郎君と次郎君の好きな言語を保存したものである 今回、テーブル内のデータにはJSONを使用しない 1.1 SQL文 create table users(users_id primary key,users_name text); create table langs(langs_id primary key,langs_name text); create table binds(users_id integer,langs_id integer,primary key(users_id,langs_id), FOREIGN KEY(user