probcomp/bayeslite

Add open modes to bayeslite_open

Open

#238 创建于 2015年10月7日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Python (915 star) (63 fork)batch import
help wantedk min/hr

描述

By analogy with standard file open modes. Useful modes include

  • read-only (get a database that exists, but don't save changes back)
  • force the database being opened actually exists (crash if absent)
  • force the database being opened is fresh (crash if exists)
  • overwrite the database being opened with a fresh one (truncate on open if exists)

贡献者指南

Add open modes to bayeslite_open · probcomp/bayeslite#238 | Good First Issue