tursodatabase/libsql

Improve database connection builder API?

Open

#1,635 建立於 2024年8月5日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)C (16,744 star) (490 fork)batch import
Embedded Replicasenhancementhelp wantedquestion

描述

The new_remote_replica() and new_local_replica() names are weird because in both cases the replica is local. The difference is just with how they are synced.

My proposal is to keep new_local() and new_remote() but add additional with_remote_sync() and with_file_sync() methods to the builder for local database variant.

貢獻者指南