Devin ([info]dev_dogg) wrote,

revelations

The following thought caused me to get up from my computer and spontaneously dance around the room:

"The relationships are stored in the underlying database!!"  Woohoo!


  • Post a new comment

    Error

  • 4 comments

Anonymous

October 8 2005, 21:16:58 UTC 6 years ago

um...I'm curious but I'm afraid to ask...

[info]nms1829

October 8 2005, 21:17:36 UTC 6 years ago

hm...I must have forgotten to log in when I sent that comment out. Lets try this again...

[info]nms1829

October 8 2005, 21:18:19 UTC 6 years ago

that's better. :-)

[info]dev_dogg

October 8 2005, 22:49:07 UTC 6 years ago

I was working on a database program that I have been developing since mid-high school, and I needed to add the capability of loading different files.  Since all the tables are located in a different database from the code, I figured all I'd have to do is just point the tables at the new database file.  Then I realized that to do this, I'd have to delete the tables first, and that would destroy the relationships between them.

But I gave it a shot, and was surprised when it actually worked.  I was worried, though, that this wouldn't always be the case.  I kept poking around, worrying that I'd have to write code to recreate the relationships every time I loaded a file.  Then I realized that the relationships are stored in the underlying database, not in the program itself, and was so excited because it meant that I wouldn't have to do all that work.  Yay for no work!

Create an Account
Forgot your login or password?
Facebook Twitter More login options
English • Español • Deutsch • Русский…