Skip to content

Disconnect and later reconnect a dm object from a remote database #1371

@ablack3

Description

@ablack3

Would it be possible to disconnect and later reconnect a dm object to/from a remote database?

I'd like to pass a disconnected dm object into a function, have it open a new connection and perform some operations with the database, and then close the connection before exiting. One potential reason might be that on some database systems temporary tables are scoped to the connection which I want to keep within a function scope.

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