No commit activity in last 3 years
No release in over 3 years
Fusion Tables adapter for Sequel
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.0.2
>= 0
 Project Readme

Fusion Tables adapter for Sequel

Experimental adapter to use Fusion Tables in Sequel.

Usage

require "sequel"

db = Sequel.connect("fusiontables:///")

# In Fusion, table IDs are numbers.
table = db[579353]

puts table.select("Country", "Name").where("Active Reactors" => 0).all

# {"Country"=>"BELGIUM", "Name"=>"BR"}
# {"Country"=>"CANADA", "Name"=>"DOUGLAS POINT"}
# {"Country"=>"CANADA", "Name"=>"NPD"}
# {"Country"=>"CHINA", "Name"=>"LINGAO"}
# ...

Installation

$ gem install sequel-fusiontables

Known issues

I just started experimenting with this so there are a few features missing:

  • CREATE TABLE, INSERT, UPDATE, DELETE aren't implemented yet. Soon though.
  • Typecasting.