It should be possible make use of query parameters in MongoDB native queries. The usefulness of the feature is otherwise quite limited.