Module: DataMapper::Constraints
- Defined in:
- lib/dm-constraints.rb,
lib/data_mapper/constraints/resource.rb,
lib/data_mapper/constraints/migrations/model.rb,
lib/data_mapper/constraints/adapters/extension.rb,
lib/data_mapper/constraints/adapters/do_adapter.rb,
lib/data_mapper/constraints/adapters/mysql_adapter.rb,
lib/data_mapper/constraints/adapters/oracle_adapter.rb,
lib/data_mapper/constraints/adapters/sqlite_adapter.rb,
lib/data_mapper/constraints/migrations/relationship.rb,
lib/data_mapper/constraints/relationship/one_to_many.rb,
lib/data_mapper/constraints/adapters/abstract_adapter.rb,
lib/data_mapper/constraints/adapters/postgres_adapter.rb,
lib/data_mapper/constraints/relationship/many_to_many.rb,
lib/data_mapper/constraints/adapters/sqlserver_adapter.rb,
lib/data_mapper/constraints/migrations/singleton_methods.rb
Defined Under Namespace
Modules: Adapters, Migrations, Relationship, Resource
Constant Summary collapse
- VALID_CONSTRAINT_VALUES =
[ :protect, :destroy, :destroy!, :set_nil, :skip ].to_set.freeze