We have created an example method for how to save the queries in the backend.