configservice_put_stored_query function

Saves a new query or updates an existing saved query