probcomp/bayeslite

Add open modes to bayeslite_open

开放

#238 创建于 2015年10月7日

 (4 条评论) (0 个反应) (0 位负责人)Python (63 个派生)batch import
help wantedk min/hr

仓库指标

星标
 (915 个星标)
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)

贡献者指南