Skip to content

update sqlQQ test to consider a case with a schema#8

Merged
curranosaurus merged 2 commits intomasterfrom
curran/update-sqlqq-to-inject-schema
Oct 3, 2024
Merged

update sqlQQ test to consider a case with a schema#8
curranosaurus merged 2 commits intomasterfrom
curran/update-sqlqq-to-inject-schema

Conversation

@curranosaurus
Copy link
Copy Markdown
Owner

It turns out that sqlQQ defers to the Persistent backend when generating table names, so if we fix all of those then sqlQQ should work with schemas.

This test suite depends on SQLite, which we haven't updated yet, but when we do, it will witness that sqlQQ is correctly interfacing with the backend when schemas are involved.

deriving instance Eq (BackendKey backend) => Eq (PetGeneric backend)

deriving instance Show (BackendKey backend) => Show (PetAnimalGeneric backend)
deriving instance Eq (BackendKey backend) => Eq (PetAnimalGeneric backend)
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why this is necessary. I get a weird error when I try to do this derivation with the standard deriving Eq Show syntax.

@curranosaurus curranosaurus merged commit 320a9c1 into master Oct 3, 2024
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.

2 participants