Parameters in custom score query


(nachiket) #1

Can we have map of string, object as the name suggests for native
script.
I simply want to put parameter map as map of string,map instead of
string,string
Is it possible in custom score query?

Regards.


(Karussell) #2

the native script signature is:

ExecutableScript newScript(final Map<String, Object> params)

so, yes. you can do it.


(system) #3