Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add inheritance to lower layer meta model #125

Open
deanhiller opened this issue Jul 22, 2013 · 0 comments
Open

add inheritance to lower layer meta model #125

deanhiller opened this issue Jul 22, 2013 · 0 comments

Comments

@deanhiller
Copy link
Owner

To keep more like an RDBMS, we did not store meta information on inheritance. This was a big mistake. We need to revisit this and store a DboTableMeta object for the superclass(which we already do) and store one for each subclass as well. This will allow the command line tool and ORM layer to play nicely together where

  1. we can select * from Civic which gives us all Civics using a Civic only index
  2. we can select * from Car which gives us all Civics, Accords, etc. etc using the cassandra get all rows from CF
  3. This allows us to not have to use the allRows method anymore and deprecate the allRows method completely in place of select * from XXXXX which would give us all rows.

This is not a high priority yet but eventually we need to get to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant