probcomp/bayeslite

Add open modes to bayeslite_open

Open

#238 aperta il 7 ott 2015

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)Python (63 fork)batch import
help wantedk min/hr

Metriche repository

Star
 (915 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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)

Guida contributor