Skip to content

Specify output for query_as! #1638

@Burny-McBurnFace

Description

@Burny-McBurnFace

How can I specify the output type of a query_as! call? When using the non-macro query, I can row.get("mydatetime") into a NaiveDateTime just fine, but I'm unsure how to specify the record output type with the macro version.

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