Replace query builder

@Boegie19 Thanks, This is actually useful. Is there any documentation about it out there?