DB = Sequel.connect('sqlite://db/data.db')
require "sequel/extensions/schema_dumper"
sd = Sequel::Database.new
puts sd.dump_table_schema(:books)



I am sure that db connect is fire, because it can reads the database by
other method, such as , DB.tables, DB.schema


2011/12/8 Jeremy Evans <[email protected]>

> On Dec 8, 6:52 pm, coolesting <[email protected]> wrote:
> > sequel-3.27.0/lib/sequel/database/query.rb:153:in `schema': schema
> parsing
> > is not implemented on this database (Sequel::Error)
> >
> > Still get the error when i use the dump_table_schema(:table) method, my
> > database is sqlite.
>
> Sequel supports the tables and schema methods on SQLite.  Can you post
> your database connection code (e.g. Sequel.sqlite(...),
> Sequel.connect(...))?
>
> Jeremy
>
> --
> You received this message because you are subscribed to the Google Groups
> "sequel-talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/sequel-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to