On Jan 28, 8:22 am, Brian Stevens <[email protected]> wrote: > I'm still trying to wrap my head around Sequel, and I'm having a hard time > with something. > > I would like to be able to list all available MySQL databases on a particular > server. > > This can be done through mysql with "show databases". I see references in > DBD::MySQL to "list_dbs" and "data_sources", but I can't figure out how that > ties into (or can be used from) Sequel. > > How can I accomplish this through Sequel?
DB['show databases'].map(:Database) 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.
