probcomp/bayeslite

Add open modes to bayeslite_open

Open

#238 ouverte le 7 oct. 2015

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)Python (63 forks)batch import
help wantedk min/hr

Métriques du dépôt

Stars
 (915 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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)

Guide contributeur