That seems related to the proposal I made for OGM-480. The PR for that one establishes means of parsing native queries to recognize their parameters (for Neo4j atm.). This could be re-used for OGM-414.