First page Back Continue Last page Overview Text


Let's quickly go over how to do the four basic query types in Sequel.

Select queries are done using the all method to get all rows at once.

You can also use the each method to iterate over the rows as the database adapter provides them.

If you only want the first record, you can use the first method.