Skip to content
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

Handle sequel qualified identifier join #405

Draft
wants to merge 1 commit into
base: release-3.5
Choose a base branch
from

Conversation

alex-lairan
Copy link

PostgreSQL has the possibility to handle multiple schemas.

Within ROM-SQL it is possible to query the table using Sequel::SQL::QualifiedIdentifier object instead of a symbol.

The join doesn't recognize Sequel::SQL::QualifiedIdentifier so this PR is just about fixing this to allow the join query to be made.

TODO :

  • Tests
  • Verify how SQL schema and other schema works together with a Sequel object instead of a symbol

Ideas of improvement :

  • Create an object that encapsulates the Sequel part so that it doesn't leak into the ROM Relation code. e.g : ROM::SQL::Postgres::SchemaScoppedTableName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant