{"repo":"tarellel/activerecord-duckdb","free":true,"listed":false,"github":"https://github.com/tarellel/activerecord-duckdb","clone":"git clone https://github.com/tarellel/activerecord-duckdb.git","description":"A DuckDB database adapter for ActiveRecord","language":"Ruby","stars":25,"topics":["activerecord","duckdb","rails","ruby","rubygem","rubyonrails"],"license":"MIT","category":"databases-storage","readme_excerpt":"Activerecord::Duckdb This gem is a DuckDB database adapter for ActiveRecord. Description Activerecord::Duckdb providers DuckDB database access for Ruby on Rails applications. NOTE: This gem is still a work in progress, so it might not work exactly as expected just yet. Some ActiveRecord features haven’t been added and/or fully tested. Requirements This gem relies on the ruby-duckdb ruby gem as its database adapter. Thus it provides a seamless integration with the DuckDB database. Both gems requires that you have duckdb. DuckDB has many installation options available that can be found on their installation page. Installation Install the gem and add to the application's Gemfile by executing: If bundler is not being used to manage dependencies, install the gem by executing: Usage Configuration Adjust your database.yml file to use the duckdb adapter. Run some migrations to ensure the database is ready. At the moment using an in-memory database is very limited and still in development. NOTE: When using a memory database, any transactional operations will be lost when the process exits. The only reason I can think of is that you might want to use an in-memory database for testing purposes, data analysis, or some sort of quick calculations where the data is not critical. Of you can set your own database configuration in the config/database.yml file. When using temporary databases you'll also have to generate your own schema on the fly rather than migrations creating them automatical","default_branch":null,"files":null,"tree":[],"storefront":"/r/tarellel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tarellel/activerecord-duckdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}