An open API service indexing awesome lists of open source software.

https://github.com/copiousfreetime/amalgalite

SQLite database engine embedded in a ruby extension.
https://github.com/copiousfreetime/amalgalite

database embedded-database embedded-databases-wrapper ruby sqlite

Last synced: 1 day ago
JSON representation

SQLite database engine embedded in a ruby extension.

Awesome Lists containing this project

README

        

## Amalgalite

[![Build Status](https://copiousfreetime.semaphoreci.com/badges/amalgalite/branches/main.svg?key=6d8f47c8-bfc7-4969-a128-424478908a27)](https://copiousfreetime.semaphoreci.com/projects/amalgalite)

* [Homepage](http://github.com/copiousfreetime/amalgalite)
* `git clone git://github.com/copiousfreetime/amalgalite.git`
* [Github](http://github.com/copiousfreetime/amalgalite/)
* [Bug Tracking](http://github.com/copiousfreetime/amalgalite/issues)

## Articles

* [Writing SQL Functions in Ruby](http://copiousfreetime.org/articles/2009/01/10/writing-sql-functions-in-ruby.html)

## INSTALL

* `gem install amalgalite`

## DESCRIPTION

Amalgalite embeds the SQLite database engine as a ruby extension. There is no
need to install SQLite separately.

Look in the examples/ directory to see

* general usage
* blob io
* schema information
* custom functions
* custom aggregates
* requiring ruby code from a database
* full text search

Also Scroll through Amalgalite::Database for a quick example, and a general
overview of the API.

Amalgalite adds in the following additional non-default SQLite extensions:

* [R*Tree index extension](http://sqlite.org/rtree.html)
* [Full Text Search](http://sqlite.org/fts5.html) - both fts3 and fts5
* [Geopoly Interface to R*Tree](https://www.sqlite.org/geopoly.html)
* [JSON Extension](https://www.sqlite.org/json1.html)

Other extensions are add that might not be usable/visible by users of the gem.
The full list of extensions added is in
[extconf.rb](ext/amalgalite/c/extconf.rb). And those may be cross referenced
against the [compile options from SQLite](https://www.sqlite.org/compile.html)

## CREDITS

* Jamis Buck for the first [ruby sqlite implementation](http://www.rubyforge.org/projects/sqlite-ruby)

## CHANGES

Read the [HISTORY.md](HISTORY.md) file.

## LICENSE

Copyright (c) 2008 Jeremy Hinegardner

All rights reserved.

See LICENSE and/or COPYING for details.