I often need to do complex data mapping. How do I accomplish that in DataMapper?
DataMapper provides a few pre-defined mapping patterns for simple mappings. These include field-to-field mapping, list lookup, database table lookup, and constant value. For complex mapping, you can use the rules language. Rules language is modeled after Excel formula language and is fairly straightforward to learn and use.
Related Questions
- How does OR mapping deal with cases where data is not fully committed to the database? How would rollback take place on complex queries?
- What is the best (Mac friendly) solution for creating a pushpin map from multiple postcodes?
- Is the rack of servers located in a residence, business complex or a data center?