Skip to content

Arbitrary SELECTs #6

@dleavitt

Description

@dleavitt

I don't know if this is feasible or in scope, but it would be pretty cool if one could use arbitrary select criteria.

So like:
Shoe.value_of "DISTINCT category"
or
Shoe.select('DISTINCT category AS category').value_of :category

Instead of Shoe.select('DISTINCT category AS category').map(&:category)

Unless there is already a good way to do this, with or without valium.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions