TableValuedFunction<Self extends ResultSetImplementation> constructor
TableValuedFunction<Self extends ResultSetImplementation> (
- DatabaseConnectionUser attachedDatabase, {
- required String functionName,
- required List<
Expression< arguments,Object> > - required List<
GeneratedColumn< columns,Object> > - String? alias,
Constructor for table-valued functions.
This takes the attachedDatabase
(used to interpret results), the name
of the function as well as arguments passed to it and finally the schema
of the table (in the form of columns
).
Implementation
TableValuedFunction(
this.attachedDatabase, {
required String functionName,
required this.arguments,
required List<GeneratedColumn> columns,
String? alias,
}) : _functionName = functionName,
$columns = columns,
aliasedName = alias ?? functionName;