probcomp/bayeslite

Add open modes to bayeslite_open

Open

#238 创建于 2015年10月7日

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

仓库指标

Star
 (915 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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)

贡献者指南