#212

Sequel: The Database Toolkit for Ruby

Ruby Sequel is a lightweight database toolkit for Ruby.

Link: sequel.rubyforge.org

  • 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.

  • 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...

  • 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...

  • Symbol

    sequel.rubyforge.org 10 Oct '13, 10am

    class Symbol lib/sequel/extensions/core_extensions.rb Parent: core_extensions.rb Sequel extends Symbol to add methods to implement the SQL DSL. Methods Public Instance identifier sql_function Included modules Sequel::SQL::AliasMethods Sequel::SQL::CastMethods Sequel::SQL::OrderMethods...

  • querying.rdoc

    sequel.rubyforge.org 28 Sep '13, 2pm

    Note that the retrieval methods discussed above just return the row(s) included in the existing dataset. In most cases, you aren't interested in every row in a table, but in a subset of the rows, based on some criteria. In Sequel , filtering the dataset is generally done separately th...

  • 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...

  • Sequel::Model::ClassMethods

    sequel.rubyforge.org 16 Apr '13, 3pm

    Whether to raise an error when unable to typecast data for a column (default: true). This should be set to false if you want to use validations to display nice error messages to the user (e.g. most web applications). You can use the validates_not_string validations (from either the va...

Related