Skip to content

copy_out params #523

@iamnhphu

Description

@iamnhphu

Hi,
When I call method copy_out with this statement

COPY (SELECT * FROM eurusd
WHERE time >= to_timestamp($1) AND time <= to_timestamp($2)
LIMIT 200000) TO STDOUT BINARY;

thread panicked with message "expected 0 parameters but got 2". Why is that? Is there anything wrong in my statement?

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