I've been trying out some experimental code that analyzes database
relationships, but I've run into some difficulty with getting
information about the database. In the code snippet below, I would
have expected to see all of the tables in the database printed out.

foreach (Propel::getDatabaseMap()->getTables() as $table_map)
{
    echo $table_map->getName()."<br />";
}

However, this isn't the case. Instead, I get only one or two tables,
with "sf_guard_remember_key" showing up in all of my tests.

So, I figure I'm probably not using the function getDatabaseMap()
correctly, or there's something else that I should be using... but I
can't find any information relating to this.

Can anyone offer some suggestions either on how to make
getDatabaseMap() give me all of the tables, or another way to examine
the entire database using existing classes?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to