close
Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Red ADBC

RubyGems: red-adbc

Red ADBC is the Ruby bindings of ADBC GLib.

How to install

If you want to install Red ADBC by Bundler, you can add the following to your Gemfile:

plugin "rubygems-requirements-system"

gem "red-adbc"

If you want to install Red ADBC by RubyGems, you can use the following command line:

$ gem install rubygems-requirements-system
$ gem install red-adbc

How to use

require "adbc"

ADBC::Database.open(driver: "adbc_driver_sqlite",
                    uri: ":memory:") do |database|
  database.connect do |connection|
    puts(connection.query("SELECT 1"))
  end
end