Skip to content

Asynchronous operation #312

Description

@krlmlr

It would be great to be able to interrupt a query that takes a long time to run and return records. For this it seems we need to look into asynchronous execution with polling: https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/asynchronous-execution-polling-method?redirectedfrom=MSDN&view=sql-server-ver15 .

A first glance into nanodbc suggests that some form of callback is supported. For drivers that support this, we could then execute asynchronously and poll for completion and also call checkUserInterrupt().

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions