Skip to content

Usage question #17

@mikepc

Description

@mikepc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions