Skip to content

Support cursors (DECLARE and FETCH) #1517

Open
@brentd

Description

@brentd

What do you want to change?

DECLARE x CURSOR ... and FETCH n FROM x are parsed into the ast (I believe) but not currently generated into queries.

See playground: https://play.sqlc.dev/p/c4462bcdfb5324cbc4fb45b11f0f758d8989d0fdb5888e835d7fcb80810f0170

What database engines need to be changed?

PostgreSQL

What programming language backends need to be changed?

Go

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions