Back to Litestream

litestream-vfs

packages/ruby/README.md

0.5.11765 B
Original Source

litestream-vfs

Litestream VFS extension for SQLite — distributed as a Ruby gem.

This gem bundles the Litestream VFS shared library so you can load it directly into a SQLite connection.

Installation

bash
gem install litestream-vfs

Or add to your Gemfile:

ruby
gem "litestream-vfs"

Usage

ruby
require "litestream_vfs"

db = SQLite3::Database.new(":memory:")
LitestreamVfs.load(db)

To get the path to the shared library:

ruby
path = LitestreamVfs.loadable_path

Platform Support

PlatformArchitecture
Linuxx86_64, aarch64
macOSx86_64, arm64

License

Apache-2.0 — see LICENSE.