We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Il tried to use the uuid() function to generate unique UUID:
Event |> insert(event_id: "uuid()") |> if_not_exists |> Event.save()
But I received this error: Invalid STRING constant (uuid()) for "event_id" of type uuid"
Invalid STRING constant (uuid()) for "event_id" of type uuid"
The text was updated successfully, but these errors were encountered:
Hello, use UUID hex library :) and don't forget to convert it to char list. user_id = UUID.uuid4() |> String.to_charlist()
user_id = UUID.uuid4() |> String.to_charlist()
Sorry, something went wrong.
No branches or pull requests
Il tried to use the uuid() function to generate unique UUID:
But I received this error:
Invalid STRING constant (uuid()) for "event_id" of type uuid"
The text was updated successfully, but these errors were encountered: