Skip to content

uniquify might could use gensym? #9

@jpfairbanks

Description

@jpfairbanks

I saw this helper function uniquify and it looks like you are manually creating unique symbols. Julia provides a builtin for that called gensym which makes symbols.

julia> gensym("foo")
Symbol("##foo#253")

it looks like you can't use # in SQL identifiers, so maybe gensym and then replace would work like:

replace(gensym(tag), "#"=>"_")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions