Skip to content

Conversation

@ArthurFreeb
Copy link
Contributor

@ArthurFreeb ArthurFreeb commented Apr 4, 2025

Fixes #33

This pull request includes changes to support filtering by UUID in the app.go and app_test.go files. The most important changes include adding the uuid package, modifying the filtering logic to handle UUIDs, and updating the test cases accordingly.

Enhancements to UUID support:

  • app.go: Added the uuid package to the import statements.
  • app.go: Modified the Apply function to include a case for handling UUIDs in the filtering logic.

Updates to test cases:

  • app_test.go: Added a personId field of type uuid.UUID to the User struct.
  • app_test.go: Added a new test function Test_QueryWithFilterEqualsUUID to verify filtering by UUID.

@Jamess-Lucass Jamess-Lucass merged commit 816495f into goatquery:main Apr 4, 2025
2 checks passed
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.

LOWER() function causes SQL error when providing UUID in filter

2 participants