Faster, Better ORM with DataMapper
summary
DataMapper claims faster, more flexible ORM by using an identity map so repeated lookups reuse Ruby objects, and strategic eager loading that cuts typical N+1 queries to two and makes nested trees cost one query per level. It supports per-repository mappings (Legacy), yaml store fixtures for tests, custom types with load/dump and lazy loaded grouping to fetch grouped large columns in one query. It includes connection pooling, auto migrations, and 0.9 targets MySQL, SQLite, Postgres and YAML adapters.
AI-written summary · about








