as
Specifies the alias for the Expression as a SelectResult object.
Return
The SelectResult object with the alias name specified.
Parameters
alias
The alias name.
Set an alias to the collection as a data source.
Return
the data source object with the given alias set.
Parameters
alias
the alias to set.
Deprecated
Use Collection.`as`(String)
Replace with
defaultCollection.`as`(alias)
Content copied to clipboard
Set an alias to the database as a data source.
Return
the data source object with the given alias set.
Parameters
alias
the alias to set.