Skip to content

afiler/libmdb-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

== libmdb-ruby ==

Requires libmdb(tools) and Nice-FFI, e.g:
    sudo apt-get install libmdbtools && sudo gem install nice-ffi

Example usage:
    require 'mdb'
    require 'csv'
    
    db = MDB::DB.open 'personnel.mdb'
    table = db.table 'Employees'
    table.rows.each do |row|
      puts CSV::generate_line row
    end
    
    table.find('FirstName'=>'John', 'LastName'=>'Smith').each do |row|
      puts row['EmployeeID']
    end

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages