I have a use case where I'm generating a dynamic query before eventually calling session.query(...)
with it. I'm providing a parameter map to the function that has input that comes from the user. I figured this input would get automatically sanitized but it does not and I can't find anything in documentation that talks about sanitizing inputs for the parameter map.
I'm aware that there's a JDBC PreparedStatement
class that will do such a thing...but that seems like a pretty weird solution. Does OGM provide a way to sanitize parameter maps passed to Neo4jSession.query
?