First page Back Continue Last page Overview Graphics


Sequel tries to keep simple queries simple. To run the queries against the database, you just call a method on the dataset.

You use the all method to return an array of all selected objects.

You can also use each to iterate over the objects as the database provides them.

Dataset includes Enumerable, so you can use map, inject, and other methods directly on a dataset.