Skip to content

spin_sdk::sqlite::Connection::Close() not exist #3091

@seungjin

Description

@seungjin

Based on this doc: https://spinframework.dev/v3/sqlite-api-guide#using-sqlite-storage-from-applications-close,
the set of operations is common across all SDKs: open, execute and close.
But close is not exist in sqlite/libsql. (ref: https://docs.rs/spin-sdk/latest/spin_sdk/sqlite/struct.Connection.html)
(AS of April 7, 2025).

I am connecting libsql.
The connection is not closed. So my raw connection query from libsql shell are all blocked.

I believe there should be close() method in sqlite::Connection.
Am I wrong?

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