Query
Namespace: Saon.Query
Attributes:
[<RequireQualifiedAccess>]
Function to work with queries.
Functions and values
Function or value | Description |
Query.optionalParameter(...)
Signature: paramName:string -> func:Transformer<(type),'T> -> query:(type) -> ParserResult<'T option> * (type)
Type parameters: 'T |
Apply the transformation |
Query.parameter paramName func query
Signature: paramName:string -> func:Transformer<(type),'T> -> query:(type) -> ParserResult<'T> * (type)
Type parameters: 'T |
Apply the transformation |
Query.string propName value
Signature: propName:string -> value:(type) -> ParserResult<string>
|
Get the parameter string value. If the parameter has more than one value, it will fail. |