Since the underlying data type in postgres is uuid DB clients render the ULID as a UUID. I can query using the DB client fine with these IDs, but how do I query for records from within iex
eg. iex(2)> MyApp.Repo.get!(Blog, "<TBD>") I tried a couple of encoding/decoding ideas, but I'm drawing a blank.
Since the underlying data type in postgres is
uuidDB clients render the ULID as a UUID. I can query using the DB client fine with these IDs, but how do I query for records from withiniexeg.
iex(2)> MyApp.Repo.get!(Blog, "<TBD>")I tried a couple of encoding/decoding ideas, but I'm drawing a blank.