Monday, October 20

cjdate and orm

Here's how to represent a relational table in an object design:
  • A table is a named bag of columns where all columns must have the same length
  • A column is a list of items where each item must have the same type
  • A row is refers to an instance of a table with an index (which is typically private)
I think C.J. Date has made some different, perhaps even conflicting statements about how relations and objects work together (or do not work together), but I would need to dig up copies of his books to find them.

Anyways, this is not complicated, unless you try and pretend that rows are supposed to be simpler than tables.

No comments:

Post a Comment