Click or drag to resize
SQLiteDatabaseConnectionBuilderWithScalarFunc Method (String, FuncISQLiteValue, ISQLiteValue, ISQLiteValue, ISQLiteValue)
Adds a scalar function that accepts 3 ISQLiteValue instances.

Namespace: SQLitePCL.pretty
Assembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax
public SQLiteDatabaseConnectionBuilder WithScalarFunc(
	string name,
	Func<ISQLiteValue, ISQLiteValue, ISQLiteValue, ISQLiteValue> reduce
)

Parameters

name
Type: SystemString
The function name.
reduce
Type: SystemFuncISQLiteValue, ISQLiteValue, ISQLiteValue, ISQLiteValue
A reduction function.

Return Value

Type: SQLiteDatabaseConnectionBuilder
A SQLiteDatabaseConnectionBuilder instance.
Remarks
Note: The function reduce is assumed to be pure and their results may be cached and reused.
See Also