|
|
|
|
|
by califield
4203 days ago
|
|
The author doesn't mention the go-to option in this scenario: write a data mapper[1] to dehydrate your object. While I'm a huge proponent of PostgreSQL and the hstore[2]/JSON column types (hstore column type is not mentioned but it existed way before JSON columns), it's still more common to use PostgreSQL in a primarily relational fashion and the author could have touched on that more before giving us the scoop on the new shiny stuff. [1] http://martinfowler.com/eaaCatalog/dataMapper.html [2] http://postgresguide.com/sexy/hstore.html |
|