On May 30, 11:34 pm, adam patterson <[email protected]> wrote:
> I've gone through the obvious documentation and looked at all the
> methods on a connection but I'm looking for a way to get a list of
> databases for a connection.
>
> Something like this:
>
> conn = Sequel.connect('mysql://u...@localhost')
> conn.databases
>
> I can obviously do this with a simple query for a specific database
> like mysql - 'show databases'. But I need the functionality across
> multiple engines.
>
> Is there something like this already that I have missed or should I
> just fork and try to add it?

Sequel doesn't support this currently.  I wouldn't object to adding it
if you can cover the shared adapters where it makes sense (e.g. mysql,
postgresql, mssql).

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.

Reply via email to