tursodatabase/libsql

Improve database connection builder API?

オープン

#1,635 opened on 2024/08/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C (490 件のフォーク)batch import
Embedded Replicasenhancementhelp wantedquestion

Repository metrics

Stars
 (16,744 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド