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

DBTable's where condition doesn't work when there are multiple condition params #24

Closed
jakipatryk opened this issue Jun 10, 2024 · 0 comments · Fixed by #25
Closed

DBTable's where condition doesn't work when there are multiple condition params #24

jakipatryk opened this issue Jun 10, 2024 · 0 comments · Fixed by #25
Assignees
Labels
bug Something isn't working

Comments

@jakipatryk
Copy link
Contributor

Describe the bug

DBTable#where doesn't work when the argument NamedParams contains more than one param.

To Reproduce

table(tableName)
  .where(add("domain_id", domainID).add("major_version", domainMajorVersion))

where domain_id is UUID and major_version is Integer. This results in ERROR: operator does not exist: integer = uuid.

Expected behavior

It should not fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant