Looking into multiple databases I was curious as to what fORMSchema would do with regards to retrieving the schema of particular databases and I noted that the documentation (as far as code examples go) is fairly limited, but the API does reference that you can pass a class, with which the schema will be "used with."
My understanding of this is likely that it would look for a class to database mapping and retrieve the schema of that database, but since the schema object returned is on the database, wouldn't it make more sense to have the database name as set up with fORMDatabase::attach() used instead of a class?
I guess this is partially a "ticket" of some sorts, but perhaps I'm missing something and I'm just misunderstanding. It would seem, for example, a bit backwards for me to have to think of a random class on a database in order to do something like this:
fORMSchema::retrieve('classOnOtherDB')->getTables();
vs.
fORMSchema::retrieve('other_db')->getTables();