tursodatabase/libsql

Improve database connection builder API?

開放

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

 (1 則留言) (0 個反應) (0 位負責人)C (490 個分叉)batch import
Embedded Replicasenhancementhelp wantedquestion

倉庫指標

星標
 (16,744 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南