First page Back Continue Last page Overview Graphics


Notes:

A good measure of the complexity of a given piece of software is the number of steps you have to take before you can start using it.

Other than requiring the library, using Sequel for the first time is like setting out on a long journey, it begins with only a single step.

That step is creating your database object.

There are multiple ways to do this, one common way is using the connect method.

Sequel also also provides methods for each adapter type, so if you are using sqlite, you just need to call the sqlite method with the file name of the database.

That's it. Once you have your database object, you can immediately use it and get results.

Here, we use the count method to get the number of attendees.