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.

贡献者指南