Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
3.1.0, Beryllium
-
.NET, iOS, Java, Java-Android
-
Security Level: Public
-
0
Description
DataSource's database() factory function for creating the DataSource object in QueryBuilder API is deprecated. Use DataSource's collection() instead.
Deprecated APIs
Java / Android
- static As database(@NonNull Database database)
Swift
- static func database(_ database: Database) -> DataSourceAs
Objective-C (CBLQueryDataSource)
- + (instancetype) database: (CBLDatabase*)database
- + (instancetype) database: (CBLDatabase*)database as: (nullable NSString*)alias
.NET
- public static IDataSourceAs Database([NotNull]Database database)