fmbenhassine / jql

Java code analysis and linting with SQL
https://github.com/benas/jql/wiki
MIT License
157 stars 11 forks source link

consider adding parent_class_id to the class table #2

Closed tylerljohnson closed 8 years ago

tylerljohnson commented 8 years ago

Very interesting project, thanks for making it available.

Please consider adding a reference to the parent class in the class table, so that the inheritance hierarchy can be accessed from the data model.

fmbenhassine commented 8 years ago

Thank you!

There is already two relations that are indexed:

I think you can find the parent class with a query on EXTENDS table.

I'll add a more comprehensive description on the relational model.

tylerljohnson commented 8 years ago

Ah excellent... i hadn't made it through all the code, sorry for the oversight on my part.

fmbenhassine commented 8 years ago

No problem, that was hidden.. I'll update the documentation with all details asap!

fmbenhassine commented 8 years ago

I've added a note about currently implemented relations: https://github.com/benas/jcql#relations

More relations will be implemented progressively, stay tuned 😉