Query (CreateMap("query": "SELECT ..."))
Sub Query(Params As Map)
Dim q As String = Params.Get("query")
Dim aLog As Boolean = Params.GetDefault("aLog", True)
End Sub
I don't like these solutions, because they complicate and lengthen the code. I need the 'OptionalParameter' to avoid writing useless code.
Are there any other solutions?