Skip to content

Can you use a raw value for FROM? #514

@Jleagle

Description

@Jleagle

Hi, i am trying to make this:
FROM metric LEFT JOIN LATERAL jsonb_each_text(metric.data) AS kv(key, value) on true

For clauses and expressions i can create a raw string and enter whatever i like, but for FROM i need a ReadableTable and i cant see a raw type for this. I also cant seem to create my own struct that implements ReadableTable and serialises out to my string as there are some types in the internal directory i would need.

Any ideas? Thanks.

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