Skip to content

Commit

Permalink
Connect in single attach mode (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
elefeint authored Sep 9, 2024
1 parent a3701d0 commit 6098e9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/motherduck_destination_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ std::unique_ptr<duckdb::Connection> 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<duckdb::Connection>(db);
Expand Down

0 comments on commit 6098e9d

Please sign in to comment.