From 6098e9dbc01bf641ad435e26d10a6959c5ebff3d Mon Sep 17 00:00:00 2001 From: Elena Felder <41136058+elefeint@users.noreply.github.com> Date: Mon, 9 Sep 2024 12:23:57 -0400 Subject: [PATCH] Connect in single attach mode (#54) --- src/motherduck_destination_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/motherduck_destination_server.cpp b/src/motherduck_destination_server.cpp index cbbac64..23b8e83 100644 --- a/src/motherduck_destination_server.cpp +++ b/src/motherduck_destination_server.cpp @@ -81,6 +81,7 @@ std::unique_ptr get_connection( config.SetOptionByName(MD_PROP_TOKEN, token); config.SetOptionByName("custom_user_agent", "fivetran"); config.SetOptionByName("old_implicit_casting", true); + config.SetOptionByName("motherduck_attach_mode", "single"); duckdb::DuckDB db("md:" + db_name, &config); return std::make_unique(db);