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.