Skip to content

Fix binary uuid casting#121

Merged
warmwaffles merged 3 commits into
elixir-sqlite:mainfrom
greg-rychlewski:binary_uuid_casting
Aug 29, 2023
Merged

Fix binary uuid casting#121
warmwaffles merged 3 commits into
elixir-sqlite:mainfrom
greg-rychlewski:binary_uuid_casting

Conversation

@greg-rychlewski
Copy link
Copy Markdown
Contributor

I think this solves your issue here: #119

I'm not too familiar with SQLite but from what I can tell from the tests it doesn't like it when cast(_ as blob) is used. It seems to work when the casting is removed.

Copy link
Copy Markdown
Member

@warmwaffles warmwaffles left a comment

Choose a reason for hiding this comment

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

Thank you for doing this. I'll need to chuck a test or two into the ecto/adapters/sqlite3/connection directory that check the select statements but this solves the immediate problem.

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