probcomp/bayeslite

Add open modes to bayeslite_open

オープン

#238 opened on 2015/10/07

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)Python (63 件のフォーク)batch import
help wantedk min/hr

Repository metrics

Stars
 (915 個のスター)
PR merge metrics
 (30d に merged 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)

コントリビューターガイド