MyGit

v1.0.4

Tencent/wcdb

版本发布时间: 2017-09-14 12:33:15

Tencent/wcdb最新发布版本:v2.1.7(2024-08-18 21:23:56)

Repair Kit

iOS

WCTDatabase* database = [WCTDatabase [alloc] initWithPath:path];
database.tag = 123;
WCTDatabase* withoutPath = [[WCTDatabase alloc] initWithExistingTag:123];

Android

SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabaseInWalMode(...);

// Use asynchronous checkpointing.
db.setAsyncCheckpointEnabled(true);

// OR use custom checkpointer.
SQLiteCheckpointListener callback = new SQLiteCheckpointListener() {
    //...
};
db.setCheckpointCallback(callback);
CancellationSignal signal = new CancellationSignal();
db.execSQL(longRunningSQL, args, signal);

// on another thread
signal.cancel();

相关地址:原始地址 下载(tar) 下载(zip)

1、 wcdb-android-1.0.4-debug.aar 3.67MB

2、 wcdb-android-1.0.4-debugSymbols.zip 12.04MB

3、 wcdb-android-1.0.4-release.aar 3.81MB

4、 wcdb-android-1.0.4-symbols.zip 16.53MB

5、 wcdb-ios-1.0.4.zip 26.6MB

查看:2017-09-14发行的版本