DatabaseSource

public class DatabaseSource: DataSource

A database data source. You could also create an alias data source by calling the as(alias) method with an alias name.

  • Create an alias data source.

    Declaration

    Swift

    public func `as`(_ alias: String) -> DataSource

    Parameters

    alias

    The alias name.

    Return Value

    The DataSource object.