Sequel: The Database Toolkit for Ruby

Ruby Sequel is a lightweight database toolkit for Ruby.

Link: sequel.rubyforge.org

  • active_record.rdoc

    sequel.rubyforge.org 16 Apr '13, 7am

    and ActiveRecord use the active record pattern of database access, where model instances are objects that wrap a row in a database table or view, encapsulating the database access, and adding domain logic on that data. Just like ActiveRecord, Sequel supports both associations and inhe...

  • Sequel::Dataset

    sequel.rubyforge.org 28 Mar '13, 7pm

    Should be a hash with keys being symbols of column aliases, and values being either symbols or arrays with one to three elements. If the value is a symbol, it is assumed to be the same as a one element array containing that symbol. The first element of the array should be the table al...

  • Sequel::MySQL::DatasetMethods

    sequel.rubyforge.org 23 Oct '13, 8am

    Sets up the insert methods to use ON DUPLICATE KEY UPDATE If you pass no arguments, ALL fields will be updated with the new values. If you pass the fields you want then ONLY those field will be updated.

  • dataset_filtering.rdoc

    sequel.rubyforge.org 23 Mar '13, 6pm

    dataset_filtering.rdoc doc/dataset_filtering.rdoc Last Update: 2012-07-13 09:26:05 -0700 Dataset Filtering Sequel is very flexibile when it comes to filtering records. You can specify your conditions as a custom string, as a string with parameters, as a hash of values to compare again...

  • migration.rdoc

    sequel.rubyforge.org 06 May '12, 11pm

    Migrations are optional, you don't have to use them. You can always just create the necessary database structure manually using Sequel's schema modification methods or another database tool. However, if you are dealing with other developers, you'll have to send them all of the changes...

  • Sequel: The Database Toolkit for Ruby

    sequel.rubyforge.org 06 Apr '12, 6am

    Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated records. Sequel supports advanced database features such as prepare...

  • pg_json.rb

    sequel.rubyforge.org 29 Jun '12, 11pm

    The pg_json extension adds support for Sequel to handle PostgreSQL's json type. It is slightly more strict than the PostgreSQL json type in that the object returned must be an array or object (PostgreSQL's json type considers plain numbers and strings as valid). This is because Sequel...

  • code_order.rdoc

    sequel.rubyforge.org 07 Oct '13, 4pm

    code_order.rdoc doc/code_order.rdoc Last Update: 2013-06-06 17:24:35 -0700 Code Order In Sequel , the order in which code is executed is important. This guide provides the recommended way to order your Sequel code. Some of these guidelines are not strictly necessary, but others are, a...