Crate db2

source ·

Re-exports

Modules

Macros

Structs

Functions

  • Open or create a database at the given directory path. This will retry a couple times if there are failures. If opening fails once, the db directory is moved to a backup folder and a new one is created. If that fails, a shared in memory db is created. In either case, static variables are set so that the user can be notified.