Skip to content

Ambiguous columns #41

@liran-co

Description

@liran-co

I'm filtering on a model but a filed like created_at appears in many of my models so this is causing an error whereby created_at is ambiguous. I believe this occurs because I am running pimp() on a relation instead on the model itself. How can I fix this?

$user->transactions()->pimp()

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