### Home Classes Methods

### Files

- CHANGELOG
- MIT-LICENSE
- README.rdoc
- active_record.rdoc
- advanced_associations.rdoc
- association_basics.rdoc
- bin_sequel.rdoc
- cheat_sheet.rdoc
- code_order.rdoc
- core_extensions.rdoc
- dataset_basics.rdoc
- dataset_filtering.rdoc
- mass_assignment.rdoc
- migration.rdoc
- model_hooks.rdoc
- object_model.rdoc
- opening_databases.rdoc
- postgresql.rdoc
- prepared_statements.rdoc
- querying.rdoc
- reflection.rdoc
- 1.0.txt
- 1.1.txt
- 1.3.txt
- 1.4.0.txt
- 1.5.0.txt
- 2.0.0.txt
- 2.1.0.txt
- 2.10.0.txt
- 2.11.0.txt
- 2.12.0.txt
- 2.2.0.txt
- 2.3.0.txt
- 2.4.0.txt
- 2.5.0.txt
- 2.6.0.txt
- 2.7.0.txt
- 2.8.0.txt
- 2.9.0.txt
- 3.0.0.txt
- 3.1.0.txt
- 3.10.0.txt
- 3.11.0.txt
- 3.12.0.txt
- 3.13.0.txt
- 3.14.0.txt
- 3.15.0.txt
- 3.16.0.txt
- 3.17.0.txt
- 3.18.0.txt
- 3.19.0.txt
- 3.2.0.txt
- 3.20.0.txt
- 3.21.0.txt
- 3.22.0.txt
- 3.23.0.txt
- 3.24.0.txt
- 3.25.0.txt
- 3.26.0.txt
- 3.27.0.txt
- 3.28.0.txt
- 3.29.0.txt
- 3.3.0.txt
- 3.30.0.txt
- 3.31.0.txt
- 3.32.0.txt
- 3.33.0.txt
- 3.34.0.txt
- 3.35.0.txt
- 3.36.0.txt
- 3.37.0.txt
- 3.38.0.txt
- 3.39.0.txt
- 3.4.0.txt
- 3.40.0.txt
- 3.41.0.txt
- 3.42.0.txt
- 3.43.0.txt
- 3.44.0.txt
- 3.45.0.txt
- 3.46.0.txt
- 3.47.0.txt
- 3.48.0.txt
- 3.5.0.txt
- 3.6.0.txt
- 3.7.0.txt
- 3.8.0.txt
- 3.9.0.txt
- 4.0.0.txt
- schema_modification.rdoc
- security.rdoc
- sharding.rdoc
- sql.rdoc
- testing.rdoc
- thread_safety.rdoc
- transactions.rdoc
- validations.rdoc
- virtual_rows.rdoc

### Class Index

Quicksearch

- Sequel
- Sequel::ADO
- Sequel::ADO::Access
- Sequel::ADO::Access::AdoSchema
- Sequel::ADO::Access::AdoSchema::Column
- Sequel::ADO::Access::DatabaseMethods
- Sequel::ADO::Access::Dataset
- Sequel::ADO::Database
- Sequel::ADO::Dataset
- Sequel::ADO::MSSQL
- Sequel::ADO::MSSQL::DatabaseMethods
- Sequel::ADO::MSSQL::Dataset
- Sequel::ASTTransformer
- Sequel::Access
- Sequel::Access::DatabaseMethods
- Sequel::Access::DatasetMethods
- Sequel::AdapterNotFound
- Sequel::Amalgalite
- Sequel::Amalgalite::Database
- Sequel::Amalgalite::Dataset
- Sequel::Amalgalite::SequelTypeMap
- Sequel::ArbitraryServers
- Sequel::BasicObject
- Sequel::BeforeHookFailed
- Sequel::CheckConstraintViolation
- Sequel::ColumnsIntrospection
- Sequel::ConnectionPool
- Sequel::ConnectionPool::ClassMethods
- Sequel::ConnectionValidator
- Sequel::ConnectionValidator::Retry
- Sequel::ConstraintValidations
- Sequel::ConstraintValidations::AlterTableGeneratorMethods
- Sequel::ConstraintValidations::CreateTableGeneratorMethods
- Sequel::ConstraintValidations::Generator
- Sequel::ConstraintViolation
- Sequel::CoreRefinements
- Sequel::Cubrid
- Sequel::Cubrid::Database
- Sequel::Cubrid::DatabaseMethods
- Sequel::Cubrid::Dataset
- Sequel::Cubrid::DatasetMethods
- Sequel::DB2
- Sequel::DB2::DB2Error
- Sequel::DB2::Database
- Sequel::DB2::DatabaseMethods
- Sequel::DB2::Dataset
- Sequel::DB2::DatasetMethods
- Sequel::DBI
- Sequel::DBI::Database
- Sequel::DBI::Dataset
- Sequel::DataObjects
- Sequel::DataObjects::Database
- Sequel::DataObjects::Dataset
- Sequel::DataObjects::MySQL
- Sequel::DataObjects::MySQL::DatabaseMethods
- Sequel::DataObjects::MySQL::Dataset
- Sequel::DataObjects::Postgres
- Sequel::DataObjects::Postgres::DatabaseMethods
- Sequel::DataObjects::SQLite
- Sequel::DataObjects::SQLite::DatabaseMethods
- Sequel::Database
- Sequel::Database::DatasetClass
- Sequel::Database::ResetIdentifierMangling
- Sequel::Database::SplitAlterTable
- Sequel::DatabaseConnectionError
- Sequel::DatabaseDisconnectError
- Sequel::DatabaseError
- Sequel::DatabaseQuery
- Sequel::Dataset
- Sequel::Dataset::ArgumentMapper
- Sequel::Dataset::NullDataset
- Sequel::Dataset::Nullifiable
- Sequel::Dataset::Pagination
- Sequel::Dataset::PreparedStatementMethods
- Sequel::Dataset::Query
- Sequel::Dataset::SplitArrayNil
- Sequel::Dataset::StoredProcedureMethods
- Sequel::Dataset::StoredProcedures
- Sequel::Dataset::UnnumberedArgumentMapper
- Sequel::DatasetPagination
- Sequel::DatasetPrinter
- Sequel::DatasetQuery
- Sequel::Deprecation
- Sequel::EmptyArrayIgnoreNulls
- Sequel::EmulateOffsetWithReverseAndCount
- Sequel::EmulateOffsetWithRowNumber
- Sequel::Error
- Sequel::Error::AdapterNotFound
- Sequel::Error::InvalidOperation
- Sequel::Error::InvalidValue
- Sequel::Error::PoolTimeoutError
- Sequel::Error::Rollback
- Sequel::EvalInspect
- Sequel::FilterHaving
- Sequel::Firebird
- Sequel::Firebird::Database
- Sequel::Firebird::DatabaseMethods
- Sequel::Firebird::Dataset
- Sequel::Firebird::DatasetMethods
- Sequel::ForeignKeyConstraintViolation
- Sequel::GraphEach
- Sequel::HashAliases
- Sequel::HookFailed
- Sequel::IBMDB
- Sequel::IBMDB::Connection
- Sequel::IBMDB::Connection::Error
- Sequel::IBMDB::Database
- Sequel::IBMDB::Dataset
- Sequel::IBMDB::Dataset::CallableStatementMethods
- Sequel::IBMDB::Dataset::PreparedStatementMethods
- Sequel::IBMDB::Statement
- Sequel::Inflections
- Sequel::Informix
- Sequel::Informix::Database
- Sequel::Informix::DatabaseMethods
- Sequel::Informix::Dataset
- Sequel::Informix::DatasetMethods
- Sequel::IntegerMigrator
- Sequel::InvalidOperation
- Sequel::InvalidValue
- Sequel::JDBC
- Sequel::JDBC::AS400
- Sequel::JDBC::AS400::DatabaseMethods
- Sequel::JDBC::AS400::Dataset
- Sequel::JDBC::Cubrid
- Sequel::JDBC::Cubrid::DatabaseMethods
- Sequel::JDBC::DB2
- Sequel::JDBC::DB2::DatabaseMethods
- Sequel::JDBC::DB2::Dataset
- Sequel::JDBC::Database
- Sequel::JDBC::Dataset
- Sequel::JDBC::Dataset::PreparedStatementMethods
- Sequel::JDBC::Dataset::StoredProcedureMethods
- Sequel::JDBC::Dataset::TYPE_TRANSLATOR
- Sequel::JDBC::Derby
- Sequel::JDBC::Derby::DatabaseMethods
- Sequel::JDBC::Derby::Dataset
- Sequel::JDBC::Firebird
- Sequel::JDBC::Firebird::DatabaseMethods
- Sequel::JDBC::H2
- Sequel::JDBC::H2::DatabaseMethods
- Sequel::JDBC::H2::Dataset
- Sequel::JDBC::HSQLDB
- Sequel::JDBC::HSQLDB::DatabaseMethods
- Sequel::JDBC::HSQLDB::Dataset
- Sequel::JDBC::Informix
- Sequel::JDBC::Informix::DatabaseMethods
- Sequel::JDBC::JTDS
- Sequel::JDBC::JTDS::DatabaseMethods
- Sequel::JDBC::JTDS::Dataset
- Sequel::JDBC::JavaLang
- Sequel::JDBC::JavaSQL
- Sequel::JDBC::JavaxNaming
- Sequel::JDBC::MSSQL
- Sequel::JDBC::MSSQL::DatabaseMethods
- Sequel::JDBC::MySQL
- Sequel::JDBC::MySQL::DatabaseMethods
- Sequel::JDBC::Oracle
- Sequel::JDBC::Oracle::DatabaseMethods
- Sequel::JDBC::Oracle::Dataset
- Sequel::JDBC::Postgres
- Sequel::JDBC::Postgres::DatabaseMethods
- Sequel::JDBC::Postgres::Dataset
- Sequel::JDBC::Postgres::Dataset::PGArrayConverter
- Sequel::JDBC::Progress
- Sequel::JDBC::Progress::DatabaseMethods
- Sequel::JDBC::SQLServer
- Sequel::JDBC::SQLServer::DatabaseMethods
- Sequel::JDBC::SQLServer::DatabaseMethods::MetadataDatasetMethods
- Sequel::JDBC::SQLite
- Sequel::JDBC::SQLite::DatabaseMethods
- Sequel::JDBC::Transactions
- Sequel::LiteralString
- Sequel::LooserTypecasting
- Sequel::MSSQL
- Sequel::MSSQL::DatabaseMethods
- Sequel::MSSQL::DatasetMethods
- Sequel::Metaprogramming
- Sequel::Migration
- Sequel::MigrationAlterTableReverser
- Sequel::MigrationDSL
- Sequel::MigrationReverser
- Sequel::Migrator
- Sequel::Migrator::Error
- Sequel::Migrator::NotCurrentError
- Sequel::Mock
- Sequel::Mock::Connection
- Sequel::Mock::Database
- Sequel::Mock::Dataset
- Sequel::Model
- Sequel::Model::Associations
- Sequel::Model::Associations::AssociationDatasetMethods
- Sequel::Model::Associations::AssociationReflection
- Sequel::Model::Associations::ClassMethods
- Sequel::Model::Associations::DatasetMethods
- Sequel::Model::Associations::EagerGraphLoader
- Sequel::Model::Associations::InstanceMethods
- Sequel::Model::Associations::ManyToManyAssociationReflection
- Sequel::Model::Associations::ManyToOneAssociationReflection
- Sequel::Model::Associations::OneToManyAssociationReflection
- Sequel::Model::Associations::OneToOneAssociationReflection
- Sequel::Model::ClassMethods
- Sequel::Model::DatasetMethods
- Sequel::Model::DatasetModule
- Sequel::Model::Errors
- Sequel::Model::InstanceMethods
- Sequel::MySQL
- Sequel::MySQL::Database
- Sequel::MySQL::DatabaseMethods
- Sequel::MySQL::Dataset
- Sequel::MySQL::DatasetMethods
- Sequel::MySQL::PreparedStatements
- Sequel::MySQL::PreparedStatements::DatabaseMethods
- Sequel::MySQL::PreparedStatements::DatasetMethods
- Sequel::MySQL::PreparedStatements::DatasetMethods::CallableStatementMethods
- Sequel::MySQL::PreparedStatements::DatasetMethods::PreparedStatementMethods
- Sequel::MySQL::PreparedStatements::DatasetMethods::StoredProcedureMethods
- Sequel::Mysql2
- Sequel::Mysql2::Database
- Sequel::Mysql2::Dataset
- Sequel::NamedTimezones
- Sequel::NamedTimezones::DatabaseMethods
- Sequel::NoExistingObject
- Sequel::NoMatchingRow
- Sequel::NotNullConstraintViolation
- Sequel::ODBC
- Sequel::ODBC::Database
- Sequel::ODBC::Dataset
- Sequel::ODBC::MSSQL
- Sequel::ODBC::MSSQL::DatabaseMethods
- Sequel::ODBC::MSSQL::Dataset
- Sequel::OpenBase
- Sequel::OpenBase::Database
- Sequel::OpenBase::Dataset
- Sequel::Oracle
- Sequel::Oracle::Database
- Sequel::Oracle::DatabaseMethods
- Sequel::Oracle::Dataset
- Sequel::Oracle::Dataset::ArgumentMapper
- Sequel::Oracle::Dataset::BindArgumentMethods
- Sequel::Oracle::Dataset::PreparedStatementMethods
- Sequel::Oracle::DatasetMethods
- Sequel::Plugins
- Sequel::Plugins::ActiveModel
- Sequel::Plugins::ActiveModel::ClassMethods
- Sequel::Plugins::ActiveModel::Errors
- Sequel::Plugins::ActiveModel::InstanceMethods
- Sequel::Plugins::AfterInitialize
- Sequel::Plugins::AfterInitialize::ClassMethods
- Sequel::Plugins::AfterInitialize::InstanceMethods
- Sequel::Plugins::AssociationAutoreloading
- Sequel::Plugins::AssociationDependencies
- Sequel::Plugins::AssociationDependencies::ClassMethods
- Sequel::Plugins::AssociationDependencies::InstanceMethods
- Sequel::Plugins::AssociationPks
- Sequel::Plugins::AssociationPks::ClassMethods
- Sequel::Plugins::AssociationPks::InstanceMethods
- Sequel::Plugins::AssociationProxies
- Sequel::Plugins::AssociationProxies::AssociationProxy
- Sequel::Plugins::AssociationProxies::ClassMethods
- Sequel::Plugins::AutoValidations
- Sequel::Plugins::AutoValidations::ClassMethods
- Sequel::Plugins::AutoValidations::InstanceMethods
- Sequel::Plugins::BlacklistSecurity
- Sequel::Plugins::BlacklistSecurity::ClassMethods
- Sequel::Plugins::BlacklistSecurity::InstanceMethods
- Sequel::Plugins::BlacklistSecurity::InstanceMethods::ExceptionList
- Sequel::Plugins::BooleanReaders
- Sequel::Plugins::BooleanReaders::ClassMethods
- Sequel::Plugins::Caching
- Sequel::Plugins::Caching::ClassMethods
- Sequel::Plugins::Caching::InstanceMethods
- Sequel::Plugins::ClassTableInheritance
- Sequel::Plugins::ClassTableInheritance::ClassMethods
- Sequel::Plugins::ClassTableInheritance::InstanceMethods
- Sequel::Plugins::Composition
- Sequel::Plugins::Composition::ClassMethods
- Sequel::Plugins::Composition::InstanceMethods
- Sequel::Plugins::ConstraintValidations
- Sequel::Plugins::ConstraintValidations::ClassMethods
- Sequel::Plugins::ConstraintValidations::DatabaseMethods
- Sequel::Plugins::ConstraintValidations::InstanceMethods
- Sequel::Plugins::DatasetAssociations
- Sequel::Plugins::DatasetAssociations::ClassMethods
- Sequel::Plugins::DatasetAssociations::DatasetMethods
- Sequel::Plugins::DefaultsSetter
- Sequel::Plugins::DefaultsSetter::ClassMethods
- Sequel::Plugins::DefaultsSetter::InstanceMethods
- Sequel::Plugins::Dirty
- Sequel::Plugins::Dirty::InstanceMethods
- Sequel::Plugins::EagerEach
- Sequel::Plugins::EagerEach::DatasetMethods
- Sequel::Plugins::ErrorSplitter
- Sequel::Plugins::ErrorSplitter::InstanceMethods
- Sequel::Plugins::ForceEncoding
- Sequel::Plugins::ForceEncoding::ClassMethods
- Sequel::Plugins::ForceEncoding::InstanceMethods
- Sequel::Plugins::HookClassMethods
- Sequel::Plugins::HookClassMethods::ClassMethods
- Sequel::Plugins::HookClassMethods::InstanceMethods
- Sequel::Plugins::InputTransformer
- Sequel::Plugins::InputTransformer::ClassMethods
- Sequel::Plugins::InputTransformer::InstanceMethods
- Sequel::Plugins::InstanceFilters
- Sequel::Plugins::InstanceFilters::InstanceMethods
- Sequel::Plugins::InstanceHooks
- Sequel::Plugins::InstanceHooks::InstanceMethods
- Sequel::Plugins::JsonSerializer
- Sequel::Plugins::JsonSerializer::ClassMethods
- Sequel::Plugins::JsonSerializer::DatasetMethods
- Sequel::Plugins::JsonSerializer::InstanceMethods
- Sequel::Plugins::JsonSerializer::Literal
- Sequel::Plugins::LazyAttributes
- Sequel::Plugins::LazyAttributes::ClassMethods
- Sequel::Plugins::LazyAttributes::InstanceMethods
- Sequel::Plugins::List
- Sequel::Plugins::List::ClassMethods
- Sequel::Plugins::List::InstanceMethods
- Sequel::Plugins::ManyThroughMany
- Sequel::Plugins::ManyThroughMany::ClassMethods
- Sequel::Plugins::ManyThroughMany::DatasetMethods
- Sequel::Plugins::ManyThroughMany::ManyThroughManyAssociationReflection
- Sequel::Plugins::ManyToOnePkLookup
- Sequel::Plugins::NestedAttributes
- Sequel::Plugins::NestedAttributes::ClassMethods
- Sequel::Plugins::NestedAttributes::InstanceMethods
- Sequel::Plugins::OptimisticLocking
- Sequel::Plugins::OptimisticLocking::ClassMethods
- Sequel::Plugins::OptimisticLocking::InstanceMethods
- Sequel::Plugins::PgArrayAssociations
- Sequel::Plugins::PgArrayAssociations::ClassMethods
- Sequel::Plugins::PgArrayAssociations::DatasetMethods
- Sequel::Plugins::PgArrayAssociations::ManyToPgArrayAssociationReflection
- Sequel::Plugins::PgArrayAssociations::PgArrayToManyAssociationReflection
- Sequel::Plugins::PgRow
- Sequel::Plugins::PgRow::ClassMethods
- Sequel::Plugins::PgRow::DatabaseMethods
- Sequel::Plugins::PgRow::InstanceMethods
- Sequel::Plugins::PgTypecastOnLoad
- Sequel::Plugins::PgTypecastOnLoad::ClassMethods
- Sequel::Plugins::PgTypecastOnLoad::InstanceMethods
- Sequel::Plugins::PreparedStatements
- Sequel::Plugins::PreparedStatements::ClassMethods
- Sequel::Plugins::PreparedStatements::InstanceMethods
- Sequel::Plugins::PreparedStatementsAssociations
- Sequel::Plugins::PreparedStatementsAssociations::ClassMethods
- Sequel::Plugins::PreparedStatementsAssociations::InstanceMethods
- Sequel::Plugins::PreparedStatementsSafe
- Sequel::Plugins::PreparedStatementsSafe::ClassMethods
- Sequel::Plugins::PreparedStatementsSafe::InstanceMethods
- Sequel::Plugins::PreparedStatementsWithPk
- Sequel::Plugins::PreparedStatementsWithPk::ClassMethods
- Sequel::Plugins::PreparedStatementsWithPk::DatasetMethods
- Sequel::Plugins::RcteTree
- Sequel::Plugins::Schema
- Sequel::Plugins::Schema::ClassMethods
- Sequel::Plugins::Scissors
- Sequel::Plugins::Scissors::ClassMethods
- Sequel::Plugins::Serialization
- Sequel::Plugins::Serialization::ClassMethods
- Sequel::Plugins::Serialization::InstanceMethods
- Sequel::Plugins::SerializationModificationDetection
- Sequel::Plugins::SerializationModificationDetection::InstanceMethods
- Sequel::Plugins::Sharding
- Sequel::Plugins::Sharding::ClassMethods
- Sequel::Plugins::Sharding::DatasetMethods
- Sequel::Plugins::Sharding::InstanceMethods
- Sequel::Plugins::SingleTableInheritance
- Sequel::Plugins::SingleTableInheritance::ClassMethods
- Sequel::Plugins::SingleTableInheritance::InstanceMethods
- Sequel::Plugins::SkipCreateRefresh
- Sequel::Plugins::SkipCreateRefresh::InstanceMethods
- Sequel::Plugins::StaticCache
- Sequel::Plugins::StaticCache::ClassMethods
- Sequel::Plugins::StringStripper
- Sequel::Plugins::StringStripper::ClassMethods
- Sequel::Plugins::Subclasses
- Sequel::Plugins::Subclasses::ClassMethods
- Sequel::Plugins::TacticalEagerLoading
- Sequel::Plugins::TacticalEagerLoading::DatasetMethods
- Sequel::Plugins::TacticalEagerLoading::InstanceMethods
- Sequel::Plugins::Timestamps
- Sequel::Plugins::Timestamps::ClassMethods
- Sequel::Plugins::Timestamps::InstanceMethods
- Sequel::Plugins::Touch
- Sequel::Plugins::Touch::ClassMethods
- Sequel::Plugins::Touch::InstanceMethods
- Sequel::Plugins::Tree
- Sequel::Plugins::Tree::ClassMethods
- Sequel::Plugins::Tree::InstanceMethods
- Sequel::Plugins::Tree::SingleRoot
- Sequel::Plugins::Tree::SingleRoot::ClassMethods
- Sequel::Plugins::Tree::SingleRoot::InstanceMethods
- Sequel::Plugins::Tree::TreeMultipleRootError
- Sequel::Plugins::TypecastOnLoad
- Sequel::Plugins::TypecastOnLoad::ClassMethods
- Sequel::Plugins::TypecastOnLoad::InstanceMethods
- Sequel::Plugins::UnlimitedUpdate
- Sequel::Plugins::UnlimitedUpdate::InstanceMethods
- Sequel::Plugins::UpdatePrimaryKey
- Sequel::Plugins::UpdatePrimaryKey::InstanceMethods
- Sequel::Plugins::ValidationClassMethods
- Sequel::Plugins::ValidationClassMethods::ClassMethods
- Sequel::Plugins::ValidationClassMethods::ClassMethods::Generator
- Sequel::Plugins::ValidationClassMethods::InstanceMethods
- Sequel::Plugins::ValidationHelpers
- Sequel::Plugins::ValidationHelpers::InstanceMethods
- Sequel::Plugins::XmlSerializer
- Sequel::Plugins::XmlSerializer::ClassMethods
- Sequel::Plugins::XmlSerializer::DatasetMethods
- Sequel::Plugins::XmlSerializer::InstanceMethods
- Sequel::PoolTimeout
- Sequel::Postgres
- Sequel::Postgres::Adapter
- Sequel::Postgres::AlterTableGenerator
- Sequel::Postgres::ArrayOp
- Sequel::Postgres::ArrayOpMethods
- Sequel::Postgres::CreateTableGenerator
- Sequel::Postgres::Database
- Sequel::Postgres::DatabaseMethods
- Sequel::Postgres::Dataset
- Sequel::Postgres::Dataset::ArgumentMapper
- Sequel::Postgres::Dataset::BindArgumentMethods
- Sequel::Postgres::Dataset::PreparedStatementMethods
- Sequel::Postgres::DatasetMethods
- Sequel::Postgres::DatasetMethods::PreparedStatementMethods
- Sequel::Postgres::ExclusionConstraintViolation
- Sequel::Postgres::HStore
- Sequel::Postgres::HStore::DatabaseMethods
- Sequel::Postgres::HStore::Parser
- Sequel::Postgres::HStoreOp
- Sequel::Postgres::HStoreOpMethods
- Sequel::Postgres::InetDatabaseMethods
- Sequel::Postgres::InetDatasetMethods
- Sequel::Postgres::IntervalDatabaseMethods
- Sequel::Postgres::IntervalDatabaseMethods::Parser
- Sequel::Postgres::IntervalDatasetMethods
- Sequel::Postgres::JSONArray
- Sequel::Postgres::JSONDatabaseMethods
- Sequel::Postgres::JSONHash
- Sequel::Postgres::JSONOp
- Sequel::Postgres::JSONOpMethods
- Sequel::Postgres::PGArray
- Sequel::Postgres::PGArray::Creator
- Sequel::Postgres::PGArray::DatabaseMethods
- Sequel::Postgres::PGArray::JSONCreator
- Sequel::Postgres::PGArray::Parser
- Sequel::Postgres::PGRange
- Sequel::Postgres::PGRange::DatabaseMethods
- Sequel::Postgres::PGRange::DatasetMethods
- Sequel::Postgres::PGRange::Parser
- Sequel::Postgres::PGRow
- Sequel::Postgres::PGRow::ArrayRow
- Sequel::Postgres::PGRow::DatabaseMethods
- Sequel::Postgres::PGRow::HashRow
- Sequel::Postgres::PGRow::Parser
- Sequel::Postgres::PGRow::Splitter
- Sequel::Postgres::PGRowOp
- Sequel::Postgres::PGRowOp::ExpressionMethods
- Sequel::Postgres::RangeOp
- Sequel::Postgres::RangeOpMethods
- Sequel::PrettyTable
- Sequel::Progress
- Sequel::Progress::DatabaseMethods
- Sequel::Progress::DatasetMethods
- Sequel::Qualifier
- Sequel::QueryLiterals
- Sequel::Rollback
- Sequel::SQL
- Sequel::SQL::AliasMethods
- Sequel::SQL::AliasedExpression
- Sequel::SQL::BitwiseMethods
- Sequel::SQL::Blob
- Sequel::SQL::BooleanConstant
- Sequel::SQL::BooleanExpression
- Sequel::SQL::BooleanMethods
- Sequel::SQL::Builders
- Sequel::SQL::CaseExpression
- Sequel::SQL::Cast
- Sequel::SQL::CastMethods
- Sequel::SQL::ColumnAll
- Sequel::SQL::ComplexExpression
- Sequel::SQL::ComplexExpressionMethods
- Sequel::SQL::Constant
- Sequel::SQL::Constants
- Sequel::SQL::DateAdd
- Sequel::SQL::DateAdd::DatasetMethods
- Sequel::SQL::DelayedEvaluation
- Sequel::SQL::EmulatedFunction
- Sequel::SQL::Expression
- Sequel::SQL::Function
- Sequel::SQL::GenericExpression
- Sequel::SQL::Identifier
- Sequel::SQL::InequalityMethods
- Sequel::SQL::JoinClause
- Sequel::SQL::JoinOnClause
- Sequel::SQL::JoinUsingClause
- Sequel::SQL::NegativeBooleanConstant
- Sequel::SQL::NumericExpression
- Sequel::SQL::NumericMethods
- Sequel::SQL::OperatorBuilders
- Sequel::SQL::OrderMethods
- Sequel::SQL::OrderedExpression
- Sequel::SQL::PlaceholderLiteralString
- Sequel::SQL::QualifiedIdentifier
- Sequel::SQL::QualifyingMethods
- Sequel::SQL::StringConcatenationMethods
- Sequel::SQL::StringExpression
- Sequel::SQL::StringMethods
- Sequel::SQL::Subscript
- Sequel::SQL::SubscriptMethods
- Sequel::SQL::ValueList
- Sequel::SQL::VirtualRow
- Sequel::SQL::Window
- Sequel::SQL::WindowFunction
- Sequel::SQL::Wrapper
- Sequel::SQLTime
- Sequel::SQLite
- Sequel::SQLite::Database
- Sequel::SQLite::DatabaseMethods
- Sequel::SQLite::Dataset
- Sequel::SQLite::Dataset::ArgumentMapper
- Sequel::SQLite::Dataset::BindArgumentMethods
- Sequel::SQLite::Dataset::PreparedStatementMethods
- Sequel::SQLite::DatasetMethods
- Sequel::Schema
- Sequel::Schema::AlterTableGenerator
- Sequel::Schema::CreateTableGenerator
- Sequel::Schema::Generator
- Sequel::SchemaCaching
- Sequel::SchemaDumper
- Sequel::SelectRemove
- Sequel::Sequel3DatasetMethods
- Sequel::SerializationFailure
- Sequel::ServerBlock
- Sequel::SetOverrides
- Sequel::ShardedSingleConnectionPool
- Sequel::ShardedThreadedConnectionPool
- Sequel::SimpleMigration
- Sequel::SingleConnectionPool
- Sequel::Swift
- Sequel::Swift::Database
- Sequel::Swift::Dataset
- Sequel::Swift::MySQL
- Sequel::Swift::MySQL::DatabaseMethods
- Sequel::Swift::MySQL::Dataset
- Sequel::Swift::Postgres
- Sequel::Swift::Postgres::DatabaseMethods
- Sequel::Swift::SQLite
- Sequel::Swift::SQLite::DatabaseMethods
- Sequel::Swift::SQLite::Dataset
- Sequel::ThreadLocalTimezones
- Sequel::ThreadedConnectionPool
- Sequel::ThreadedServerBlock
- Sequel::TimestampMigrator
- Sequel::Timezones
- Sequel::TinyTDS
- Sequel::TinyTDS::Database
- Sequel::TinyTDS::Dataset
- Sequel::TinyTDS::Dataset::ArgumentMapper
- Sequel::TinyTDS::Dataset::PreparedStatementMethods
- Sequel::ToDot
- Sequel::ToDot::DatasetMethods
- Sequel::UnbindDuplicate
- Sequel::Unbinder
- Sequel::UndefinedAssociation
- Sequel::UniqueConstraintViolation
- Sequel::UnthreadedServerBlock
- Sequel::ValidationFailed
- String
- String::Inflections
- Array
- FalseClass
- Hash
- NilClass
- Numeric
- Object
- PGconn
- PGresult
- Range
- Symbol
- TrueClass

No matching classes.

# Deprecation Warnings

The main change in Sequel 3.48.0 is the deprecation of Sequel features that will be modified, moved, or removed in Sequel 4. For the reasoning behind these changes, please review the commits logs at github.com/jeremyevans/sequel-4-plans/commits/master

## Deprecation Logging

If you use a deprecated method or feature, Sequel will by default print a deprecation message and 10 lines of backtrace to stderr to easily allow you to figure out which code needs to be updated. You can change where the deprecation messages go and how many lines of backtrace are given using the following:

    # Log deprecation information to a file
    Sequel::Deprecation.output = File.open('deprecated.txt', 'wb')

    # Turn off all deprecation logging
    Sequel::Deprecation.output = nil

    # Use 5 lines of backtrace when logging deprecation messages
    Sequel::Deprecation.backtrace_filter = 5

    # Use all backtrace lines when logging deprecation messages
    Sequel::Deprecation.backtrace_filter = true

    # Don't include backtraces in the deprecation logging
    Sequel::Deprecation.backtrace_filter = false

    # Select which backtrace lines to output
    Sequel::Deprecation.backtrace_filter = \
      lambda{|line, line_no| line_no < 3 || line =~ /my_app/}

## Major Change

- The core extensions will no longer be loaded by default. You will have to use `Sequel.extension :core_extensions` to load the core extensions.

- The Symbol#[] and Symbol#{<,>,<=,>=} methods will no longer be provided by the core extensions on ruby 1.8. You will have to use `Sequel.extension :ruby18_symbol_extensions` to use them.

## Core Behavior Changes

- Dataset#filter becomes an alias for where, and exclude becomes an alias for exclude_where. You will have to use `DB.extension :filter_having` to get the previous behavior. Dataset#and and or will also only affect the WHERE clause.

- Dataset#and, or, and invert will not raise errors for no existing filter.

- Dataset#select_more becomes an alias for select_append.

- Dataset#select and from will not longer consider a hash argument as an alias specification. You will have to use `DB.extension :hash_aliases` to get the previous behavior.

- Database#dataset and Dataset.new will not take an options hash.

- Database#transaction :disconnect=>:retry option will be removed.

- Calling Dataset#add_graph_aliases before graph or set_graph_aliases will raise an Error.

- Datasets will have a frozen options hash by default.

- Dataset#set_overrides and set_defaults will move to the set_overrides extension.

- Sequel.empty_array_handle_nulls will be removed. To get the empty_array_handle_nulls = false behavior, you will have to use `DB.extension :empty_array_ignore_nulls`.

- The second argument to Dataset union, intersect, and except must be an options hash if it is given.

- The fourth argument to Dataset join_table must be an options hash if it is given.

- Using a mismatched number of placeholders and arguments in a placeholder literal string will raise an error.

- Dataset#graph_each will move to the graph_each extension.

- Database#default_schema will be removed.

- Dataset#[]= will be moved to the sequel_3_dataset_methods extension.

- Dataset#insert_multiple will be moved to the sequel_3_dataset_methods extension.

- Dataset#set will be moved to the sequel_3_dataset_methods extension.

- Dataset#to_csv will be moved to the sequel_3_dataset_methods extension.

- Dataset#db= and opts= setters will be moved to the sequel_3_dataset_methods extension.

- Dataset#qualify_to and qualify_to_first_source will be moved to the sequel_3_dataset_methods extension.

- Remove default methods that raise Sequel::NotImplemented: Database#connect, execute, foreign_key_list, indexes, tables, and views, and Dataset#fetch_rows.

- Sequel::SQL::Expression#to_s will be removed.

- All Dataset methods in Dataset::PUBLIC_APPEND_METHODS except for literal, quote_identifier, and quote_schema_table will be removed.

- All Dataset methods in Dataset::PRIVATE_APPEND_METHODS will be removed.

- Sequel k_require, ts_require, tsk_require, and check_requiring_thread will be removed.

- Dataset.def_append_methods will be removed.

- Dataset#table_ref_append will be removed.

- Sequel.virtual_row_instance_eval accessor will be removed.

- Database#reset_schema_utility_dataset will be removed.

## Adapter Behavior Changes

- The Database#do method will be removed from the ado, db2, dbi, informix, odbc, openbase, and oracle adapters.

- The jdbc adapter will raise an error when parsing the schema for a table if it detects results for the same table name in multiple schemas.

- The Database#query method will be removed from the informix adapter.

- Dataset#lock on PostgreSQL will check the given lock mode.

- Sequel will check the client_min_messages setting before use on PostgreSQL.

- Prepared statement placeholders on PostgreSQL will no longer support implicit casting via :$x__type.

## Extension Behavior Changes

- The following extensions will no longer make global changes to the Database and Dataset classes: null_dataset, pagination, pretty_table, query, schema_caching, schema_dumper, select_remove, and to_dot. These will be changed to Database/Dataset specific extensions.

- The pg_auto_parameterize and pg_statement_cache extensions will be removed.

- Sequel::Dataset.introspect_all_columns will be removed from the columns_introspection extension.

- PGRangeOp#starts_before and ends_after will be removed from the pg_range_ops extension.

## Model Behavior Changes

- Model#initialize will accept only one argument.

- The after_initialize hook will be moved to a plugin.

- Move blacklist-based security methods (set_except, update_except, .set_restricted_columns) to a plugin.

- The :eager_loader and :eager_grapher association option procs will always be passed a hash.

- Model string column setters will consider array and hash input to be invalid.

- Remove save taking multiple arguments for the columns to save. Add Model#save :columns option for saving specific columns.

- Don't automatically choose a reciprocal association with a condition or block.

- Don't automatically set up reciprocal associations if multiple ones match.

- Model::Errors#[] will no longer modify the receiver. If you want autovivification, use the active_model plugin.

- Model.set_primary_key will not longer accept composite keys as multiple arguments.

- The correlated_subquery eager limit strategy will be removed.

- The following Model class dataset methods will be removed: print, each_page, paginate, set, add_graph_aliases, insert_multiple, query, set_overrides, set_defaults, to_csv.

- The Model.{destroy,delete,update} class dataset methods will be moved to the scissors plugin.

- Model#pk_or_nil will be removed.

- Model#set_values will no longer be called directly by any Sequel code, and overriding it is deprecated. It will be removed in Sequel 4.1.

- Model.cache_anonymous_models accessor will move to Sequel module.

- Model::InstanceMethods.class_attr_overridable and .class_attr_reader will be removed.

- The :one_to_one option check for one_to_many associations will be removed.

## Plugin Behavior Changes

- Public dataset methods will no longer have class methods automatically added.

- The validates_not_string validation will be removed from the validation_class_methods and validation_helpers plugin.

- In the json_serializer plugin, the to_json :root=>true option means :root=>:collection instead of :root=>:both.

- In the json_serializer plugin, the to_json :naked option will default to true, and there will not be way to add the JSON.create_id automatically.

- In the json_serializer plugin, from_json will no longer automatically delete the JSON.create_id key from the input hash.

- The to_json and to_xml :all_columns and :all_associations options in the json_serializer and xml_serializer plugins will be removed.

- The Model.json_create method will be removed from the json_serializer plugin.

- The validates_type validation will raise validation errors for nil if :allow_nil=>true is not used.

- auto_validate_presence_columns will be removed from the auto_validations plugin

- The identity_map plugin will be removed.

## Internal Changes

- The sequel_core.rb and sequel_model.rb files will be removed.

- Dataset#{quote_identifiers,identifier_output_method, identifier_input_method} will assume Database implements the methods.

# Forwards Compatibility

Not all changes planned in Sequel 4 have deprecation warnings. The following changes will be made in Sequel 4 but do not have deprecation warnings in 3.48.0:

- The threaded connection pools will default to :connection_handling=>:queue. You can manually set :connection_handling=>:stack to get the current behavior.

- Dataset#join_table will default to :qualify=>:deep. You can manually set :qualify=>:symbol to get the current behavior. This can be set at a global level by overriding Dataset#default_join_table_qualification.

- Model.raise_on_typecast_failure will default to false. Set this to true to get the current behavior of raising typecast errors in the setter methods.

- Model#save will no longer call Model#_refresh or Model#set_values internally after an insert. Manually refreshes will be treated differently than after creation refreshes in Sequel 4.

- On SQLite, integer_booleans will be true by default. Set this to false to get the current behavior of 't' for true and 'f' for false.

- On SQLite, use_timestamp_timezones will be false by default. Set this to true to get the current behavior with timezone information in timestamps.

- The default value for most option hash arguments will be an empty frozen hash. If you are overriding methods and modifying option hashes, fix your code.

- The defaults_setter plugin will work in a lazy manner instead of an eager manner. If you must have the values hash contain defaults for new objects (instead of just getting defaults from getter methods), you'll need to fork the current plugin.

- Model#set_all will allow setting the primary key columns.

- The many_to_one_pk_lookup plugin will be integrated into the default associations support.

- The association_autoreloading plugin will be integrated into the default associations support.

- Plugins will extend the class with ClassMethods before including InstanceMethods in the class.

- Dataset#get, select_map, and select_order_map will automatically add aliases for unaliased expressions if given a single expression.

- Database#tables and views on PostgreSQL will check against the current schemas in the search path.

- Sequel::SQL::SQLArray alias for ValueList will be removed.

- Sequel::SQL::NoBooleanInputMethods will be removed.

- Sequel::NotImplemented will be removed.

- Sequel::Model::EMPTY_INSTANCE_VARIABLES will be removed.

- Sequel will no longer provide a default database for the adapter or integration specs.

# New Features

- You can now choose which Errors class to use on a per model basis by overriding Model#errors_class.

- The following Database methods have been added to check for support: supports_index_parsing?, supports_foreign_key_parsing?, support_table_listing?, supports_view_listing?.

- The pg_hstore_ops extension now integrates with the pg_array, pg_hstore, and pg_array_ops extensions, allowing you to pass in arrays and hashes to be treated as PGArrays and HStores, and returning ArrayOps for PostgreSQL functions/operators that return arrays.

- Sequel.object_to_json and Sequel.json_parser_error_class have been added and all internal json usage uses them, so you can now override these methods if you want to use an alternative json library with Sequel.

- The association_proxies plugin now accepts a block allowing the user control over which methods are proxied to the dataset or the cached array of instances. You can base the decision on where to send the method using a variety of factors including the method name, the method arguments, the state of the current instance, or the related association. Here's an example of a simple case just depending on the name of the method;

      Model.plugin :association_proxies do |opts|
       [:find, :where, :create].include?(opts[:method])
      end

  If the block returns true, the method is sent to the dataset, otherwise it is sent to the array of associated objects.

- The auto_validations plugin now accepts a :not_null=>:presence option, for doing a presence validation instead of a not_null validation. This is useful for databases with NOT NULL constraints where you also want to disallow empty strings.

- The auto_validations plugin now validates against explicit nil values in NOT NULL columns that have defaults.

- The constraint_validations plugin now reflects validations, using Model.constraint_validation_reflections.

      Model.constraint_validation_reflections[:column]
      # => [[:presence, {}],
      #     [:max_length, {:argument=>255, :message=>'just too long'}]]

- The constraint_validations plugin can now be set to pass specific validations options to the validation_helpers plugin. This can be useful if using the auto_validations plugin with this plugin to avoid duplicate error messages for nil values:

      Model.plugin :constraint_validations,
        :validates_options=>{:presence=>{:allow_nil=>true}}

- The named_timezones extension can now be loaded as a database extension, which allows for automatic conversions of string timezones:

      DB.extension :named_timezones
      DB.timezone = 'America/Los_Angeles'

- Offsets are now emulated by Microsoft Access using a combination of reverse orders and total counts. This is slow, especially on large datasets, but probably better than having no support at all. It is also possible to use the same code to support Microsoft SQL Server 2000, but as Sequel does not support that (minimum supported version is 2005), you have to do it manually:

      Sequel.require 'adapters/utils/emulate_offset_with_reverse_and_count'
      DB.extend_datasets Sequel::EmulateOffsetWithReverseAndCount

# Other Improvements

- Dataset#clone is now faster.

- Database methods that create datasets (fetch, from, select, get) are now faster.

- Model.with_pk and .with_pk! are now faster.

- Dataset#or now just clones if given an empty argument, similar to Dataset#where.

- Sequel now correctly frees statements after using them in the ibmdb adapter. Previously, they weren't freed until GC, which could result in errors if all available handles are in use.

- Dataset creation is now faster on Microsoft SQL Server.

- The mediumint and mediumtext types are now recognized on MySQL.

- The ado adapter now handles disconnecting an already disconnected connection.

- The auto_validations plugin now works on databases that don't support index parsing. However, it will not set up automatic uniqueness validations on such databases.

- The validation_helpers is more strict in some cases when checking for nil values, using a specific nil check instead of general falsely check.

- The table inheritance plugins now correctly handle usage of set_dataset in a subclass.

- The bin/sequel command line tool now has specs.

# Backwards Compatibility

- Sequel now uses aliases for many internal Dataset#get calls, such as those used by table_exists? and max.

- Sequel now no longer uses class variables internally. Instead, instance variables of the Sequel::Database class are used.

- Sequel now sets up the identifier mangling methods on Database initialization instead of on first use.

- The private Database#adapter_initialize method has been added for per adapter configuration. All internal adapters have been switched to use this method instead of overridding initialize, and all external adapters should as well. This makes sure that Database instances are not added to Sequel::DATABASES until they have been completely initialized.

- Virtual row blocks no longer convert their return values to an array. Among other things, this means that having a virtual row block return a hash works as expected.

- The private Dataset#hash_key_symbol method now only takes a single argument.

- Database#constraint_validations in the constraint_validations plugin now returns raw hash rows, instead of arrays of validation method call arguments.

- Dataset#count now uses a lowercase count function in the SQL.

- Passing a non-String or Hash as the first argument to an adapter method (e.g. Sequel.postgres(1)) now raises an error. Before, this used to work on some adapters that implicitly converted the database name to a string.

- The stats and dcov rake tasks were removed.

[Validate]

Generated with the Darkfish Rdoc Generator 2.