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)

貢獻者指南