snusnu / ramom

relational algebra meets object mapping
MIT License
6 stars 0 forks source link

Support defining base relations #6

Open snusnu opened 10 years ago

snusnu commented 10 years ago

It should be possible to define base relations using a simple DSL. Currently, base relations can only be automatically inferred from DataMapper::Model.descendants since I'm using DM1 for migration and write ops in the application this code is extracted from.

Once supported, it should be possible to rename backend field names from within a base relation definition.