Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-4309

QueryBuilder : DataSource's database() is deprecated

    XMLWordPrintable

Details

    • 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)

       

      Attachments

        Activity

          People

            The Lite The Lite
            pasin Pasin Suriyentrakorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty