Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Added information from local database #7

Open
Ayloss opened this issue Sep 12, 2024 · 1 comment
Open

[FEATURE REQUEST] Added information from local database #7

Ayloss opened this issue Sep 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Ayloss
Copy link

Ayloss commented Sep 12, 2024

Why this feature?

我看electron的sdk会在指定的数据目录下创建sqlite数据库,但SDK中似乎只提供了从网络请求中获取数据的方法。
期望增加直接从数据库中读取本地缓存的方法,以便在数据部分同步失败或断网场景下能有初始数据。
image

Suggested Solution

例如SDK以下的接口:
getFriendList
getAllConversationList

增加从数据库获取的方法:
getFriendListFromDB
getAllConversationListFromDB

Additional Information

No response

@Ayloss Ayloss added the enhancement New feature or request label Sep 12, 2024
@Bloomingg
Copy link
Member

In fact, it is now obtained from the local db.

@Bloomingg Bloomingg changed the title [FEATURE REQUEST] 增加从本地数据库中获取信息 [FEATURE REQUEST] Added information from local database Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants