Sequel stores datasets internally as a type of abstract syntax tree of objects, instead of SQL string fragments.
That may not sound like much, but it allows for very powerful capabilities.