8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I have a table defined with schema property.
schema
export class SomeTable extends BaseTable { readonly table = 'some_table'; readonly schema = 'diff_schema'; }
When I'm trying to insert data via:
db.some_table.insert({...});
it generates query like:
INSERT INTO "some_table"(....
when expected one is:
INSERT INTO "diff_schema"."some_table"(....
was also trying with withSchema function but with same results.
withSchema
The text was updated successfully, but these errors were encountered:
Apparently, this is not yet supported, and I'm afraid that OrchidORM isn't a good pick for you because of this.
I did some support of custom schemas here and there, but there are a lot of things to do to ensure the full support of this, and this is quite a big feature to support, since custom schemas can pop up in different parts of queries: updates, creates, deletes, joins, from clauses, relations between tables in different schemas, so this won't be ready any time soon.
Sorry, something went wrong.
No branches or pull requests