Class DataSource.As

java.lang.Object
com.couchbase.lite.DataSource
com.couchbase.lite.DataSource.As
Enclosing class:
DataSource

public static class DataSource.As extends DataSource
Database as a data source for query.
  • Method Details

    • as

      @NonNull public DataSource as(@NonNull String alias)
      Set an alias to the database data source.
      Parameters:
      alias - the alias to set.
      Returns:
      the data source object with the given alias set.