-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question about synonym #7
Comments
Hmm, no doesn't look like it does right now. It goes straight to the Oracle system table ALL_TAB_COLUMNS to determine the table's structure, without stopping to see if the given tablename actually exists. So for now, you'll have to use the actual table (or view) name. |
Oh, and to re-emphasize a point in the README: class FoosTable extends Table
{
} which would be ideal. But you can specify the actual table name like this class FoosTable extends Table
{
public function initialize(array $config)
{
$this->table('other.bar');
}
} Not a perfect solution, but better than nothing :) |
I think it's will be simple to rebuild for work with Oracle Synonyms, based on http://stackoverflow.com/a/3089110/182823, columns are good described. When I fount a little time, i try create pull request |
Yes, that bit of SQL works if you already know that the given "tablename" is a synonym.
Those are the first solutions that I thought of, but there are probably more. |
Your driver work with synonyms?
The text was updated successfully, but these errors were encountered: