On Aug 12, 4:24 pm, Shawn Van Ittersum <[email protected]>
wrote:
> How does Dataset#fetch_rows call Database#execute with adapters that
> don't support Database#execute?
On all adapters, Dataset#fetch_rows works with Database#execute. The
Database#execute API is adapter-dependent and it's specifically
designed to work in conjunction with that adapter's
Dataset#fetch_rows. On some adapters, doing DB.execute('CREATE
TABLE ...') will probably raise an exception. On others, it'll work
fine.
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
-~----------~----~----~----~------~----~------~--~---