Function createBetterSqliteAdapter

Factory helper for creating a BetterSqliteAdapter.

Path Resolution:

  • Absolute paths are used as-is.
  • Relative paths are resolved against the current working directory instead of the adapter file location (simpler & bundler neutral).
  • Special values like ':memory:' and 'file:' URIs are passed through.