Support query.withParameters(parameter), where parameter is an object with a list of objects inside