- sqlite json 操作
stmt := "select photo from photos ORDER by json_extract(photo, '$.created') DESC LIMIT 0,100"
/// 描述:
/// 1、photos 表的 photo 列,是 json 对象
/// 2、json 对象里有个属性是 created(创建日期)
/// 3、查询结果按照 photo.created 排序
/// 4、从排序结果里取 offset=0 开始,取 limit=100 条记录
- sqlite 在已存在表新增一列
ALTER TABLE Production ADD COLUMN new_column Text