File: query.rb [sequel-4.5.0 Documentation]

Last Modified
  2014-01-26 19:22:53 +0000
Requires

## Description

The query extension adds Sequel::Dataset#query which allows a different way to construct queries instead of the usual method chaining. See Sequel::Dataset#query for details.

You can load this extension into specific datasets:

    ds = DB[:table]
    ds = ds.extension(:query)

Or you can load it into all of a database's datasets, which is probably the desired behavior if you are using this extension:

    DB.extension(:query)