from

infix fun String.from(fromAlias: String): Expression(source)

Specifies an alias name of the data source to query the property data from.

Return

The property Expression with the given data source alias name.

Parameters

fromAlias

The alias name of the data source.


infix fun FromRouter.from(collection: Collection): From(source)

Create and chain a FROM component for specifying the query's data source.

Return

the From component.

Parameters

collection

the collection source.


infix fun FromRouter.from(database: Database): From(source)

Deprecated

Use from(Collection)

Replace with

from(database.defaultCollection)

Create and chain a FROM component for specifying the query's data source.

Return

the From component.

Parameters

database

the database source.