RAA - ruby-sqlite

ruby-sqlite / 0.0.1

Short description: Ruby-SQLite
Category: Library/Database
Status: usable
Created: 2002-06-24 21:29:28 GMT
Last update: -
Owner: Domingo Alvarez Duarte (Projects of this owner)
Homepage: http://domingo.dad-it.com/ruby-sqlite.whtm
Download: http://domingo.dad-it.com/ruby-sqlite-code.whtm
License: Ruby's
Dependency:
None
Description:

A interface for SQLite library, a small and powerfull sql database that can be a standard module to ruby in the future.

It's ideal for small to medium applications that need the flexibility of SQL with a small memory footprint.

require 'sqlite'

def my_func(str)
'[[' + str + ']]'
end

sq = SQLite.new('my_db_file.db')
sq.setFunc('wrap_str',1,self,my_func)
print sq.exec('select wrap_str(name) from users;')
# [[Paul]]

Edit this project (for project owner)

back to RAA top