SqlFunction constructor

SqlFunction(
  1. String name,
  2. List<Sql> args
)

Composes a function call and wraps the result.

Implementation

SqlFunction(String name, List<Sql> args)
  : super._(SqlFunction.compose(name, args)) {
  checkState(
    Sql._reName.hasMatch(name),
    message: () => "SqlFunction.new: bad name `$name`",
  );
}