11.7k sao GitHub và vẫn tăng — Tencent/wcdb là dự án C mà TopGit đang theo dõi trên nền tảng. WCDB is a cross-platform database framework developed by WeChat.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
WCDB is an efficient, complete, easy-to-use mobile database framework used in the WeChat application. It's based on SQLite and SQLCipher, and supports five languages: C++, Java, Kotlin, Swift and Objective-C.
Feature
Easy-to-use
ORM (Object Relational Mapping): WCDB provides a flexible, easy-to-use ORM for creating tables, indices and constraints, as well as CRUD through C++/Java/Kotlin/Swift/Objc objects.
WINQ (WCDB language integrated query): WINQ is a native data querying capability which frees developers from writing glue code to concatenate SQL query strings.
With ORM and WINQ, you can insert, update, query and delete objects from database in one line code:
Through the framework layer and sqlcipher source optimization, WCDB have more efficient performance.
Multi-threaded concurrency: WCDB supports concurrent read-read and read-write access via connection pooling.
Deeply optimized: WCDB has deeply optimized the source code and configuration of SQLite to adapt to the development scenarios of mobile terminals. At the same time, WCDB has also been optimized for common time-consuming scenarios, such as writing data in batches.
Complete
WCDB summarizes common problems in practice to provide a more complete development experience for database development:
Encryption Support: WCDB supports database encryption via SQLCipher.
Corruption recovery: WCDB provides a built-in repair kit for database corruption recovery.
Anti-injection: WCDB provides a built-in protection from SQL injection.
Database model upgrade: The database model is bound to the class definition, so that the addition, deletion and modification of database fields are consistent with the definition of class variables.
Full-text search: WCDB provides an easy-to-use full-text search interface and includes tokenizers for multiple languages.
Data Migration: WCDB supports to migrate data from one databasse to another with simple configuration. And developers don't need to care about the intermediate status and progress of the migration.
Data Compression: WCDB supports to compress content via Zstd within specific fields of a database table through a simple configuration. Once configured, the details of data compression and decompression become transparent to developers, and WCDB can automatically compress existing data.
Compatibility
WCDB has interfaces in five languages: C++, Java, Kotlin, Swift, and Objc. Interfaces in different languages share the same underlying logic. The code structure of WCDB is shown in the figure below:
Under such architecture, WCDB in different languages can have the same interface structure and interface capabilities. In one project, you can write database code in different languages with one WCDB. Database logic in different languages will not conflict. Some global interfaces such as error monitoring can work on database logic in different languages at the same time.
Build and Install
Following wikies contain the detailed instructions about building and installing of WCDB.
Building and Installing of WCDB C++
Building and Installing of WCDB Java/Kotlin
Building and Installing of WCDB Swift
Building and Installing of WCDB Objc
Tutorials
Tutorials of different languages can be found below:
Tutorials for WCDB C++
Tutorials for WCDB Java/Kotlin
Tutorials for WCDB Swift
Tutorials for WCDB Objc
Contributing
If you are interested in contributing, check out the [CONTRIBUTING.md], also join our Tencent OpenSource Plan.
Tencent/wcdb thuộc nhóm Mobile trên TopGit, cùng 9 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về Tencent/wcdb ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Tencent/wcdb là nguồn chính thức.
Tencent/wcdb có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho Tencent/wcdb. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
Tencent/wcdb có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho Tencent/wcdb. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
Tencent/wcdb là gì?
Tencent/wcdb (Tencent/wcdb) là dự án C trên GitHub. Theo mô tả gốc: WCDB is a cross-platform database framework developed by WeChat.
Vì sao Tencent/wcdb được xếp vào nhóm Mobile?
TopGit xếp Tencent/wcdb vào nhóm Mobile dựa trên GitHub topics và mô tả của repo (gắn thẻ: "android", "database", "ios"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về wcdb?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về wcdb.